akwizgran
|
2919657b4a
|
Add unit tests for connection chooser.
|
2020-05-13 15:56:07 +01:00 |
|
akwizgran
|
0c338b362e
|
Add InterruptibleConnection interface for easier testing.
|
2020-05-13 15:43:07 +01:00 |
|
akwizgran
|
8dd993dd9d
|
Interrupt connections outside the lock.
|
2020-05-13 10:24:27 +01:00 |
|
akwizgran
|
1b2b50d91b
|
Exchange priority records and close redundant connections.
|
2020-05-12 21:36:58 +01:00 |
|
akwizgran
|
ee9c771045
|
Add priority record for choosing between redundant connections.
|
2020-05-12 21:36:58 +01:00 |
|
akwizgran
|
9e6d67f13d
|
Handle interrupts that occur before the outgoing session starts.
|
2020-05-12 21:36:57 +01:00 |
|
akwizgran
|
dd4aa67643
|
Refactor connection creation back into manager.
|
2020-05-12 21:27:43 +01:00 |
|
akwizgran
|
79482d5e3a
|
Move connection management to its own package.
|
2020-05-12 17:36:35 +01:00 |
|
akwizgran
|
ee0bf7218c
|
Move some duplicated code into utility methods.
|
2020-05-12 17:25:55 +01:00 |
|
akwizgran
|
c1101c7fe1
|
Factor inner classes out of ConnectionManagerImpl.
|
2020-05-12 17:08:04 +01:00 |
|
Torsten Grote
|
708452713d
|
Merge branch '1712-detect-dead-bluetooth-connections' into 'master'
Detect and close dead Bluetooth connections
See merge request briar/briar!1246
|
2020-05-11 15:55:07 +00:00 |
|
akwizgran
|
c80d3196af
|
Use milliseconds for timing.
|
2020-05-11 15:42:23 +01:00 |
|
akwizgran
|
c4273d22ed
|
Delegate all other methods to wrapped InputStream.
|
2020-05-08 16:22:46 +01:00 |
|
akwizgran
|
0281eec0da
|
Add unit test for TimeoutInputStream.
|
2020-05-08 16:22:46 +01:00 |
|
akwizgran
|
d3fd309609
|
Only check timeouts when we have some streams to monitor.
|
2020-05-08 16:22:46 +01:00 |
|
akwizgran
|
f2f278c393
|
Add timeout monitor for Bluetooth connections.
|
2020-05-08 16:22:46 +01:00 |
|
akwizgran
|
e204d5a996
|
Don't count connections twice.
|
2020-05-08 15:17:27 +01:00 |
|
akwizgran
|
876efee1a8
|
Use keepalives to detect dead connections.
|
2020-05-08 14:21:41 +01:00 |
|
akwizgran
|
fb918457d4
|
Use constants for metadata keys.
|
2020-04-29 15:37:21 +01:00 |
|
akwizgran
|
7320099494
|
Also store properties discovered from outgoing connections.
This is useful when adding a Bluetooth address is discovered while
adding a contact.
|
2020-04-28 17:56:01 +01:00 |
|
akwizgran
|
346bec94e8
|
Discover contacts' BT addresses from incoming connections.
|
2020-04-28 17:45:17 +01:00 |
|
Torsten Grote
|
9eee58657e
|
Merge branch '1696-keystore-crash' into 'master'
Show a dialog instead of crashing if a hardware-backed key can't be loaded
Closes #1696
See merge request briar/briar!1233
|
2020-03-12 12:12:42 +00:00 |
|
akwizgran
|
ed50582e27
|
Show a dialog if the DB key can't be decrypted due to a keystore error.
|
2020-02-25 15:00:49 +00:00 |
|
akwizgran
|
618ab1f1ec
|
Don't infer anything from existence of (possibly empty) DB directory.
|
2020-02-24 17:51:59 +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 |
|