1
0
mirror of https://github.com/etesync/android synced 2024-11-30 03:48:27 +00:00
Commit Graph

1065 Commits

Author SHA1 Message Date
Tom Hacohen
abc15f01d8 Rename the Android package to EteSync
I was trying to avoid it, and keep it as davdroid both for attribution,
and making it easy to cherry-pick fixes from DAVdroid.
However, it seems to be causing clashes with the davdroid app, although
every piece of documentation claims otherwise.[1]

At least it seems like cherry-picks can still be achieved using:

git cherry-pick -s recursive -X find-renames=30 COMMIT

1. https://developer.android.com/studio/build/application-id.html
(one such doc)
2017-02-27 13:23:24 +00:00
Tom Hacohen
49ec35b137 Pin gradle plugin version to 2.2.3. 2017-02-23 19:13:25 +00:00
Tom Hacohen
94b29e86ac Implement sha256 using bouncy-castle. 2017-02-22 18:52:20 +00:00
Tom Hacohen
7a80b37818 Optimise proguard rules and fix warnings
We don't need to specify classes we don't use dynamically, so remove all
of the explicitly mentioned ones.

Fix a few warnings.
2017-02-22 18:52:20 +00:00
Tom Hacohen
0ebfa9cfbd Bump version to 0.8.1 and update changelog. 2017-02-22 18:52:20 +00:00
Tom Hacohen
116094c7b9 Ask for permissions on app launch. 2017-02-22 17:50:24 +00:00
Ricki Hirner
36ee584e6a Fetch translations from Transifex 2017-02-22 15:57:54 +00:00
Tom Hacohen
0b01b61a9e Update vcard4droid and ical4droid. 2017-02-22 14:06:26 +00:00
Tom Hacohen
31ffd9234c Add a changelog file. 2017-02-22 14:06:26 +00:00
Tom Hacohen
53637cec03 Remove translations to changed strings
I changed some strings (but kept the name) and remove others. This means
that the existing translations are no longer valid for those, so I wrote
a small script to see which strings I've changed/removed and removed
those from the translations.
2017-02-22 14:06:26 +00:00
Tom Hacohen
a24c0fddff Update readme. 2017-02-22 14:06:26 +00:00
Tom Hacohen
afca87f4d8 Toast the server name on startup in debug mode. 2017-02-22 14:06:26 +00:00
Tom Hacohen
2225ee0a03 Cleanup handling of notification errors. 2017-02-22 14:06:26 +00:00
Tom Hacohen
d832ae9bc6 Cleanup error messages in notifications. 2017-02-22 14:06:26 +00:00
Tom Hacohen
09196e52a5 Don't pop notifications for serviceunavailable errors. 2017-02-22 14:06:26 +00:00
Tom Hacohen
942276284e Cleanup sync manager exception handling a bit. 2017-02-22 14:06:26 +00:00
Tom Hacohen
ef8ae03e24 Improve appearance of account page. 2017-02-22 14:06:26 +00:00
Tom Hacohen
35b8283e31 Request sync after adding a collection so it can be used immediately.
This only works when online, need to solve it correctly so it also works offline.
2017-02-22 14:06:26 +00:00
Tom Hacohen
47a846bc2c Remove timezone from create calendar page. 2017-02-22 14:06:26 +00:00
Tom Hacohen
a935e09287 Update strings. 2017-02-22 14:06:26 +00:00
Tom Hacohen
a460a52079 Better handle service unavailable. 2017-02-22 14:06:26 +00:00
Tom Hacohen
3e5f3f5429 When applying remote entries, save sync tag after application. 2017-02-22 14:06:26 +00:00
Tom Hacohen
7f0f1b92fa Correctly handle thread interruptions when applying entries. 2017-02-22 14:06:26 +00:00
Tom Hacohen
268cd98b7b Improve logging when applying entries. 2017-02-22 14:06:26 +00:00
Tom Hacohen
5ec0dd45b5 Add log stating the amount of entries fetched. 2017-02-22 14:06:26 +00:00
Tom Hacohen
aff3be7af4 Make the account type the same as app id. 2017-02-22 14:06:26 +00:00
Tom Hacohen
b3cd95bcf5 Contact sync manager: Add missing super call in postprocess. 2017-02-22 14:06:26 +00:00
Tom Hacohen
c60557d035 Sync manager: deal with error when pushing multiple chunks. 2017-02-22 14:06:26 +00:00
Tom Hacohen
fa52270420 SyncManager: Restrict access to private variables. 2017-02-22 14:06:26 +00:00
Tom Hacohen
f5c413069e Don't leak passwords and token to log. 2017-02-22 14:06:26 +00:00
Tom Hacohen
ef850822de Fix a race condition when preparing dirty. 2017-02-22 14:06:26 +00:00
Tom Hacohen
dd6ce617cc Remove the redundant collection getAll() function.
We aren't using it, and shouldn't be using it. It's very inefficient,
and doesn't help what we want to do.
2017-02-22 14:06:25 +00:00
Tom Hacohen
6ea0b47d79 Implement applyLocalEntries and create the local entries after fetching.
Since we now use a cached version of the localDeleted/Dirty, we can create the entries
after we fetch. We also use the entries to override whatever changes came from the
server because we assume (for now) our copy is the correct one.
2017-02-22 14:06:25 +00:00
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