Commit Graph

739 Commits (ee11b82fe52efc5be9434fcdf99c1cf86f833df4)

Author SHA1 Message Date
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 48a77530a8 Make account type strings non-translateable.
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.
8 years ago
Tom Hacohen f8d0878003 Journal sharing: Add a nice error message when journal is not found.
8 years ago
Tom Hacohen 5c2601f408 Fingerprint verification: dismiss dialog when not trusting fingerprint.
8 years ago
Tom Hacohen 3c1cad8960 Fingerprint: Improve how the fingerprint dialog looks like.
8 years ago
Tom Hacohen fc52194d39 Journalmanager: rename CRUD method to be more consistent.
8 years ago
Tom Hacohen 0bade21aae ViewCollection: list the journal's owner if it's not owned by us.
8 years ago
Tom Hacohen 348e24c3e3 Account: indicate on the list if a collection is shared.
8 years ago
Tom Hacohen eeda46338d Disallow sharing of journals with version < 2.
8 years ago
Tom Hacohen 4c47384198 Journals: support adding back deleted journals.
8 years ago
Tom Hacohen d3057f86f0 Disallow sharing of address books.
8 years ago
Tom Hacohen 93fb1e3c54 Remove redundant dbhelper calls.
8 years ago
Tom Hacohen e15a26af9c User info: fix version detection, and don't verify on fetch.
8 years ago
Tom Hacohen 9fb9db9327 ViewCollection: only allow owner to edit collections.
8 years ago
Tom Hacohen 656dad3615 Add UI to add/remove/list journal members.
8 years ago
Tom Hacohen 4246ae7ede Add a way to view own fingerprint.
8 years ago
Tom Hacohen 4c6176a6f4 Fetch userinfo on account creation.
8 years ago
Tom Hacohen a57936982d Add a fragment to setup user info.
8 years ago
Tom Hacohen beccb33904 Journal: use journal keys if available.
8 years ago
Tom Hacohen 43803b6d3e AccountSettings: Add a keypair setting.
8 years ago
Tom Hacohen ae08510729 Requery: Fix database to have the correct constraints (on upgrade).
8 years ago
Tom Hacohen e2f206e02e Services: Move to a requery model instead of raw SQL and improve models.
8 years ago
Tom Hacohen 8b79529a94 Bump version.
8 years ago
Tom Hacohen 88ceeaa2a5 Entry and journal: fix uniqueness to be composited, and not just by uid.
8 years ago
Tom Hacohen a4a32045e8 Journal: get and persist owner and key.
8 years ago
Tom Hacohen efe832ddb4 Journalmanager: Add api for the members endpoint.
8 years ago
Tom Hacohen 11e37dbd1e Journalmanager: add API to interact with the UserInfo
8 years ago
Tom Hacohen e836b4c716 Crypto: Add basic asymmetric encryption methods
8 years ago
Tom Hacohen 89731519e9 Account view: cleanup and share collection list items and adapter.
8 years ago
Ricki Hirner 17d90a4569 Allow null values for IS_ORGANIZER
8 years ago
Tom Hacohen e82d8affe8 Update okhttp and submodules to latest.
8 years ago
Tom Hacohen 30af730048 requery: update to 1.3.0.
8 years ago
Tom Hacohen 190ec89c2c JournalModel: don't convert to list when getting collections.
8 years ago
Tom Hacohen da87d14ae9 Journalmanager: always use the api error message when available.
8 years ago
Tom Hacohen 6579ac8cf1 View/EditCollection: Add icons to menu operations
8 years ago
Tom Hacohen 8f1f4785a6 Revert "Update requery and remove the afterLoad workaround."
8 years ago
Tom Hacohen 57f447d372 Requery: Don't destroy and recreate db when updating.
8 years ago
Tom Hacohen d80cce9aad CryptoManager: add an HMAC_SIZE (in bytes) constant.
8 years ago
Tom Hacohen 56996b98c4 Update requery and remove the afterLoad workaround.
8 years ago
Tom Hacohen c95aaaf5fd HintManager: simplify by moving to strings and removing the need to register
8 years ago
Tom Hacohen c42602d030 Contacts/Event: Set PRODID to EteSync.
8 years ago
Tom Hacohen 4e0cd7f554 SyncManager: Use the last journal id as the ctag, instead of storing it.
8 years ago
Tom Hacohen 338dd5e075 Database: Mark collections class as deprecated.
8 years ago
Tom Hacohen fcbf26a03b Tests: Add journalentrymanager tests.
8 years ago
Tom Hacohen 14e6f757c5 Journalmanager: Change getUuid to getUid (the rest says uid too).
8 years ago
Tom Hacohen 7cefb64db2 CollectionInfo: rename url -> uid.
8 years ago
Tom Hacohen 2e7ac65883 Tests: Add some basic tests.
8 years ago
Tom Hacohen dd425ecbe2 HttpUrl: Add a way to create from string host and auth token.
8 years ago
Tom Hacohen d41b7827ee Tests: Move constants to a shared file.
8 years ago
Tom Hacohen 9ba0f39660 Tests: Add basic authenticator tests.
8 years ago
Tom Hacohen 94f2682195 Tests: add basic encryption tests.
8 years ago
Tom Hacohen a77e49c033 Tests: remove useless HttpClient test.
8 years ago
Tom Hacohen 70b549033c Crypto: add an exception to when crypto version is too new.
8 years ago
Tom Hacohen 5abf635fa0 Base64: Pull in the base64 impl from the android source code.
8 years ago
Tom Hacohen e3c48a0560 ImportFragment: move to the import package.
8 years ago
Tom Hacohen ea91063178 Use the safe getDrawable function instead of the version specific one.
8 years ago
Tom Hacohen 52723dac67 View collection: add a showcase to explain how to import.
8 years ago
Tom Hacohen 51d9c75c56 AccountActivity: Add a showcase to the account activity.
8 years ago
Tom Hacohen cb140a3387 Main activity: Add a showcase for adding an account.
8 years ago
Tom Hacohen f650d38435 Hints manager: Add a class to manage hints (show once info)
8 years ago
Tom Hacohen 2570c9671d Bump version
8 years ago
Tom Hacohen 4dd11a1912 Update minsdk version to 4.1 (16).
8 years ago
Tom Hacohen 80fad58de4 Fix build break.
8 years ago
Ricki Hirner c83b28c3bb Account settings: restart loader after sync interval update
8 years ago
Tom Hacohen 4920bc0c81 SSLSocketFactory: Update the cipher priority list to something more secure.
8 years ago
Ricki Hirner 3a0c112fad Enable SSL_RSA_WITH_3DES_EDE_CBC_SHA for all Android versions
8 years ago
Tom Hacohen c2e7914290 CollectionInfo: remove the obsolete support VEVENT and support VTODO.
8 years ago
Tom Hacohen 0a4d4a9d9e Calendar sync adapter service: minor cleanup.
8 years ago
Ricki Hirner 1295e4557e AccountsActivity: show message when global sync is disabled
8 years ago
Ricki Hirner 433484626f Don't use uid2445 column on Android <4.2; alarm ACTION: compare only value (ignore parameters)
8 years ago
Ricki Hirner f1ea00d816 Improve Android 7 workaround behavior in combination with CATEGORIES/VCard4 contact groups
8 years ago
Ricki Hirner be833b03ee Retain Events.UID_2445 when preparing events for upload
8 years ago
Ricki Hirner 97aefad0a2 Android 7 workaround: update hash after group membership operations
8 years ago
Tom Hacohen d6558da503 Bump version.
8 years ago
Tom Hacohen 9486719cbb Import: Resolved account name and icon when possible.
8 years ago
Tal Hacohen e4fc23eb70 Journal - Load entries on background
8 years ago
Tal Hacohen 2706021a5e Import - Add account type to calendar account list
8 years ago
Tal Hacohen bee502a440 Sort contacts accounts by name and type
8 years ago
Tom Hacohen 1227a66409 Import: Make icon acessible and get it for address book.
8 years ago
Tom Hacohen 15580374fa Import: Make the select calendar/account lists nicer
8 years ago
Tom Hacohen 7915a51f1f Import: Make account import activity prettier.
8 years ago
Tom Hacohen 0d848f0573 Merge: Add import from local accounts
8 years ago
Tal Hacohen 9684123f68 Use App.log instead of Log in import fragmnets
8 years ago
Tal Hacohen 6820d9d413 Change desgin of both import lists
8 years ago
Tal Hacohen 8d208b3438 Refactor calendar account to import package
8 years ago
Tal Hacohen 1e9e055924 Import - Use ResultFragment in all import framgnets
8 years ago
Tal Hacohen 56aba7c669 Extract ResultFragment from ImportFragment
8 years ago
Tal Hacohen a7c5ccadc9 Import - Change toolbar title according to relevant fragment
8 years ago
Tal Hacohen 1629ffba9f Import - Add fragment to import all contacts from account
8 years ago
Tal Hacohen 7cac473c74 Import - Split ImportActivity to fragments and activity
8 years ago
Tal Hacohen 33a310344b Import - Add all events to selected calendar
8 years ago
Tal Hacohen 594c401038 Import - Show calendars in expandable list view
8 years ago
Tal Hacohen 466870ff50 Import - Add basic import activity
8 years ago
Tal Hacohen 2261d6e385 Import calendar: Add calendar account class.
8 years ago
Tom Hacohen 1482fb01cb JournalManager: make jorunal version read-only.
8 years ago
Tom Hacohen cd5e5487a8 JournalManager: make IntegrityException inherit from GeneralSecurityException.
8 years ago
Tom Hacohen cf805d4e72 JournalManager: add version info to Journals and use it in crypto
8 years ago
Tom Hacohen 7357447786 Collectioninfo: fix typo in ToString field exclusion.
8 years ago
Tom Hacohen c3e30138dd Syncmanager: get a collection info for all sync managers.
8 years ago
Tom Hacohen 01add874dc Remove unneeded fixme.
8 years ago
Tom Hacohen d2eaf5f434 Use the new CryptoManager instead of the main encryption password.
8 years ago
Tom Hacohen 4004eca762 Syncmanager: use the journalId as the unique collection id.
8 years ago
Tom Hacohen 1e6fc5a9cb Crypto: rename Cipher to CryptoManager.
8 years ago
Tom Hacohen abd13d4d3d Crypto: refactor the Cipher class.
8 years ago
Tom Hacohen 0fbee1ea02 JournalManager: rename Helpers to Crypto.
8 years ago
Tom Hacohen 225d01c143 Crypto: Only create random generator as needed.
8 years ago
Tom Hacohen de834915be Bump version.
8 years ago
Tom Hacohen 1d87de2e7a App update: set the app version on first launch if not already set.
8 years ago
Tom Hacohen 784070c27c SyncManager: add remote entries to cache only after they've been processed
8 years ago
Tom Hacohen 987076d95e Webview: fix behaviour of toolbar back button and simplify.
8 years ago
Tom Hacohen 3a83cf8303 Collection deletion: mark as deleted in cache, but don't actually delete.
8 years ago
Tom Hacohen ba9f217d66 Webview: also open tos and about from within the app.
8 years ago
Tom Hacohen 9ba84109b2 Login: add a "forgot password" link.
8 years ago
Tom Hacohen d21a498925 Webview: improve whitelist, and include all of the "accounts/" subpath.
8 years ago
Tom Hacohen e7694924b4 Automatically fix non-dirty entries with null etag on upgrade
8 years ago
Tom Hacohen 7562a7a76b ViewCollection: use the new LocalCalendar.findByName to get calendar.
8 years ago
Tom Hacohen 19ceab96b0 Bump version.
8 years ago
Tom Hacohen 5d1c90dcba Resource: set eTag when creating a new one from server.
8 years ago
Tom Hacohen 84244330b7 Always log deletes, even when not previously added to server.
8 years ago