1
0
mirror of https://github.com/etesync/android synced 2024-11-26 01:48:34 +00:00
Commit Graph

1430 Commits

Author SHA1 Message Date
Tom Hacohen
63cbaddfc6 Add a lock when pushing changes.
This is not needed for proper deployments where the server properly locks
the database tables. But in some older etesync server versions and possibly
bad databases, this is not the case.
OpenTasks causes EteSync to concurrently try to sync, so this at least makes
sure this race condition doesn't happen for these rare cases.
2019-11-26 12:47:48 +02:00
Tom Hacohen
e83c95e8ec Sync settings: remove deprecated 5/10 minutes sync options from the UI. 2019-11-25 23:08:59 +02:00
Tom Hacohen
0f2a23bfbc Update Changelog. 2019-11-24 11:05:58 +02:00
Tom Hacohen
139490bd0b Bump version. 2019-11-24 10:56:29 +02:00
Tom Hacohen
5fc26c6461 Fix issue with journal preview showing the wrong dates. 2019-11-21 18:56:40 +02:00
Tom Hacohen
da3ac48bbf Revert "Revert "App: only init the data store once per application.""
A lot of reverts. :)

According to more information and testing in #97, this was indeed
unrelated and 1.9.3 was enough to fix it.

This reverts commit 73179318f3.
2019-11-18 13:43:36 +02:00
Tom Hacohen
e860a37bf7 Update the user guide's url to the Android specific one. 2019-11-14 18:22:52 +02:00
Tom Hacohen
40a5358c76 Update Changelog. 2019-11-11 19:39:53 +02:00
Tom Hacohen
61ba7429dd Bump version. 2019-11-11 19:39:23 +02:00
Tom Hacohen
73179318f3 Revert "App: only init the data store once per application."
It seems like this is the cause of #97 as 19b4e2a796
hasn't fixed the issue. Still not sure why it's happening, but reverting
it so no more users suffer from this issue.

This reverts commit 26ea8900a2.
2019-11-11 19:37:10 +02:00
Tom Hacohen
2c8f989278 Update Changelog. 2019-11-06 21:40:50 +02:00
Tom Hacohen
377225f876 Bump version. 2019-11-06 21:33:54 +02:00
Tom Hacohen
4fd214515c Update gradle. 2019-11-06 20:04:20 +02:00
Tom Hacohen
19b4e2a796 Revert "Add a reentrant lock to our entity data store."
I'm pretty sure this was causing the recent issues with tasks and events
disappearing as described in #97.

Regardless of this, it's not actually needed as SQLite on Android is
already thread-safe. The SQLite locks some users were experiencing were
probably fixed in 26ea8900a2

This reverts commit 9ed172e23c.
2019-11-04 14:01:32 +02:00
Tom Hacohen
423fcf060c build.gradle: fix indentation. 2019-11-04 14:01:32 +02:00
Licaon_Kter
db588de749 Use HTTPS for Maven 2019-11-04 13:35:23 +02:00
Ricki Hirner
8422892708 Address books accounts: set initial user data twice for older Android versions 2019-11-04 10:16:42 +02:00
Tom Hacohen
8abbbd122f Add autofill hints to the login screen. 2019-11-04 10:08:49 +02:00
Tom Hacohen
ee6f731c60 Update Changelog. 2019-11-03 13:16:24 +02:00
Tom Hacohen
c4b987ef9d Bump version. 2019-11-03 13:16:24 +02:00
Tom Hacohen
413218d55f Fix Norwegian Bokmål to not translate untranslatable strings.
This should fix f-droid build. lintVitalRelease was failing.

