Commit Graph

717 Commits (6e2ab7d97201eb5aab804035e6938e007a851660)

Author SHA1 Message Date
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 660d5b94ba Journal item activity: improve look (add elevation to contact name).
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 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.
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 6579ac8cf1 View/EditCollection: Add icons to menu operations
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
Tom Hacohen e3c48a0560 ImportFragment: move to the import package.
7 years ago
Tom Hacohen ea91063178 Use the safe getDrawable function instead of the version specific one.
7 years ago
Tom Hacohen 52723dac67 View collection: add a showcase to explain how to import.
7 years ago
Tom Hacohen 51d9c75c56 AccountActivity: Add a showcase to the account activity.
7 years ago
Tom Hacohen cb140a3387 Main activity: Add a showcase for adding an account.
7 years ago
Tom Hacohen f650d38435 Hints manager: Add a class to manage hints (show once info)
7 years ago
Tom Hacohen 80fad58de4 Fix build break.
7 years ago
Ricki Hirner c83b28c3bb Account settings: restart loader after sync interval update
7 years ago
Tom Hacohen 4920bc0c81 SSLSocketFactory: Update the cipher priority list to something more secure.
7 years ago
Ricki Hirner 3a0c112fad Enable SSL_RSA_WITH_3DES_EDE_CBC_SHA for all Android versions
7 years ago
Tom Hacohen c2e7914290 CollectionInfo: remove the obsolete support VEVENT and support VTODO.
7 years ago
Tom Hacohen 0a4d4a9d9e Calendar sync adapter service: minor cleanup.
7 years ago
Ricki Hirner 1295e4557e AccountsActivity: show message when global sync is disabled
7 years ago
Ricki Hirner 433484626f Don't use uid2445 column on Android <4.2; alarm ACTION: compare only value (ignore parameters)
7 years ago
Ricki Hirner f1ea00d816 Improve Android 7 workaround behavior in combination with CATEGORIES/VCard4 contact groups
7 years ago
Ricki Hirner be833b03ee Retain Events.UID_2445 when preparing events for upload
7 years ago
Ricki Hirner 97aefad0a2 Android 7 workaround: update hash after group membership operations
7 years ago
Tom Hacohen 9486719cbb Import: Resolved account name and icon when possible.
7 years ago
Tal Hacohen e4fc23eb70 Journal - Load entries on background
7 years ago
Tal Hacohen 2706021a5e Import - Add account type to calendar account list
7 years ago
Tal Hacohen bee502a440 Sort contacts accounts by name and type
7 years ago
Tom Hacohen 1227a66409 Import: Make icon acessible and get it for address book.
7 years ago
Tom Hacohen 15580374fa Import: Make the select calendar/account lists nicer
7 years ago
Tom Hacohen 7915a51f1f Import: Make account import activity prettier.
7 years ago
Tom Hacohen 0d848f0573 Merge: Add import from local accounts
7 years ago
Tal Hacohen 9684123f68 Use App.log instead of Log in import fragmnets
7 years ago
Tal Hacohen 6820d9d413 Change desgin of both import lists
7 years ago
Tal Hacohen 8d208b3438 Refactor calendar account to import package
7 years ago
Tal Hacohen 1e9e055924 Import - Use ResultFragment in all import framgnets
7 years ago
Tal Hacohen 56aba7c669 Extract ResultFragment from ImportFragment
7 years ago
Tal Hacohen a7c5ccadc9 Import - Change toolbar title according to relevant fragment
7 years ago
Tal Hacohen 1629ffba9f Import - Add fragment to import all contacts from account
7 years ago
Tal Hacohen 7cac473c74 Import - Split ImportActivity to fragments and activity
7 years ago
Tal Hacohen 33a310344b Import - Add all events to selected calendar
7 years ago
Tal Hacohen 594c401038 Import - Show calendars in expandable list view
7 years ago
Tal Hacohen 466870ff50 Import - Add basic import activity
7 years ago
Tal Hacohen 2261d6e385 Import calendar: Add calendar account class.
7 years ago
Tom Hacohen 1482fb01cb JournalManager: make jorunal version read-only.
7 years ago
Tom Hacohen cd5e5487a8 JournalManager: make IntegrityException inherit from GeneralSecurityException.
7 years ago
Tom Hacohen cf805d4e72 JournalManager: add version info to Journals and use it in crypto
7 years ago
Tom Hacohen 7357447786 Collectioninfo: fix typo in ToString field exclusion.
7 years ago
Tom Hacohen c3e30138dd Syncmanager: get a collection info for all sync managers.
7 years ago
Tom Hacohen 01add874dc Remove unneeded fixme.
7 years ago
Tom Hacohen d2eaf5f434 Use the new CryptoManager instead of the main encryption password.
7 years ago
Tom Hacohen 4004eca762 Syncmanager: use the journalId as the unique collection id.
7 years ago
Tom Hacohen 1e6fc5a9cb Crypto: rename Cipher to CryptoManager.
7 years ago
Tom Hacohen abd13d4d3d Crypto: refactor the Cipher class.
7 years ago