1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-11 09:56:19 +00:00

69 Commits

Author SHA1 Message Date
Loic Blot
292bd8b814 Try to cast to int using a new variable instead of doing it in array 2016-12-19 10:45:46 +01:00
Loic Blot
28fd2f91ee Release 1.11.2
* Rename to Nextcloud SMS (TEMP)
* Add screenshot for appstore
2016-12-15 09:24:06 +01:00
Loic Blot
5bcfeb17c3 Add missing fields to permit proper restore 2016-12-08 00:54:52 +01:00
Loic Blot
875519d603 Fix SmsMapper::getMessages query 2016-12-06 23:45:12 +01:00
Loic Blot
26df3a53a4 Conversation Mapper addition + migration to proper scheme 2016-11-11 17:11:05 +01:00
Loic Blot
7ca7154a1e last read date use the reprocessed phone number, not the raw phone number 2016-09-22 23:07:10 +02:00
Loic Blot
010acd7adc Conversation header CSS fix & unicity fixes for unread messages & peerlist last messages
Note: for unread message count we need one more fix
2016-09-22 23:06:22 +02:00
Loic Blot
745d7092ad Add a fix for duplicates messages in database with or without spaces 2016-09-22 22:55:21 +02:00
Loic Blot
852c0835fa Add missing database indices 2016-09-22 22:16:09 +02:00
Loic Blot
eea860d919 Missing regexp update 2016-09-22 21:56:06 +02:00
Loic Blot
631640c5bb Bugfix: check the read date per phone number if there are messages to check for this date 2016-09-22 21:45:20 +02:00
Loic Blot
78eae0600c Add a new call to get the current message count for a user 2016-07-21 23:32:01 +02:00
Loic Blot
1b2a171b89 APIv2 improvements
* prepare a table for messaging sending queue
* drop retrieveAllIdsWithStatus and related API call (unused and dropped from Android app devel version)
* reorganise api controller
2016-05-12 23:18:25 +02:00
Loic Blot
d6818be568 Prepare api v2 calls to retrieve messages from the server 2016-05-12 23:05:58 +02:00
Loic Blot
ccb13d3c31 Update copyright notice 2016-01-30 22:54:12 +01:00
Loic Blot
13d5e9ff26 Fix messages/conversation removal sync with contact list and also add atomic delete for messages 2015-06-25 22:00:09 +00:00
Loic Blot
d8a776bea9 remove messages is now okay 2015-06-24 06:48:06 +00:00
Loic Blot
76b0ae3912 smscontroller::removeConversation link with smsmapper::removeMessagesForPhoneNumber. We need to drop messages now 2015-06-24 06:40:03 +00:00
Loic Blot
0e41221703 Merge branch 'master' of https://github.com/nerzhul/ocsms 2015-05-23 16:29:17 +00:00
Loic Blot
ab5792e39f Fix issue ownCloud-SMS-App#56 2015-05-23 16:28:55 +00:00
Loic BLOT (@UXP)
0fcaad6d31 Implement Android APIv2 get/phones/smsnumber call 2015-04-10 13:21:56 +02:00
Loic Blot
98933860e8 Fix #55 issue. NOW() function doesn't work on all backends 2015-03-02 13:58:59 +01:00
Loic Blot
05ccdeb650 Ignore messages with invalid mailboxID into smsmapper 2015-02-16 13:42:52 +00:00
Martin Rüegg
5755ab800f speed optimization
as count(`fieldname`) does check for NULL values (as they will be excluded) it is faster to use count(*) as the date will never be NULL anyway (NULLs are not allowed at all 😄 )
2015-02-12 21:36:19 +01:00
Loic Blot
a0c820ab82 Fix unchecked variable in controller when getting photos
* Also Typo fixes on dbmappers
2015-01-18 16:05:16 +00:00
Loic Blot
84db79a300 Fix message countries, this fix message count and conversations 2015-01-09 19:17:12 +00:00
Loïc Blot (@U-Exp)
2e2998d5e2 Update copyright 2015-01-03 11:11:26 +01:00
Ner'zhul
7c0bd22385 Remove integer cast on date. This fix an integer overflow on 32 bits systems 2014-12-09 16:26:53 +01:00
Loic Blot
f89a23c205 Prepare an APIv2 call to improve sync performance on phone (battery) 2014-11-30 18:05:20 +00:00
Loic Blot
5f0263f71e Move formatphonenumber.php to proper dir and rename.
* fix some coding styles
* Add contributor
2014-11-27 14:04:25 +00:00
stagprom
6816a92b89 changed tabs and braces
modified:   appinfo/formatphonenumber.php
	modified:   appinfo/ocsmsapp.php
	modified:   controller/smscontroller.php
	modified:   db/smsmapper.php
2014-11-25 16:55:15 +01:00
stagprom
405ee9af6f Added many comments to sourcees
modified:   appinfo/formatphonenumber.php
modified:   appinfo/ocsmsapp.php
modified:   controller/smscontroller.php
modified:   db/smsmapper.php
2014-11-25 13:28:43 +01:00
stagprom
4519f0088d new file: appinfo/formatphonenumber.php
modified:   appinfo/ocsmsapp.php
	modified:   controller/smscontroller.php
	modified:   db/smsmapper.php

A lot of changes in Code dealing with phonenumbers
2014-11-24 15:54:10 +01:00
Loic Blot
690421713d Set last read date per conversation
The next step will be to get unread messages per conversation when loading interface at first time, not globally
2014-10-23 16:23:11 +00:00
Loic Blot
8f4dfd217f Added table to store last read date. This permit to set unread messages on first refresh of contact list. We need to handle it at first load too
Note: this is an experimental thing. We need to set this cursor for every conversation to get better precision
2014-10-23 15:38:20 +00:00
Loic Blot
6d26edb727 Implement Refresh conversation list and set new messages count into list 2014-10-23 10:38:11 +00:00
Loic Blot
c256ca5132 Order conversations per desc date 2014-10-23 05:38:40 +00:00
Loic Blot
20db5d6a7f Really fix the thing into conversations 2014-10-22 16:02:13 +00:00
Loic Blot
acb0a74ba2 Typo fix. Message count works perfect 2014-10-13 17:56:33 +00:00
Loïc Blot (@U-Exp)
00d157ea2c contrainer for message count (need tests) 2014-10-13 19:39:55 +02:00
Loic Blot
1138512dc8 Added experimental merging for contacts with multiple numbers 2014-10-09 18:27:13 +02:00
Loic Blot
a933c53fb8 Add two new API calls: getApiVersion and getAllIdsWithStatus 2014-10-09 10:02:22 +00:00
Loic Blot
5b333a0091 Replace \OC_DB by \OCP\DB (need tests) 2014-10-06 13:41:18 +02:00
Loïc Blot (@U-Exp)
e89c8b6d0f add minimum when fetching messages from DB 2014-09-26 19:04:16 +02:00
Loic Blot
86f4fb3910 Fix getAllMessagesForPhoneNumber 2014-09-16 20:48:33 +00:00
Loïc Blot (@U-Exp)
02ba89f6aa fix sms conversation query 2014-09-16 22:38:02 +02:00
Loïc Blot (@U-Exp)
cc13e01fe9 prepare a function to get all messages for a conversation 2014-09-16 22:31:50 +02:00
Loic Blot
d456178c18 Little typo fixes 2014-09-16 18:34:39 +00:00
Loïc Blot (@U-Exp)
169302516b Add new function to fetch all SMS friends 2014-09-16 20:25:34 +02:00
Loic Blot
d1f5a63fbd Resolve mailboxes names for better clientside detection 2014-09-15 18:53:59 +00:00