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

41 Commits

Author SHA1 Message Date
Loïc Blot
fdcb6b4f14 Add a test API to push messages to current user context
This permits to test easily some usecases.
It should be disabled at release.
2018-12-10 16:23:03 +01:00
Loic Blot
267872b396 Add query + routes to drop all user messages 2018-09-08 11:40:44 +02:00
Kai Schröer
7dd75ea74a Corrected missing Nc branding (#212) 2017-12-28 16:18:36 +01:00
Loic Blot
faff17987f Nicer REST interface for frontend web calls 2017-02-03 16:24:38 +01:00
Loic Blot
9d8702d3bb Rename application to 'Phone Sync'
Also update copyright years on modified files
This fixes #132
2017-01-03 12:54:38 +01:00
Loic Blot
065ab9bdee Code cleanup & defer fetchMessagesToSend 2016-12-07 00:11:57 +01:00
Loic Blot
60bd54a12a Add settings to change contact list ordering by label/lastmsg and reverse/sort 2016-09-19 23:24:05 +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
339f76cf01 Little JS update + .gitignore 2016-05-18 22:20:13 +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
74928c8e64 Permit to disable notifications from app settings directly
This fixes issue #89
2016-01-30 23:23:27 +01:00
Loic Blot
4827856fe2 Move settings from smscontroller to dedicated controller 2016-01-30 23:00:05 +01:00
Loic Blot
ccb13d3c31 Update copyright notice 2016-01-30 22:54:12 +01:00
Loic Blot
7fed10a26c Message limit & other improvements
* Implement message limit permitting to limit number of message shown when loading a conversation
* Reformat message date properly using angular JS instead of our own date parser
* replace /get/country call with /get/settings to retrieve all settings

This fixes issue #90
2016-01-30 22:47:34 +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
d8ecc06314 Add basic route , method and icon for removing single message 2015-06-25 18:17:59 +00:00
Loic Blot
3105eeb776 Prepare conversation deletion in PHP code too 2015-06-23 20:56:15 +00:00
Loic Blot
1bd067323b Use a better name for route to retrieve phone number list 2015-04-28 17:04:05 +02:00
Loic BLOT (@UXP)
0fcaad6d31 Implement Android APIv2 get/phones/smsnumber call 2015-04-10 13:21:56 +02:00
Loic Blot
a9dbc5d44c Reorganize routes.php 2015-04-08 13:08:26 +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
77a9e9cccf Load the country settings at app load 2015-02-16 13:18:48 +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
df95014fc6 Add route for previous commit 2014-11-30 19:19:13 +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
a933c53fb8 Add two new API calls: getApiVersion and getAllIdsWithStatus 2014-10-09 10:02:22 +00:00
Loic Blot
4c9b653018 app name fix 2014-10-05 08:31:38 +00: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
37c32f8ce7 Added ajaxCall to get all phone Numbers. Also cleanup templates 2014-09-16 19:24:31 +00: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
Loic Blot
128167196a Added function to retrieve SMS ids stored on the server 2014-09-15 17:55:01 +02:00
Loïc Blot (@U-Exp)
87d6ecd1cc oops, bad commit datas on routes 2014-09-12 18:20:13 +02:00
Loïc Blot (@U-Exp)
08efd41e8d don't remove templateresponse 2014-09-12 18:19:53 +02:00
Loic Blot
29dc4dcf46 Add basic tests on SMS datas 2014-09-12 13:16:46 +00:00
Loïc Blot (@U-Exp)
445dc8abcf Add template response, we will do tests by this interface 2014-09-12 14:08:01 +02:00
Loïc Blot (@U-Exp)
5d1112f677 Use a get request for tests 2014-09-12 14:02:19 +02:00
Loïc Blot (@U-Exp)
3ad96daa21 Create a basic SmsController 2014-09-12 13:59:19 +02:00
Loic Blot
8d03780e6f First Commit. Datascheme is in tests 2014-09-12 11:46:39 +00:00