1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2025-06-23 15:56:44 +00:00

117 Commits

Author SHA1 Message Date
Loic Blot
09ab64044d Now require Android 4.1 or greater. Also better feed back on restore messages for Android 4.3 or lesser versions 2016-12-08 00:33:41 +01:00
Loic Blot
e06377d64b Permit to restore messages, but it's not finished yet
Remaining problems:
* date is not properly retrieved on the phone
* no feedback when connectivity errors
* no feedback when processing
* no feedback when finishing
2016-12-08 00:23:16 +01:00
Loic Blot
45d7352c32 Require Android 4.4 to restore messages 2016-12-07 08:41:31 +01:00
Loic Blot
f05eabe94b Add a loop which retrieve all messages without doing anything 2016-12-07 00:13:10 +01:00
Loic Blot
80a91635dd RestoreMessagesActivity: find account to load
+ some fixes
2016-12-06 23:17:46 +01:00
Loic Blot
f76de90a6e Better OCSMSOwncloudClient object creation 2016-12-06 23:04:51 +01:00
Loic Blot
a3088e7718 Move request building outside of OCSMSOwncloudClient, adding HTTPRequestBuilder 2016-12-06 22:50:39 +01:00
Loic Blot
65c2b9b99f Rename SmsFetcher to AndroidSmsFetcher 2016-12-06 20:37:22 +01:00
Loic Blot
8395ac5bb4 SmsFetcher: do the cursor checks directly in SmsDataProviderAPI 2016-11-02 08:09:06 +01:00
Loic Blot
8212ef63aa SmsFetcher: improve robustness of the synchronization 2016-11-02 08:03:51 +01:00
Loic Blot
fda38cf855 when using bulk limit order by date DESC not _id ASC.
this permit to sync recent messages instead of older when doing sync now action
2016-10-22 19:20:04 +02:00
Loic Blot
92713ded76 MailboxID enum now provided directly the URI 2016-10-22 19:11:37 +02:00
Loic Blot
792b6137fd Refactor SMSFetcher 2016-10-22 18:44:23 +02:00
Loic Blot
19e564213b Add binding preferences 2016-10-22 17:31:33 +02:00
Loic Blot
6f26634744 Update gradle version 2016-10-22 17:27:20 +02:00
Loic Blot
a4f016f069 set logging to info not debug 2016-10-07 09:08:43 +02:00
Loic Blot
d598602cba set default minimumCharsForSync to zero atm to restore app sync function 2016-10-07 08:43:23 +02:00
Loic Blot
4f509d5419 Gradle update + visibility fix on SmsFetcher 2016-09-23 00:09:43 +02:00
Loic Blot
c934f0deeb Sync now: add a toast to give feedback about nothing to sync
SmsSyncAdapter: make android studio happy

Drop .observers.SmsObserverService which is unused
2016-08-29 00:31:44 +02:00
Loic Blot
08b54f8aa0 Fix null cursor on lastmessage and prevent a double cursor close in same func 2016-08-29 00:16:17 +02:00
Loic Blot
00000e84c6 Add some useful logging to permit better troubleshoot, and various fixes
* Properly close cursors for database
* Implement filtering for sender number size
* Remove systemd strings for chinese translation
2016-08-29 00:07:52 +02:00
Loic Blot
0e71ca5fa1 Cleanup a little bit SmsDataProvider 2016-08-28 22:31:03 +02:00
Loic Blot
58ef25883c Prepare new preference to manage minimum length senders to allow for sync 2016-08-28 14:19:05 +02:00
Loic Blot
2acfb6655d Refactor a little bit LoginActitivy error handlers 2016-08-27 21:01:00 +02:00
Loic Blot
678fe0b720 Properly handle 404 NOT FOUND at account creation 2016-08-27 20:41:25 +02:00
Loic Blot
6203b8b989 Change a little bit account menu to show actions to do on an account & do some code cleanups 2016-07-21 23:34:27 +02:00
Loic Blot
c5519c1dd0 Add another new future call and update build tools 2016-05-12 23:34:48 +02:00
Loic Blot
8da282db98 drop useless createGetSmsIdListWithStateRequest call & api v2 things
* rename OC_GET_PHONELIST to OC_V2_GET_PHONELIST
* declare OC_V2_GET_MESSAGES
* declare OC_V2_GET_MESSAGES_PHONE
2016-05-12 23:13:20 +02:00
Loic Blot
eb7786de0b Fix some project warnings 2016-04-30 01:20:42 +02:00
Loic Blot
b3be3130b3 Forget files for Android 6.0
Fixes #102
2016-04-09 18:12:29 +02:00
Loic Blot
6759409188 0.21.2: Android 6.0 permissions fixes 2016-04-08 08:55:18 +02:00
Loic Blot
d7e1ec729f Crashfix -> 0.21.1 2016-04-06 09:13:03 +02:00
Loic Blot
7cf4bc8920 Release 0.21.0 2016-04-04 23:32:41 +02:00
Loic Blot
ea27e85d94 Fix mandatory constructor 2016-03-18 11:44:49 +01:00
Loic Blot
1cced8b2e4 Re-import nrzAndroidLib, this lib will be deprecated 2016-03-18 11:39:50 +01:00
Loic Blot
42e12a2081 Code cleanup & perf improvements by using members instead of object return 2016-03-18 11:13:43 +01:00
Loic Blot
dd34248aa5 Indent fix 2016-03-10 10:55:37 +01:00
Loic Blot
533c7ae3c0 Background sync: cancel notifications at the right moment 2016-03-10 10:53:31 +01:00
Loic Blot
c01df1b64a Drop unused SmsSlowSyncService 2016-03-10 10:53:31 +01:00
Loic Blot
d11e149814 Don't vibrate or sound on our notifications 2016-03-07 21:38:25 +01:00
Loic Blot
c49a098961 Rewrite application navigation to a better user experience 2016-03-07 21:25:36 +01:00
Loic Blot
c8f37561cf Drop our notification manage & use native Android Studio providen and better class 2016-03-05 19:03:17 +01:00
Loic Blot
af2f8d86e0 Redesign app with material design 2016-02-06 10:44:37 +01:00
Loic Blot
bee1163c44 Implement some material design 2016-01-31 01:46:44 +01:00
Loic Blot
b98758cff3 Add a more stylized button for creating account 2016-01-31 01:05:25 +01:00
Loic Blot
7e87253d5f Add build.gradle, as requested by #82 2016-01-18 07:04:45 +01:00
Ner'zhul
651cde0441 Crashfix
This fixes issue #73
existingMessages could be null because _existingInboxMessages and other variables could be null when no messages are found in the upcoming JSON file.
2015-12-01 15:13:54 +01:00
Loic Blot
c132837aac Improve restore activity a little, not perfect but better 2015-11-23 23:28:17 +01:00
Loic Blot
3895b8cf0b Remote account interface improvements 2015-11-23 21:55:29 +01:00
Loic Blot
22f0790f2e Coding style + removal some class copy 2015-11-17 21:04:02 +01:00