Commit Graph
100 Commits
Author SHA1 Message Date
Vincent Breitmoser 4517d2a7f5 fix two more timestamp formats 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 60ec78b9ae always insert autocrypt key before update operations 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 905dd728cc improve NPE robustnes in AutocryptInteractor 2018-07-04 13:59:21 +02:00
Vincent Breitmoser f7859e3bce first iteration, disable predicate for KeyChoiceAdapter 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 2cae2065c0 fix date in key choice adapter 2018-07-04 13:59:21 +02:00
Vincent Breitmoser cb7a774324 delete unused FilterCursorWrapper class 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 5e3e38a3cc fix NPE in switchMap LiveData instances 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 70be2c8ba1 clean up OverriddenWarnigsDao 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 0f473c89d9 ditch unused ListFragmentWorkaround 2018-07-04 13:59:21 +02:00
Vincent Breitmoser eb34f900e4 clean up package structure 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 8ee65f9b04 clean up CertifyKeyFragment 2018-07-04 13:59:21 +02:00
Vincent Breitmoser dca5dfe3aa save all signature relations in KeySignatures table 2018-07-04 13:59:21 +02:00
Vincent Breitmoser a7e6dc35a8 clean up KeySignatures.sq 2018-07-04 13:59:21 +02:00
Vincent Breitmoser a02251274b preselect key if only a single one is available 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 19dfac7fc9 querying by key id shouldn't care about revoked keys 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 799eed1ca2 fix NPE in EncryptModeAsymmetricFragment 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 6789aee8d1 use notification uris mostly correctly 2018-07-04 13:59:21 +02:00
Vincent Breitmoser a31c35a4ad refresh on any key change by default 2018-07-04 13:59:21 +02:00
Vincent Breitmoser f3c4b15b17 add updates to openpgp-api-lib 2018-07-04 13:59:21 +02:00
Vincent Breitmoser cdb95ee844 make single-choice mode work in KeyChoiceAdapter 2018-07-04 13:59:21 +02:00
Vincent Breitmoser fdefd30a46 fix NPE in ImportKeysAdapter 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 225b11c1db more debug actions 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 39f5c5fd03 ignore redundantly inserted allowed api keys 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 471aa34d38 show all keys for SelectPublicKeyFragment 2018-07-04 13:59:21 +02:00
Vincent Breitmoser a2eb6349b8 inserting api apps redundantly is fine, as long as the signature matches 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 016e7d68ee add debug actions activity (reachable from shortcuts) 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 4a6e89a503 aside: add shortcuts 2018-07-04 13:59:21 +02:00
Vincent Breitmoser b819e1a83e remove unified query from KeychainProvider 2018-07-04 13:59:21 +02:00
Vincent Breitmoser febe9cbe92 use MaterialChipsInput for encryption recipients 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 387ec6ed96 ditch unused KeyCursorAdapter classes 2018-07-04 13:59:21 +02:00
Vincent Breitmoser abac3b2445 use KeyChoiceAdapter in SelectSignKeyIdListFragment 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 57b96dac2a use KeyChoiceAdapter in SelectPublicKeyFragment 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 9ea36286dc use FlexibleAdapter for new KeyChoiceAdapter 2018-07-02 14:50:11 +02:00
Vincent Breitmoser dbc1e5f523 use KeyRepository in BackupRestoreFragment 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 375dd39ed1 use LiveData to load data in TransferFragment 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 353c75e49c use KeyRepository in ContactHelper 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 4ac8c275f3 get notification URIs from DatabaseNotificationManager 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 83d5aafadb use LiveData for signing key spinners 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 1635c261b8 ditch CachedPublicKeyRing, and some cleanup 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 31830a8c86 extract database access from CachedPublicKeyRing 2018-07-02 14:50:11 +02:00
Vincent Breitmoser aa640f3227 Small layout fix to key list item 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 8d835b3b7f use LiveData to load key data in DecryptFragment 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 4416ddf11c Get rid of more places where URIs are used for loading 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 1425f34321 back to using an operation for interactive update (for progress dialog) 2018-07-02 14:50:11 +02:00
Vincent Breitmoser a64d898716 hide view key fragment cards until data is loaded 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 4cdc57c690 clean up KeychainDatabase a bit 2018-07-02 14:50:11 +02:00
Vincent Breitmoser c8481d0247 use Enum for verification status of certificates 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 64bde4c680 extract findByUserId and findByEmail usage from KeychainProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser fa127add45 use LiveData in ViewKeyKeybaseFragment 2018-07-02 14:50:11 +02:00
Vincent Breitmoser e6fe353469 minor cleanup in UploadKeyActivity 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 0793300b73 use LiveData in QrCodeViewActivity 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 5d8bc8fc50 remove unused SelectIdentityKeyListFragment 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 4fcc5253ae use LiveData in LinkedIdWizard and related Fragments 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 2a5b93d9c5 fix unit tests 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 38bf421023 simplify ViewKeyFragment 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 8d584df44c ditch LoaderFragment 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 5cfe0d140f use LiveData to load data in ViewKeyActivity 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 2d1ff8cdcc use LiveData in ViewKeyAdvActivity 2018-07-02 14:50:11 +02:00
Vincent Breitmoser d57a409fac extract select by signer from KeychainProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 6cd065a3bd extract subkey loading from KeychainProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 500c219fa0 Extract remaining user id loading from KeychainProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser cf0b659e78 Some cleanup in user id loading 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 921431b05f more Dao work 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 1556db897f introduce AbstractDao, fix import of keys (missing delete in KeychainProvider) 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 587b8b4cc9 Don't use backstack for back button handling in MainActivity 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 729121c13c add comment to buildfiles about android debug-db for convenience 2018-07-02 14:50:11 +02:00
Vincent Breitmoser b4ac6cd337 Split up FlexibleKeyItem, re-add support for dummy item if user has no secret keys 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 377bf55b70 extract linked id loading from ContentProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 9ad29318e8 extract deletion of keys from ContentProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser f87209d242 use FlexibleAdapter with LiveData in KeyListFragment 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 72f3ed89a6 update build tools to 27.1.1, and gradle wrapper to 4.8 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 77c89cfa98 extract reading of public key data from ContentProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 6585e7113d move loading of certs into CertificationDao 2018-07-02 14:50:11 +02:00
Vincent Breitmoser f3ef530b96 ditch ViewCertActivity and cert fragment in AdvKeyView 2018-07-02 14:50:11 +02:00
Vincent Breitmoser de708288fb minor layout fix with autocrypt ids 2018-07-02 14:50:11 +02:00
Vincent Breitmoser e144a402b5 extract autocrypt_peers from KeychainProvider into AutocryptPeerDao 2018-07-02 14:50:11 +02:00
Vincent Breitmoser bae90f1b23 extract UpdatedKeys access from KeychainProvider into KeyMetadataDao 2018-07-02 14:50:11 +02:00
Vincent Breitmoser d133b732e5 use SQLDelight, remove ApiApps access from KeychainProvider 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 59c9f52e85 Store secret keys in private storage instead of database 2018-07-02 14:50:11 +02:00
Vincent Breitmoser a3fd1609df fix table reference 2018-07-02 14:50:11 +02:00
Vincent Breitmoser f22c761376 fix unit tests, add shadow for WorkerManager 2018-07-02 14:50:11 +02:00
Vincent Breitmoser 8bf71b893c use KeyserverSyncWorker for updating keys in the foreground, too 2018-07-02 14:50:11 +02:00
Vincent Breitmoser b854331daa Show notification during key sync 2018-06-21 19:21:41 +02:00
Vincent Breitmoser 40b7701f58 use WorkManager for key sync 2018-06-21 19:21:41 +02:00
Vincent Breitmoser 08ab5669a5 extract getDrawableAsNotificationBitmap into ResourceUtils 2018-06-21 19:21:41 +02:00
Vincent Breitmoser 1593cc0826 use WorkManager to schedule temporary file cleanups 2018-06-21 19:21:41 +02:00
Vincent Breitmoser b29d98d5a2 add WorkManager arch component 2018-06-21 19:21:41 +02:00
Vincent Breitmoser d57fffb7ba remove capturing pattern group names for compatibility
Fixes #2352
2018-06-21 19:17:22 +02:00
Vincent Breitmoser 651e799fe2 fix fragment management in AppSettingsActivity 2018-06-21 13:40:31 +02:00
Vincent BreitmoserandDominik Schürmann 89aa99a13f show Snackbar if clipboard contains key data 2018-06-19 13:28:29 +02:00
Vincent Breitmoser 8adf4a8a64 move notification of key changes into DAOs 2018-06-14 16:52:43 +02:00
Vincent Breitmoser 10d3ca814c Use LiveData in favor of ContentLoader for ViewKeyFragment 2018-06-14 16:52:43 +02:00
Vincent Breitmoser 700e06dcb9 Catch SecurityException when opening URIs during decrypt 2018-06-14 14:24:56 +02:00
Vincent Breitmoser 0ef46ecb81 use DateUtils instead of PrettyTime (fixes related crash) 2018-06-14 14:21:14 +02:00
Vincent Breitmoser 87e56580a6 Some dark theme fixes for key search activity
Fixes #2287
2018-06-14 14:08:07 +02:00
Vincent Breitmoser 996856ddde Fix NPE on missing charset in HkpKeyserverClient
Hopefully fixes #2345
2018-06-14 13:52:47 +02:00
Vincent Breitmoser 5db5db2a0c clear cache after changing passphrase
Fixes #2239
2018-06-13 18:25:35 +02:00
Vincent Breitmoser 69756eb84a prevent NPE in divider decoration 2018-06-12 18:36:13 +02:00
Vincent Breitmoser fc6084a7ef set cursor factory before the cursor is actually created 2018-06-12 18:09:47 +02:00
Vincent Breitmoser 4967a49949 fix date queries in autocrypt handling 2018-06-12 16:44:27 +02:00