Commit Graph

6846 Commits

Author SHA1 Message Date
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
Dominik Schürmann
aa596e0165 fix string 2018-06-20 12:31:38 +02:00
Dominik Schürmann
e8328a39b1 Merge pull request #2348 from open-keychain/live-data
Use LiveData in favor of ContentLoader in ViewKeyFragment
2018-06-19 16:44:06 +02:00
Dominik Schürmann
289ba7cadc fix NPE in EncryptDecryptFragment on empty clipboard 2018-06-19 15:41:44 +02:00
Dominik Schürmann
c0b6cea7cb Merge pull request #2347 from open-keychain/clipboard-notify
show Snackbar if clipboard contains key data
2018-06-19 13:28:56 +02:00
Vincent Breitmoser
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
Dominik Schürmann
e80bc488e3 Version 5.1.1 2018-06-12 18:10:48 +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
Vincent Breitmoser
4f6852ccfc log api calls 2018-06-12 15:39:53 +02:00
Vincent Breitmoser
c309c75fee fix error in savePublicKey 2018-06-12 15:39:42 +02:00
Vincent Breitmoser
6e67c14949 correctly parcel SaveKeyringParcel 2018-06-12 13:39:00 +02:00
Vincent Breitmoser
6070e7a9f9 delay cleanup after Application.onCreate 2018-06-12 13:32:29 +02:00
Vincent Breitmoser
dc913fc8ca remove branding of glow effect 2018-06-12 13:24:59 +02:00
Vincent Breitmoser
abc50f7e40 fix crash in ImportKeysAdapter
Fixes #2343
2018-06-12 11:06:54 +02:00