1
0
mirror of https://github.com/etesync/android synced 2024-11-23 00:18:19 +00:00
Commit Graph

1689 Commits

Author SHA1 Message Date
Tom Hacohen
bf050aa53b HttpClient: use the http client builder when using etesync
If we don't use the http client builder we don't get cert4droid hooked
which means we won't correctly support self-signed certificates.
2020-09-25 10:04:33 +03:00
Tom Hacohen
048acdf26c Have a collection fetching cache like we had for etesync v1.
This is there because we usually sync all of the adapters in tandem and
we were fetching all of the collections multiple times because of it.
2020-09-25 10:04:33 +03:00
Tom Hacohen
b637f25f4a Update etebase dep and adjust code accordingly 2020-09-25 10:04:33 +03:00
Tom Hacohen
20a2c1b445 Contacts sync: try setting the sync to expedited so it maybe happens sooner. 2020-09-25 10:04:33 +03:00
Tom Hacohen
bc44062e93 Local resources: fix the mess of find by username/uid being all mixed up.
We were searching by filename but the function was called uid and other such
mixups. This change should now fix all of them by having a function for each
that actually does the right thing.
2020-09-25 10:04:33 +03:00
Tom Hacohen
97d1a40e49 AddressBook: set isSyncable=1 on creation and update readOnly
Set isSyncable=1 at creation (and not only after first sync)
2020-09-25 10:04:33 +03:00
Tom Hacohen
00a1a223d0 SyncManager: correctly set the item's UID in the metadata.
We were only populating the uid after setting it in the metadata so
we were always setting null in the metadata which was causing
errors.
2020-09-25 10:04:33 +03:00
Tom Hacohen
6459d71ab6 Make sure we never upload items without a uuid. 2020-09-25 10:04:33 +03:00
Tom Hacohen
6710459176 SyncManager tasks: fix bug with task lists being reset. 2020-09-25 10:04:33 +03:00
Tom Hacohen
f6a44a33da AccountActivity: fix crash when removing account. 2020-09-25 10:04:33 +03:00
Tom Hacohen
2417f77a39 Sync: handle permission denied sync errors. 2020-09-25 10:04:33 +03:00
Tom Hacohen
5f8ca4326b Bump version 2020-09-25 10:04:33 +03:00
Tom Hacohen
f725b3069b List entries fragment: remove unused variable. 2020-09-25 10:04:33 +03:00
Tom Hacohen
117f4e41f4 Item: support showing item revisions. 2020-09-25 10:04:33 +03:00
Tom Hacohen
73bebcd7c4 Entries list: preserve scroll position when moving back to fragment. 2020-09-25 10:04:33 +03:00
Tom Hacohen
d768ab69cd Fix parsing of #RRGGBBAA collection colors. 2020-09-25 10:04:33 +03:00
Tom Hacohen
3e7e90d466 Server url: use our etebase partner URL. 2020-09-25 10:04:33 +03:00
Tom Hacohen
1bdd4d78f4 Implement account settings and password change. 2020-09-25 10:04:33 +03:00
Tom Hacohen
a2a9a3e08c Request sync after editing/removing a collection. 2020-09-25 10:04:33 +03:00
Tom Hacohen
cccbfba568 Contacts import: show a sensible error when address book is not found. 2020-09-25 10:04:33 +03:00
Tom Hacohen
7ff80aaf9b SyncManager: fix crash with imported items. 2020-09-25 10:04:33 +03:00
Tom Hacohen
712346c7ae Import: implement import in etebase. 2020-09-25 10:04:33 +03:00
Tom Hacohen
c24936ff7e Collections: implement inviting members. 2020-09-25 10:04:33 +03:00
Tom Hacohen
cbe7e142dc Members: implement removing members. 2020-09-25 10:04:33 +03:00
Tom Hacohen
df9f2f4ed4 Collection member listing. 2020-09-25 10:04:33 +03:00
Tom Hacohen
251e610fe8 First sync failures on first account addition. 2020-09-25 10:04:33 +03:00
Tom Hacohen
cea7f8fdc6 Implement showing changelog item. 2020-09-25 10:04:33 +03:00
Tom Hacohen
71e37fb9a6 Only allow collection owners to edit it. 2020-09-25 10:04:33 +03:00
Tom Hacohen
290aa159b2 Implement showing fingerprint. 2020-09-25 10:04:33 +03:00
Tom Hacohen
b9d3dc691b Implement collection creation. 2020-09-25 10:04:33 +03:00
Tom Hacohen
74b4ef3ee9 Overhaul Etebase collection activity. 2020-09-25 10:04:33 +03:00
Tom Hacohen
be22beb7f9 EditCollection: add a fragment to edit collection. 2020-09-25 10:04:33 +03:00
Tom Hacohen
63a8bf91a9 ViewCollection: add a basic etebase collection viewing activity. 2020-09-25 10:04:33 +03:00
Tom Hacohen
481dcc1944 SyncManager: handle stoken being null (empty collection). 2020-09-25 10:04:33 +03:00
Tom Hacohen
52b7a84a1a Sync adapter: handle some etebase exceptions. 2020-09-25 10:04:33 +03:00
Tom Hacohen
f8c0eaca35 Sync manager: add etebase support (pushing changes) 2020-09-25 10:04:33 +03:00
Tom Hacohen
6302ab42de Sync manager: add etebase support (pulling changes) 2020-09-25 10:04:33 +03:00
Tom Hacohen
efdce8c557 Account: logout and clear cache on account removal. 2020-09-25 10:04:33 +03:00
Tom Hacohen
85fd9fdd7c AccountSettings: fix issue when saved uri is null. 2020-09-25 10:04:33 +03:00
Tom Hacohen
ea0f974086 Account activity: lock the cache when using it and cleanup color parsing 2020-09-25 10:04:33 +03:00
Tom Hacohen
deb1bb831b AddressBooksSyncAdapter: implement syncing etebase address books 2020-09-25 10:04:33 +03:00
Tom Hacohen
d6a0958d16 TaskListSyncAdapter: implement syncing etebase task lists 2020-09-25 10:04:33 +03:00
Tom Hacohen
1c284bce91 CalendarSyncAdapter: implement syncing etebase calendars. 2020-09-25 10:04:33 +03:00
Tom Hacohen
2069e9b215 LocalEtebaseCache: create a shared collection + meta type. 2020-09-25 10:04:33 +03:00
Tom Hacohen
608f1ff371 Sync collections and show them in the account page. 2020-09-25 10:04:33 +03:00
Tom Hacohen
2c0e14d3a3 EtebaseLocalCache: add stoken and fix issues with loading files. 2020-09-25 10:04:33 +03:00
Tom Hacohen
79b650da38 LocalEtebaseCache: make sure we always return the same item. 2020-09-25 10:04:33 +03:00
Tom Hacohen
eeb93f523d Get account list: add etebase support. 2020-09-25 10:04:33 +03:00
Tom Hacohen
69b044a444 Remove redundant code. 2020-09-25 10:04:33 +03:00
Tom Hacohen
09c932c02c Account Settings: add a flag to check if legacy (and use in account page). 2020-09-25 10:04:33 +03:00