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

85 Commits

Author SHA1 Message Date
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
Ner'zhul
75fdc0b4da Change Application to OcSmsMap on controller 2014-10-01 17:52:59 +02:00
Loic Blot
b75a8b3547 Little fix for contact load, but this isn't working yet 2014-09-30 18:54:30 +00:00
Loic Blot
860b4a3fb5 Link App with SmsController 2014-09-30 05:49:27 +00:00
Loïc Blot (@U-Exp)
e89c8b6d0f add minimum when fetching messages from DB 2014-09-26 19:04:16 +02:00
Loïc Blot (@U-Exp)
59a5353586 implement refresher. Also factorize code. Need tests 2014-09-26 18:56:22 +02:00
Loïc Blot (@U-Exp)
4e82141eb7 fix a missing array 2014-09-16 22:42:09 +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
8f0bcf2920 Prepare JS AJAX interactions. Show phone numbers into the appropriate div. Import some CSS things. Cleanup JS code 2014-09-16 20:18:19 +00:00
Loic Blot
37c32f8ce7 Added ajaxCall to get all phone Numbers. Also cleanup templates 2014-09-16 19:24:31 +00:00
Loic Blot
a8ca14fd5d Fix links 2014-09-16 19:03:14 +00:00
Loïc Blot (@U-Exp)
0a7e6f09f8 Improve mailbox management for navigation 2014-09-16 20:54:47 +02: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
fb0083a28a Fix URL for SMS ID getter 2014-09-15 18:39:31 +00:00
Loic Blot
ad1353c63c Add replace function to purge all database before adding every record. Also add a delete before insert function when writing to DB, preventing SMS duplicates 2014-09-15 18:01:02 +02:00