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.
2019-03-07 08:26:10 +00:00
Tom Hacohen
332caf1631
View Collection: add checks if we successfully managed to acquire the provider.
2019-03-07 08:09:16 +00:00
Tom Hacohen
f0a320f854
Bump version.
2019-03-06 21:51:49 +00:00
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
2019-03-06 19:27:43 +00:00
Tom Hacohen
f64960699b
LocalTask: remove a potentiall bad logging message.
2019-03-06 19:19:40 +00:00
Tom Hacohen
e1573ef7ab
Tasks journal view: show the number of tasks in the journal.
2019-03-06 19:03:32 +00:00
Tom Hacohen
7eee04f458
Remove wrong not-null assertion.
2019-03-06 18:30:36 +00:00
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 .
2019-03-06 18:10:37 +00:00
Tom Hacohen
c6472fe220
Unify the sync interval settings across journal types.
2019-03-06 17:11:19 +00:00
Tom Hacohen
b765f177c7
Migrate to AndroidX.
2019-03-06 16:24:23 +00:00
Tom Hacohen
130cea18ce
Tasks: move the opentasks install button to the menu.
...
It was quite ugly having it there.
2019-02-25 15:26:14 +00:00
Tom Hacohen
4cc664ee6c
Fix misleading logging message.
2019-02-25 08:49:16 +00:00
Tom Hacohen
1b15aaab19
Import: minor code cleanups.
2019-02-24 08:48:24 +00:00
Tom Hacohen
ab7f9be65a
Bump version.
2019-02-24 08:08:53 +00:00
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
.
2019-02-24 08:07:11 +00:00
Tom Hacohen
b64b95e204
Import from file: fix issues with sometimes importing from file.
2019-02-24 08:07:11 +00:00
Tom Hacohen
4fb49cf5f4
Import from file: dismiss dialog and print an error in a missed error case.
2019-02-23 21:24:26 +00:00
Tom Hacohen
4f2e90484e
Bump version.
2019-02-23 13:18:59 +00:00
Tom Hacohen
2beebdb25e
Fix proguard rules for ezvcard and ical4j.
2019-02-23 13:18:46 +00:00
Tom Hacohen
3ba342ccc3
Bump version.
2019-02-21 19:24:39 +00:00
Tom Hacohen
98ca5fa318
Fix the setting controlling change notifications.
2019-02-21 19:24:39 +00:00
Tom Hacohen
dfb609a26a
Bump version.
2019-02-20 16:30:55 +00:00
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!).
2019-02-20 16:30:55 +00:00
Tom Hacohen
1aed0106cd
Add a button for installing OpenTasks if not already installed.
2019-02-20 16:30:55 +00:00
Tom Hacohen
bbbfbffe59
Add a helper function for checking if a package is installed.
2019-02-20 16:30:55 +00:00
Tom Hacohen
0cda396d20
Event invites: Warn about clients that don't support email attachments
2019-02-20 16:30:26 +00:00
Tom Hacohen
09ee9a2bd1
Rename and move the function checking if email attachments are supported.
2019-02-20 15:35:14 +00:00
Tom Hacohen
cfd0028300
Bump version.
2019-02-13 19:18:53 +00:00
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.
2019-02-13 19:06:32 +00:00
Tom Hacohen
ea0add8f45
Gracefully handle getting non json responses when expecting json.
2019-02-13 19:06:32 +00:00
Tom Hacohen
143092ecf3
Don't pop up notifications when server is under maintenance.
2019-02-13 18:52:58 +00:00
Tom Hacohen
5e8bb06b03
Add an exception for a bad gateway error.
2019-02-13 18:52:58 +00:00
Tom Hacohen
79ddd1d7c9
Fix bug with resetting contact deleted state.
2019-02-13 14:47:05 +00:00
Tom Hacohen
cabea0c3ec
Revert changes when changing read only journals.
2019-02-13 14:47:05 +00:00
Tom Hacohen
7216a177c5
Member list: indicate if a member is read only or not.
2019-02-13 13:13:55 +00:00
Tom Hacohen
a899502728
Move to a different read only icon.
2019-02-13 13:05:51 +00:00
Tom Hacohen
e44c4a394c
Add the UI to invite read only members to journals.
2019-02-13 12:58:52 +00:00
Tom Hacohen
a43d0fceb8
Fix journal readOnly json to use the correct field name.
2019-02-13 11:02:28 +00:00
Tom Hacohen
e7186df6b8
Fix compilation warning.
2019-02-12 21:50:48 +00:00
Tom Hacohen
b6453718f4
Import fragment: move the null assertions around a bit
...
Better this way. Easier to know what's going on.
2019-02-12 10:18:29 +00:00
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.
2019-02-12 09:27:44 +00:00
Tom Hacohen
69d17ed644
Bump version.
2019-02-07 12:10:25 +00:00
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.
2019-02-07 12:10:16 +00:00
Tom Hacohen
3862ae3726
Bump version.
2019-02-04 14:02:01 +00:00
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.
2019-02-04 13:58:06 +00:00
Tom Hacohen
efa8719ce5
Account settings: add a link to the dashboard and clean up a bit.
2019-02-01 12:48:49 +00:00
Tom Hacohen
1b6a72ef00
Reword account to delete to remove, as it only removes from the device.
2019-02-01 12:22:29 +00:00
Tom Hacohen
94908aabc9
Email invitation: update the signature.
2019-01-31 11:12:45 +00:00
Tom Hacohen
73428862db
Bump version
2019-01-29 23:15:16 +00:00
Tom Hacohen
635a512ca6
Create collection: fix the shown color to be the default color.
2019-01-29 23:15:05 +00:00