Commit Graph
100 Commits
Author SHA1 Message Date
Vincent Breitmoser df204daece fix key search when launched from keyserver uri 2018-07-22 20:56:24 +02:00
Vincent Breitmoser 3a7c5813e4 fix NPE during tests 2018-07-20 16:26:52 +02:00
Vincent Breitmoser 71ad44ea7c more robustly re-schedule key sync 2018-07-19 11:43:27 +02:00
Vincent Breitmoser e21a46fc07 More consistent analytics consent dialog behavior 2018-07-19 10:37:09 +02:00
Vincent Breitmoser 2e7fca846e never enable analytics if Tor is enabled 2018-07-19 10:37:09 +02:00
Vincent Breitmoser e62cfd0185 fix expiry bug in autocrypt key retrieval 2018-07-19 10:37:09 +02:00
Vincent Breitmoser cdb3960fa1 remove unused ContentResolver field from KeyRepository 2018-07-18 17:10:01 +02:00
Vincent Breitmoser 192d87d58f fix crash in replaceDefaultKeyserverWithUbuntu method 2018-07-18 16:11:42 +02:00
Vincent Breitmoser fb283c03f3 fix key selection in RemoteSelectIdentityKeyActivity 2018-07-18 16:06:43 +02:00
Vincent Breitmoser a4b1751da4 Don't try to lock screen orientation in SecurityTokenOperationActivity on Android 8.0 2018-07-18 16:01:53 +02:00
Vincent Breitmoser 4231279aba use fixed 48dp size for launcher icon in dialogs 2018-07-18 14:03:39 +02:00
Vincent Breitmoser f9557cca37 Don't try to delete contacts if we don't have permission anymore 2018-07-18 13:38:34 +02:00
Vincent Breitmoser 22f4eb3e44 insert api app when key is selected in SelectSignKeyIdFragment as well 2018-07-18 13:38:15 +02:00
Vincent Breitmoser 54498ef4c4 fix crash in ViewKeyActivity 2018-07-18 11:05:09 +02:00
Vincent Breitmoser 25712e2d6b Don't be extra annoying about analytics in debug mode 2018-07-17 20:32:32 +02:00
Vincent Breitmoser c54c7900d2 Send analytics for debug version to a separate instance 2018-07-17 20:31:30 +02:00
Vincent Breitmoser 5b0d9d927c Fix potential issue with disabled analytics 2018-07-17 20:18:50 +02:00
Vincent Breitmoser 4417ff1a43 Fix simple crash in analytics 2018-07-17 20:16:37 +02:00
Vincent BreitmoserandGitHub ea7a69adb8 Merge pull request #2350 from open-keychain/piwik-tracking
Add opt-in tracking with Piwik
2018-07-17 16:11:07 +02:00
Vincent Breitmoser 3f4de8b9c6 add (coarse!) analytics for preferences 2018-07-17 15:57:06 +02:00
Vincent Breitmoser fcf6abfec3 link to privacy policy in consent dialog 2018-07-17 15:57:05 +02:00
Vincent Breitmoser 15229854a6 Use correct id for piwik instance 2018-07-17 15:57:05 +02:00
Vincent Breitmoser fef79c7f73 rename "Tracking" to "Analytics" 2018-07-17 15:57:05 +02:00
Vincent Breitmoser 10466101c0 move tracking consent logic into TrackingConsentRequester 2018-07-17 15:56:16 +02:00
Vincent Breitmoser a277a37676 Show snackbar after tracking dialog 2018-07-17 15:56:16 +02:00
Vincent Breitmoser 73a4dcdcb7 don't ask for 24h if user cancels dialog (eg clicking outside) 2018-07-17 15:56:16 +02:00
Vincent Breitmoser c5d7e482e0 Add opt-in setting for tracking 2018-07-17 15:56:16 +02:00
Vincent Breitmoser c0a1fc84eb add simple tracking (no opt-in yet!) 2018-07-17 15:56:16 +02:00
Vincent BreitmoserandGitHub f664b1b57b Merge pull request #2382 from open-keychain/keychain-service-threadpool
use AsyncTask for background task execution
2018-07-17 15:52:20 +02:00
Vincent Breitmoser ebf7512a9d clean up warnings in CryptoOperationHelper 2018-07-17 14:25:14 +02:00
Vincent Breitmoser 1fcc1889ec Use CancellationSignal for cancellation in UI code 2018-07-17 14:25:14 +02:00
Vincent Breitmoser 9e079329d5 ditch ThreadPoolExecutor for AsyncTask 2018-07-17 14:25:14 +02:00
Vincent Breitmoser 2c8e219aa8 use ThreadPool for background task execution 2018-07-17 14:25:14 +02:00
Vincent BreitmoserandGitHub f0f01eef55 Merge pull request #2381 from open-keychain/token-livedata
Use LiveData and ViewModel for ManageSecurityToken fragment
2018-07-17 12:37:23 +02:00
Vincent Breitmoser 4ea8c4a8f6 Use LiveData and ViewModel for ManageSecurityToken fragment
This hopefully also prevents some NPEs from google play crash reports.
2018-07-17 12:20:56 +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