Commit Graph
100 Commits
Author SHA1 Message Date
Vincent Breitmoser 2c8e219aa8 use ThreadPool for background task execution 2018-07-17 14:25:14 +02:00
Vincent Breitmoser 6ed110f1ee Remove unused field in KeyListFragment (fixes build) 2018-07-16 17:54:33 +02:00
Vincent Breitmoser 74ee94683b request FOREGROUND_SERVICE permission
starting in Android P, this permission is required to run a foreground
service. see https://developer.android.com/reference/android/app/Service#startForeground(int,%20android.app.Notification)
2018-07-16 17:49:30 +02:00
Vincent Breitmoser 555f335dbc Introduce NotificationChannelManager 2018-07-16 13:24:44 +02:00
Vincent Breitmoser ffa5b84593 prevent NPEs in linked id creation 2018-07-16 11:10:42 +02:00
Vincent Breitmoser e7dede56ca fix NPE in KeychainService 2018-07-16 10:34:31 +02:00
Vincent Breitmoser a3021bbd83 Clean up security token transport if connection procedure failed 2018-07-15 12:29:06 +02:00
Vincent Breitmoser fbbc77335b fix NPE for data signed with an unknown key 2018-07-15 12:25:32 +02:00
Vincent Breitmoser 634694b20e force reinserting keys on manual key update 2018-07-14 13:18:08 +02:00
Vincent Breitmoser e3e5f7feec use explicit order for insert operations
This prevents a problem from different column orders in database tables.
In particular, this occurred with the user_packets table, where the `rank` column moved up in order.
2018-07-14 13:05:08 +02:00
Vincent Breitmoser a69eaab0ea fix insertion of data into KeySignature table 2018-07-14 12:03:44 +02:00
Vincent Breitmoser a48efc6835 use key_list_item layout for RequestKeyPermissionActivity 2018-07-13 17:22:27 +02:00
Vincent Breitmoser aa9132b4c6 small NPE fix 2018-07-13 17:06:23 +02:00
Vincent BreitmoserandGitHub acc8e82e92 Merge pull request #2375 from open-keychain/ditch-keychain-provider
Ditch keychain provider
2018-07-13 16:56:24 +02:00
Vincent BreitmoserandGitHub 133b099b2f Merge pull request #2379 from open-keychain/usb-permission
Request missing permission when rescanning USB devices
2018-07-13 16:56:04 +02:00
Vincent BreitmoserandGitHub 54f50a7311 Merge pull request #2376 from open-keychain/notification-channel
Introduce Notification channel for passphrase cache
2018-07-13 16:33:06 +02:00
Vincent Breitmoser acb9544195 return KeychainExternalProvider as MatrixCursor 2018-07-13 16:27:12 +02:00
Vincent Breitmoser 3150d2d3f9 move UidStatus querying logic into UserIdDao 2018-07-13 16:27:12 +02:00
Vincent Breitmoser 58e0da0d8c always set trust db to initialized once it's there 2018-07-13 16:27:12 +02:00
Vincent Breitmoser 4c8fda0798 Introduce uidStatus view for external provider 2018-07-13 16:27:12 +02:00
Vincent Breitmoser 86ecd13c1d use correct sqlite expression for expiry 2018-07-13 16:26:35 +02:00
Vincent Breitmoser 0b28add654 Use SQLDelight for inserts instead of KeychainProvider 2018-07-13 16:26:35 +02:00
Vincent Breitmoser 36b48bc282 Update target sdk to 28 2018-07-13 16:24:23 +02:00
Vincent Breitmoser 76a8aa1fbc Fix selectFingerprintsForKeysolderThan query 2018-07-13 16:13:42 +02:00
Vincent Breitmoser f97531d628 Prevent flicker of dummy item during key update 2018-07-13 16:13:42 +02:00
Vincent Breitmoser 84f20f6646 synchronously schedule background work, to avoid cancelling race condition 2018-07-13 14:52:50 +02:00
Vincent BreitmoserandGitHub de3123b2c3 Merge pull request #2380 from kowalski7cc/adaptive-icon
Add adaptive icons, fixes #2273
2018-07-13 14:35:24 +02:00
Vincent Breitmoser c7bef6efda fix bug with KeyserverSyncManager updates in SettingsActivity 2018-07-13 14:32:58 +02:00
Vincent Breitmoser a4e2e2f4af Request missing permission when rescanning USB devices 2018-07-12 18:34:17 +02:00
Vincent Breitmoser 4f4be8ed47 make recreation of views atomic operation 2018-07-12 17:38:10 +02:00
Vincent Breitmoser 16802dc259 Use overflow menu instead of long click in decrypt file list
Fixes #2370
2018-07-12 17:28:19 +02:00
Vincent Breitmoser 03ddbbe9a2 small cleanup of DecryptListFragment 2018-07-12 17:19:21 +02:00
Vincent Breitmoser be1853d789 Introduce Notification channel for passphrase cache 2018-07-12 16:37:22 +02:00
Vincent Breitmoser 750aa42035 Scroll to new key after import 2018-07-12 14:12:00 +02:00
Vincent Breitmoser 00caf28ee2 use ContextCompat instead of deprecated methods 2018-07-12 13:39:13 +02:00
Vincent Breitmoser 639b6994ce set ViewKeyActivity title to key id for anonymous keys 2018-07-12 13:39:02 +02:00
Vincent Breitmoser da9f34bb8e hide identities card if there are no identities 2018-07-12 13:27:18 +02:00
Vincent Breitmoser e8bec994bf show keys with no uids in their own "anonymous" category
Fixes #2373
2018-07-12 13:17:43 +02:00
Vincent Breitmoser b5d49f9ae8 fix potential NPE in TransferFragment 2018-07-12 12:59:12 +02:00
Vincent Breitmoser 33a749a115 load data from correct masterKeyId in ViewKeyActivity
Fixes showing key info from linked contacts
2018-07-12 12:32:49 +02:00
Vincent BreitmoserandGitHub 8e73076819 Merge pull request #2355 from open-keychain/export-public
Allow export of public keys without encryption
2018-07-06 17:49:44 +02:00
Vincent Breitmoser c8136989d1 Allow export of contact keys without encryption 2018-07-06 12:50:38 +02:00
Vincent Breitmoser 71303c27eb clean up BackupRestoreFragment 2018-07-06 12:43:14 +02:00
Vincent Breitmoser 3e00320bac Correctly fold user packet queries and display verification status 2018-07-05 20:46:30 +02:00
Vincent Breitmoser eda75276ce use temporary db for external content provider queries 2018-07-05 20:14:35 +02:00
Vincent Breitmoser cc903533a5 workaround proguard bug in ChipsLayoutManager 2018-07-04 23:50:22 +02:00
Vincent BreitmoserandGitHub 63b37deafa Merge pull request #2351 from open-keychain/sql-delight
Use SqlDelight in favor of ContentProviders
2018-07-04 22:58:56 +02:00
Vincent Breitmoser 1fad244c7a Correctly set keyserver status to unknown if importing from file 2018-07-04 22:44:09 +02:00
Vincent Breitmoser 37040f8586 update "last seen" when uploading to keyserver 2018-07-04 22:31:40 +02:00
Vincent Breitmoser 5b4f6cebf7 always reset singleton if running a unit test 2018-07-04 22:09:52 +02:00
Vincent Breitmoser 51551eb0c7 don't include revoked user packets in search string 2018-07-04 21:57:52 +02:00
Vincent Breitmoser 75cf861674 Cache instances of KeyInfoFormatter 2018-07-04 19:39:28 +02:00
Vincent Breitmoser a975586086 move MaterialChipsInput to org.sufficientlysecure namespace 2018-07-04 16:46:34 +02:00
Vincent Breitmoser a218a10880 update dependencies in MaterialChipsInput 2018-07-04 16:39:06 +02:00
Vincent Breitmoser 69fb637a70 fix preselecting multiple encryption recipients 2018-07-04 16:35:11 +02:00
Vincent Breitmoser 5c13b21577 Support stable ids in chip adapters 2018-07-04 14:02:52 +02:00
Vincent Breitmoser 24090cbf18 fix "Create new key" layout in SelectSignKeyIdListFragment 2018-07-04 14:02:52 +02:00
Vincent Breitmoser 8a33fa8540 make search in uidList case insensitive in all places 2018-07-04 14:02:52 +02:00
Vincent Breitmoser b95c885aa0 fix race condition crash in ViewKeyActivity 2018-07-04 14:02:52 +02:00
Vincent Breitmoser 126224e751 ditch unused KeyUpdateHelper class 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 794b1dc8e0 group non-letters in "#" group, display keys with only an address in-order 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 452f3600db move EncryptRecipientDropdownAdapter to chips package 2018-07-04 13:59:21 +02:00
Vincent Breitmoser fada189579 add preliminary EncryptRecipientChipAdapter 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 76e624f12f show partial list of keys if an error is thrown 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 93e8c74ec6 generify ChipsInput, extract SimpleChipsInput 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 355a4eaa0f extract DelegateWindowCallback superclass for MyWindowCallback 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 71c3b71e35 better MaterialChipsInput, first iteration 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 053cbdf43e include MaterialChipsInput as subdir lib 2018-07-04 13:59:21 +02:00
Vincent Breitmoser c98e835936 drop dependency on SuperSlim 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 71b4598687 Refresh cancellation signal for newly launched operation 2018-07-04 13:59:21 +02:00
Vincent Breitmoser bf9179391b Add notification uris to ApiAppDao 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 7ab2161cba use correct filtered list for key selection in RemoteSelectidentityPresenter 2018-07-04 13:59:21 +02:00
Vincent Breitmoser b7dcb5d98d Stricter null check for selected master key id 2018-07-04 13:59:21 +02:00
Vincent Breitmoser 5e2330c63f Grant access to right key id after generation 2018-07-04 13:59:21 +02:00
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