1
0
mirror of https://github.com/etesync/android synced 2024-12-01 20:38:35 +00:00
Commit Graph

1301 Commits

Author SHA1 Message Date
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
7138766a63 Update Changelog. 2019-05-01 10:07:46 +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
cc73f854c2 Update Changelog. 2019-04-25 13:30:11 +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
26063ce9f5 Update Changelog. 2019-04-15 14:22:19 +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
f65459fe4c Update Changelog. 2019-04-15 13:59:24 +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
7959068ac4 Update Changelog. 2019-04-04 13:59:05 +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
Tom Hacohen
6ac83beb47 Debug activity: fix crash when getting sync errors.
Sync phase was passed as an Int but expected as a String.
2019-03-30 09:36:57 +00:00
Tom Hacohen
a702a4e794 Crash email: include a body with requests for more information. 2019-03-27 11:26:06 +00:00
Tom Hacohen
608f40058b Update ACRA. 2019-03-27 11:24:18 +00:00
Tom Hacohen
409f586835 Add tutanota to the list of email clients not supporting attachments.
This list is the clients that don't support attachments when called from
an intent. We want to include debug info inline for those.
2019-03-26 16:10:53 +00:00
Tom Hacohen
66953c4956 Update Changelog. 2019-03-21 16:11:56 +00:00
Tom Hacohen
5562d917f3 Bump version. 2019-03-21 16:10:36 +00:00
Tom Hacohen
0a2a3b2d99 Rename queryCapabilites to prepareFetch 2019-03-21 16:09:04 +00:00
Tom Hacohen
44c516a868 Sync: fix the sync to also do the initial preparation in chunks
This fixes issues with Android killing the sync when making massive
syncs such as importing 10,000 events.

Fixes #69
2019-03-21 16:09:04 +00:00
Tom Hacohen
dcc3ec6f88 Fix crash when removing journal members 2019-03-21 16:06:37 +00:00
Tom Hacohen
d04d0f902f Fix closing of the HttpClient when syncing. 2019-03-21 16:06:37 +00:00
Tom Hacohen
bc829d0d1e Improve logging in syncmanager and import. 2019-03-21 11:40:02 +00:00
Tom Hacohen
8d660e376a Bump version (only number)
We had to do it because the play store version had a broken apk and we
needed to upload a new version that's built correctly.

Damn proguard, don't know why it does it every now and then.
2019-03-15 12:19:37 +00:00
Tom Hacohen
5e347d1ed3 Update Changelog. 2019-03-15 11:22:42 +00:00
Tom Hacohen
022ed146c4 Bump version. 2019-03-15 11:04:53 +00:00
Tom Hacohen
5090a3206e Only show the custom certificate popup when using EteSync interactively
With this change, we make it so using a self-signed certificate will
have to be authorised on the first login rather than checked every time
on the background.
This was causing annoying issues with networks that mitm SSL
connections, and anyhow, we shouldn't be asking users to trust bad certs
when in 99.9% of the cases it would either be an attack or a broken
network.

Fixes #36
2019-03-15 10:53:51 +00:00
Tom Hacohen
ee2dad4d19 Set certmanager foreground/background state. 2019-03-15 10:53:51 +00:00
Tom Hacohen
4134f78da4 Upgrade cert4android and refactor httpclient based on upstream 2019-03-15 10:53:51 +00:00
Tom Hacohen
75020c1841 Settings: add a link to the notification settings. 2019-03-15 08:56:06 +00:00
Tom Hacohen
07292a1422 Log to file: improve strings. 2019-03-14 21:32:52 +00:00
Tom Hacohen
d147728acd Add a setting to control log verbosity. 2019-03-14 21:25:47 +00:00