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

20 Commits

Author SHA1 Message Date
Loïc Blot
7abea7cc9b Fix the test case 2018-12-10 16:27:49 +01:00
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
7d6e81f0ff
Simplify fetchMessages response code 2018-02-10 11:16:53 +01:00
Loic Blot
9a6d6907cf
apicontroller.php: Return error 400 when messages are not accepted on push 2017-12-28 16:56:31 +01:00
Kai Schröer
7dd75ea74a Corrected missing Nc branding (#212) 2017-12-28 16:18:36 +01:00
Loic Blot
f7da068505 Validate smsCount and smsDatas field 2017-08-23 22:26:42 +02: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
467565d41b Return current start as last_id if last_id = 0 2016-12-07 00:10:06 +01:00
Loic Blot
7fda438397 Return last_id = 0 when there is no new messages 2016-12-06 23:59:41 +01:00
Loic Blot
8d335d449e Add last_id field to fetchmessage functions 2016-12-06 23:55:36 +01:00
Loic Blot
fb952e00ef Doxygen comment fix 2016-07-21 23:49: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
a5d0869dd7 ocsmsapp.php cleanup & fix 2016-05-19 18:51:41 +02:00
Loic Blot
f05d5562b8 Code cleanup + some PHPDoc 2016-05-19 08:03:27 +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 (@UXP)
0fcaad6d31 Implement Android APIv2 get/phones/smsnumber call 2015-04-10 13:21:56 +02:00
Loic Blot
040185cc21 Split smscontroller into smscontroller and apicontroller. One for webapp, one for API 2015-04-08 13:07:22 +00:00