Commit Graph

6228 Commits

Author SHA1 Message Date
ameba23
a448211549 Remote notification message on receiving wipe signal 2021-05-31 13:40:40 +02:00
ameba23
b4de33c58d Put the listener for remote wipe activated event in BriarService rather than AndroidNotificationManager 2021-05-28 10:04:21 +02:00
ameba23
6b10c88858 Add a RemoteWipeActivatedActivity, and listen for the event in AndroidNotificationManager 2021-05-27 12:26:27 +02:00
ameba23
b453f9b33a Add success fragment after sending an activate remote wipe signal 2021-05-26 09:12:16 +02:00
ameba23
ec21df55f8 Update message encoder and RemoteWipeManager for the new api for RemoteWipeMessageHeader 2021-05-25 12:56:51 +02:00
ameba23
a8bef40fee Display message when getting or sending a remote wipe wipe message 2021-05-25 12:55:46 +02:00
ameba23
d42c25ebf7 Move remote wipe MessageType enum to briar-api 2021-05-25 12:55:26 +02:00
ameba23
76c37431ba Shorten explainer string to fit on screen 2021-05-25 11:31:59 +02:00
ameba23
a183f16a3d Set activity view 2021-05-25 11:31:17 +02:00
ameba23
cc37529f9f Add activate remote wipe activity to manifest 2021-05-25 11:21:21 +02:00
ameba23
7eea532a81 Add explainer fragment for activating a remote wipe 2021-05-25 11:18:22 +02:00
ameba23
4d5bad13ca Only show remote wipe menu item if we are a remote wiper for that contact 2021-05-25 09:52:13 +02:00
ameba23
ef7d182a74 Error message on failure to set up remote wipe 2021-05-21 11:34:54 +02:00
ameba23
0fe699c9b5 RemoteWipeSetupSuccess fragment 2021-05-21 11:22:44 +02:00
ameba23
29ef603122 Add RemoteWipeActivatedEvent to activate wipe 2021-05-18 11:02:02 +02:00
ameba23
67015d7294 Improve wording for received setup message notification 2021-05-17 17:39:01 +02:00
ameba23
78a91d43b2 Update RemoteWipeMessageHeader 2021-05-17 17:16:57 +02:00
ameba23
d8a0b6f877 Add remote wipe menu item to ConversationActivity 2021-05-17 17:14:58 +02:00
ameba23
7d86ec5510 Add to BriarCoreEagerSingletons 2021-05-17 17:14:11 +02:00
ameba23
6f8f9eaf9f ActivateRemoteWipe activity and view model 2021-05-17 17:13:36 +02:00
ameba23
60065fe38f Format test for displaying existing wipers 2021-05-17 12:17:28 +02:00
ameba23
ff493273c1 Add remote wipe display fragment to show details of an existing setup 2021-05-17 11:52:04 +02:00
ameba23
308b9b3ec1 Add a MutableLiveData to RemoteWipeSetupState 2021-05-15 18:43:39 +02:00
ameba23
31950aef9a Create RemoteWipeSetupModule which binds the view model 2021-05-15 16:24:00 +02:00
ameba23
f0d42e0d4f Add RemoteWipeSetupActivity to manifest and settings menu 2021-05-14 12:49:37 +02:00
ameba23
f2f70fa110 Rm unused class 2021-05-14 12:40:00 +02:00
ameba23
024511aefc RemoteWipeSetup activity and view model, wiper selector fragment 2021-05-14 12:39:37 +02:00
ameba23
2de10e6f1b Sleep between messages in test 2021-05-11 12:43:48 +02:00
ameba23
92d31aa106 Add an event for received setup messages 2021-05-11 11:37:36 +02:00
ameba23
71c502df52 Create RemoteWipeReceivedEvent 2021-05-11 11:07:15 +02:00
ameba23
fd015d4992 Tidy 2021-05-11 11:04:12 +02:00
ameba23
5f3ec0846e Ignore old wipe messages when receiving 2021-05-11 11:03:08 +02:00
ameba23
892943ddf9 Ignore old wipe messages 2021-05-11 10:59:05 +02:00
ameba23
ad14a0cef8 Additional test for duplicate wipe messages 2021-05-11 09:57:36 +02:00
ameba23
3404a7d02a Check metadata for wipers in test 2021-05-10 10:31:23 +02:00
ameba23
c8c28eb6a0 Add method to get the local list of wipers 2021-05-10 10:31:04 +02:00
ameba23
d45b4be453 Update implementation and test for panic observer 2021-05-10 10:07:26 +02:00
ameba23
f998482e93 Add a panic observer 2021-05-10 10:07:02 +02:00
ameba23
7fb986ea9a Store threshold as constant 2021-05-07 17:24:11 +02:00
ameba23
d9fe8d962f Store incoming valid remote wipe messages in metadata, update test 2021-05-07 17:21:12 +02:00
ameba23
cfc705ca41 Update test 2021-05-07 11:01:35 +02:00
ameba23
e97114e322 Add method to know if you are a wiper for a given contact 2021-05-07 11:01:24 +02:00
ameba23
eb4146b175 Update MessagingController for briar-headless 2021-05-06 18:31:51 +02:00
ameba23
7659b9decb Display message when getting or sending a remote wipe setup message 2021-05-06 18:30:51 +02:00
ameba23
a93cbf852b RemoteWipeManager builds messages using the message encoder 2021-05-06 17:48:56 +02:00
ameba23
fe79a18061 Create Message encoder, parser and validator for remote wipe 2021-05-06 17:48:10 +02:00
ameba23
ae1ad4be24 RemoteWipeModule should register with ClientVersioningManager, add contact hook 2021-05-06 13:48:53 +02:00
ameba23
014db8d45f Update RemoteWipeManager 2021-05-06 11:53:22 +02:00
ameba23
f089c0da3e Add a RemoteWipeMessageHeader 2021-05-06 11:53:03 +02:00
ameba23
7b9d2621b7 Add RemoteWipeModule to BriarCoreModule 2021-05-05 19:13:27 +02:00