Commit Graph

786 Commits (f46bccab8e960bf2dc97696ed1a402af8369d7d1)

Author SHA1 Message Date
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 8b79529a94 Bump version.
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 e82d8affe8 Update okhttp and submodules to latest.
7 years ago
Tom Hacohen 30af730048 requery: update to 1.3.0.
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 fcbf26a03b Tests: Add journalentrymanager tests.
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 2e7ac65883 Tests: Add some basic tests.
7 years ago
Tom Hacohen dd425ecbe2 HttpUrl: Add a way to create from string host and auth token.
7 years ago
Tom Hacohen d41b7827ee Tests: Move constants to a shared file.
7 years ago
Tom Hacohen 9ba0f39660 Tests: Add basic authenticator tests.
7 years ago
Tom Hacohen 94f2682195 Tests: add basic encryption tests.
7 years ago
Tom Hacohen a77e49c033 Tests: remove useless HttpClient test.
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 2570c9671d Bump version
7 years ago
Tom Hacohen 4dd11a1912 Update minsdk version to 4.1 (16).
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 d6558da503 Bump version.
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
Tom Hacohen 0fbee1ea02 JournalManager: rename Helpers to Crypto.
7 years ago
Tom Hacohen 225d01c143 Crypto: Only create random generator as needed.
7 years ago
Tom Hacohen de834915be Bump version.
7 years ago
Tom Hacohen 1d87de2e7a App update: set the app version on first launch if not already set.
7 years ago
Tom Hacohen 784070c27c SyncManager: add remote entries to cache only after they've been processed
7 years ago
Tom Hacohen 987076d95e Webview: fix behaviour of toolbar back button and simplify.
7 years ago
Tom Hacohen 3a83cf8303 Collection deletion: mark as deleted in cache, but don't actually delete.
7 years ago
Tom Hacohen ba9f217d66 Webview: also open tos and about from within the app.
7 years ago
Tom Hacohen 9ba84109b2 Login: add a "forgot password" link.
7 years ago
Tom Hacohen d21a498925 Webview: improve whitelist, and include all of the "accounts/" subpath.
7 years ago
Tom Hacohen e7694924b4 Automatically fix non-dirty entries with null etag on upgrade
7 years ago
Tom Hacohen 7562a7a76b ViewCollection: use the new LocalCalendar.findByName to get calendar.
7 years ago
Tom Hacohen 19ceab96b0 Bump version.
7 years ago
Tom Hacohen 5d1c90dcba Resource: set eTag when creating a new one from server.
7 years ago
Tom Hacohen 84244330b7 Always log deletes, even when not previously added to server.
7 years ago
Tom Hacohen 99fe3457fc Refresh ViewCollectionActivity when edited/deleted
7 years ago
Tom Hacohen 0cd57851ad Journal model: call the postLoad callback on fetch too.
7 years ago
Tom Hacohen 415d5d5447 Clear journal cache on account deletion (fix account re-add issue)
7 years ago
Tom Hacohen f984b76ec6 Add import from vCard (vcf)/iCal (ics)
7 years ago
Tom Hacohen 24b170a170 View collection activity: only create fragment on first load.
7 years ago
Tom Hacohen 231684e0d4 Local event/contact: Add a way to add/update as dirty
7 years ago
Tom Hacohen d98d58360e LocalCalendar: Add a function to get calendar by name.
7 years ago
Tom Hacohen ec39aceb1a Mark CollectionInfo id as deprecated.
7 years ago
Tom Hacohen e9428c6ec7 Sync manager: Fix log messages to be the state strings and not int ids.
7 years ago
Tom Hacohen 7afb086c76 Debug activity: Show the number of entries per journal.
7 years ago
Tom Hacohen ced3d7283d Remove change journal from main page.
7 years ago
Tom Hacohen b0b5891e40 Add a collection view activity and move the journal viewer there
7 years ago
Tom Hacohen 3d217f47af Webview: Only load pages from a whilelist, not all.
7 years ago
Tom Hacohen e4043642db Suppress XSS warning.
7 years ago
Tom Hacohen 838cc2a79d Merge contacts/calendars collection handling
7 years ago
Tom Hacohen 3530821ddd JournalViewer: add an activity to view the journal.
7 years ago
Tom Hacohen 42a644cabb EntryEntity: make content a SyncEntry instead of a string.
7 years ago
Tom Hacohen cee9576155 JournalModel: persist collection info inside the model instead of sqlite
7 years ago
Tom Hacohen bd5beaaf91 Move SyncEntry to the models package.
7 years ago
Tom Hacohen a794ee35cf Remove a mention of davdroid from log.
7 years ago
Tom Hacohen 36a8edfb5d Bump version.
7 years ago
Tom Hacohen 431c54ab91 Show the number of journal entries on the collection detail screens.
7 years ago
Tom Hacohen 29fd177a95 Cache journals locally.
7 years ago
Tom Hacohen afcb00e4f1 Account screen: Use translatable strings for the titles
7 years ago
Tom Hacohen b9b930939f Allow renaming collections.
7 years ago
Tom Hacohen 4c7ae90b36 Encryption setup page: add a note about why we are asking for an additional password.
7 years ago
Tom Hacohen 83fde4b81d Use DEBUG_REMOTE_URL to also override the webUri.
7 years ago
Tom Hacohen baff2e886c Traslation: make log authority untranslatable.
7 years ago
Tom Hacohen f84bd386f1 Create collection: only update url after pushed to server.
7 years ago
Tom Hacohen 32df64000f Add stats to the collection edit page.
7 years ago
Tom Hacohen 7bb57c15a9 Add an edit collection page.
7 years ago
Tom Hacohen ce3483cee2 Create collection: update collection if already exists (info.url is set).
7 years ago
Tom Hacohen e7138842c8 Journal manager: Add a way to update a journal.
7 years ago
Tom Hacohen 1b3a4bf318 Add a way to count calendar events/contacts.
7 years ago
Tom Hacohen 4a196102a1 Collection info: serialize url, but not to json.
7 years ago
Tom Hacohen c6fbecc0ff Strings-de: Fix malformed closer.
7 years ago
Tom Hacohen 9e8cfa77fa Remove another unused string.
7 years ago
Larson Maerz f785ed77cd Update German translation.
7 years ago
Tal Hacohen 8c9ec3bcc7 Replace all etesync links to open in the webview activity.
7 years ago
Tal Hacohen c041ddb690 Add webview activity to handle etesync link.
7 years ago
Tom Hacohen 57810cd5f5 Bump version.
7 years ago
Tom Hacohen 4fcc29c1d3 Rename Usage Guide to User Guide.
7 years ago
Tom Hacohen 9ef2ea2d54 Add a "Coming soon" section for the Change Journal
7 years ago
Tom Hacohen 6fdf2c3d1a Remove unused resources (mainly strings).
7 years ago
Tom Hacohen 14fb5ffae8 Change username login field to 'email'.
7 years ago
Tom Hacohen cf9ee98ead Sync interval setting: use the same string for current as selector.
7 years ago
Tom Hacohen 711df7ed55 Bump to version 0.9.1.
7 years ago
Tom Hacohen ae99a0f53a Change exceptions inheriting from HttpException to accept "Response"
7 years ago
Tom Hacohen 571c585292 HttpException: add a way to override response error message.
7 years ago
Tom Hacohen fc939a3cbe Shorten notification error title so account name is visible.
7 years ago
Tom Hacohen ba789da797 Add a UserInactive exception for when the user is no longer active
7 years ago
Tom Hacohen 8e7d363128 Refactor notifications to launch a notification handler
7 years ago
Tom Hacohen d918622ba2 Fix issue with only one of the notifications being clickable.
7 years ago