Loic Blot
bcefc1fdf2
HTTPClient: Permit circular redirection.
...
This should fixes #128
2017-01-18 23:00:18 +01:00
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
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
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