Loic Blot
c125201c4b
Code style fixes
2017-06-07 00:26:05 +02:00
Loic Blot
0eb1af2da8
BindObjectPref now takes resId and resolve setting directly
2017-06-07 00:00:43 +02:00
Loic Blot
1d45d0a318
Add an option to disable sync notification
...
Fix #150
2017-06-06 23:50:20 +02:00
Loïc Blot
d4904797f7
Contactload code cleanup
2017-05-22 14:25:31 +02:00
Loïc Blot
a5a03dbfcd
More code cleanup
2017-05-22 14:10:36 +02:00
Loïc Blot
e2c65cf867
Code cleanups
2017-05-22 13:26:04 +02:00
Loïc Blot
c682d7fd0d
Properly handle InvalidArgumentException when URI is not valid in HTTP connector
...
This fixes issue #149
2017-05-03 15:47:29 +02:00
Loic Blot
afa0fc2fac
Add a feature to reinitialize synchronization cursor
2017-03-23 20:43:32 +01:00
Andy Scherzinger
f83eebe4dd
Drawer, Toolbar and minor UI optimizations ( #145 )
...
* initial add of toolbar and hamburger menu to main activity
* toolbar added to preferences and accounts screens
* fixed original string (name)
* Layout fix for content
* initial add of toolbar and hamburger menu to main activity
* remove unnecessary padding bottom
* fix styling and paint login activity in blue
* toolbar added to preferences and accounts screens
* Layout fix for content
* remove unnecessary padding bottom
* fix styling and paint login activity in blue
* fixes after rebase
* consolidate style since minVersion=16, make drawer to be behind the systembar
* optimize drawer header
* add back navigation to login activity, fix spinner background
* add back navigation
* more launcher icon to mipmap folders
* fix identation
* fix license header
* revert code style deletion, change identation
* proper notification icon
* proper resolution for login logo
* fix large notification icon
* removed unused Eclair switch since support is v16+
* only use small notification icon
* spaces->tabs
* fix toolbar style for Android 4.x
2017-03-23 20:16:31 +01:00
Loïc Blot
8b482f51c4
HTTPClient: add redirection follower
2017-01-20 11:35:19 +01:00
Loïc Blot
82d1de3463
HTTPClient: send application name & version code in User Agent
...
Also ignore cookies like owncloud android lib & set http version to 1.1
2017-01-20 11:35:11 +01:00
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