Commit Graph

916 Commits (00425eb281d621b03ea17744e84dcb90cd75073a)

Author SHA1 Message Date
Tom Hacohen 481dcc1944 SyncManager: handle stoken being null (empty collection).
4 years ago
Tom Hacohen 52b7a84a1a Sync adapter: handle some etebase exceptions.
4 years ago
Tom Hacohen f8c0eaca35 Sync manager: add etebase support (pushing changes)
4 years ago
Tom Hacohen 6302ab42de Sync manager: add etebase support (pulling changes)
4 years ago
Tom Hacohen efdce8c557 Account: logout and clear cache on account removal.
4 years ago
Tom Hacohen 85fd9fdd7c AccountSettings: fix issue when saved uri is null.
4 years ago
Tom Hacohen ea0f974086 Account activity: lock the cache when using it and cleanup color parsing
4 years ago
Tom Hacohen deb1bb831b AddressBooksSyncAdapter: implement syncing etebase address books
4 years ago
Tom Hacohen d6a0958d16 TaskListSyncAdapter: implement syncing etebase task lists
4 years ago
Tom Hacohen 1c284bce91 CalendarSyncAdapter: implement syncing etebase calendars.
4 years ago
Tom Hacohen 2069e9b215 LocalEtebaseCache: create a shared collection + meta type.
4 years ago
Tom Hacohen 608f1ff371 Sync collections and show them in the account page.
4 years ago
Tom Hacohen 2c0e14d3a3 EtebaseLocalCache: add stoken and fix issues with loading files.
4 years ago
Tom Hacohen 79b650da38 LocalEtebaseCache: make sure we always return the same item.
4 years ago
Tom Hacohen eeb93f523d Get account list: add etebase support.
4 years ago
Tom Hacohen 69b044a444 Remove redundant code.
4 years ago
Tom Hacohen 09c932c02c Account Settings: add a flag to check if legacy (and use in account page).
4 years ago
Tom Hacohen 90cc39deeb EtebaseLocalCache: add a class that implements a local cache for etebase.
4 years ago
Tom Hacohen 5da8edd54d Login dialog: add support for login into etebase accounts
4 years ago
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).
4 years ago
Tom Hacohen 65861b3f1c Account settings: add support for storing an etebase session.
4 years ago
Tom Hacohen 6718da0615 strings: rename a string to make more sense.
4 years ago
Tom Hacohen aefdfe5479 Update okhttp3 dependency.
4 years ago
Tom Hacohen c6c3dd35f6 Explicitly handle securityException for tasks permissions.
4 years ago
Tom Hacohen c90bf78dc5 Enable R8 and fix errors.
4 years ago
Tom Hacohen 2284af19a7 Remove redundant code.
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.
4 years ago
Tom Hacohen b0208f13a5 Fix compilation.
4 years ago
Tom Hacohen 80a9f3a645 Change default collection names from 'Default' to be descriptive
4 years ago
Tom Hacohen c2df2f8d44 Show a snack if missing permissions.
4 years ago
Tom Hacohen 47c96963e9 Journal: don't attempt fetching entries if we are already up to date.
5 years ago
Tom Hacohen b530b4c02f Tasks collection view: add a warning about tasks not showing without OpenTasks.
5 years ago
Tom Hacohen bb2b116723 Fix crash when initialising database.
5 years ago
Tom Hacohen 20387612db Journal entry list: mark malformed entries with a bug icon.
5 years ago
Tom Hacohen 9f6b63620e Sync: make malformed entry errors non-fatal.
5 years ago
Tom Hacohen 202847f30c Remove unused code.
5 years ago
Tom Hacohen d603245eb3 Fix DebugInfoActivity - was crashing when fetching services
5 years ago
Tom Hacohen 021c6595e3 Add a FAB to the collection view activity with info about EteSync.
5 years ago
Tom Hacohen ccc17ba141 Login: change the welcome message based if first login or not.
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
Tom Hacohen 5db8545f8f Upgrade ical4android.
5 years ago
Tom Hacohen 72253932d3 Revert "Revert "Revert "App: only init the data store once per application."""
5 years ago
Tom Hacohen 496b6cd633 Fix tests.
5 years ago
Tom Hacohen 63cbaddfc6 Add a lock when pushing changes.
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.""
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."
5 years ago
Tom Hacohen 19b4e2a796 Revert "Add a reentrant lock to our entity data store."
5 years ago
Ricki Hirner 8422892708 Address books accounts: set initial user data twice for older Android versions
5 years ago
Tom Hacohen 26ea8900a2 App: only init the data store once per application.
5 years ago
Tom Hacohen 9ed172e23c Add a reentrant lock to our entity data store.
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.
5 years ago
Tom Hacohen 9600cd3f1f Service default creation: correctly set the type.
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
5 years ago
Tom Hacohen b50c633ca1 Improve debug information in createLocalEntry.
5 years ago
Tom Hacohen 67b6dce44f Basemanager: consider SSLProtocolExceptions as real issues.
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."
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.
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.
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 687f973725 Fix formatting.
5 years ago
Tom Hacohen 1cfdc59b17 Change journal: make it possible to revert an item to a past state.
5 years ago
Tom Hacohen 6031bd2699 Events: automatically transform EMAIL event reminders to DISPLAY ones.
5 years ago
Tom Hacohen 8e457c5ec7 Import contacts: fix wrong import account.
5 years ago
Tom Hacohen cac34e6785 Import: verify activity is not null when finishing import.
5 years ago
Tom Hacohen 84ab0cb16f Import: check if successfully acquired the provider before trying to import.
5 years ago
Tom Hacohen 1f9e7fa6a6 Revert: Import: always import, don't try to find duplicates based on UID
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 cdc5afba61 Fix debug log for failed login attempts.
5 years ago
Tom Hacohen 16efe446c0 WebActivity: gracefully handle unsupported link types.
5 years ago
Tom Hacohen 7cfba6dc34 Acra: don't include email prefix.
5 years ago
Tom Hacohen 1a7ef1b78e Sync: log broken entries on processing failure.
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.
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.
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.
5 years ago
Tom Hacohen 6250cacd30 Add missing exception handling to contacts sync.
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
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.
6 years ago
Tom Hacohen 41c7239a8c Members list: fix crash and handle correct lifecycle.
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.
6 years ago
Tom Hacohen 487d330a7a Contacts Sync Manager: remove redundant address book init.
6 years ago
Tom Hacohen 3637fc95db Sync: catch and report SSLHandshakeExceptions.
6 years ago
Tom Hacohen 6ac83beb47 Debug activity: fix crash when getting sync errors.
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.
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
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
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 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.
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.
6 years ago
Tom Hacohen a605c2ae49 Fix adding journal members following an encryption password change.
6 years ago
Tom Hacohen 9f0b492c42 Fix collection editing following an encryption password change.
6 years ago
Tom Hacohen 6f453faf06 Import: cleanup code a bit.
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.
6 years ago