1
0
mirror of https://github.com/etesync/android synced 2025-01-23 22:21:23 +00:00
Go to file
Tom Hacohen 04e50459d4 Syncmanager: fix an issue causing local cache corruption when failing to push.
Due to a logical issue in the code, new journal entries were added to the
local cache after they've been created locally, and not after they've
been added to the server. Under normal circumstances this doesn't pose a
problem, however when pushing to the server fails, the local cache
would have the new entries as if they were saved on the server, causing
the app to think there has been a corruption on the server (as entries
should never be removed from the server) and halt the sync.

This change makes it so the entries are saved to the local cache only
after they've been saved on the server.

Note: this was not spotted until now because it relies on an unfortunate
specific sequence of events. It only happens when creating journal
entries, and when trying to sync them successfully connecting to the
server to fetch the journal list and the content of the journal itself,
and only failing when coming to push the journals.

Many thanks to "359" (this user's preferred alias) for reporting the
issue that resulted in this fix.
2017-05-15 16:17:48 +01:00
app Syncmanager: fix an issue causing local cache corruption when failing to push. 2017-05-15 16:17:48 +01:00
cert4android@9033f39d1f Update cert/ical/vcard4android to latest. 2017-04-05 18:40:47 +01:00
gradle/wrapper Adjust DAVdroid to use the EteSync protocol (mostly working) 2017-02-21 17:26:19 +00:00
ical4android@49fbb68461 Add multiple address books support 2017-04-27 11:42:05 +01:00
scripts Fetch translations from Transifex 2016-11-13 20:34:11 +01:00
vcard4android@1bb0b25339 Update okhttp and submodules to latest. 2017-04-20 14:14:40 +01:00
.gitignore Adjust DAVdroid to use the EteSync protocol (mostly working) 2017-02-21 17:26:19 +00:00
.gitmodules Adjust DAVdroid to use the EteSync protocol (mostly working) 2017-02-21 17:26:19 +00:00
build.gradle Update gradle. 2017-04-20 14:12:04 +01:00
ChangeLog.md Update Changelog. 2017-05-15 11:31:08 +01:00
CONTRIBUTORS.md Add a contributors file. 2017-03-08 10:16:17 +00:00
gradle.properties Adjust DAVdroid to use the EteSync protocol (mostly working) 2017-02-21 17:26:19 +00:00
gradlew Migrated to Android Studio/gradle 2014-12-20 20:21:46 +01:00
gradlew.bat Migrated to Android Studio/gradle 2014-12-20 20:21:46 +01:00
LICENSE README changes; fix EXDATE bug 2015-11-27 12:31:15 +01:00
README.md Add "Get it on" badges to readme 2017-03-01 00:38:58 +00:00
run-tests.sh Improve tests 2016-10-07 14:39:21 +02:00
settings.gradle Adjust DAVdroid to use the EteSync protocol (mostly working) 2017-02-21 17:26:19 +00:00

EteSync

Please see the EteSync website for more information.

Get it on Google Play Get it on F-Droid

EteSync is licensed under the GPLv3 License.

EteSync's source code is based on DAVdroid and adjusted to work with the EteSync protocol.

Third Party Libraries

This project relies on many great third party libraries. Please take a look at the app's about menu for more information about them and their licenses.