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

110 Commits

Author SHA1 Message Date
Bernhard Froehler 7a23294e7f Fix for conversations of contacts not showing any messages (#302) 2019-10-11 19:52:48 +02:00
Loic Blot 13ba8b7620 Fix migration 2018-11-10 17:02:46 +01:00
Loic Blot 374483982c Fix a nextcloud 14 non compatible query in migration 2018-11-10 16:28:41 +01:00
Matt Amos 0e99d33f9e Fix use of insert statement without named parameter. Convert SMS upload/insert statement to NC14 compatible. (#274) 2018-10-01 20:20:51 +02:00
Matt Amos 5b72503296 Convert some queries to QueryBuilder. 2018-09-27 11:31:24 +02:00
Loic Blot 267872b396 Add query + routes to drop all user messages 2018-09-08 11:40:44 +02:00
Loic Blot 14fefaeedd Fix all the delete functions 2018-05-17 10:29:42 +02:00
Loic Blot 9c2b852cec Bad code pushed... 2018-05-17 09:02:54 +02:00
Loïc Blot d4e60ba755 SMS restoration fix 2018-05-15 14:58:45 +02:00
Loic Blot 03e026d239 Fetch fix 2018-04-11 22:38:17 +02:00
Loic Blot 224aa5e7cd Function call fixes 2018-04-11 22:37:07 +02:00
Loic Blot e26aa4397b Some fixes on the queries 2018-04-11 22:34:47 +02:00
Loic Blot 70e9368ee0 Migrate more deprecated methods 2018-04-11 22:12:20 +02:00
Loic Blot 8a0580e7c4 Prepare another query 2018-04-10 08:45:19 +02:00
Loic Blot 0bac525826 Fix query builder in usage 2018-04-10 08:41:22 +02:00
Loic Blot 2b8e2ceb41 Migrate more functions to the query builder 2018-04-10 08:38:27 +02:00
Loic Blot 25eb211440 Migrate one function to the new querybuilder for NC 14 2018-04-10 08:32:16 +02:00
Loic Blot 80d025d023 Migrate one function to the new querybuilder for NC 14 2018-04-10 08:26:43 +02:00
Thomas Pulzer b860267599 Php7 android7 sync issue (#222)
* Casting result of column sms_mailbox to int in db sanitize check.

* Added mailbox id 3 to the list of sms messages to select (This should be Mailbox "All", but it seems, on AOSP v7.1 - Nougat - the messages could be stored there instead of 1 or 2).

* Extended all sms_mailbox parameters, to include mailbox number 3.
It's not so much a sync than rather a display issue.

* Fixed a wrong value in the database query parameters.
2018-04-03 17:17:16 +02:00
Morris Jobke c33d871bf0 Use DB transaction methods of the DB connection (#225)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-03-21 12:17:22 +01:00
Kai Schröer 7dd75ea74a Corrected missing Nc branding (#212) 2017-12-28 16:18:36 +01:00
Lorenz Brun db70056825 Fixed Nextcloud 12 compatibility (#181) 2017-05-06 08:12:41 +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
yneveu 57de2f4e03 Fix SyntaxErrorException on select limit (#146)
SmsMapper:
* Fix SyntaxErrorException on select limit
* Remove unwanted LIMIT
2016-12-30 22:26:31 +01:00
Loic Blot 292bd8b814 Try to cast to int using a new variable instead of doing it in array 2016-12-19 10:45:46 +01:00
Loic Blot 28fd2f91ee Release 1.11.2
* Rename to Nextcloud SMS (TEMP)
* Add screenshot for appstore
2016-12-15 09:24:06 +01:00
Loic Blot 5bcfeb17c3 Add missing fields to permit proper restore 2016-12-08 00:54:52 +01:00
Loic Blot 875519d603 Fix SmsMapper::getMessages query 2016-12-06 23:45:12 +01:00
Loic Blot 26df3a53a4 Conversation Mapper addition + migration to proper scheme 2016-11-11 17:11:05 +01:00
Loic Blot 7ca7154a1e last read date use the reprocessed phone number, not the raw phone number 2016-09-22 23:07:10 +02:00
Loic Blot 010acd7adc Conversation header CSS fix & unicity fixes for unread messages & peerlist last messages
Note: for unread message count we need one more fix
2016-09-22 23:06:22 +02:00
Loic Blot 745d7092ad Add a fix for duplicates messages in database with or without spaces 2016-09-22 22:55:21 +02:00
Loic Blot 852c0835fa Add missing database indices 2016-09-22 22:16:09 +02:00
Loic Blot eea860d919 Missing regexp update 2016-09-22 21:56:06 +02:00
Loic Blot 631640c5bb Bugfix: check the read date per phone number if there are messages to check for this date 2016-09-22 21:45:20 +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 78eae0600c Add a new call to get the current message count for a user 2016-07-21 23:32:01 +02:00
Loic Blot 729b48a846 Make owncloud 8.1 as the minimum default + cleanups 2016-05-19 18:27:48 +02:00
Loic Blot 4fc1a91a39 Little PHPDoc 2016-05-19 08:08:10 +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 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 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 0e41221703 Merge branch 'master' of https://github.com/nerzhul/ocsms 2015-05-23 16:29:17 +00:00
Loic Blot ab5792e39f Fix issue ownCloud-SMS-App#56 2015-05-23 16:28:55 +00:00
Loic BLOT (@UXP) 0fcaad6d31 Implement Android APIv2 get/phones/smsnumber call 2015-04-10 13:21:56 +02:00