akwizgran
50538b6908
Add AMP cache broker for Snowflake.
2022-10-15 17:56:46 +01:00
Sebastian Kürten
df86f2f258
Fix imports for null-safety annotations
2022-10-03 15:25:35 +02:00
Torsten Grote
2a2c054959
Merge branch '2343-mailbox-as-submodule' into 'master'
...
End-to-end integration tests for communication via mailbox
Closes #2343
See merge request briar/briar!1699
2022-10-03 13:11:18 +00:00
Torsten Grote
a0de0a40aa
Merge branch 'socks-library' into 'master'
...
Use SOCKS socket library
See merge request briar/briar!1717
2022-09-29 16:26:17 +00:00
Torsten Grote
73d957434b
Merge branch 'null-safety-library' into 'master'
...
Use null safety library
See merge request briar/briar!1716
2022-09-29 13:23:19 +00:00
akwizgran
03adfd850b
Use SOCKS socket library.
2022-09-29 13:36:52 +01:00
akwizgran
e4e7d84bde
Use null safety library.
2022-09-29 13:08:02 +01:00
Torsten Grote
d4e5e3577b
Merge branch '2366-tor-not-running-exception' into 'master'
...
No longer crash when the Tor process crashes
Closes #2366
See merge request briar/briar!1715
2022-09-28 17:04:04 +00:00
akwizgran
b424d6f98e
Add test for snowflake parameters.
2022-09-28 16:18:08 +01:00
akwizgran
32205ca6d3
Rename oldAndroid to letsEncrypt.
2022-09-28 16:17:45 +01:00
akwizgran
adf172bf25
No longer crash when the Tor process crashes.
...
We have enough information about this bug now.
2022-09-27 15:20:45 +01:00
akwizgran
264b2ca2f3
Add Snowflake pluggable transport.
2022-09-27 15:10:44 +01:00
akwizgran
23f5de66a8
Use port 80 for placeholder meek_lite address.
...
See upstream commit:
https://gitweb.torproject.org/builders/tor-browser-build.git/commit/projects/common/bridges_list.meek-azure.txt?h=main&id=55f89756330a060cc65456000acf75226c545a42
2022-09-27 15:08:52 +01:00
akwizgran
79aa42c0f8
Add some new non-default and vanilla bridges.
2022-09-27 15:08:52 +01:00
akwizgran
f00c3a47f5
Remove some failing bridges.
2022-09-27 15:08:52 +01:00
Sebastian Kürten
459b97c1d4
Integration tests for mailbox using mailbox-lib as submodule
2022-09-22 18:08:03 +02:00
akwizgran
d905cb6cda
Fix expecations for unit tests.
...
The missing expectations were only causing failures some of the time because the `shared` flag is set randomly for each test run.
2022-08-17 11:52:52 +01:00
Torsten Grote
bcc7a4b93b
Merge branch '2352-do-not-create-files-for-upload-while-connected' into 'master'
...
Don't create files for upload while directly connected to contact
Closes #2352
See merge request briar/briar!1697
2022-08-16 14:28:07 +00:00
Torsten Grote
4fe9fa3315
Merge branch '2228-mailbox-client-manager' into 'master'
...
Add mailbox client manager
Closes #2228
See merge request briar/briar!1696
2022-08-16 14:20:42 +00:00
akwizgran
079ef5b3c0
Add helper method for checking client/server compatibility.
2022-08-16 15:11:53 +01:00
akwizgran
de76986ee4
Rename event, only broadcast it when adding a new contact.
2022-08-16 15:06:38 +01:00
Torsten Grote
96630e1b34
Merge branch '2174-check-own-mailbox-periodically' into 'master'
...
Check our own mailbox periodically while we're online
Closes #2174
See merge request briar/briar!1698
2022-08-16 13:54:14 +00:00
akwizgran
4eddf625d8
Add tests for visible/invisible group when message is shared.
2022-08-16 14:48:37 +01:00
Torsten Grote
28ad66a03d
Merge branch '2302-send-new-server-supported-versions-to-contacts' into 'master'
...
When our mailbox's API versions change, send them to contacts
Closes #2302
See merge request briar/briar!1701
2022-08-16 13:43:23 +00:00
akwizgran
0af371d026
Update comments.
2022-08-16 14:14:14 +01:00
akwizgran
a57c784b47
Add comments for group visibility.
2022-08-16 14:06:12 +01:00
akwizgran
ab360e1e25
Address some review comments.
2022-08-16 13:49:30 +01:00
Torsten Grote
efb294de53
Merge branch 'update-tor-bridges' into 'master'
...
Update Tor bridges
See merge request briar/briar!1700
2022-08-15 14:59:40 +00:00
akwizgran
9990fb3b8f
When our mailbox's API versions change, send them to contacts.
2022-08-12 16:38:15 +01:00
akwizgran
6d26db3d66
Add some non-default and vanilla bridges.
2022-08-12 14:53:42 +01:00
akwizgran
51301968a5
Remove some failing bridges.
2022-08-12 14:42:01 +01:00
akwizgran
148f61a6b5
Check our own mailbox periodically while we're online.
2022-08-10 14:34:09 +01:00
akwizgran
24d4debde0
Don't create files for upload while directly connected to contact.
2022-08-10 12:37:38 +01:00
akwizgran
a1f25c8101
Attach group visibility to MessageSharedEvent.
...
This allows listeners to decide whether to act on the event.
2022-08-10 12:33:53 +01:00
akwizgran
62883b4bde
Unit tests for mailbox client manager.
2022-08-08 15:46:58 +01:00
akwizgran
42243f73f4
Simplify logic.
2022-08-08 15:33:21 +01:00
akwizgran
d3a06cf2c0
Add some javadocs.
2022-08-05 15:43:17 +01:00
akwizgran
15d29f6189
Don't check whether messages are visible before lowering ack flag.
...
This check excludes messages that aren't shared, including incoming private messages. The check isn't necessary because lowerAckFlag() ignores messages for which no status row exists for the contact.
2022-08-05 14:16:15 +01:00
akwizgran
339e4daded
Update Dagger modules.
2022-08-05 14:16:15 +01:00
akwizgran
217a6dbf1c
If worker is destroyed during upload, delete file before returning.
2022-08-05 14:16:15 +01:00
akwizgran
46352f664c
Add mailbox client manager.
2022-08-05 14:16:15 +01:00
akwizgran
dfcd626081
Add some logging to connectivity checks.
2022-08-05 14:16:15 +01:00
akwizgran
7a6d075984
Don't repeatedly ack the same messages.
2022-08-04 15:51:44 +01:00
akwizgran
68ab3b0e97
Register contact list worker to receive events.
2022-08-03 17:57:35 +01:00
akwizgran
16fc4f4527
Allow read-only transaction when not marking message as sent.
2022-08-03 17:57:35 +01:00
akwizgran
8657216345
Broadcast an event when sending a mailbox update.
2022-08-03 17:57:35 +01:00
akwizgran
42e2926d61
Always sort lists of API versions for easier comparison.
2022-08-03 17:57:35 +01:00
akwizgran
1699d6b5f8
Check properties of events.
2022-08-02 15:24:20 +01:00
akwizgran
848872a803
Broadcast events for pairing and unpairing.
2022-08-02 12:59:27 +01:00
akwizgran
04ed3a652a
Pass mailbox properties to hook when pairing.
2022-08-02 12:59:27 +01:00