Commit Graph
100 Commits
Author SHA1 Message Date
Vincent Breitmoser dc81e0254c use snackbar from repository (again), and update to 2.11.0
This release merged our pull requests for round corners on tablet for top line,
and nicer dismiss-on-swipe animation.

https://github.com/nispok/snackbar/pull/134
https://github.com/nispok/snackbar/pull/135
2015-08-07 12:07:39 +02:00
Vincent Breitmoser e4b113701c Merge remote-tracking branch 'origin/master' 2015-07-15 21:14:53 +02:00
Vincent Breitmoser 4cef97be5f update safeslinger lib (closes #1434) 2015-07-15 00:47:41 +02:00
Vincent Breitmoser 2ceec6ff68 fix verification of android support lib (broken in b59be903) 2015-07-14 19:21:25 +02:00
Vincent Breitmoser d0c389775a Merge remote-tracking branch 'origin/master' 2015-07-14 16:49:12 +02:00
Vincent Breitmoser 49f3b3780d update snackbar with new animation flow 2015-07-14 16:49:06 +02:00
Vincent Breitmoser b59be903c3 Revert "Use snackbar lib from maven repo"
This reverts commit bfc57aefa5.

Conflicts:
	OpenKeychain/build.gradle
	settings.gradle
2015-07-14 14:37:29 +02:00
Vincent Breitmoser 96dbb9e60c add pseudo-static id property to CryptoOperationHelper 2015-07-09 11:51:38 +02:00
Vincent Breitmoser 3b189fbe31 run queued operations in onViewStateRestored, *after* onActivityCreated 2015-07-09 02:35:54 +02:00
Vincent Breitmoser 7f9cc445fb cryptoophelper: requested code must be saved between instances! 2015-07-09 02:35:22 +02:00
Vincent Breitmoser a549938b61 multi-decrypt: save currentInputUri state 2015-07-09 02:34:03 +02:00
Vincent Breitmoser 35b9dabcb8 backup: only ask for passphrase for secret keys which have one 2015-07-09 02:33:16 +02:00
Vincent Breitmoser 3c239bfb34 use onResumeFragments instead of onResume for fragment initialization 2015-07-09 01:14:12 +02:00
Vincent Breitmoser 20cebc2788 change wording of export dialog, remove "export secret" checkbox 2015-07-08 17:25:07 +02:00
Vincent Breitmoser e0cb891a1f Merge remote-tracking branch 'origin/master' 2015-07-08 15:24:30 +02:00
Vincent Breitmoser 6565adc5cc keylist: show delete as icon in multi-select 2015-07-08 15:24:10 +02:00
Vincent Breitmoser 74a4effcd8 hide keyboard before operations, too 2015-07-08 15:23:55 +02:00
Vincent Breitmoser a74d86c3d8 grey out text color of key creation date for disabled items 2015-07-08 15:14:38 +02:00
Vincent Breitmoser e51d443154 change title on backstack change in MainActivity 2015-07-08 15:13:58 +02:00
Vincent Breitmoser d7a7c7310a hide keyboard on crypto error/success 2015-07-08 15:13:44 +02:00
Vincent Breitmoser eab46df9a3 cleanup KeyListFragment, remove export all keys 2015-07-08 14:53:46 +02:00
Vincent Breitmoser 9eee9acba2 multi-decrypt: add retry mechanism 2015-07-08 05:15:52 +02:00
Vincent Breitmoser bf2dc8edc3 multi-decrypt: add cancelled state 2015-07-08 04:53:43 +02:00
Vincent Breitmoser 5633fcc92f fix symmetric passphrase caching (fixes #1401) 2015-07-08 04:36:43 +02:00
Vincent Breitmoser 6cbc0ceeae comment for database fix 2015-07-08 03:52:38 +02:00
Vincent Breitmoser 70d94acc58 put encryptdecrypt overview into a scrollview 2015-07-08 03:52:38 +02:00
Vincent Breitmoser af546ae101 apply database fix for bogus rows introduced by issue #1402 2015-07-08 02:55:35 +02:00
Vincent Breitmoser dad2ba0db8 fix expiry check in edit key ui 2015-07-08 02:34:03 +02:00
Vincent Breitmoser c01c71ba68 no progress dialog for bind action in view key / yubikey fragment 2015-07-08 02:30:06 +02:00
Vincent Breitmoser 3af97bf0e6 some cleanup and fix for back button in ImportKeysActivity (fixes #1372) 2015-07-08 02:29:04 +02:00
Vincent Breitmoser 510999c3a2 fix result type for divert-to-card new subkey error 2015-07-08 02:28:05 +02:00
Vincent Breitmoser d9b07625e8 addition of subkeys for divert-to-card primary keys is not supported 2015-07-08 01:42:47 +02:00
Vincent Breitmoser 642f83c1f4 better handling of divert-to-card keys for subkey modifications 2015-07-08 01:41:55 +02:00
Vincent Breitmoser ac2c8f994e (missed a couple files in last commit) 2015-07-08 00:01:39 +02:00
Vincent Breitmoser 587e7d088b use QueueingCryptoOperationFragment in all other places 2015-07-07 23:57:12 +02:00
Vincent Breitmoser 310228f6ba introduce QueueingCryptoOperationFragment to queue result handling in detached state 2015-07-07 23:43:23 +02:00
Vincent Breitmoser 895d1fbef6 try cache in certify operation (fixes #1242) 2015-07-07 23:41:44 +02:00
Vincent Breitmoser 65362beaf9 move queued action handling from prev commit into onActivityCreated 2015-07-07 22:23:08 +02:00
Vincent Breitmoser c8107bd4ed handle getActivity() by queueing results in CreateKeyFinalFragment 2015-07-07 21:52:17 +02:00
Vincent Breitmoser a91fc1c0c9 fix passphrase->deletion ui flow for secret keys, and disregard cache 2015-07-07 19:55:27 +02:00
Vincent Breitmoser b1f5290dfa fix some nullpointers from proxy implementation 2015-07-07 17:45:27 +02:00
Vincent Breitmoser 64cec07b16 fix handling of progress dialog creation in CryptoOperationFragment (fixes #1407) 2015-07-07 17:16:12 +02:00
Vincent Breitmoser a320affe86 tests: make sure encryption happens to all enc-capable subkeys 2015-07-07 17:16:11 +02:00
Vincent Breitmoser 148867ae86 actually disable non-enabled items in keyspinner (in keyadapter) (fixes #1366) 2015-07-06 17:19:08 +02:00
Vincent Breitmoser e9e9cf2374 also catch DecoderException in decryptverify 2015-07-06 16:37:47 +02:00
Vincent Breitmoser 8b439be1f5 don't cache exporthelper, keep type for KeyItem in KeySpinner 2015-07-06 16:24:26 +02:00
Vincent Breitmoser 7648602fc8 encrypt to all encryption subkeys, rather than just the first 2015-07-06 02:18:34 +02:00
Vincent Breitmoser f1a75a81e7 catch ArrayIndexOutOfBoundsException in decrypt operation, might be thrown from BouncyCastle 2015-07-06 02:02:52 +02:00
Vincent Breitmoser 922d4c6a96 fix PromoteKeyOperationTest 2015-07-06 01:20:55 +02:00
Vincent Breitmoser e70d06603a forgot a couple lines to commit 2015-07-06 00:59:28 +02:00
Vincent Breitmoser 42cd103355 nicer error msg if input data cannot be read 2015-07-06 00:55:34 +02:00
Vincent Breitmoser 17defe556a cleanup, NonNull annotation, never return null in PgpDecryptVerify 2015-07-06 00:52:53 +02:00
Vincent Breitmoser 539379a629 some cleanup and documentation 2015-07-06 00:10:54 +02:00
Vincent Breitmoser 7e83900d6c make sure clipboard service retrieval is always null-proof 2015-07-05 21:49:02 +02:00
Vincent Breitmoser bd78166c66 don't show notification in MainActivity when state is restored 2015-07-05 21:21:34 +02:00
Vincent Breitmoser 4d8be637de better getActivity and getSystemService null handling in encryptfilesfragment 2015-07-05 21:20:57 +02:00
Vincent Breitmoser f306722276 set data for query intent (fix #1389) 2015-07-05 20:37:21 +02:00
Vincent Breitmoser f29d8351ba instrument: add filesize check to text encryption test 2015-06-30 17:10:50 +02:00
Vincent Breitmoser 4407973110 small layout fix in EncryptTextFragment 2015-06-30 16:40:00 +02:00
Vincent Breitmoser d26379da3a make timeout method in PassphraseCacheService more robust against nullpointers 2015-06-30 16:31:02 +02:00
Vincent Breitmoser 473866baaf instrument: add test for empty clipboard, fix empty clipboard error 2015-06-30 15:37:02 +02:00
Vincent Breitmoser f1c0c3e00c earlier error on empty clipboard 2015-06-30 15:15:03 +02:00
Vincent Breitmoser 27441c7d63 fail more gracefully on empty clipboard in DecryptActivity 2015-06-30 15:13:28 +02:00
Vincent Breitmoser 853964670b instrument: add tests for adv key share fragment 2015-06-29 14:59:48 +02:00
Vincent Breitmoser c43e29b621 cleanup share fragment, fix sharing of fingerprint 2015-06-29 14:59:48 +02:00
Vincent c3d5160f17 Merge pull request #1324 from open-keychain/v/multi-decrypt
finished encrypt/decrypt rewrite
2015-06-26 16:41:17 +02:00
Vincent Breitmoser bda15ff92d instrument: small fix and up to date coverage.ec 2015-06-26 16:31:14 +02:00
Vincent Breitmoser 0077891f1d Merge branch 'master' into v/multi-decrypt 2015-06-26 15:40:38 +02:00
Vincent Breitmoser 56ef0f320b disable automatic accept for own uid in RemoteService, and fix some warnings 2015-06-26 15:40:12 +02:00
Vincent Breitmoser 4f23161d93 instrument: stash away bitmapmatcher for later 2015-06-26 13:05:52 +02:00
Vincent Breitmoser dce4503ac5 Merge remote-tracking branch 'origin/master' into v/multi-decrypt 2015-06-26 02:44:59 +02:00
Vincent Breitmoser 51d35c7a83 instrument: first couple of tests for OpenPGP API 2015-06-26 01:59:11 +02:00
Vincent Breitmoser 88c86e1945 use KeyAdapter for AllowedKeysListFragment 2015-06-26 01:59:11 +02:00
Vincent Breitmoser 3af5ba0343 fix warnings in PassphraseCacheService 2015-06-26 01:59:11 +02:00
Vincent Breitmoser a990044fd9 fix: save file 2015-06-23 23:13:19 +02:00
Vincent Breitmoser ed82f0de9e instrument: save file 2015-06-23 23:13:11 +02:00
Vincent Breitmoser 8d141176bd fix original file deletion (and instrumentation) 2015-06-23 21:56:27 +02:00
Vincent Breitmoser 45a8510bf0 instrument: delete file and inline preference tests 2015-06-23 21:17:28 +02:00
Vincent Breitmoser f9dea31300 implement deletion of files 2015-06-23 17:07:59 +02:00
Vincent Breitmoser 6a5bd6509b implement saving of files 2015-06-23 16:58:40 +02:00
Vincent Breitmoser 558cc6befc instrument: adapt to new decrypt file dialog, and some minor fixes 2015-06-23 00:09:18 +02:00
Vincent Breitmoser 4826e0a8c8 move select file logic into EncryptDecryptOverviewFragment 2015-06-22 23:48:41 +02:00
Vincent Breitmoser 8d1dc940c4 small fix and some cleanup in ServiceProgressFragment 2015-06-22 23:08:03 +02:00
Vincent Breitmoser 1590d8f538 instrument: some cleanup 2015-06-22 23:07:38 +02:00
Vincent Breitmoser aee2ca7b9a update instrumentation coverage file 2015-06-22 17:32:32 +02:00
Vincent Breitmoser 8307a5bffc instrument: test error handling in asymmetric operations 2015-06-22 15:45:08 +02:00
Vincent Breitmoser 5f91c57b4a don't expose dataset for FileAdapter in encrypt view, small improvements to error handling 2015-06-22 15:44:15 +02:00
Vincent Breitmoser 97d45a0faa order menu items for encrypt operations 2015-06-22 14:32:15 +02:00
Vincent Breitmoser b2dec85421 multi-decrypt: use indeterminate progress only 2015-06-22 14:27:18 +02:00
Vincent Breitmoser 2e8fb9cbdd instrument: restructure some tests, add bad clipboard data test 2015-06-22 13:44:14 +02:00
Vincent Breitmoser 804a58e779 instrument: some updates to asymmetric decrypt tests 2015-06-22 03:16:32 +02:00
Vincent Breitmoser 361ad99928 add failure state to DecryptListFragment 2015-06-22 03:13:55 +02:00
Vincent Breitmoser fe7d13c85f add extra for initial fragment in MainActivity 2015-06-22 03:11:46 +02:00
Vincent Breitmoser 2786869e1b update keychain intents submodule (for travis) 2015-06-20 23:40:42 +02:00
Vincent Breitmoser b7c1a18354 update instrumentation coverage file 2015-06-20 23:32:28 +02:00
Vincent Breitmoser 2a05e2a17b instrument: fix DrawableMatcher for varying contexts 2015-06-20 22:32:55 +02:00
Vincent Breitmoser 675df57abd don't show "delete original file" for non-file input uris 2015-06-20 22:29:18 +02:00
Vincent Breitmoser 2e8ae577b5 instrument: check for encrypt/sign status icons 2015-06-20 22:29:03 +02:00
Vincent Breitmoser 0be790dcad fix display of signed-only content 2015-06-20 21:34:21 +02:00
Vincent Breitmoser 752204d3cc instrument: update asymmetric tests 2015-06-20 21:34:11 +02:00