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
Tom Hacohen
336ec16920
Bump version.
2019-06-20 14:09:26 +01:00
Tom Hacohen
16efe446c0
WebActivity: gracefully handle unsupported link types.
2019-06-13 10:10:23 +01:00
Tom Hacohen
9c13d5247c
Bump version.
2019-06-13 09:57:11 +01:00
Tom Hacohen
7cfba6dc34
Acra: don't include email prefix.
...
We've recently started getting exceptions such as:
"java.lang.ClassCastException: java.lang.String cannot be cast to java.util.ArrayList"
I suspect it may be related to using the new email body prefix which is
probably not as well tested upstream as the rest of the code. Removing
it to see if this fixes things.
2019-06-13 09:57:11 +01:00
Tom Hacohen
1a7ef1b78e
Sync: log broken entries on processing failure.
...
This change prints the content of broken entries (ones that fail parsing)
to the log so it's easier to debug issues.
2019-06-13 09:56:50 +01:00
Tom Hacohen
7932610c87
Webview: add missing call to super's save instance state.
2019-05-28 10:40:25 +01:00
Tom Hacohen
3ae422bb99
Bump version.
2019-05-28 10:25:23 +01:00
Tom Hacohen
6196b71a67
Update requery and kotlin version.
2019-05-06 12:47:00 +01:00
Tom Hacohen
58b54f9d66
Account list: workaround rare crash when listing accounts.
2019-05-05 17:45:44 +01:00
Tom Hacohen
e6d53fbfa0
Bump version.
2019-05-03 15:49:25 +01:00
Tom Hacohen
d358ac0ba4
Import: implement importing tasks from file.
...
Fixes #74 .
2019-05-01 14:52:20 +01:00
Tom Hacohen
bfe68b9684
LocalTask: add a function to save tasks as dirty.
2019-05-01 14:52:16 +01:00
Tom Hacohen
f4ce548310
Import: replace size check with isEmpty().
2019-05-01 14:31:21 +01:00
Tom Hacohen
6381617f2c
Import: only dismiss import dialog if already showing.
...
This should fix a crash when the os kills the activity before import is done.
2019-05-01 13:47:20 +01:00
Tom Hacohen
e4b29832f5
Import: mark progressDialog as non-null.
2019-05-01 13:26:59 +01:00
Tom Hacohen
bab8cdf913
Bump version.
2019-05-01 10:06:28 +01:00
Tom Hacohen
2615fbd9ce
Unify all of the sync adapter exception handling.
...
The exception handling was duplicated across every sync backend.
It was redundant and made it easy to not handle all of the exceptions correctly
everywhere.
2019-05-01 09:57:21 +01:00
Tom Hacohen
6250cacd30
Add missing exception handling to contacts sync.
...
It wasn't handling IgnorableException.
2019-05-01 09:57:07 +01:00
Tom Hacohen
1d5bcc6a3d
Add a separate exception for HttpConflict.
2019-05-01 09:12:42 +01:00
Tom Hacohen
fe980f937e
Fix potential crash when opening and stopping the app very quickly.
2019-04-30 14:09:35 +01:00
Tom Hacohen
6bd405012d
Bump version.
2019-04-25 13:26:05 +01:00
Tom Hacohen
9c8daf1ebd
More optimise imports.
2019-04-16 17:14:49 +01:00
Tom Hacohen
c484d29a42
Optimise imports.
2019-04-16 17:14:14 +01:00
Tom Hacohen
3b0bfbb054
Don't rely on the ACCOUNTS_CHANGED broadcast receiver
...
I've seen some crashes there. This change brings it inline with
DAVDroid, and looks cleaner regardless.
Based on 1f7298f947a4878e86fcba0c6722e34b03cb63c6 from DAVDroid
2019-04-16 17:09:01 +01:00
Tom Hacohen
f629d23c38
Fix access to uninitialized properties in account update service.
2019-04-16 13:18:28 +01:00
Tom Hacohen
45b8e24503
Bump version.
2019-04-15 14:21:54 +01:00
Tom Hacohen
2e2841cea4
Fix encryption password change not to crash.
...
It was a regression from the custom cert manager update.
2019-04-15 14:20:54 +01:00
Tom Hacohen
91ac46e211
Bump version.
2019-04-15 13:58:21 +01:00
Tom Hacohen
41c7239a8c
Members list: fix crash and handle correct lifecycle.
2019-04-12 09:51:56 +01:00
Steve Divskinsy
e3e61eb7bd
Fix spelling in values/strings.xml
...
Correct spelling of "comporomised" to "compromised" in
main/res/values/strings.xml
2019-04-05 13:18:14 +01:00
Tom Hacohen
47c9452a4d
Bump version.
2019-04-04 13:59:05 +01:00
Tom Hacohen
7010967a31
Import: fix crash when import finishes while the activity is dead.
2019-04-04 13:59:00 +01:00
Tom Hacohen
f41c7cd4c9
Contacts sync manager: remove unnecessary not-null assertion.
2019-04-04 13:58:16 +01:00
Tom Hacohen
eef861614e
Contacts sync manager: only init one resource downloader per sync.
...
Before this we were doing it per sync entry which could be slow.
2019-04-04 13:58:16 +01:00
Tom Hacohen
487d330a7a
Contacts Sync Manager: remove redundant address book init.
...
Fixes #73
2019-04-04 13:58:16 +01:00
Steve Divskinsy
2f7866ce75
Correct spelling
...
Correct spelling "plesae" -> "please"
2019-04-04 11:24:15 +01:00
Tom Hacohen
3637fc95db
Sync: catch and report SSLHandshakeExceptions.
...
They were not being reported as part of the general code
because SSLException inherits from IOException which is
handled differently.
2019-04-03 22:24:42 +01:00