Commit graph

70 commits

Author SHA1 Message Date
cketti
a3033d1983 Use Timber for logging 2021-11-26 15:52:11 +01:00
cketti
c4e5e6b1ed Rename PROVIDER_BLACKLIST to DISALLOWED_PROVIDERS 2020-06-02 17:22:39 +02:00
cketti
bfbb744bbc Don't create a new OpenPgpServiceConnection when there already is one
Doing so would leak the ServiceConnection created by the previous
OpenPgpServiceConnection.
2020-02-14 02:12:27 +01:00
cketti
c1c57cfd8d Update AndroidX Lifecycle to 2.2.0 2020-02-06 16:22:51 +01:00
cketti
a097c7761a Remove version checks for API 21 devices 2019-11-19 15:24:17 +01:00
cketti
bda31e5616 Fix crash when disabling OpenPGP support in settings 2019-05-19 02:54:46 +02:00
cketti
a7d6d9c50f Switch to com.takisoft.preferencex artifacts 2019-02-09 22:08:25 +01:00
cketti
47deb4e5ba Switch to androidx artifacts 2019-02-09 22:08:25 +01:00
cketti
56882dc6c3 Fix unresolved references in Javadoc comments 2018-09-03 00:13:58 +02:00
BO41
c043eb0df4 Replace explicit type arguments with <> 2018-09-02 23:35:09 +02:00
BO41
f24cb76d9e Improve accessibility, correctness and performance 2018-09-02 22:49:48 +02:00
cketti
cec704f314 Change variable naming scheme in Gradle build scripts 2018-05-23 19:42:39 +02:00
cketti
5e3efd3a19 Remove unused OpenPgpAppPreference 2018-05-21 04:43:51 +02:00
cketti
34e317a539 Replace OpenPgpKeyPreference with compat version 2018-05-21 04:35:20 +02:00
cketti
3896a53369 Convert 'account settings' to use PreferenceFragmentCompat 2018-05-21 04:35:19 +02:00
Vincent Breitmoser
8542119a91 turn presenter into a dependency 2018-05-20 03:08:59 +02:00
Vincent Breitmoser
6794a15b13 Add AutocryptKeyTransferActivity 2018-05-20 03:07:08 +02:00
Vincent Breitmoser
e91e8cfc1a Add extra to show autocrypt hint in OpenKeychain key select dialog 2018-04-18 19:40:26 +02:00
Vincent Breitmoser
ead701ec91 Use Timber instead of Log 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
ff8a6f0100 Don't care if we get UI_REQUIRED state
GET_SIGN_KEY_ID is a valid call without registration in newer
OpenKeychain. For older versions, it doesn't matter since we
get the registration dialog in a pending intent that will be
called as usual.
2018-04-04 14:06:51 +02:00
Vincent Breitmoser
f0c438e2d4 Cache activity result if provider isn't ready yet 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
6bf860af7d Support key selection info mechanism 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
764a98db32 don't save state individually for OpenPgpKeyPreference 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
8472d64731 Fix read of incorrect value while parceling 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
ccf98177e5 use OpenPgpApiManager to handle service connection in OpenPgpKeyPreference 2018-04-04 14:06:51 +02:00
Vincent Breitmoser
e4aa00d8a7 Make OpenPgpApiManager more testable, and fix related unit tests 2018-04-02 17:42:03 +02:00
Vincent Breitmoser
0c2f9bfb31 Slight improvements to OpenPgp api connection state handling 2018-04-02 17:36:39 +02:00
Vincent Breitmoser
fedf35815f Redo handling of user interaction pending intent 2018-04-01 13:49:28 +02:00
Vincent Breitmoser
ee16a83ec8 move OpenPgpApiManager into openpgp-api lib 2018-04-01 13:49:28 +02:00
Vincent Breitmoser
732993b4ad Small ui improvements to OpenPGP app select 2018-03-30 12:35:14 +02:00
Vincent Breitmoser
382d46a7cb Handle missing OpenPGP app more gracefully 2018-03-30 12:35:14 +02:00
Vincent Breitmoser
909e9fbdd8 Redesign end-to-end account settings 2018-03-30 12:34:49 +02:00
Vincent Breitmoser
88c92feaf3 Support parsing of Autocrypt-Gossip headers 2018-01-29 23:59:31 +01:00
Joshua Nelson
a2ad2dd10b Removed unthrown exceptions from method signatures (#2913)
For OAuth2TokenProvider.getToken(), changed exception thrown to
match method signature (AssertionError -> AuthenticationFailedException)
2017-12-27 12:28:27 +00:00
Vincent Breitmoser
6de7f9dbed Remove pgp clearsign data during view extraction 2017-09-13 14:21:34 +02:00
Vincent Breitmoser
96c8396422 handle incompatible openpgp api version more specifically 2017-09-01 16:19:14 +02:00
Vincent Breitmoser
d8f7b8308b query autocrypt status for crypto status icon 2017-09-01 16:19:14 +02:00
Vincent Breitmoser
cfb7a53cd4 obtain crypto status through dry-run signencrypt call 2017-08-31 22:48:12 +02:00
Vincent Breitmoser
0fe68498e0 change method name for less redundancy 2017-08-31 13:19:25 +02:00
Vincent Breitmoser
515fc21c77 update parameter names, and handle prefer-encrypt=mutual 2017-08-31 13:19:25 +02:00
Vincent Breitmoser
6acc2a17bb update OpenPgpApi to version 12 2017-08-31 13:19:25 +02:00
Vincent Breitmoser
18b09b3bee handle override flag from service, and indicate support for it 2017-04-29 22:42:06 +02:00
Vincent Breitmoser
8a4fd60165 show detail button in warning dialog, if pending intent is available 2017-04-29 22:42:06 +02:00
Vincent Breitmoser
46046f8926 openpgp-setup: move crypto provider to global settings 2017-02-08 03:56:01 +01:00
Sebastian Kürten
f4b3ef3b41 Fix a few Javadoc typos 2017-02-06 08:48:24 +01:00
Vincent Breitmoser
407d6d7ec9 incorporate feedback 2017-01-23 13:18:44 +01:00
Vincent Breitmoser
164f38c5b0 display apg in list of choices, show warning dialog when selected 2017-01-23 13:18:44 +01:00
Vincent Breitmoser
0644fa0481 more tests for RecipientPresenter 2017-01-10 15:12:44 +01:00
Vincent Breitmoser
0ecbf441c1 handle attachments with CHILD_PART_CONTAINS_DATA data location (message/rfc822) 2016-12-11 02:33:56 +01:00
Vincent Breitmoser
de13e10be1 update OpenPgpSignatureResult to use enums 2016-11-23 16:08:25 +01:00