Tom Hacohen
476f756307
Simplify Configuration class - caldav/carddav aren't required.
4 years ago
Tom Hacohen
4bf36e7ad3
Add kotlin extensions, enable R8 and fix errors.
4 years ago
Tom Hacohen
ee8c8d8fe1
Login credentials: keep the default uri (even if null).
...
We need this for etebase compat.
4 years ago
Tom Hacohen
65861b3f1c
Account settings: add support for storing an etebase session.
4 years ago
Tom Hacohen
1062ed5833
Update strings because usernames need not be emails anymore.
4 years ago
Tom Hacohen
6718da0615
strings: rename a string to make more sense.
4 years ago
Oğuz Ersen
c022571b87
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (315 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
4 years ago
Artem
f985303583
Translated using Weblate (Russian)
...
Currently translated at 10.7% (34 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/ru/
4 years ago
Allan Nordhøy
92668188af
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 99.3% (313 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/nb_NO/
4 years ago
J. Lavoie
67a20c6f54
Translated using Weblate (Italian)
...
Currently translated at 31.7% (100 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/it/
4 years ago
J. Lavoie
e6b39f4f0b
Translated using Weblate (French)
...
Currently translated at 51.1% (161 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/fr/
4 years ago
J. Lavoie
c7b438ebbf
Translated using Weblate (German)
...
Currently translated at 52.3% (165 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/de/
4 years ago
Oğuz Ersen
b6922d17ee
Translated using Weblate (Turkish)
...
Currently translated at 31.1% (98 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
4 years ago
Oğuz Ersen
6a697e0e26
Translated using Weblate (Turkish)
...
Currently translated at 30.7% (97 of 315 strings)
Translation: EteSync/Android
Translate-URL: https://hosted.weblate.org/projects/etesync/android/tr/
4 years ago
Tom Hacohen
aefdfe5479
Update okhttp3 dependency.
4 years ago
Tom Hacohen
09c75914d6
Update appcompat deps and update styles as required
4 years ago
Tom Hacohen
c6c3dd35f6
Explicitly handle securityException for tasks permissions.
...
It should be handled automatically by the sync adapter's
onSecurityException function. I have no idea why it doesn't work
automatically for some users (but is fine for me).
4 years ago
Tom Hacohen
c90bf78dc5
Enable R8 and fix errors.
4 years ago
Tom Hacohen
cf2198b1b8
Sync contacts: make the account user visible.
...
It doesn't really matter, because it doesn't actually do anything (although it should),
but it should be user visible.
4 years ago
Tom Hacohen
74e245de6d
Android 11: export address book
...
Changes in Android 11 made it so address books are no longer shown. This
changes fixes it.
Based on DAVx5's similar fix.
638f9f9264
4 years ago
Tom Hacohen
2284af19a7
Remove redundant code.
4 years ago
Tom Hacohen
30354e4158
Tasks: reorder menu now that there are multiple task providers.
4 years ago
Tom Hacohen
8d32a5a956
Tasks: improve warning messages to include Tasks.org.
4 years ago
Alex Baker
a36cfb8c9b
Use getWantedTaskProvider
4 years ago
Tom Hacohen
52bf0b615c
Add utilities to update and get the wanted tasks provider.
4 years ago
Tom Hacohen
5fca068845
Add a setting to choose if we prefer Tasks.org or OpenTasks.
4 years ago
Alex Baker
e01f54c687
Add Tasks.org support
4 years ago
Tom Hacohen
a3b0f71c13
Add a link to install Tasks.org (recommended tasks provider).
4 years ago
Tom Hacohen
3103d4d42a
Add a notice about only OpenTasks lists showing in app.
4 years ago
Tom Hacohen
55d90d9a9d
Change contact link to lead to the website rather than email.
...
The support load was getting too much, and we want people to join the chat
anyway...
4 years ago
Tom Hacohen
b0208f13a5
Fix compilation.
4 years ago
Tom Hacohen
80a9f3a645
Change default collection names from 'Default' to be descriptive
...
Fixes https://github.com/etesync/android/issues/118
4 years ago
Tom Hacohen
bc75e9371b
Add a notice to the import screen about the import importing everything
...
This was first flagged by a user here:
https://www.reddit.com/r/EteSync/comments/hbdxf8/quickest_way_to_revert_an_import_into_address_book/
4 years ago
Tom Hacohen
c2df2f8d44
Show a snack if missing permissions.
...
A lot of people don't grant etesync the appropriate permissions
and then complain it doesn't work. Hopefully this will fix this
point of failure.
4 years ago
Tom Hacohen
47c96963e9
Journal: don't attempt fetching entries if we are already up to date.
...
For a while now, etesync servers return the last entry uid as part of the
general journal querying. We can use this to check if we even need to
update the journals or not, making the overall sync much faster because
we no longer need to fetch journals that haven't changed.
5 years ago
Tom Hacohen
b530b4c02f
Tasks collection view: add a warning about tasks not showing without OpenTasks.
...
Related to #105 (though not a fix...).
5 years ago
bennypr0fane
d92bc50a1d
Update German translation and fix typos
...
Merge of #108
5 years ago
Tom Hacohen
ec78fc52af
Member add: change confusing string.
...
A few users reached out about this and were confused, not understanding
what we mean by having the journal sharing disabled.
5 years ago
Tom Hacohen
bb2b116723
Fix crash when initialising database.
...
This bug was introduced a few commits ago, in:
9f6b63620e
5 years ago
Tom Hacohen
20387612db
Journal entry list: mark malformed entries with a bug icon.
...
This is an indication that an entry failed to parse.
5 years ago
Tom Hacohen
9f6b63620e
Sync: make malformed entry errors non-fatal.
...
What we do is we mark them as failed and note the error, though we don't
currently have a way to notify the user about these errors. This will
follow in the next commit.
5 years ago
Tom Hacohen
202847f30c
Remove unused code.
5 years ago
Tom Hacohen
d603245eb3
Fix DebugInfoActivity - was crashing when fetching services
...
The issue was introduced in df94fde5ff
because of a bad refactor by android-studio.
5 years ago
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.
5 years ago
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.
5 years ago
Tom Hacohen
df94fde5ff
Move CollectionInfo and SyncEntry to the journalmanager module.
5 years ago
Tom Hacohen
09e2a9255a
CollectionInfo: remove deprecated code.
5 years ago
Tom Hacohen
ceead4815b
Move to the external journalmanager module (moved the code there)
5 years ago
Tom Hacohen
b70e8903c5
SettingsDB: fix file descriptor leaks.
5 years ago
Tom Hacohen
5857ed51d0
Logout: invalidate the auth token after logging out.
5 years ago
Tom Hacohen
a04a6ee284
JournalAuthenticator: add a way to invalidate tokens.
5 years ago
yumekui
13f7bd9fd0
German translation: Calendar invites
5 years ago
Tom Hacohen
5db8545f8f
Upgrade ical4android.
5 years ago
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
.
5 years ago
Tom Hacohen
496b6cd633
Fix tests.
5 years ago
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.
5 years ago
Tom Hacohen
e83c95e8ec
Sync settings: remove deprecated 5/10 minutes sync options from the UI.
5 years ago
Tom Hacohen
5fc26c6461
Fix issue with journal preview showing the wrong dates.
5 years ago
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
.
5 years ago
Tom Hacohen
e860a37bf7
Update the user guide's url to the Android specific one.
5 years ago
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
.
5 years ago
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
.
5 years ago
Ricki Hirner
8422892708
Address books accounts: set initial user data twice for older Android versions
5 years ago
Tom Hacohen
8abbbd122f
Add autofill hints to the login screen.
5 years ago
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
5 years ago
Marius Lindvall
0518269812
Translate to Norwegian Bokmål
5 years ago
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.
5 years ago
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.
5 years ago
Tom Hacohen
a74f188b3b
requery: use our own data store class.
5 years ago
Tom Hacohen
d8600f2f04
SetupEncryption: fix issue with inserting existing services.
5 years ago
Tom Hacohen
990ab81c2b
ServiceEntity: rename fetch to fetchOrCreate.
...
This is what it was doing anyway.
5 years ago
Tom Hacohen
9600cd3f1f
Service default creation: correctly set the type.
...
Was a copy-paste error and it was setting type to Tasks.
5 years ago
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 .
5 years ago
Tom Hacohen
5df3a59a2e
Gracefully handle trying to insert again an entry we have in the db.
5 years ago
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.
5 years ago
Tom Hacohen
b50c633ca1
Improve debug information in createLocalEntry.
...
Print some extra information about the entry we failed to create.
5 years ago
Tom Hacohen
67b6dce44f
Basemanager: consider SSLProtocolExceptions as real issues.
...
Kind of brings back what 1bbf00c6bd
removed.
5 years ago
Tom Hacohen
c26c2c5332
Update cert4android and adjust HttpClient accordingly
5 years ago
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
.
5 years ago
Tom Hacohen
37a1c06dbd
Account settings: change Mannage Account to Account Dashboard
5 years ago
Tom Hacohen
99a174c93d
Side menu: rename external links to useful links.
5 years ago
Tom Hacohen
b450d20d2a
Side menu: change Web site to Website.
5 years ago
Tom Hacohen
6ca0af69a2
Side menu: change from Contact developer to Contact.
5 years ago
Tom Hacohen
d8cb979d36
Journal viewer: make raw journal entries's text selectable.
5 years ago
Tom Hacohen
ffb7f53c0a
TaskList: catch exception when trying to acquire task list
5 years ago
Tom Hacohen
d659b48f6d
Create collection: gracefully handle IO exceptions.
5 years ago
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.
5 years ago
Tom Hacohen
36a44ba339
LocalAddressBook: update according to vcard4android changes.
5 years ago
Tom Hacohen
9560d4a65b
BaseManager: add a debug log for the beginning of a network call.
5 years ago
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.
5 years ago
Tom Hacohen
3c74cb1575
Optimise imports.
5 years ago
Tom Hacohen
c8a81862ea
Import: fix import of contacts.
5 years ago
Tom Hacohen
9018b6cdd0
Import: make it easy to report import issues to devs.
5 years ago
Tom Hacohen
d1d08658f9
Don't export private activities.
...
Fixes #84 .
5 years ago
Tom Hacohen
687f973725
Fix formatting.
5 years ago
Tom Hacohen
1cfdc59b17
Change journal: make it possible to revert an item to a past state.
...
Fixes #83
5 years ago
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
5 years ago
Tom Hacohen
8e457c5ec7
Import contacts: fix wrong import account.
5 years ago
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
5 years ago
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.
5 years ago
Tom Hacohen
84ab0cb16f
Import: check if successfully acquired the provider before trying to import.
5 years ago
Tom Hacohen
b2f41fd0a8
Invitation email: update signature.
5 years ago
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
5 years ago
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.
5 years ago
Tom Hacohen
bbd40e0255
LocalGroup: implement updateAsDirty.
5 years ago
Tom Hacohen
cc83e2c5d9
Tasks: implement update as dirty.
5 years ago
Tom Hacohen
101e7e2559
Settings: cleanup the code to open the app's notification settings
5 years ago
Tom Hacohen
d08ec6926d
Encryption password error: add a note about username casing.
5 years ago
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.
5 years ago
Tom Hacohen
16efe446c0
WebActivity: gracefully handle unsupported link types.
5 years ago
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.
5 years ago
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.
5 years ago
Tom Hacohen
7932610c87
Webview: add missing call to super's save instance state.
5 years ago
Tom Hacohen
58b54f9d66
Account list: workaround rare crash when listing accounts.
5 years ago
Tom Hacohen
d358ac0ba4
Import: implement importing tasks from file.
...
Fixes #74 .
5 years ago
Tom Hacohen
bfe68b9684
LocalTask: add a function to save tasks as dirty.
5 years ago
Tom Hacohen
f4ce548310
Import: replace size check with isEmpty().
5 years ago
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.
5 years ago
Tom Hacohen
e4b29832f5
Import: mark progressDialog as non-null.
5 years ago
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.
5 years ago
Tom Hacohen
6250cacd30
Add missing exception handling to contacts sync.
...
It wasn't handling IgnorableException.
5 years ago
Tom Hacohen
1d5bcc6a3d
Add a separate exception for HttpConflict.
5 years ago
Tom Hacohen
fe980f937e
Fix potential crash when opening and stopping the app very quickly.
5 years ago
Tom Hacohen
9c8daf1ebd
More optimise imports.
6 years ago
Tom Hacohen
c484d29a42
Optimise imports.
6 years ago
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
6 years ago
Tom Hacohen
f629d23c38
Fix access to uninitialized properties in account update service.
6 years ago
Tom Hacohen
2e2841cea4
Fix encryption password change not to crash.
...
It was a regression from the custom cert manager update.
6 years ago
Tom Hacohen
41c7239a8c
Members list: fix crash and handle correct lifecycle.
6 years ago
Steve Divskinsy
e3e61eb7bd
Fix spelling in values/strings.xml
...
Correct spelling of "comporomised" to "compromised" in
main/res/values/strings.xml
6 years ago
Tom Hacohen
7010967a31
Import: fix crash when import finishes while the activity is dead.
6 years ago
Tom Hacohen
f41c7cd4c9
Contacts sync manager: remove unnecessary not-null assertion.
6 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.
6 years ago
Tom Hacohen
487d330a7a
Contacts Sync Manager: remove redundant address book init.
...
Fixes #73
6 years ago
Steve Divskinsy
2f7866ce75
Correct spelling
...
Correct spelling "plesae" -> "please"
6 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.
6 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.
6 years ago
Tom Hacohen
a702a4e794
Crash email: include a body with requests for more information.
6 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.
6 years ago
Tom Hacohen
0a2a3b2d99
Rename queryCapabilites to prepareFetch
6 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
6 years ago
Tom Hacohen
dcc3ec6f88
Fix crash when removing journal members
6 years ago
Tom Hacohen
d04d0f902f
Fix closing of the HttpClient when syncing.
6 years ago
Tom Hacohen
bc829d0d1e
Improve logging in syncmanager and import.
6 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
6 years ago
Tom Hacohen
ee2dad4d19
Set certmanager foreground/background state.
6 years ago
Tom Hacohen
4134f78da4
Upgrade cert4android and refactor httpclient based on upstream
6 years ago
Tom Hacohen
75020c1841
Settings: add a link to the notification settings.
6 years ago
Tom Hacohen
07292a1422
Log to file: improve strings.
6 years ago
Tom Hacohen
d147728acd
Add a setting to control log verbosity.
6 years ago
Tom Hacohen
705df2a536
Overhaul the notification system and add notification channels.
6 years ago
Tom Hacohen
64f8c5e1d2
Move the sync notification helper under syncadapter and rename it.
6 years ago
Tom Hacohen
ac22ece30d
Don't use a separate :sync process anymore so prefs don't need IPC.
...
Fixes #67
6 years ago
Tom Hacohen
21c64d58ec
Fix broadcast receiever intent to the correct etesync one.
6 years ago
Tom Hacohen
1cdad6232e
Log to file: move to use normal preferences.
6 years ago
Tom Hacohen
df315a48ab
Fix logging to file.
6 years ago
Tom Hacohen
17b6e69c86
Move everything to use the new Logger
6 years ago
Tom Hacohen
216b51d138
Create a logger object to take care of all the logging.
6 years ago
Tom Hacohen
14abc6400d
Rename the logger's name to etesync.
6 years ago
Tom Hacohen
a7aed85a4c
Import latest logger code from davdroid.
6 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.
6 years ago
Tom Hacohen
a605c2ae49
Fix adding journal members following an encryption password change.
...
See previous commit for more details about this issue.
6 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.
6 years ago
Tom Hacohen
6f453faf06
Import: cleanup code a bit.
...
This should make it easier to debug null errors.
6 years ago
Tom Hacohen
77d89f3b4b
Import: Rename poorly named class.
6 years ago
Tom Hacohen
c4ee03b733
Fix null warning
6 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.
6 years ago
Tom Hacohen
332caf1631
View Collection: add checks if we successfully managed to acquire the provider.
6 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
6 years ago
Tom Hacohen
f64960699b
LocalTask: remove a potentiall bad logging message.
6 years ago
Tom Hacohen
e1573ef7ab
Tasks journal view: show the number of tasks in the journal.
6 years ago
Tom Hacohen
7eee04f458
Remove wrong not-null assertion.
6 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 .
6 years ago
Tom Hacohen
c6472fe220
Unify the sync interval settings across journal types.
6 years ago
Tom Hacohen
b765f177c7
Migrate to AndroidX.
6 years ago
Tom Hacohen
130cea18ce
Tasks: move the opentasks install button to the menu.
...
It was quite ugly having it there.
6 years ago
Tom Hacohen
4cc664ee6c
Fix misleading logging message.
6 years ago
Tom Hacohen
1b15aaab19
Import: minor code cleanups.
6 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
.
6 years ago
Tom Hacohen
b64b95e204
Import from file: fix issues with sometimes importing from file.
6 years ago
Tom Hacohen
4fb49cf5f4
Import from file: dismiss dialog and print an error in a missed error case.
6 years ago
Tom Hacohen
98ca5fa318
Fix the setting controlling change notifications.
6 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!).
6 years ago
Tom Hacohen
1aed0106cd
Add a button for installing OpenTasks if not already installed.
6 years ago
Tom Hacohen
bbbfbffe59
Add a helper function for checking if a package is installed.
6 years ago
Tom Hacohen
0cda396d20
Event invites: Warn about clients that don't support email attachments
6 years ago
Tom Hacohen
09ee9a2bd1
Rename and move the function checking if email attachments are supported.
6 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.
6 years ago
Tom Hacohen
ea0add8f45
Gracefully handle getting non json responses when expecting json.
6 years ago
Tom Hacohen
143092ecf3
Don't pop up notifications when server is under maintenance.
6 years ago
Tom Hacohen
5e8bb06b03
Add an exception for a bad gateway error.
6 years ago
Tom Hacohen
79ddd1d7c9
Fix bug with resetting contact deleted state.
6 years ago
Tom Hacohen
cabea0c3ec
Revert changes when changing read only journals.
6 years ago
Tom Hacohen
7216a177c5
Member list: indicate if a member is read only or not.
6 years ago
Tom Hacohen
a899502728
Move to a different read only icon.
6 years ago
Tom Hacohen
e44c4a394c
Add the UI to invite read only members to journals.
6 years ago
Tom Hacohen
a43d0fceb8
Fix journal readOnly json to use the correct field name.
6 years ago
Tom Hacohen
e7186df6b8
Fix compilation warning.
6 years ago
Tom Hacohen
b6453718f4
Import fragment: move the null assertions around a bit
...
Better this way. Easier to know what's going on.
6 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.
6 years ago