akwizgran
40f2c1923b
Add toggle setting for LAN plugin.
2020-03-05 14:44:57 +00:00
akwizgran
cfc640f4ce
Update semantics of Bluetooth setting.
...
The setting now enables/disables the plugin, not just contact
connections. The key agreement UI will need to be updated to change the
setting if the user agrees to use Bluetooth.
2020-03-05 14:44:57 +00:00
akwizgran
4db2d0fda2
Add toggle setting for Tor plugin.
2020-03-05 14:44:57 +00:00
akwizgran
e6d093c52f
Only update bridge and padding settings if network is enabled.
2020-03-05 14:44:57 +00:00
akwizgran
fe5bbfdd17
Notify callback of state changes while holding lock.
2020-03-05 14:44:57 +00:00
akwizgran
54068a9e24
Remove redundant logging.
2020-03-05 14:44:57 +00:00
akwizgran
4bb14f51d2
Remove debug logging.
2020-03-05 14:44:57 +00:00
akwizgran
37ea59a89e
Close server socket when BT is disabled.
2020-03-05 14:44:56 +00:00
akwizgran
f19dbf144a
Remove unnecessary inner class, state checks.
2020-03-05 14:44:56 +00:00
akwizgran
4b94bd0f1b
Reset backoff before notifying of new state.
...
The new state may cause the poller to poll the
plugin. Let's avoid a race between updating and
querying the polling interval.
2020-03-05 14:44:56 +00:00
akwizgran
0b29e3ce11
Move to enabling state earlier in Tor startup.
2020-03-05 14:44:56 +00:00
akwizgran
6a9dbcf482
Add TransportStateEvent, rename existing events.
2020-03-05 14:44:56 +00:00
akwizgran
b6a73f2c98
Add method for getting reason why plugin is disabled.
2020-03-05 14:44:28 +00:00
akwizgran
0259c23cb4
Rename available/unavailable states.
2020-03-05 14:44:26 +00:00
akwizgran
6b33c5b913
Check that server sockets are closed as expected.
2020-03-05 14:44:08 +00:00
akwizgran
53889436fc
Provide more information about plugin states.
2020-03-05 14:44:05 +00:00
akwizgran
61db5d1b04
Make bit-twiddling code more readable.
2020-02-19 09:52:13 +00:00
akwizgran
b3d4012527
Use network prefix length to determine which addresses are connectable.
2020-02-18 11:22:29 +00:00
Torsten Grote
60172331ee
Merge branch 'ipv4-link-local' into 'master'
...
Add support for IPv4 link-local addresses
See merge request briar/briar!1229
2020-02-17 12:42:01 +00:00
akwizgran
ed13cbca6a
Add support for IPv4 link-local addresses.
2020-02-17 11:42:13 +00:00
akwizgran
49cb1d0612
Choose port in advance when providing wifi access point.
2020-02-14 16:56:00 +00:00
akwizgran
c61c9bbc02
Refactor Android-specific code out of bramble-core.
2020-01-10 17:41:10 +00:00
akwizgran
f650b2236e
Catch any Exception when generating stored key.
2020-01-10 16:15:56 +00:00
akwizgran
72a391b506
Break out of loop after generating key.
2020-01-10 12:22:47 +00:00
akwizgran
f76d08c19a
Use StrongBox on API 28+ if available.
2020-01-09 15:18:58 +00:00
akwizgran
c11d09a885
Re-encrypt the DB key with the stored key.
2020-01-09 14:45:32 +00:00
akwizgran
d7b05dcba0
Add javadocs.
2020-01-09 14:45:32 +00:00
akwizgran
4d3c1b4fd2
Use Android keystore for encrypting DB key.
...
Only for new accounts on API 23+.
2020-01-09 14:45:32 +00:00
akwizgran
9305532079
Enable private message deletion in release builds.
2020-01-07 12:43:10 +00:00
akwizgran
5962d3c763
Replace default methods with helper classes.
...
This is a workaround for AbstractMethodErrors
thrown by on-device tests.
2019-12-11 16:28:19 +00:00
akwizgran
9d72fca2a7
Merge branch 'AndroidX' into 'master'
...
AndroidX Migration
See merge request briar/briar!1176
2019-11-07 15:40:19 +00:00
akwizgran
27cba75a50
Fix test expectations.
2019-11-06 14:17:16 +00:00
akwizgran
ee1fd2ad8a
Broadcast events for client versioning updates.
2019-11-06 13:58:11 +00:00
akwizgran
a844526dae
Refactor ClientVersion to bramble-api.
2019-11-06 13:58:06 +00:00
Torsten Grote
494e51ef07
Optimize imports after AndroidX migration
2019-11-01 11:47:33 -03:00
Torsten Grote
a592c05146
AndroidX migration and library updates
2019-11-01 11:44:36 -03:00
Torsten Grote
5147f6b7e6
Remove RemoteContacts feature flag in preparation of 1.2 release
2019-11-01 11:09:43 -03:00
Torsten Grote
1ddceaadd6
Always replace pending contacts no matter their state when link is re-entered
2019-10-16 13:06:21 -03:00
Torsten Grote
397afbfec0
Address review comments for detecting duplicate (pending) contacts
2019-10-16 11:15:14 -03:00
Torsten Grote
4bf8d4c0e7
[bramble] add method for getting pending contact state
2019-10-15 14:46:37 -03:00
Torsten Grote
75fcd28071
[bramble] throw exceptions when adding pending contact which exists
2019-10-15 10:32:52 -03:00
Torsten Grote
5f29ab3b40
[bramble-core] Add DB method for getting contact by handshake key
2019-10-15 10:12:59 -03:00
akwizgran
131f9b9696
Remove old migration code for Tor settings.
2019-10-14 16:00:43 +01:00
akwizgran
249b85cd26
Add feature flag for private message deletion.
2019-10-09 16:22:04 +01:00
akwizgran
00705447ec
Use feature flag to decide which version to advertise.
2019-06-18 13:39:01 +01:00
akwizgran
2bae639105
Upgrade messaging client to support attachments.
2019-06-18 13:03:49 +01:00
Torsten Grote
249e1e28fe
Merge branch '1580-offline-state' into 'master'
...
Add offline state for pending contacts
Closes #1580
See merge request briar/briar!1138
2019-06-17 13:10:41 +00:00
akwizgran
5a1caed89f
Rename endpoints field.
2019-06-17 13:22:36 +01:00
akwizgran
4a67cf3ce7
Don't cache default state when adding pending contact.
...
This can overwrite the initial state broadcast by the
rendezvous poller.
2019-06-17 10:22:08 +01:00
akwizgran
b0e97d787f
Add offline state for pending contacts.
2019-06-15 12:27:24 +01:00