Commit Graph

587 Commits (00425eb281d621b03ea17744e84dcb90cd75073a)

Author SHA1 Message Date
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.
5 years ago
Tom Hacohen c484d29a42 Optimise imports.
5 years ago
Tom Hacohen 3b0bfbb054 Don't rely on the ACCOUNTS_CHANGED broadcast receiver
5 years ago
Tom Hacohen f629d23c38 Fix access to uninitialized properties in account update service.
5 years ago
Tom Hacohen 2e2841cea4 Fix encryption password change not to crash.
5 years ago
Tom Hacohen 41c7239a8c Members list: fix crash and handle correct lifecycle.
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.
5 years ago
Tom Hacohen 487d330a7a Contacts Sync Manager: remove redundant address book init.
5 years ago
Tom Hacohen 3637fc95db Sync: catch and report SSLHandshakeExceptions.
5 years ago
Tom Hacohen 6ac83beb47 Debug activity: fix crash when getting sync errors.
5 years ago
Tom Hacohen a702a4e794 Crash email: include a body with requests for more information.
5 years ago
Tom Hacohen 409f586835 Add tutanota to the list of email clients not supporting attachments.
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
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 5090a3206e Only show the custom certificate popup when using EteSync interactively
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 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.
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.
5 years ago
Tom Hacohen a605c2ae49 Fix adding journal members following an encryption password change.
5 years ago
Tom Hacohen 9f0b492c42 Fix collection editing following an encryption password change.
5 years ago
Tom Hacohen 6f453faf06 Import: cleanup code a bit.
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 cf8afd541c ACRA: switch to notification alerts on crashes.
5 years ago
Tom Hacohen 332caf1631 View Collection: add checks if we successfully managed to acquire the provider.
5 years ago
Tom Hacohen 356017a541 Entry sync: also generate UUIDs for first synced deleted entries
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.
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.
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 858378b107 Revert "Event invites: Warn about clients that don't support email attachments"
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 98ca5fa318 Fix the setting controlling change notifications.
5 years ago
Tom Hacohen cb570978e5 Account activity: don't hide collection headers even if empty.
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 4d661117e5 Don't pop up notifications on bad gatewary errors as most likely a server restart.
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 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
5 years ago
Tom Hacohen 69bf028481 Apply group memberships: be more defensive with potentially missing members.
5 years ago
Tom Hacohen b13be67820 Import: improve group import and fix a potential crash
5 years ago
Tom Hacohen efa8719ce5 Account settings: add a link to the dashboard and clean up a bit.
5 years ago
Tom Hacohen 635a512ca6 Create collection: fix the shown color to be the default color.
5 years ago
Tom Hacohen a1051856ec Fix usage of tasklist colour in collection members activity.
5 years ago
Tom Hacohen e161233453 Edit task list: fix saving of task list colour.
5 years ago
Tom Hacohen 96fc87cad4 Fix loading tasklist color in edit collection activity.
5 years ago
Tom Hacohen 18a00716f8 Remove build time from app.
6 years ago
Tom Hacohen f9fc14b0dd Address book import: add support for importing groups from file
6 years ago
Tom Hacohen 0ae278aabd Addressbook import: implement group import when importing from account.
6 years ago
Tom Hacohen 4795bd40ef Fix tests following kotlin migration.
6 years ago
Tom Hacohen 5c894e001f Implementing changing encryption password.
6 years ago
Tom Hacohen 6e2ab7d972 UserInfoManager: fix the wrong conversion to kotlin.
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.
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
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.
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 c27a8b44ac Catch IllegalStateExceptions in the account changed receiver.
6 years ago
Tom Hacohen 7f2ab44bca Implement Tasks support via OpenTasks
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.
6 years ago
Tom Hacohen 93f0e17144 Fix account and collection deletion on some devices.
6 years ago
Tom Hacohen 34939ee7e3 Account Settings: drop very old upgrade path.
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.
6 years ago
Tom Hacohen cd33b5def8 Kotlin: move resources to Kotlin (almost compiles).
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 f46bccab8e SSLSocketFactory: import newer settings from DAVDroid.
6 years ago
Tom Hacohen 1901cf1bb1 Fix sharing calendar email to not be case sensitive.
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 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 26715f2f34 Kotlin: fix some wrong null assertions.
6 years ago
Tom Hacohen d98d91a67f Revert "Don't rely on LOGIN_ACCOUNTS_CHANGED_ACTION"
6 years ago
Tom Hacohen dda23fb484 Don't rely on LOGIN_ACCOUNTS_CHANGED_ACTION
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 943611a511 Kotlin: more kotlin migration.
6 years ago
Tom Hacohen 959bc4992b Kotlin: migrate to kotlin.
6 years ago
Tom Hacohen 828254a1f7 Event invites: gracefully handle missing timezone information.
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 e20e79e840 Fix bug causing group duplication every time a group is changed.
6 years ago
Tom Hacohen 4184751664 Event invites: fix issue with times showing wrong across timezones.
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 3efa76579e Fix crash with missing contact downloader when importing.
6 years ago
Tal Hacohen 47b04132a6 Add settings to control the change notifications
6 years ago
Tom Hacohen 0bd459c280 Journal contact view: correctly handle partial dates.
6 years ago
Tom Hacohen 5e568ec43e Fix crash when viewing contacts with empty (but existing) nicknames.
6 years ago
Tom Hacohen 34b8fce5c4 Move to the new method of getting end date.
6 years ago
tal cb54e51280 Add invite attendees notification for new and modified calendar events
6 years ago
tal 20feee0df7 Add notification channel to all notifications
6 years ago
tal 182d6ebe66 Restore WebView state on orientation changes
6 years ago
Tom Hacohen 8982e4a800 Don't crash when deleting a non-existent record
6 years ago
Tom Hacohen 5a64bd90cc Fix adding members on some devices.
6 years ago
Tom Hacohen 1e7a38159f Increase HTTP logging verbose level.
6 years ago
Tom Hacohen a28b46f8f9 Don't print content of added/changed contacts and groups.
7 years ago
Tom Hacohen 2f1a9281b8 SyncManager: change pushing entries in chunks to also process in chunks
7 years ago
Tom Hacohen 5a2f8260c7 Sync: don't re-apply local entries.
7 years ago
Tom Hacohen 90434e0d82 ACRA: Share more logs (500 last lines instead of 100)
7 years ago
Tom Hacohen 64a86e50d4 Debug info: when sharing, also share the full ACRA info.
7 years ago
Tom Hacohen 2e92422ea6 Import: fix showing the import finished dialog.
7 years ago
Tom Hacohen c93e21e2d3 Contact import: fix accidental double-import.
7 years ago
Tom Hacohen 536bef9815 Import: always import, don't try to find duplicates based on UID.
7 years ago
Tom Hacohen dd96ea38d0 Remove lombok usage entirely, but keep it for the submodules
7 years ago
Tom Hacohen 1046164b83 Delombokify: remove Setter/Getter usages.
7 years ago
Tom Hacohen 13c718977e Delombokify: remove RequiredArgsConstructor usages.
7 years ago
Tom Hacohen 6ab3401bf5 Move journal owner tests to the journal and make case insensitive.
7 years ago
Tom Hacohen b8299a81ce Add ACRA for crash reporting.
7 years ago
Tom Hacohen 99afd923d5 Add detection and a pop-up of vendor specific bugs.
7 years ago
Tom Hacohen 9d12e9c809 Fix confusing error message when creating/fetching user info.
7 years ago
Tom Hacohen 3a1b980384 Improve error message when using the wrong password on account creation.
7 years ago
Tom Hacohen cf15bc39c0 Update compile and target sdk version.
7 years ago
Tom Hacohen 0e6ee9c101 Fix content provider leak.
7 years ago
Tom Hacohen 71563eddfe Import: fix crash when import finishes while the app is minimised.
7 years ago
Tom Hacohen c2521bf556 Fix DB resource leak.
7 years ago
Tom Hacohen f6007019e8 Add support for setting custom servers
7 years ago
Tal Hacohen d1fa0114e6 Add debug option to force language.
7 years ago
Tal Hacohen f631fe4452 Notify the user on journal modification.
7 years ago
Tom Hacohen 09685d08e3 LocalGroup: correctly check if a group is local only or not.
7 years ago
Tom Hacohen 873fc0ad0c Journal item activity: Improve presentation of groups.
7 years ago
Tom Hacohen c54baccdc7 SyncManager: add back support for contact groups
7 years ago
Ricki Hirner 5031efe845 Remove "ical4android" from iCal PRODID (same format as for VCard)
7 years ago
Ricki Hirner 7391dfd656 Remove "vcard4android" from VCard PRODID to avoid folding for better compatibility
7 years ago
Tom Hacohen 7ddb11c670 Change PRODID to better match the davdroid format.
7 years ago
Tom Hacohen 04e50459d4 Syncmanager: fix an issue causing local cache corruption when failing to push.
7 years ago
Tom Hacohen 30fa0128b6 AsyncTask: cancel background tasks when the fragments are destroyed.
7 years ago
Tom Hacohen 28aa80fe07 Syncmanager: don't try to fetch again if we already fetched everything.
7 years ago
Tom Hacohen f7104bbcef Syncmanager: fetch journal entries in chunks.
7 years ago
Tom Hacohen 9cdd63f1d9 Journal manager crypto: change RSA key length to 3072.
7 years ago
Tom Hacohen b33e5003d4 Setup Encryption: use the more reliable AsyncTask over AsyncTaskLoader.
7 years ago
Tom Hacohen 0503efa8ac Journal item activity: Use string resources instead of hardcoded strings.
7 years ago
Tom Hacohen c3ee3aac22 Journal item: Implement showing contacts.
7 years ago
Tom Hacohen b964b8dfe1 Journal item: implement showing calendar events (based on etar)
7 years ago
Tom Hacohen 7dba220d06 Journal item activity: create the infrastructure for a nicer interface
7 years ago
Tom Hacohen e6ba52074a Journal item: view journal item in a separate activity.
7 years ago
Tom Hacohen 889eede699 Journal list: Use icons for actions instead of text.
7 years ago
Tom Hacohen a3e4fc48ab Collection header: set owner visibility to gone when there's no owner.
7 years ago
Tom Hacohen 1cf1d0f5b0 BaseActivity: Add an activity that all other activities inherit from.
7 years ago
Tom Hacohen d86edd7688 Journal model: add a unique constraint to journal UIDs.
7 years ago
Tom Hacohen 10095bd4ee WebView: correctly handle checking if a url should open in app or browser.
7 years ago
Tom Hacohen a9eba1af4e Account upgrade: raise an error when account migration fails.
7 years ago
Tom Hacohen 20568c850a SyncManager: Request for a full sync if interrupted.
7 years ago
Tom Hacohen a107cd3fa2 AccountSettings: remove wrong version set.
7 years ago
Ricki Hirner 643e2b23ea Use UUIDs for newly generated event/task UIDs (RFC 7986 5.3 UID Property)
7 years ago
Tom Hacohen eb95eada91 Import: Add an alias for our addressbook and davdroid account types.
7 years ago
Tom Hacohen 861d5e4b4e Fix account type and authority to use function and not string.
7 years ago
Tom Hacohen 26c0a62dc4 Don't crash when immediately entering collection after creation.
7 years ago
Tom Hacohen 674ea1eeca Workaround Android account creation issue (ignoring userData)
7 years ago
Tom Hacohen db82757bc4 Show an error message when failing to create an account.
7 years ago
Tom Hacohen aeae7de077 Workaround: ignore invalid account errors when syncing contacts
7 years ago
Tom Hacohen c81ba0cddb Create an AndroidCompat class to wrap around Android oddities.
7 years ago
Tom Hacohen de6a124bf2 Remove unnecessary InvalidAccountException
7 years ago
Tom Hacohen 068e0c6b4d Expose appName from App and use it.
7 years ago
Ricki Hirner 51840c3a22 Fix some inconsistencies
7 years ago
Ricki Hirner 138d344a5b Open DAVdroid main activity when add a "DAVdroid Address book" account is added over Settings
7 years ago
Tom Hacohen d6ace869fe Remove add, share and delete restrictions on address books
7 years ago
Tom Hacohen 2f95ddbda2 Import: Fix address book import.
7 years ago
Tom Hacohen e729bcff42 ViewCollection: fix addressbook stats.
7 years ago
Tom Hacohen 51aecba9a0 LocalAddressBook: Add a way to get address book by UID.
7 years ago
Tom Hacohen 19b955f981 Change LocalAddressBook to look like LocalCalendar (accept journalentity)
7 years ago
Tom Hacohen dfb8981752 Remove the ACCOUNT_TYPE constant (now a string resource)
7 years ago
Ricki Hirner 0d7e2362b3 Improve address book details in debug info
7 years ago
Ricki Hirner 310b94e280 Add more debug information
7 years ago
Tom Hacohen 1422d95ccf Disallow user removal of address book accounts
7 years ago
Tom Hacohen 83ef63e94b Remove getCollections and add the afterLoad workaround to getJournals.
7 years ago
Tom Hacohen 589f81c50d Add multiple address books support
7 years ago
Tom Hacohen 2e25c44d78 Journalmanager crypto: Make AsymmetricKeyPair serializable.
7 years ago
Tom Hacohen 71d694c1c1 Fingerprint: Change the fingerprint format to be numeric instead of hex.
7 years ago
Tom Hacohen be108389c5 Journal viewer: verify journal entry content is not null before searching it.
7 years ago
Tom Hacohen 96443a0b57 Journal model: fix broken database migration
7 years ago
Tom Hacohen fab8aa90ac Collection owner: Handle the case of owner == null.
7 years ago
Tom Hacohen 201e4e09eb Update to the new jorunal entries API.
7 years ago
Tom Hacohen 148260110a Journal members: update according to the new members API.
7 years ago
Tom Hacohen 53e7ba98ab Debug activity: Remove references to jbworkaround (we don't need it).
7 years ago
Tom Hacohen 1ab32be0f6 Add support for read-only journals.
7 years ago
Tom Hacohen df3db6b357 LocalCalendar: accept JournalEntity, not CollectionInfo when creating and updating.
7 years ago
Tom Hacohen f8d0878003 Journal sharing: Add a nice error message when journal is not found.
7 years ago
Tom Hacohen 5c2601f408 Fingerprint verification: dismiss dialog when not trusting fingerprint.
7 years ago
Tom Hacohen 3c1cad8960 Fingerprint: Improve how the fingerprint dialog looks like.
7 years ago
Tom Hacohen fc52194d39 Journalmanager: rename CRUD method to be more consistent.
7 years ago
Tom Hacohen 0bade21aae ViewCollection: list the journal's owner if it's not owned by us.
7 years ago
Tom Hacohen 348e24c3e3 Account: indicate on the list if a collection is shared.
7 years ago
Tom Hacohen eeda46338d Disallow sharing of journals with version < 2.
7 years ago
Tom Hacohen 4c47384198 Journals: support adding back deleted journals.
7 years ago
Tom Hacohen d3057f86f0 Disallow sharing of address books.
7 years ago
Tom Hacohen 93fb1e3c54 Remove redundant dbhelper calls.
7 years ago