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

100 Commits

Author SHA1 Message Date
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
d8ecc06314 Add basic route , method and icon for removing single message 2015-06-25 18:17:59 +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
4852fa3675 smscontroller: Remove whitespaces 2015-06-24 06:37:03 +00:00
Loic Blot
b67802a646 Prepare deleteConversation handler and remove unreachable code in getConversation 2015-06-24 06:35:47 +00:00
Loic Blot
3105eeb776 Prepare conversation deletion in PHP code too 2015-06-23 20:56:15 +00:00
Loic BLOT (@UXP)
0fcaad6d31 Implement Android APIv2 get/phones/smsnumber call 2015-04-10 13:21:56 +02:00
Loic Blot
49b6442362 Separate ContactCache from Application 2015-04-08 13:38:29 +00:00
Loic Blot
040185cc21 Split smscontroller into smscontroller and apicontroller. One for webapp, one for API 2015-04-08 13:07:22 +00:00
Loic Blot
9fbeddfa9b use a proper URLGenerator in smscontroller 2015-03-18 09:48:45 +00:00
Loic Blot
77a9e9cccf Load the country settings at app load 2015-02-16 13:18:48 +00: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
Loic Blot
38d0cea3df Fix and use the new setting: country. International mapping can now be okay and will remove duplicates. We need a little more fix" 2015-01-09 18:02:49 +00:00
Loic Blot
816a3a784f Add ConfigMapper, similar to chat app. Also implement setCountry call, need to use and handle it on the interface now 2015-01-06 13:49:50 +00:00
Loic Blot
19bd6adcca Add photo into update and fix HTML generator 2015-01-05 19:54:50 +00:00
Loic Blot
6fa1bfe17f prepare handler for setting country 2015-01-05 19:17:08 +00:00
Loïc Blot (@U-Exp)
2e2998d5e2 Update copyright 2015-01-03 11:11:26 +01:00
Loic Blot
da5447a51b Add contact photos into peerlist
Add some support into controller
2014-12-29 11:31:12 +00: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
Ner'zhul
3cd85810eb Add comment 2014-11-19 15:40:59 +01:00
Ner'zhul
0ad0164fe5 Fix CSRF problem on push function
CSRF is not needed on push because user is not calling other pages. This will fix issues https://github.com/nerzhul/ocsms/issues/25 and https://github.com/nerzhul/ownCloud-SMS-App/issues/8
2014-11-19 10:48:36 +01:00
Loic Blot
e655024521 Fix regex and then duplicate numbers into conversation 2014-11-05 11:11:22 +00:00
Loic Blot
66859a4940 pushPhoneNumberToCache. This permit to fix problems with phone numbers with dashes and parenthesis 2014-11-05 11:08:59 +00: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
a09faa67ad Avoid problem with duplicates numbers on conversations (spaces and no spaces) 2014-10-23 08:58:16 +00:00
Loic Blot
714f0c0d9e Remove useless code 2014-10-23 08:52:51 +00:00
Loic Blot
0e013b0645 Coding style fix 2014-10-23 08:18:45 +00:00
Loic Blot
8d28751d94 Definitively resolve spaces issue 2014-10-23 08:04:48 +00:00
Loic Blot
1e21406f76 First step for debugging non spaces with spaces numbers 2014-10-23 05:55:16 +00:00
Loic Blot
20db5d6a7f Really fix the thing into conversations 2014-10-22 16:02:13 +00:00
Loic Blot
74511c4c60 Now fix the thing into conversations 2014-10-22 12:48:35 +00:00
Loic Blot
621383e996 Fix number with spaces issue into peerlist
* Also factorize one function
2014-10-22 12:38:44 +00:00
Loïc Blot (@U-Exp)
00d157ea2c contrainer for message count (need tests) 2014-10-13 19:39:55 +02:00
Loïc Blot (@U-Exp)
0a70084de8 Spaces 2014-10-10 08:03:07 +02:00
Loic Blot
b8d0e66a9d Show the multiple phone numbers into the header 2014-10-09 18:57:47 +00:00
Loic Blot
36cd0d0597 Fix array merge key problem 2014-10-09 18:39:04 +00:00
Loic Blot
a42f6d7d28 Comments 2014-10-09 18:28:18 +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
6394f7394d Fix namespace for OcSmsApp into controller 2014-10-06 14:14:56 +02:00
Loic Blot
71d6ed693b Contact names are now get with peerlist 2014-10-05 08:54:44 +00:00
Loic Blot
aaff8e9e4c MERGE 2014-10-05 08:30:49 +00:00