https://f-droid.org/wiki/page/com.etesync.syncadapter/lastbuild_91
2019-11-03 13:15:49 +02:00
Tom Hacohen
4493a3f5d8 Update Changelog. 2019-10-28 17:42:29 +02:00
Tom Hacohen
527a18b80e Bump version. 2019-10-28 17:41:08 +02:00
Tom Hacohen
991ba5f855 Update ical4android. 2019-10-28 17:41:08 +02:00
Marius Lindvall
0518269812 Translate to Norwegian Bokmål 2019-10-20 14:35:14 +03:00
Tom Hacohen
3769938e03 Update Changelog. 2019-10-17 15:58:03 +03:00
Tom Hacohen
c052c64816 Bump version. 2019-10-17 15:56:10 +03:00
Tom Hacohen
4a625b19da fastlane: update app descriptions. 2019-10-17 15:54:57 +03:00
Tom Hacohen
26ea8900a2 App: only init the data store once per application.
We were accidentally initialising it once every time we were
trying to access it.
2019-10-16 14:48:22 +03:00
Tom Hacohen
9ed172e23c Add a reentrant lock to our entity data store.
Should fix issues with multiple threads trying to write to the store
at the same time.
2019-10-16 11:26:37 +03:00
Tom Hacohen
a74f188b3b requery: use our own data store class. 2019-10-16 11:15:11 +03:00
Tom Hacohen
d8600f2f04 SetupEncryption: fix issue with inserting existing services. 2019-10-16 10:36:36 +03:00
Tom Hacohen
990ab81c2b ServiceEntity: rename fetch to fetchOrCreate.
This is what it was doing anyway.
2019-10-16 10:35:53 +03:00
Tom Hacohen
9600cd3f1f Service default creation: correctly set the type.
Was a copy-paste error and it was setting type to Tasks.
2019-10-16 10:32:55 +03:00
Tom Hacohen
9d25087013 Update Changelog. 2019-10-15 20:13:07 +03:00
Tom Hacohen
6ccf9de66c Bump version. 2019-10-15 20:06:17 +03:00
Tom Hacohen
f7f2dac76b Change the wording for setting collection's color.
The wording assumed the collection was a calendar, though it
can in fact be a task list too. Changed the wording to be
generic.

Fixes #93.
2019-10-15 11:59:00 +03:00
Tom Hacohen
5df3a59a2e Gracefully handle trying to insert again an entry we have in the db. 2019-10-09 13:20:44 +03:00
Tom Hacohen
70da2ed6d7 Update Changelog. 2019-10-08 15:29:31 +03:00
Tom Hacohen
925ba9049e Bump version. 2019-10-08 15:29:31 +03:00
Tom Hacohen
49ffdd9295 Fix tourguide dependency. 2019-10-08 15:29:31 +03:00
Tom Hacohen
570ed1b84a SyncAdapter: move journal fetching to a separate caching class
Before this change we were fetching the journals 3 times each time (once
for each journal type).
This was wasteful both for the server and battery life. Now we just cache the
requests for a few seconds with the assumption that a burst most mean it's
the same sync operation.
2019-09-26 18:07:14 +03:00
Tom Hacohen
3dd051e22d Update Changelog. 2019-09-25 23:57:38 +03:00
Tom Hacohen
c0642fc00a Bump version. 2019-09-25 23:57:31 +03:00
Tom Hacohen
b50c633ca1 Improve debug information in createLocalEntry.
Print some extra information about the entry we failed to create.
2019-09-25 23:55:28 +03:00
Tom Hacohen
4abf351d9e Update ical4android (task categories support). 2019-09-19 15:18:07 +03:00
Tom Hacohen
21bf5363ac Update Changelog. 2019-09-12 00:23:39 +01:00
Tom Hacohen
56ecb04644 Bump version. 2019-09-12 00:19:12 +01:00
Tom Hacohen
67b6dce44f Basemanager: consider SSLProtocolExceptions as real issues.
Kind of brings back what 1bbf00c6bd removed.
2019-09-12 00:18:05 +01:00
Tom Hacohen
c26c2c5332 Update cert4android and adjust HttpClient accordingly 2019-09-11 09:36:48 +01:00