1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00
Commit Graph

119 Commits

Author SHA1 Message Date
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 26df3a53a4 Conversation Mapper addition + migration to proper scheme 2016-11-11 17:11:05 +01:00
Loic Blot b84ff1088f Try to cleanup check_new_messages 2016-09-22 21:52:49 +02:00
Loic Blot debf173673 Little regexp fix 2016-09-22 21:40:49 +02: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 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 729b48a846 Make owncloud 8.1 as the minimum default + cleanups 2016-05-19 18:27:48 +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 6b68ccc2ac Fix dead code reported by @enoch85
This fixes issue #109
2016-04-08 10:40:23 +02:00
Loic Blot 3d71229767 v1.6.2: Fix owncloud 9 contact app which break our frontend 2016-03-08 22:51:00 +01: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 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