Tom Hacohen
2e2841cea4
Fix encryption password change not to crash.
...
It was a regression from the custom cert manager update.
5 years ago
Tom Hacohen
91ac46e211
Bump version.
5 years ago
Tom Hacohen
41c7239a8c
Members list: fix crash and handle correct lifecycle.
5 years ago
Steve Divskinsy
e3e61eb7bd
Fix spelling in values/strings.xml
...
Correct spelling of "comporomised" to "compromised" in
main/res/values/strings.xml
5 years ago
Tom Hacohen
47c9452a4d
Bump version.
5 years ago
Tom Hacohen
7010967a31
Import: fix crash when import finishes while the activity is dead.
5 years ago
Tom Hacohen
f41c7cd4c9
Contacts sync manager: remove unnecessary not-null assertion.
5 years ago
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.
5 years ago
Tom Hacohen
487d330a7a
Contacts Sync Manager: remove redundant address book init.
...
Fixes #73
5 years ago
Steve Divskinsy
2f7866ce75
Correct spelling
...
Correct spelling "plesae" -> "please"
5 years ago
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.
5 years ago
Tom Hacohen
6ac83beb47
Debug activity: fix crash when getting sync errors.
...
Sync phase was passed as an Int but expected as a String.
5 years ago
Tom Hacohen
a702a4e794
Crash email: include a body with requests for more information.
5 years ago
Tom Hacohen
608f40058b
Update ACRA.
5 years ago
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.
5 years ago
Tom Hacohen
5562d917f3
Bump version.
5 years ago
Tom Hacohen
0a2a3b2d99
Rename queryCapabilites to prepareFetch
5 years ago
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
5 years ago
Tom Hacohen
dcc3ec6f88
Fix crash when removing journal members
5 years ago
Tom Hacohen
d04d0f902f
Fix closing of the HttpClient when syncing.
5 years ago
Tom Hacohen
bc829d0d1e
Improve logging in syncmanager and import.
5 years ago
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.
5 years ago
Tom Hacohen
022ed146c4
Bump version.
5 years ago
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
5 years ago
Tom Hacohen
ee2dad4d19
Set certmanager foreground/background state.
5 years ago
Tom Hacohen
4134f78da4
Upgrade cert4android and refactor httpclient based on upstream
5 years ago
Tom Hacohen
75020c1841
Settings: add a link to the notification settings.
5 years ago
Tom Hacohen
07292a1422
Log to file: improve strings.
5 years ago
Tom Hacohen
d147728acd
Add a setting to control log verbosity.
5 years ago
Tom Hacohen
705df2a536
Overhaul the notification system and add notification channels.
5 years ago
Tom Hacohen
64f8c5e1d2
Move the sync notification helper under syncadapter and rename it.
5 years ago
Tom Hacohen
ac22ece30d
Don't use a separate :sync process anymore so prefs don't need IPC.
...
Fixes #67
5 years ago
Tom Hacohen
21c64d58ec
Fix broadcast receiever intent to the correct etesync one.
5 years ago
Tom Hacohen
1cdad6232e
Log to file: move to use normal preferences.
5 years ago
Tom Hacohen
df315a48ab
Fix logging to file.
5 years ago
Tom Hacohen
17b6e69c86
Move everything to use the new Logger
5 years ago
Tom Hacohen
216b51d138
Create a logger object to take care of all the logging.
5 years ago
Tom Hacohen
14abc6400d
Rename the logger's name to etesync.
5 years ago
Tom Hacohen
a7aed85a4c
Import latest logger code from davdroid.
5 years ago
Tom Hacohen
b382b8515c
Request sync after encryption password change.
...
This is because we need the journals to be up to date with the newly
added key, or otherwise there could be issues when editing them.
5 years ago
Tom Hacohen
a2e126071a
Bump version.
5 years ago
Tom Hacohen
a605c2ae49
Fix adding journal members following an encryption password change.
...
See previous commit for more details about this issue.
5 years ago
Tom Hacohen
9f0b492c42
Fix collection editing following an encryption password change.
...
A lot of the code dealing with collections assumes that the editing is
done by the owner (true assumption, for now), and therefore the encryption
key is derived from the master key (not true anymore, as it could be a
stored version of the old key). This commit removes this wrong assumption.
5 years ago
Tom Hacohen
6f453faf06
Import: cleanup code a bit.
...
This should make it easier to debug null errors.
5 years ago
Tom Hacohen
77d89f3b4b
Import: Rename poorly named class.
5 years ago
Tom Hacohen
c4ee03b733
Fix null warning
5 years ago
Tom Hacohen
2e639aad16
Bump version.
5 years ago
Tom Hacohen
cf8afd541c
ACRA: switch to notification alerts on crashes.
...
On some devices users weren't able to send stack traces because
EteSync would restart and then hide/cancel the email app chooser.
5 years ago
Tom Hacohen
332caf1631
View Collection: add checks if we successfully managed to acquire the provider.
5 years ago
Tom Hacohen
f0a320f854
Bump version.
5 years ago
Tom Hacohen
356017a541
Entry sync: also generate UUIDs for first synced deleted entries
...
This fixes a bug with deleting entries that were never synced before. To
reproduce:
1. Turn off wifi + data (to ensure nothing is synced).
2. Add an entry (event/task/contact).
3. Delete that entry.
4. Turn wifi + data back on
5. Hit sync
5 years ago
Tom Hacohen
f64960699b
LocalTask: remove a potentiall bad logging message.
5 years ago
Tom Hacohen
e1573ef7ab
Tasks journal view: show the number of tasks in the journal.
5 years ago
Tom Hacohen
7eee04f458
Remove wrong not-null assertion.
5 years ago
Tom Hacohen
db8667e84a
Fix issue with OpenTasks causing a lot of syncs in some rare cases.
...
We weren't setting a default sync interval which meant that in some
cases it was just syncing every 10 seconds.
This fix also fixes #66 .
5 years ago
Tom Hacohen
c6472fe220
Unify the sync interval settings across journal types.
5 years ago
Tom Hacohen
b765f177c7
Migrate to AndroidX.
5 years ago
Tom Hacohen
130cea18ce
Tasks: move the opentasks install button to the menu.
...
It was quite ugly having it there.
5 years ago
Tom Hacohen
4cc664ee6c
Fix misleading logging message.
5 years ago
Tom Hacohen
1b15aaab19
Import: minor code cleanups.
5 years ago
Tom Hacohen
ab7f9be65a
Bump version.
5 years ago
Tom Hacohen
858378b107
Revert "Event invites: Warn about clients that don't support email attachments"
...
We can't trigger a toast from a service, revert this for now.
This reverts commit 0cda396d20
.
5 years ago
Tom Hacohen
b64b95e204
Import from file: fix issues with sometimes importing from file.
5 years ago
Tom Hacohen
4fb49cf5f4
Import from file: dismiss dialog and print an error in a missed error case.
5 years ago
Tom Hacohen
4f2e90484e
Bump version.
5 years ago
Tom Hacohen
2beebdb25e
Fix proguard rules for ezvcard and ical4j.
5 years ago
Tom Hacohen
3ba342ccc3
Bump version.
5 years ago
Tom Hacohen
98ca5fa318
Fix the setting controlling change notifications.
5 years ago
Tom Hacohen
dfb609a26a
Bump version.
5 years ago
Tom Hacohen
cb570978e5
Account activity: don't hide collection headers even if empty.
...
This was an annoying remanent from DAVDroid. Maybe it makes sense for
DAV, but it defo doesn't make sense for us where we can just create
collections (and anyhow always have existing defaults!).
5 years ago
Tom Hacohen
1aed0106cd
Add a button for installing OpenTasks if not already installed.
5 years ago
Tom Hacohen
bbbfbffe59
Add a helper function for checking if a package is installed.
5 years ago
Tom Hacohen
0cda396d20
Event invites: Warn about clients that don't support email attachments
5 years ago
Tom Hacohen
09ee9a2bd1
Rename and move the function checking if email attachments are supported.
5 years ago
Tom Hacohen
cfd0028300
Bump version.
5 years ago
Tom Hacohen
4d661117e5
Don't pop up notifications on bad gatewary errors as most likely a server restart.
...
The server is and should be monitored for misconfigurations, we don't want to annoy
users with temporary issues.
5 years ago
Tom Hacohen
ea0add8f45
Gracefully handle getting non json responses when expecting json.
5 years ago
Tom Hacohen
143092ecf3
Don't pop up notifications when server is under maintenance.
5 years ago
Tom Hacohen
5e8bb06b03
Add an exception for a bad gateway error.
5 years ago
Tom Hacohen
79ddd1d7c9
Fix bug with resetting contact deleted state.
5 years ago
Tom Hacohen
cabea0c3ec
Revert changes when changing read only journals.
5 years ago
Tom Hacohen
7216a177c5
Member list: indicate if a member is read only or not.
5 years ago
Tom Hacohen
a899502728
Move to a different read only icon.
5 years ago
Tom Hacohen
e44c4a394c
Add the UI to invite read only members to journals.
5 years ago
Tom Hacohen
a43d0fceb8
Fix journal readOnly json to use the correct field name.
5 years ago
Tom Hacohen
e7186df6b8
Fix compilation warning.
5 years ago
Tom Hacohen
b6453718f4
Import fragment: move the null assertions around a bit
...
Better this way. Easier to know what's going on.
5 years ago
Tom Hacohen
69bf028481
Apply group memberships: be more defensive with potentially missing members.
...
This should never happen, but it has:
kotlin.TypeCastException: null cannot be cast to non-null type com.etesync.syncadapter.resource.LocalContact
at com.etesync.syncadapter.resource.LocalGroup$Companion.applyPendingMemberships(LocalGroup.kt:66)
at com.etesync.syncadapter.syncadapter.ContactsSyncManager.postProcess(ContactsSyncManager.kt:122)
at com.etesync.syncadapter.syncadapter.SyncManager.performSync(SyncManager.kt:169)
at com.etesync.syncadapter.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(ContactsSyncAdapterService.kt:59)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
We call it at post process exactly because we want to make sure that all
the members already exist.
I guess a deletion on a misbehaving client (maybe even the web client?)
can cause this. Potentially also with some DAV clients.
Anyhow, it's better to be more defensive here.
5 years ago
Tom Hacohen
69d17ed644
Bump version.
5 years ago
Tom Hacohen
e324f148a1
Fix proguard definitions.
...
Not sure why it wasn't showing up for me on any other phone than
the one I justed tested on, but it was indeed wrong and it's now
fixed.
5 years ago
Tom Hacohen
3862ae3726
Bump version.
5 years ago
Tom Hacohen
b13be67820
Import: improve group import and fix a potential crash
...
Fixes a potential crash when e.g. importing a file with a group that has
members that don't actually exist (e.g. importing a partial vcf).
This change also fixes importing files that have the groups show up
before their members.
5 years ago
Tom Hacohen
efa8719ce5
Account settings: add a link to the dashboard and clean up a bit.
6 years ago
Tom Hacohen
1b6a72ef00
Reword account to delete to remove, as it only removes from the device.
6 years ago
Tom Hacohen
94908aabc9
Email invitation: update the signature.
6 years ago
Tom Hacohen
73428862db
Bump version
6 years ago
Tom Hacohen
635a512ca6
Create collection: fix the shown color to be the default color.
6 years ago
Tom Hacohen
a1051856ec
Fix usage of tasklist colour in collection members activity.
6 years ago
Tom Hacohen
e161233453
Edit task list: fix saving of task list colour.
...
Fixes #60
6 years ago
Tom Hacohen
96fc87cad4
Fix loading tasklist color in edit collection activity.
6 years ago
Tom Hacohen
18a00716f8
Remove build time from app.
...
It was never needed, slows down development builds, and is annoying for
reproducible builds
6 years ago
Tom Hacohen
8803480c52
Bump version
6 years ago
Tom Hacohen
21b704b75f
Account setup: fix bad wording from the previous commit.
6 years ago
Tom Hacohen
98c0fe83e1
Account setup: make it clearer that you need to register an account.
6 years ago
Tom Hacohen
ab3dfff13a
Acconut setup: make it more obvious that server needs to be an etesync one.
6 years ago
Tom Hacohen
c259e9bede
build.gradle: bump okhttp3 version.
6 years ago
Tom Hacohen
141c3bccda
build.gradle: use variables for some more deps.
6 years ago
Tom Hacohen
f9fc14b0dd
Address book import: add support for importing groups from file
...
Fixes #54
6 years ago
Tom Hacohen
0ae278aabd
Addressbook import: implement group import when importing from account.
...
Partially fixes #54 . Only the from account is currently implemented, but
that should be sufficient for most people already.
6 years ago
Tom Hacohen
c74f9bc23d
Bump version to 1.0.0!!
...
There's a lot more to be done, but we've definitely earned this. :)
6 years ago
Tom Hacohen
c6c5ff1c80
Tests: update according to changes with owners adding themselves as members.
6 years ago
Tom Hacohen
4795bd40ef
Fix tests following kotlin migration.
6 years ago
Tom Hacohen
5c894e001f
Implementing changing encryption password.
...
The way it's done is by changing the password and adding ourselves as
journal members with our public keys. Same way shared journals works.
This should not be used if you believe your encryption password has been
compromised. That would require a much more intrusive action (as the
note there indicates).
6 years ago
Tom Hacohen
6e2ab7d972
UserInfoManager: fix the wrong conversion to kotlin.
6 years ago
Tom Hacohen
958a36c638
Bump version.
6 years ago
Tom Hacohen
92908b9a60
Handle readonly journal exceptions.
6 years ago
Tom Hacohen
dcd0393a31
Fix journal creation.
6 years ago
Tom Hacohen
5dbca6e00f
Add support for associate accounts.
6 years ago
Tom Hacohen
e005064be6
Fix a lot of kotlin warnings
6 years ago
Tom Hacohen
15309911a5
Fix potential crash when there's an error getting journal members.
6 years ago
Tom Hacohen
ea81696424
Fix date being sometimes incorrect in the journal item preview.
...
Fixes #56 .
6 years ago
Tom Hacohen
f31f24858c
Bump version.
6 years ago
Tom Hacohen
e3ff58c1c2
Fix issue with Calendars missing from the account view.
6 years ago
Tom Hacohen
743c9e2de7
Many warning fixes.
6 years ago
Tom Hacohen
723790178c
Optimise imports.
6 years ago
Tom Hacohen
e39e882c0a
Fix many compilation warnings
...
Either deprecated usage or kotlin warnings
6 years ago
Tom Hacohen
a7f0144fc8
Build: fix gradle warnings.
6 years ago
Tom Hacohen
7180fe91de
Build: Remove lombok.
6 years ago
Tom Hacohen
0605f858b6
Bump version.
6 years ago
Tom Hacohen
594aacf396
Remove redundant null assertions.
6 years ago
Tom Hacohen
3729401aac
Fix crash in setup encryption.
6 years ago
Tom Hacohen
fe7aa2208b
Event invitations: add a button to send an email invite from the journal item view.
6 years ago
Tom Hacohen
7b0cdff9dc
Email invitation: move the code to handle the invitation generation to a different file.
6 years ago
Tom Hacohen
0e8dc1d266
Event invitation: use a random uid rather than the event uid when sharing.
...
The reason for that, is that in some cases it stops working for certain
files, so using a different filename works around that issue.
I haven't managed to resolve that unfortunately.
6 years ago
Tom Hacohen
8edb062cfe
Bump version.
6 years ago
Tom Hacohen
8af6858422
Tasks: add ability to create, edit, deleted and view task journals
6 years ago
Tom Hacohen
3996f1824d
Migrate from AsyncTask to anko's doAsync.
6 years ago
Tom Hacohen
523206c32e
Bump version.
6 years ago
Tom Hacohen
c27a8b44ac
Catch IllegalStateExceptions in the account changed receiver.
...
These are bad, and shouldn't happen, but ignoring them is not
the end of the world, especially since I plan on overhauling this
code very soon (probably remove).
So for now, we'll just ignore them.
6 years ago
Tom Hacohen
7f2ab44bca
Implement Tasks support via OpenTasks
...
This adds support for tasks via OpenTasks.
https://github.com/dmfs/opentasks
Need the OpenTasks client for it to be used.
Currently you can't create new task lists. You can only have the default
one, but that's just a UI thing.
Fixes #7
6 years ago
Tom Hacohen
dbe3730fe4
ACRA: Only send reports in the body if Protonmail is installed.
6 years ago
Tom Hacohen
633e1228f0
Fix issue with sync on devices that don't require the hash hack.
...
This commit also unifies the handling so such issues don't recur.
6 years ago
Tom Hacohen
756e0a3b37
Bump version.
6 years ago
Tom Hacohen
93f0e17144
Fix account and collection deletion on some devices.
...
Fixes #55
6 years ago
Tom Hacohen
2867d1564c
Proguard: update for the new deps.
6 years ago
Tom Hacohen
e5f750e5de
Build: add missing kotlin dep for main app.
6 years ago
Tom Hacohen
9b52098a8f
Build: centralise the place for all versions.
6 years ago
Tom Hacohen
7f0dc7e3f2
Bump requery version.
6 years ago
Tom Hacohen
34939ee7e3
Account Settings: drop very old upgrade path.
...
The cod was rotting and people should already be very much up
to date.
6 years ago
Tom Hacohen
b88ad593d7
Fix issue with deleted entries being re-added.
6 years ago
Tom Hacohen
b2f7cc811f
Fix applying of groups from journal.
6 years ago
Tom Hacohen
c4daed9391
Upgrade vcard4android and ical4android.
...
This is a monster commit because to be honest, it's a monster change. It
was impossible to do it in smaller steps because things just wouldn't
compile.
We couldn't do the migration step by step because they moved to Kotlin
which was causing a lot of troubles.
Now we are all on Kotlin, so things should hopefully work just fine.
6 years ago
Tom Hacohen
cd33b5def8
Kotlin: move resources to Kotlin (almost compiles).
...
It just needs a few tiny wrappers around some public statics. I'm not
doing that because it'll sort itself out the moment we update
vcard4android and ical4android.
6 years ago
Tom Hacohen
5d05a2e6e0
Acra: disable for debug builds.
6 years ago
Tom Hacohen
6af90b38ae
Acra report: include installFrom.
6 years ago
Tom Hacohen
66e70b2a29
Build: Upgrade compile sdk.
6 years ago
Tom Hacohen
f46bccab8e
SSLSocketFactory: import newer settings from DAVDroid.
6 years ago
Tom Hacohen
1901cf1bb1
Fix sharing calendar email to not be case sensitive.
...
Fixes #46 .
6 years ago
Tom Hacohen
3f6147d4ad
Acra: Don't report as file for now so it works with ProtonMail
6 years ago
Tom Hacohen
16b7747d9f
Update ACRA.
6 years ago
Tom Hacohen
d67fa654ee
Build: upgrade to Java 1.8.
6 years ago
Tom Hacohen
e38c720d1a
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
f0a0717541
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
093eee6409
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
df47f7bea6
Build: update gradle and kotlin versions.
6 years ago
Tom Hacohen
26715f2f34
Kotlin: fix some wrong null assertions.
6 years ago
Tom Hacohen
c75f2fa7d5
Build: disable kotlin assertions for release builds.
...
This is so it doesn't crash for users when it sholudn't until
we complete the migration.
6 years ago
Tom Hacohen
d98d91a67f
Revert "Don't rely on LOGIN_ACCOUNTS_CHANGED_ACTION"
...
Actually, let's not make this change just yet so we are sure we haven't
broken anything.
This reverts commit dda23fb484
.
6 years ago
Tom Hacohen
dda23fb484
Don't rely on LOGIN_ACCOUNTS_CHANGED_ACTION
...
Based on the davdroid commit: 1f7298f947a4878e86fcba0c6722e34b03cb63c6
6 years ago
Tom Hacohen
0b21502645
Widgets: use the support library edit password widget.
6 years ago
Tom Hacohen
6ef78085bd
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
4d516c5fe1
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
4c4c94ca1c
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
f77063ff1a
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
c26ae4fba6
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
943611a511
Kotlin: more kotlin migration.
6 years ago
Tom Hacohen
959bc4992b
Kotlin: migrate to kotlin.
6 years ago
Tom Hacohen
edd1704e09
Bump version.
6 years ago
Tom Hacohen
828254a1f7
Event invites: gracefully handle missing timezone information.
...
The code before didn't fallback to UTC nicely and was causing a crash.
6 years ago
Tom Hacohen
0f42c0e923
Bump version.
6 years ago
Tom Hacohen
12c41b450c
Contact import: Don't list accounts with an empty account name or type.
6 years ago
Tom Hacohen
25759a4e86
Fix typo in error message.
6 years ago
Tom Hacohen
8e906eed18
Bump version.
6 years ago
Tom Hacohen
e20e79e840
Fix bug causing group duplication every time a group is changed.
...
The bug was causing a new group to be created every time a group was changed
instead of just changing the group itself.
6 years ago
Tom Hacohen
4184751664
Event invites: fix issue with times showing wrong across timezones.
...
Fixes #52 .
6 years ago
Ricki Hirner
0a6fd197d3
Add group memberships to contacts.xml so that they can be edited with some Contacts apps
...
Also includes:
Add maxOccurs to contacts.xml group membership (allows editing of contacts again)
6 years ago
Tom Hacohen
cd58a6bcac
Event invites: don't hardcode the locale when formatting time.
6 years ago
Tom Hacohen
b93c5228c7
Event invites: add location information to email summary.
6 years ago
Tom Hacohen
f5d08e07bb
Event invites: add timezone information to email summary.
6 years ago
Tom Hacohen
6089e8a119
Bump version.
6 years ago
Tom Hacohen
30144da2d1
Bump version.
6 years ago
Tom Hacohen
517334daaa
Cleanup support library version setting and add a missing lib.
6 years ago
Tom Hacohen
3efa76579e
Fix crash with missing contact downloader when importing.
6 years ago
Tom Hacohen
f0fbb65310
Bump version.
6 years ago
Tom Hacohen
caa29d402b
Add missing support library dependencies.
6 years ago
Tom Hacohen
e64daa32e4
Use the android support libraries from the google repos rather than sdk.
6 years ago
Tom Hacohen
08d3f69b81
Bump version.
6 years ago
Tal Hacohen
47b04132a6
Add settings to control the change notifications
6 years ago
Tom Hacohen
d9d4405c75
Bump version
6 years ago
Tom Hacohen
0bd459c280
Journal contact view: correctly handle partial dates.
6 years ago