Commit Graph

439 Commits

Author SHA1 Message Date
Vincent Breitmoser
08445f049a schedule cleanup work with unique name 2020-09-07 20:19:13 +02:00
Vincent Breitmoser
5247f2f3b4 update workmanager 2020-05-30 19:13:39 +02:00
Vincent Breitmoser
5172002f0e migrate to androidx 2020-05-30 15:47:09 +02:00
Vincent Breitmoser
48383211c3 clean up remnants of KeychainContract 2018-07-27 10:54:36 +02:00
Vincent Breitmoser
acb9544195 return KeychainExternalProvider as MatrixCursor 2018-07-13 16:27:12 +02:00
Vincent Breitmoser
0b28add654 Use SQLDelight for inserts instead of KeychainProvider 2018-07-13 16:26:35 +02:00
Vincent Breitmoser
eb34f900e4 clean up package structure 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
a31c35a4ad refresh on any key change by default 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
b819e1a83e remove unified query from KeychainProvider 2018-07-04 13:59:21 +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
4416ddf11c Get rid of more places where URIs are used for loading 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
4fcc5253ae use LiveData in LinkedIdWizard and related Fragments 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
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
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
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
40b7701f58 use WorkManager for key sync 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
8adf4a8a64 move notification of key changes into DAOs 2018-06-14 16:52:43 +02:00
Vincent Breitmoser
4967a49949 fix date queries in autocrypt handling 2018-06-12 16:44:27 +02:00
Vincent Breitmoser
c309c75fee fix error in savePublicKey 2018-06-12 15:39:42 +02:00
Vincent Breitmoser
571c02180f clean up ExternalKeychainProvider, remove content resolver hack 2018-06-09 20:29:46 +02:00
Vincent Breitmoser
50af8b6889 Make api permissive operations idempotent 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
8858dd5c3b Return extra values for select sign key call 2018-04-18 15:34:39 +02:00
Vincent Breitmoser
9ab9127005 Call TemporaryFileProvider.cleanup() in Handler
This *might* fix Samsung problems. Let's see if it reduces crash reports.

See also:
https://stackoverflow.com/questions/41474623/sporadic-illegalargumentexception-unknown-url-content
2018-04-18 15:33:08 +02:00
Vincent Breitmoser
03cbc36e23 some fixes for last updated times 2018-03-13 00:12:30 +01:00
Vincent Breitmoser
57a4cecbfb extract LastUpdateInteractor from KeyRepository 2018-03-12 21:45:06 +01:00