1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2025-06-26 17:26:21 +00:00

175 Commits

Author SHA1 Message Date
Loic Blot
62ad5b1d34 Import some sources from legacy HTTP Client to permit using self signed certificates like before
It's not the perfect solution but this works

Rename HTTPRequestBuilder to OCHttpClient & make it child of HttpClient
2016-12-20 22:17:44 +01:00
Loic Blot
25e2d13409 Rewrite our HTTP Client to remove the owncloud library dependency and doing authentication ourselves
* Fixes issue #122
* Cleanup the code
* Drop owncloud library support, this will help the unofficial F-Droid build
2016-12-20 21:34:52 +01:00
Loic Blot
4de4230dbb Release 0.23.0 2016-12-09 08:35:57 +01:00
Loic Blot
1bb93a5068 Verify connection when restoring messages 2016-12-08 22:14:29 +01:00
Loic Blot
819fa4543d Don't restore already existing messages 2016-12-08 21:43:32 +01:00
Loic Blot
9bb0a7d2f2 Add a label for progression, show it to user and fix sms restauration.
This is almost finished but needs some polish
2016-12-08 21:15:58 +01:00
Loic Blot
13ad6237fe Restore the default SMS app at the end 2016-12-08 01:18:28 +01:00
Loic Blot
184d2e12fd Add some preparations for progress 2016-12-08 01:14:12 +01:00
Loic Blot
b13e98e2dc Feedback when restore is finished 2016-12-08 00:58:27 +01:00
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
52e7fa109b Prepare some SMS permissions 2016-12-07 08:34:37 +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
36fb1e8164 Tag version 0.22.2 2016-11-02 08:12:12 +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
fbe817b0f3 Version 0.22.1 is now out and published 2016-10-22 19:45:53 +02: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
b0d6c830e3 Add minimum sync chars configuration 2016-10-22 17:28:57 +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
Ruslan
523a78c029 Update Russian localization (#111) 2016-09-27 17:37:37 +02:00
Loic Blot
4f509d5419 Gradle update + visibility fix on SmsFetcher 2016-09-23 00:09:43 +02:00
Loic Blot
929c4d2f76 Notify that the feature is not already implement for restore_messages & prepare bump version (not ready yet) 2016-09-07 23:56:54 +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
783ed1dc00 Fix inconsistent array in french & spanish 2016-08-29 00:09:50 +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
Aaron LI
ba672a2ab9 Add zh-rCN translation (#104)
* Add zh-rCN translation

* Fix minor typos in strings.xml

* Update zh-rCN translations against latest master.

* Minor adjustments to zh-rCN translations.
2016-08-28 08:48:50 +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
Jaroslav Lichtblau
77e16e67c1 czech translation update
for owncloud sms app
2016-06-19 11:13:37 +02:00
Ruslan
50b045e01a update RU strings.xml 2016-05-17 11:21:43 +03: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
3f3fe0d239 Fix a gradle warning for AndroidManifest.xml 2016-04-30 00:53:25 +02:00
Loic Blot
b3be3130b3 Forget files for Android 6.0
Fixes #102
2016-04-09 18:12:29 +02:00