Commit Graph
100 Commits
Author SHA1 Message Date
ameba23 7df10d9324 Improve existing backup fragment 2022-03-04 10:09:57 +01:00
ameba23 b7bdad4b67 Add method to get contact ids of existing custodians 2022-03-03 10:48:23 +01:00
ameba23 c0932b4df1 Improve existing backup fragment 2022-03-03 10:47:31 +01:00
ameba23 c49ea5173e Improve strings for threshold selector screen 2022-03-01 09:30:06 +01:00
ameba23 7a9794e62a Improve setup password explanation string 2022-02-21 08:25:48 +01:00
ameba23 8ad7ec3a66 Improve choose password info dialog 2022-02-18 09:00:21 +01:00
ameba23 32f1676e55 Improve threshold selector screen 2022-02-15 08:44:36 +01:00
ameba23 ae7a553aa3 Basic strength meter when choosing threshold 2022-02-11 12:02:39 +01:00
ameba23 2c235947b2 Layout of social backup setup explainer 2022-02-10 10:37:27 +01:00
ameba23 c7809add20 Improve social backup setup explainer screen, and add image 2022-02-10 10:18:39 +01:00
ameba23 09823c4402 Add material tap target prompt for social backup feature 2022-02-10 10:03:58 +01:00
ameba23 33cbf2218e Improve social backup setup explainer screen 2022-02-09 12:19:10 +01:00
ameba23 1edfdaeaf0 Remove original custodian return shard success fragment 2022-02-09 11:57:06 +01:00
ameba23 456fd7d2e4 Popup dialog on shards sent for custodian 2022-02-09 11:40:18 +01:00
ameba23 3e7f3fcf5d If we have more than 6 custodians, display on 2 lines 2022-02-08 15:25:49 +01:00
ameba23 62988e7769 Set maximum amount of custodians in UI 2022-02-08 15:06:50 +01:00
ameba23 386658735c Increase size of custodian icons 2022-02-08 11:42:01 +01:00
ameba23 2f2edc3161 Improve visual feedback for threshold selector 2022-02-08 11:19:52 +01:00
ameba23 705de81429 Delete old shards sent fragment 2022-02-08 09:54:38 +01:00
ameba23 d359b1fb9c Popup dialog on shards sent 2022-02-08 09:50:21 +01:00
ameba23 b9867ddc4b Fix styling on disabled recover button 2022-02-07 11:22:17 +01:00
ameba23 67febd4e57 Disable recover button when name is entered 2022-02-04 11:56:16 +01:00
ameba23 c59504b38f Move recover button to author name fragment 2022-02-04 11:40:08 +01:00
ameba23 5b63aa28d3 Fix explainer fragment 2022-02-04 09:08:13 +01:00
ameba23 c9140195cc Rename social backup setup activity 2022-02-04 09:01:53 +01:00
ameba23 5a116f08c5 Add string for explainer button 2022-02-02 11:17:07 +01:00
ameba23 daf233ccd7 Add module, tidy 2022-02-02 11:12:56 +01:00
ameba23 43e8d06493 Add view model for setup process, add setup explainer fragment 2022-02-02 10:30:50 +01:00
ameba23 01fd193686 Fix setting default threshold slider position 2021-10-06 10:26:32 +02:00
ameba23 f1b8edd8cf Rm danger of loss message with 2 custodians 2021-10-06 10:19:25 +02:00
ameba23 44bc35b949 Rm test which was not present in this branch before cherry pick 2021-09-06 08:50:35 +02:00
ameba23 67dbc3d9a0 Tell animal sniffer gradle plugin to ignore java.util.Objects 2021-08-27 14:49:25 +02:00
ameba23 3835dcf3a7 Improve lost password and setup password dialog for social backup 2021-08-27 12:42:36 +02:00
ameba23 be8e5c4bf2 When creating social backup, only allow selecting contacts when there are at least 2 contacts in contact list 2021-08-27 12:30:10 +02:00
ameba23 c49c1f78d2 Disable help recover account option by default 2021-08-27 12:08:36 +02:00
ameba23 5e530c25b6 Rm unused import 2021-07-20 12:15:21 +02:00
ameba23 27b402f57c Log warning on failure to set handshake public key 2021-07-20 11:41:17 +02:00
ameba23 6fc6ae727f Handle security exception when setting handshake public key 2021-07-20 11:40:53 +02:00
ameba23 b7d71a21b0 When setting remote handshake key, derive tags 2021-07-20 11:40:14 +02:00
ameba23 1eb6be2407 Only add Tor transport properties to our social backup 2021-06-29 16:40:05 +02:00
ameba23 53c4ba184d Improve logging for DuplexSyncConnection 2021-06-29 16:09:08 +02:00
ameba23 4b9c3a1a96 Call KeyManager#AddContact when restoring contacts 2021-06-29 11:43:14 +02:00
ameba23 eb66a13ded Implement message validator for handshake key exchange 2021-06-29 09:48:19 +02:00
ameba23 b860e73bdc Return an empty list when getting headers 2021-06-28 17:34:38 +02:00
ameba23 851bbb293e Rm logging 2021-06-28 17:20:17 +02:00
ameba23 36aaea40bd Register the client and hooks 2021-06-28 17:18:12 +02:00
ameba23 7563172121 Logging 2021-06-28 17:04:53 +02:00
ameba23 fad9257066 Set a contacts handshake public key on receiving one 2021-06-28 13:46:52 +02:00
ameba23 873b088a42 Add a method to set a contacts handshake public key in the database 2021-06-28 13:46:19 +02:00
ameba23 c7bca253fe Inject HandshakeKeyExchangeModule as an eager singleton 2021-06-28 09:58:39 +02:00
ameba23 47f136904c Create HandshakeKeyExchange client and module 2021-06-28 09:55:41 +02:00
ameba23 0a0b79ad9b Check for null when adding local properties to fix integration test 2021-06-25 21:07:44 +02:00
ameba23 e9f4f084dd Fix incorrect key for shared prefs 2021-06-25 13:36:03 +02:00
ameba23 3484892628 Use hex encoding for storing shards in shared preferences 2021-06-25 13:20:20 +02:00
ameba23 f67d2f0157 Include local tor properties in backup and check for remote handshake public keys 2021-06-25 13:03:45 +02:00
ameba23 ef05ecc342 Clear partially recovered shards from shared preferences when recovered 2021-06-25 09:03:58 +02:00
ameba23 3d807d9950 Save recovered shards in sharedPreferences 2021-06-25 08:44:37 +02:00
ameba23 4cf9ca9c3e Handle transport properties correctly in backup and recovery 2021-06-24 09:34:39 +02:00
ameba23 95d540644b Dont accept shards from mismatched sets - all muss match the first shard received 2021-06-22 16:26:48 +02:00
ameba23 3b4988c109 Change wording on shard notification messages 2021-06-22 09:49:33 +02:00
ameba23 9b7b583e8a Change message on success fragments 2021-06-21 16:28:10 +02:00
ameba23 21f3634050 Catch NoSuchGroupException when deleting contacts 2021-06-21 12:56:39 +02:00
ameba23 33549bcbe1 Implement deleteMessages in SocialBackupManagerImpl 2021-06-21 12:25:14 +02:00
ameba23 d975d1dbdd Implement deleteAllMessages in SocialBackupManagerImpl 2021-06-21 12:20:09 +02:00
ameba23 af64bb056d Add delete all messages to integration test 2021-06-21 12:19:32 +02:00
ameba23 ca54566ce0 SecretOwnerTask also passes a provider of AuthenticatedCipher 2021-06-16 08:34:40 +02:00
ameba23 85683a57f1 Use a provider to instantiate AuthenticatedCipher on each use, to prevent concurrency problems 2021-06-15 21:10:33 +02:00
ameba23 f524af893d Fix bug with qrCodeRead flag 2021-06-15 16:29:39 +02:00
ameba23 7b63471205 Fix bug with qrCodeRead flag 2021-06-15 16:29:06 +02:00
ameba23 4db1c4cc6b Improve strings for ui for displaying existing social backup 2021-05-18 12:06:09 +02:00
ameba23 71e63fb6f1 Tidy SocialBackupManagerImpl 2021-05-18 11:52:28 +02:00
ameba23 cae655b020 JavaDoc comments 2021-05-18 11:50:50 +02:00
ameba23 f601e2945b Improve error handling when creating backups, minor UI changes 2021-05-18 11:50:10 +02:00
ameba23 55e0ba8888 Rm logging 2021-05-05 10:34:32 +02:00
ameba23 3b4a20ce01 on retrying after fail, restart task 2021-05-04 15:10:41 +02:00
ameba23 e5eb82a5a8 Rm unused classes 2021-05-04 15:09:22 +02:00
ameba23 26a35b3212 Dont use onBackPressed when retrying after error 2021-04-27 13:07:45 +02:00
ameba23 68f135adad Additional logging in In/out DuplexSyncConnection 2021-04-27 13:06:55 +02:00
ameba23 4b30b50329 Fix ReturnShardIntegrationTest 2021-04-27 10:05:43 +02:00
ameba23 c2b7657041 Improve UI for showing qr code 2021-04-26 13:03:42 +02:00
ameba23 61a052fc65 QR code display fragment 2021-04-26 12:43:37 +02:00
ameba23 d78a6604fd UI for error and explainer fragments 2021-04-26 12:29:45 +02:00
ameba23 8ffe9a6367 Modify drawables to show one device with a qr code and one without 2021-04-26 12:27:38 +02:00
ameba23 4b9c796c1a Implement handshake on IncomingDuplexSyncConnection 2021-04-26 09:59:19 +02:00
ameba23 6af739e584 Resolve conflict after merging with social-backup-outgoing-handshake 2021-04-25 12:06:49 +02:00
ameba23 50cb3997d9 Merge remote-tracking branch 'origin/social-backup-outgoing-handshake' into social-backup-restore-activity
* origin/social-backup-outgoing-handshake:
  WIP: Add handshake support for outgoing connections.
