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
|
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
|
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
|
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
|
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
|
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
|
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
|
8f839e2c30
|
Remove temporary messages at startup.
|
2019-06-12 15:21:48 +01:00 |
|
akwizgran
|
cd40e771d2
|
Allow messages to be marked as temporary.
|
2019-06-12 15:11:10 +01:00 |
|
akwizgran
|
e810785fe2
|
Retry database tasks after signing in.
|
2019-06-10 15:51:20 +01:00 |
|
Torsten Grote
|
4a4abd7efa
|
Merge branch '1232-polling-events' into 'master'
Show "connecting" state for pending contacts
See merge request briar/briar!1129
|
2019-06-10 13:11:06 +00:00 |
|
akwizgran
|
60eefbf3e0
|
Use named constants.
|
2019-06-07 11:54:44 +01:00 |
|
akwizgran
|
a4a45efd43
|
Broadcast event when polling newly added contact.
|
2019-06-07 11:48:53 +01:00 |
|
akwizgran
|
fe1df6dafa
|
Move pending contact events to rendezvous poller.
|
2019-06-07 11:42:48 +01:00 |
|
akwizgran
|
ba19716e0f
|
Don't broadcast disabled event whenever we close a socket.
|
2019-06-06 16:42:26 +01:00 |
|
akwizgran
|
41deff1bf3
|
Suppress redundant enabled/disabled events.
|
2019-06-06 16:42:26 +01:00 |
|