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

1118 Commits

Author SHA1 Message Date
Tom Hacohen
a62c77c306 Bump version. 2020-02-11 22:58:02 +02:00
Tom Hacohen
42c61ed087 Bump journalmanager dependency (fixes crash in login page).
The login page was crashing when you were putting the app in the background.
This is because the userinfo class wasn't serializable. This was fixed in
the newer version of the journalmanager library.
2020-02-11 22:57:35 +02:00
Tom Hacohen
202847f30c Remove unused code. 2020-02-11 22:51:02 +02:00
Tom Hacohen
b702cc6c17 Bump version. 2020-02-10 12:57:24 +02:00
Tom Hacohen
d603245eb3 Fix DebugInfoActivity - was crashing when fetching services
The issue was introduced in df94fde5ff
because of a bad refactor by android-studio.
2020-02-10 12:56:13 +02:00
Tom Hacohen
b5fbd9c39e Bump version. 2020-02-05 16:03:06 +02:00
Tom Hacohen
021c6595e3 Add a FAB to the collection view activity with info about EteSync.
Many users don't understand how EteSync works and think that this replaces
their existing apps. This should make it more obvious that they should
just use the apps they already use.
2020-02-05 16:03:06 +02:00
Tom Hacohen
ccc17ba141 Login: change the welcome message based if first login or not.
This shared login screen was a shortcut we took a while back, but it's
now time to fix it and make it clear what's going on, just like in the
other apps.
2020-02-05 15:09:46 +02:00
Tom Hacohen
df94fde5ff Move CollectionInfo and SyncEntry to the journalmanager module. 2020-01-29 15:26:35 +02:00
Tom Hacohen
09e2a9255a CollectionInfo: remove deprecated code. 2020-01-29 00:39:14 +02:00
Tom Hacohen
ceead4815b Move to the external journalmanager module (moved the code there) 2020-01-28 20:56:39 +02:00
Tom Hacohen
b70e8903c5 SettingsDB: fix file descriptor leaks. 2020-01-26 13:06:02 +02:00
Tom Hacohen
5857ed51d0 Logout: invalidate the auth token after logging out. 2020-01-23 19:59:46 +02:00
Tom Hacohen
a04a6ee284 JournalAuthenticator: add a way to invalidate tokens. 2020-01-23 19:31:18 +02:00
Tom Hacohen
5efd717189 Bump version. 2020-01-22 12:55:37 +02:00
yumekui
13f7bd9fd0 German translation: Calendar invites 2020-01-21 18:08:06 +02:00
Tom Hacohen
dbb244f1be Bump version 2020-01-11 12:05:13 +02:00
Tom Hacohen
5db8545f8f Upgrade ical4android. 2020-01-09 12:54:22 +02:00
Tom Hacohen
a021ea0cc6 Bump version. 2019-12-17 10:10:32 +02:00
Tom Hacohen
72253932d3 Revert "Revert "Revert "App: only init the data store once per application."""
Even more reverts. :(
After additional testing (based on user reports) it seems like this may
still be causing issues. I find it weird and don't understand why, but
I'm reverting this as a precaution so people aren't affected.

Related to #97

This reverts commit da3ac48bbf.
2019-12-17 10:08:40 +02:00
Tom Hacohen
cbf636545e Bump version. 2019-12-03 12:47:20 +02:00
Tom Hacohen
496b6cd633 Fix tests. 2019-11-28 18:51:10 +02:00
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
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
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
377225f876 Bump version. 2019-11-06 21:33:54 +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
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
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
527a18b80e Bump version. 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
c052c64816 Bump version. 2019-10-17 15:56:10 +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
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
925ba9049e Bump version. 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
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
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
Tom Hacohen
d64e6ba33f Fix databinder errors
Apparently you need to explicit enable data binding in build.gradle.
2019-09-11 09:31:47 +01:00
Tom Hacohen
7ce455c88a Bump version. 2019-09-09 08:59:41 +01:00
Tom Hacohen
1bbf00c6bd Revert "BaseManager: Consider SSLHandshakeExceptions as real issues."
This change was mostly flagging non-real issues, like connection reset
by peer. Revert for now and come up with an alternative solution.

This reverts commit d3ad17e0bb.
2019-09-09 08:45:08 +01:00
Tom Hacohen
37a1c06dbd Account settings: change Mannage Account to Account Dashboard 2019-09-06 12:07:05 +01:00
Tom Hacohen
99a174c93d Side menu: rename external links to useful links. 2019-09-06 12:05:58 +01:00
Tom Hacohen
b450d20d2a Side menu: change Web site to Website. 2019-09-06 11:55:44 +01:00
Tom Hacohen
6ca0af69a2 Side menu: change from Contact developer to Contact. 2019-09-06 11:51:25 +01:00
Tom Hacohen
e016eff43e Bump version. 2019-09-05 20:23:43 +01:00
Tom Hacohen
d8cb979d36 Journal viewer: make raw journal entries's text selectable. 2019-09-05 20:23:36 +01:00
Tom Hacohen
ffb7f53c0a TaskList: catch exception when trying to acquire task list 2019-08-29 14:25:52 +01:00
Tom Hacohen
9a79fbe459 Bump version. 2019-08-27 18:38:16 +01:00
Tom Hacohen
d659b48f6d Create collection: gracefully handle IO exceptions. 2019-08-27 18:34:37 +01:00
Tom Hacohen
d3ad17e0bb BaseManager: Consider SSLHandshakeExceptions as real issues.
They inherit from IO exceptions so were temporarily ignored, but they could
indicate a real issue with the ability of this user to connect to the
server.
2019-08-27 18:31:11 +01:00
Tom Hacohen
36a44ba339 LocalAddressBook: update according to vcard4android changes. 2019-08-23 09:35:41 +01:00
Tom Hacohen
9560d4a65b BaseManager: add a debug log for the beginning of a network call. 2019-08-22 11:52:01 +01:00
Tom Hacohen
3451f51376 Bump version. 2019-08-18 16:07:12 +01:00
Tom Hacohen
58f16681aa Debug info: add calling class information to reports.
This change makes it easier to detect if a debug report was actually due to a
real issue, or is just a user sending the debug activity without any real
issue behind it.

This is to battle the surprising amount of debug info spam we've had to battle
with. Essentially users sending debug info without actually experiencing any
issues and never replying to questions. This is made worse because many of
those emails also have weird addresses in CC which make it look even more
like some weird sort of spam.
2019-08-18 16:07:06 +01:00
Tom Hacohen
3c74cb1575 Optimise imports. 2019-08-18 15:26:26 +01:00
Tom Hacohen
7405452975 Bump version. 2019-08-07 08:57:39 +01:00
Tom Hacohen
c8a81862ea Import: fix import of contacts. 2019-08-06 14:12:50 +01:00
Tom Hacohen
9018b6cdd0 Import: make it easy to report import issues to devs. 2019-08-06 13:45:55 +01:00
Tom Hacohen
d1d08658f9 Don't export private activities.
Fixes #84.
2019-08-05 14:25:31 +01:00
Tom Hacohen
687f973725 Fix formatting. 2019-08-05 08:34:30 +01:00
Tom Hacohen
7aea44bb27 Bump version. 2019-08-05 08:31:06 +01:00
Tom Hacohen
1cfdc59b17 Change journal: make it possible to revert an item to a past state.
Fixes #83
2019-07-30 20:29:47 +01:00
Tom Hacohen
97358224ab Bump version. 2019-07-28 11:11:45 +01:00
Tom Hacohen
6031bd2699 Events: automatically transform EMAIL event reminders to DISPLAY ones.
iCal support EMAIL event reminders which EteSync doesn't and can't support
due to end-to-end encryption. This commit therefore modifies the event reminders
DISPLAY so reminders are actually shown on the phone.

Fixes #63
2019-07-28 11:10:50 +01:00
Tom Hacohen
cfae3bf0b5 Bump version. 2019-07-22 22:41:21 +01:00
Tom Hacohen
8e457c5ec7 Import contacts: fix wrong import account. 2019-07-21 14:48:01 +01:00
Tom Hacohen
201a1e078e Change the icon to an adaptive icon
It would require a proper redesign to take advantage of the full
capabilities of adaptive icons. This is good enough for now though.

Fixes #65
2019-07-21 10:55:30 +01:00
Tom Hacohen
5fe963d7b9 Bump version. 2019-07-15 13:08:06 +01:00
Tom Hacohen
cac34e6785 Import: verify activity is not null when finishing import.
This is really just an ugly workaround for a crash. This whole thing needs to
be redone. It's currently quite broken when it comes to lifecycle handling and
a source for many issues.
2019-07-15 13:08:06 +01:00
Tom Hacohen
84ab0cb16f Import: check if successfully acquired the provider before trying to import. 2019-07-15 13:08:06 +01:00
Tom Hacohen
b2f41fd0a8 Invitation email: update signature. 2019-07-09 13:59:48 +01:00
Tom Hacohen
d2739a50ef Bump version. 2019-07-08 13:33:31 +01:00
Tom Hacohen
7d7096cc58 Allow connecting to insecure (http) servers.
I'm a bit conflicted about this one because even though EteSync is
end-to-end encrypted, people should be using TLS.
I can't think of a reason why anyone would want to use HTTP over HTTPS,
especially given let's encrypt exists and EteSync supports self-signed
certs, but I guess it's better to allow it for now, at least until we
have a nice error message for it.

Fixes #81
2019-07-08 13:25:36 +01:00
Tom Hacohen
1f9e7fa6a6 Revert: Import: always import, don't try to find duplicates based on UID
This is somehow a revert of 536bef9815.

It was initially implemented as a workaround for #24, but having
improved all the clients to deal with weird UIDs and matured a lot since
then, I believe this is no longer an issue.

Would have to keep a close eye for regressions.
2019-07-06 10:38:28 +01:00
Tom Hacohen
bbd40e0255 LocalGroup: implement updateAsDirty. 2019-07-06 10:28:42 +01:00
Tom Hacohen
cc83e2c5d9 Tasks: implement update as dirty. 2019-07-06 10:03:18 +01:00
Tom Hacohen
101e7e2559 Settings: cleanup the code to open the app's notification settings 2019-06-28 19:45:48 +01:00
Tom Hacohen
aea3bb3c5c Bump version. 2019-06-26 11:16:39 +01:00
Tom Hacohen
d08ec6926d Encryption password error: add a note about username casing. 2019-06-26 11:16:39 +01:00
Tom Hacohen
cdc5afba61 Fix debug log for failed login attempts.
Before this fix a failed loging attempt wouldn't include any debug
information on why it failed. This commit fixes that.
2019-06-26 10:51:24 +01:00
Tom Hacohen
032abfaa60 Build: update target sdk version. 2019-06-20 14:18:26 +01:00