2021-04-25 12:01:18 +02:00
ameba23 a6f06e328b Dont use an observer when adding contacts 2021-04-25 12:00:44 +02:00
ameba23 a5f0516135 Tidy RestoreAccount 2021-04-23 13:22:10 +02:00
ameba23 3d34a36908 Show success fragment on recovering account 2021-04-23 13:18:47 +02:00
ameba23 acb9b18507 addContact method which also takes a handshakePublicKey 2021-04-23 12:23:13 +02:00
ameba23 f5455d320b bramble-core 2021-04-23 12:22:18 +02:00
ameba23 07141b688a Add a method to add recovered contacts to db 2021-04-22 17:42:33 +02:00
ameba23 b1c6c602a6 Add DozeView 2021-04-22 17:41:58 +02:00
ameba23 60c6c6a7ae RestoreAccount should be injected as singleton 2021-04-22 11:55:20 +02:00
ameba23 3ac7d71f8a Change to fail state if no backup found 2021-04-22 11:04:24 +02:00
ameba23 41c13f80f4 Copy code from SetPassword fragment to avoid it using the wrong view model 2021-04-22 10:56:20 +02:00
ameba23 2e03967519 Fix dependency problems after refactor 2021-04-22 09:01:44 +02:00
ameba23 4b77a9ab60 Use backup with highest version number 2021-04-21 21:53:06 +02:00
ameba23 327cbe23ee Use DozeHelper 2021-04-21 21:52:48 +02:00
ameba23 34f15b6bdc ContactData and SocialBackup now live in briar-api 2021-04-21 16:35:27 +02:00