Tom Hacohen
2bbddd26cd
Fetch local deleted and dirty at the beginning of sync to avoid inconsistency
...
Without this, those values could change in the middle of the sync
and make us work on different lists at different parts of the
sync code.
2017-02-22 14:06:25 +00:00
Tom Hacohen
d6864f5062
Don't load all resources when syncing, only as needed.
2017-02-22 14:06:25 +00:00
Tom Hacohen
8040ee7d9f
Push entries in chunks instead of all at once.
2017-02-22 14:06:25 +00:00
Tom Hacohen
74b0956f3b
Improve error messages in journal server interactions.
2017-02-22 14:06:25 +00:00
Tom Hacohen
8cfe58a7d1
Add a way to sign releases.
2017-02-22 14:06:25 +00:00
Tom Hacohen
a50eb87162
Fix newly created Calendars to actually work.
2017-02-22 14:06:25 +00:00
Tom Hacohen
c33bc0ee19
Handle failing to connect to server during login.
2017-02-22 14:06:25 +00:00
Tom Hacohen
eb9c3aa907
Fix timezone picker.
2017-02-22 14:06:25 +00:00
Tom Hacohen
5dbea8579e
Redesign calendar look in account page.
2017-02-22 14:06:25 +00:00
Tom Hacohen
7c4e6a11e1
Disallow deleting the last collection.
2017-02-22 14:06:25 +00:00
Tom Hacohen
a10015ee1a
Deletion from server is already handled.
2017-02-22 14:06:25 +00:00
Tom Hacohen
36cefee30a
Make new calendars selected by default.
2017-02-22 14:06:25 +00:00
Tom Hacohen
119ae5b9fe
Fix collection creation.
2017-02-22 14:06:25 +00:00
Tom Hacohen
c5a17291e5
Put a notice to double-check the encryption password.
2017-02-22 14:06:25 +00:00
Tom Hacohen
5dbe217de8
Fix launching of activities following appid rename
2017-02-22 14:06:25 +00:00
Tom Hacohen
c7d817dfe2
Handle invalid account exception in the sync adapter service.
2017-02-22 14:06:25 +00:00
Tom Hacohen
81b927e7fb
Encryption helpers: deal with FIXMEs.
2017-02-22 14:06:25 +00:00
Tom Hacohen
88322f341a
Handle impossible issue in hmac calculation.
2017-02-22 14:06:25 +00:00
Tom Hacohen
833c8c0847
Only add authentication if connecting to the service's hostname.
2017-02-22 14:06:25 +00:00
Tom Hacohen
4008776812
Sync manager: deal with FIXMEs.
2017-02-22 14:06:25 +00:00
Tom Hacohen
c58ae8fb1c
Add contact resource downloader.
2017-02-22 14:06:25 +00:00
Tom Hacohen
44be896df7
Cleanup and improve HttpExceptions.
2017-02-22 14:06:25 +00:00
Tom Hacohen
ff5c5b5230
Remove unused setting to get caldav past days.
2017-02-22 14:06:25 +00:00
Tom Hacohen
69864ac781
Fix user agent and external logging file name.
2017-02-22 14:06:25 +00:00
Tom Hacohen
bfaffc1f38
Change account type.
2017-02-22 14:06:25 +00:00
Tom Hacohen
85baabaf09
Remove translation strings not in original file.
2017-02-22 14:06:25 +00:00
Tom Hacohen
2583f75d41
Rename DavService service.
2017-02-22 14:06:24 +00:00
Tom Hacohen
1b3cd631bc
Update application id.
2017-02-22 14:06:24 +00:00
Tom Hacohen
09719f87a2
Optimise imports.
2017-02-22 14:06:24 +00:00
Tom Hacohen
9bd901e368
Turn startup popups back on.
2017-02-22 14:06:24 +00:00
Tom Hacohen
fcc365a89e
Remove opentasks and donate from startup dialog.
2017-02-22 14:06:24 +00:00
Tom Hacohen
47ca55f03f
Remove reference to opentasks from the UI.
2017-02-22 14:06:24 +00:00
Ricki Hirner
bc7cd65048
Android 7 workaround bugfix
...
* use local version of contact before calculating hash code
* don't stop upload sync if there are deleted contacts
2017-02-22 14:06:24 +00:00
Ricki Hirner
59f8305ba5
Use contact hash codes only on Android 7+ (workaround)
...
vcard4android: don't hash CATEGORIES, more verbose logging
2017-02-22 14:06:24 +00:00
Ricki Hirner
d707a1e643
Implement checksum to check whether DIRTY contacts have "really" changed
...
* contact data hash code = hash code of data fields and group memberships
* Before every contact sync, all dirty contacts are checked whether they're
"really dirty" (= data hash code has changed). If they're not, the DIRTY
flag is reset. Works around Android 7 behavior of setting contacts to DIRTY
even if onky meta data has been updated (for instance, lastContacted after
a call or SMS),
* When an "upload" sync is initiated by notifyChange and there are no
"really dirty" contacts, the sync is ignored.
* contact upload: clearDirty() saves hash code, too
* contact download: create()/update() saves hash code, too
* debugging: sync flags (extras) are now logged
2017-02-22 14:06:24 +00:00
Ricki Hirner
774a19ae83
AccountSettingsActivity: use loader
...
* use Loader for AccountSettingsActivity sync intervals (fixes Android 7 display "issues")
* SyncManager: allow prepare() to skip synchronization
2017-02-22 14:06:24 +00:00
Ricki Hirner
cfb7d6b787
Use isAlwaysSyncable for contacts/calendars again because of buggy Android firmwares
2017-02-22 14:06:24 +00:00
Tom Hacohen
098496a4dc
Bump okhttp version.
2017-02-22 14:06:24 +00:00
Tom Hacohen
7feddf3ff7
Change version identifier.
2017-02-22 14:06:24 +00:00
Tom Hacohen
e07c992701
Improve some strings.
2017-02-22 14:06:24 +00:00
Tom Hacohen
2011d8d121
Update about page.
2017-02-22 14:06:24 +00:00
Tom Hacohen
c0d0621887
Improve auth error error message.
2017-02-22 14:06:24 +00:00
Tom Hacohen
c169fb4afb
Make login password changing work (albeit ugly).
2017-02-22 14:06:24 +00:00
Tom Hacohen
1363865660
Don't require URI in login credentials constructor.
2017-02-22 14:06:24 +00:00
Tom Hacohen
d62d7049f2
Rename DavResourceFinder.
2017-02-22 14:06:24 +00:00
Tom Hacohen
dcb3429884
Enforce all hmac/mac to always be lower case.
2017-02-22 14:06:24 +00:00
Tom Hacohen
80bb0d6a70
Handle errors when syncing journals, not just entries.
...
Also create a helper notification manager that encapsulates all of the
notification creation logic (from throwable).
2017-02-22 14:06:24 +00:00
Tom Hacohen
f2febfeb8c
Improve integrity error, error message.
2017-02-22 14:06:24 +00:00
Tom Hacohen
1730241e5d
Fix login finish button to say 'finish'
2017-02-22 14:06:24 +00:00
Tom Hacohen
44a240fd75
Sync journals when syncing everything else.
2017-02-22 14:06:24 +00:00