Commit Graph

455 Commits (e01f54c687452751ceb6d408ec878f3d6a30c08b)

Author SHA1 Message Date
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
Tom Hacohen e15a26af9c User info: fix version detection, and don't verify on fetch.
7 years ago
Tom Hacohen 9fb9db9327 ViewCollection: only allow owner to edit collections.
7 years ago
Tom Hacohen 656dad3615 Add UI to add/remove/list journal members.
7 years ago
Tom Hacohen 4246ae7ede Add a way to view own fingerprint.
7 years ago
Tom Hacohen 4c6176a6f4 Fetch userinfo on account creation.
7 years ago
Tom Hacohen a57936982d Add a fragment to setup user info.
7 years ago
Tom Hacohen beccb33904 Journal: use journal keys if available.
7 years ago
Tom Hacohen 43803b6d3e AccountSettings: Add a keypair setting.
7 years ago
Tom Hacohen ae08510729 Requery: Fix database to have the correct constraints (on upgrade).
7 years ago
Tom Hacohen e2f206e02e Services: Move to a requery model instead of raw SQL and improve models.
7 years ago
Tom Hacohen 88ceeaa2a5 Entry and journal: fix uniqueness to be composited, and not just by uid.
7 years ago
Tom Hacohen a4a32045e8 Journal: get and persist owner and key.
7 years ago
Tom Hacohen efe832ddb4 Journalmanager: Add api for the members endpoint.
7 years ago
Tom Hacohen 11e37dbd1e Journalmanager: add API to interact with the UserInfo
7 years ago
Tom Hacohen e836b4c716 Crypto: Add basic asymmetric encryption methods
7 years ago
Tom Hacohen 89731519e9 Account view: cleanup and share collection list items and adapter.
7 years ago
Ricki Hirner 17d90a4569 Allow null values for IS_ORGANIZER
7 years ago
Tom Hacohen 190ec89c2c JournalModel: don't convert to list when getting collections.
7 years ago
Tom Hacohen da87d14ae9 Journalmanager: always use the api error message when available.
7 years ago
Tom Hacohen 8f1f4785a6 Revert "Update requery and remove the afterLoad workaround."
7 years ago
Tom Hacohen 57f447d372 Requery: Don't destroy and recreate db when updating.
7 years ago
Tom Hacohen d80cce9aad CryptoManager: add an HMAC_SIZE (in bytes) constant.
7 years ago
Tom Hacohen 56996b98c4 Update requery and remove the afterLoad workaround.
7 years ago
Tom Hacohen c95aaaf5fd HintManager: simplify by moving to strings and removing the need to register
7 years ago
Tom Hacohen c42602d030 Contacts/Event: Set PRODID to EteSync.
7 years ago
Tom Hacohen 4e0cd7f554 SyncManager: Use the last journal id as the ctag, instead of storing it.
7 years ago
Tom Hacohen 338dd5e075 Database: Mark collections class as deprecated.
7 years ago
Tom Hacohen 14e6f757c5 Journalmanager: Change getUuid to getUid (the rest says uid too).
7 years ago
Tom Hacohen 7cefb64db2 CollectionInfo: rename url -> uid.
7 years ago
Tom Hacohen dd425ecbe2 HttpUrl: Add a way to create from string host and auth token.
7 years ago
Tom Hacohen 70b549033c Crypto: add an exception to when crypto version is too new.
7 years ago
Tom Hacohen 5abf635fa0 Base64: Pull in the base64 impl from the android source code.
7 years ago