akwizgran
8622f663f6
Enable LAN plugin in unit test.
2020-01-20 15:12:38 +00:00
akwizgran
98d4a48855
Make REASON_USER into a generic reason code.
2020-01-20 15:12:38 +00:00
akwizgran
9184bf6afc
Add toggle setting for LAN plugin.
2020-01-20 15:12:37 +00:00
akwizgran
4f2f145ab6
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-01-20 15:12:37 +00:00
akwizgran
0940b8d5b9
Add toggle setting for Tor plugin.
2020-01-20 15:12:37 +00:00
akwizgran
9bfbb4d02d
Notify callback of state changes while holding lock.
2020-01-20 15:00:16 +00:00
akwizgran
d7d8af7e32
Remove redundant logging.
2020-01-20 14:03:12 +00:00
akwizgran
8db481a17a
Remove debug logging.
2020-01-17 12:38:43 +00:00
akwizgran
2b9ffc7fbe
Close server socket when BT is disabled.
2020-01-17 12:38:03 +00:00
akwizgran
0a5f93edf9
Remove unnecessary inner class, state checks.
2020-01-16 13:08:16 +00:00
akwizgran
0aada89625
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-01-16 13:01:41 +00:00
akwizgran
549cf4e2be
Move to enabling state earlier in Tor startup.
2020-01-16 12:38:34 +00:00
akwizgran
c6981fb243
Add TransportStateEvent, rename existing events.
2020-01-16 11:54:28 +00:00
akwizgran
1c98d8f12a
Add method for getting reason why plugin is disabled.
2020-01-16 11:05:36 +00:00
akwizgran
c7565cb93e
Rename available/unavailable states.
2020-01-16 09:58:12 +00:00
akwizgran
850ad18a36
Check that server sockets are closed as expected.
2020-01-15 17:51:18 +00:00
akwizgran
5d6ed1a724
Provide more information about plugin states.
2020-01-15 17:51:18 +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
akwizgran
ec3f821ba6
Update test expectations.
2019-06-13 17:17:50 +01:00
akwizgran
1d546da781
Store sync versions received from contacts.
2019-06-13 17:07:12 +01:00
akwizgran
f2c951b70b
Add DB methods for getting and setting sync versions.
2019-06-13 17:06:57 +01:00
akwizgran
1e259c100d
Add sync versions column to contacts table.
2019-06-13 16:35:48 +01:00
akwizgran
3636aeba9a
Use HyperSQL-compatible syntax in migration.
2019-06-13 16:34:20 +01:00
akwizgran
132e20a6ce
Send versions record at start of each session.
2019-06-13 16:16:02 +01:00
akwizgran
c228e5c219
Add versions record to sync protocol.
2019-06-13 16:16:02 +01:00
akwizgran
3c8b8c39e1
Turn commonly used variables into fields.
2019-06-12 16:29:24 +01:00
akwizgran
8f839e2c30
Remove temporary messages at startup.
2019-06-12 15:21:48 +01:00
akwizgran
da4b63f20f
Clean up ValidationManagerImplTest.
2019-06-12 15:17:13 +01:00
akwizgran
cd40e771d2
Allow messages to be marked as temporary.
2019-06-12 15:11:10 +01:00