akwizgran
4d884601f0
Check more often, only broadcast status if changed.
2023-06-20 17:01:45 +01:00
akwizgran
9291613175
Fix some other uses of toLowerCase() without a locale.
2023-05-30 22:06:18 +01:00
akwizgran
7a33d26533
Merge branch 'new-handshake'
2023-05-24 11:22:23 +01:00
akwizgran
0ca21ad4c0
Upgrade onionwrapper to 0.0.2 and dont-kill-me-lib to 0.2.7.
2023-05-09 15:23:17 +01:00
akwizgran
07e56f7086
Remove mailbox feature flag.
2023-04-18 14:18:58 +01:00
akwizgran
7810e7e848
Enable mailbox support in release builds.
2023-04-18 12:37:33 +01:00
akwizgran
462f57c966
Upgrade handshake protocol to new key agreement method.
2023-03-10 16:05:59 +00:00
akwizgran
8d20c5d8b8
Reify RecordPredicate for easier testing.
2023-03-10 15:15:29 +00:00
Sebastian Kürten
73d806f8b9
Backport OS-check logic from Compose Multiplatform
2023-03-09 17:03:08 +01:00
akwizgran
36db5b48ef
Remove methods for manually reading lists and dictionaries.
2023-02-20 13:05:38 +00:00
akwizgran
98064e9efe
Remove BdfWriter methods for manually constructing lists and dicts.
2023-02-18 17:36:02 +00:00
akwizgran
63172ef2e4
Add 32-bit int methods to BdfList and BdfDictionary.
...
We use these a lot so it's useful to have built-in support.
Also refactor BdfList and BdfDictionary so the getters that take default values behave like the other getters. This simplifies the semantics and allows duplicated code to be removed.
Add comprehensive tests for BdfList and BdfDictionary.
2023-02-18 17:36:02 +00:00
akwizgran
7a854e70cb
Add BdfReader methods for 32-bit ints.
...
We use these a lot so it's convenient to have built-in support.
Also make BdfReaderImpl and BdfWriterImpl final to enable compiler optimisations.
2023-02-18 17:36:02 +00:00
akwizgran
ac8a4db457
Add support for reading and writing BDF in canonical form.
...
Existing transport property updates may not be in canonical form, so we need to parse them leniently.
2023-02-18 17:36:02 +00:00
akwizgran
5a09530670
Reject invalid UTF-8 instead of ignoring it.
2023-02-18 17:10:57 +00:00
Torsten Grote
3f13e7e9c3
Add convenience method for converting mailbox pairing text into QR code payload
2023-02-03 11:18:25 -03:00
Torsten Grote
0b94814620
Merge branch 'remove-migration-code' into 'master'
...
Remove various bits of code whose migration periods have passed
See merge request briar/briar!1750
2023-01-30 13:59:02 +00:00
akwizgran
7a3ffcbae6
Remove various bits of code whose migration periods have passed.
2022-12-07 17:47:02 +00:00
akwizgran
b4f3604584
Show appropriate error message if mailbox QR code is scanned.
2022-12-02 13:35:00 +00:00
akwizgran
badccac90c
Factor out recognition of QR code format.
2022-12-02 13:35:00 +00:00
akwizgran
2fe57d2597
Show progress while connecting to mailbox.
2022-11-30 17:17:08 +00:00
akwizgran
e4e7d84bde
Use null safety library.
2022-09-29 13:08:02 +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
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
9990fb3b8f
When our mailbox's API versions change, send them to contacts.
2022-08-12 16:38:15 +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
46352f664c
Add mailbox client manager.
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
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
akwizgran
d20457f338
Remove redundant method for recording successful connection.
2022-08-02 12:59:26 +01:00
akwizgran
0ae5361281
Merge branch '1777-lifecycle-manager' into 'master'
...
Allow process to exit if an exception is thrown during shutdown
Closes #1777
See merge request briar/briar!1668
2022-06-29 14:23:16 +00:00
Sebastian Kürten
4bca9decc1
Let StringUtils throw FormatException instead of IllegalArgumentException
2022-06-29 14:13:42 +02:00
akwizgran
feb8854678
Add @Inject constructor.
2022-06-23 14:22:25 +01:00
akwizgran
d82509f3ce
Address review feedback.
2022-06-23 11:00:13 +01:00
Torsten Grote
54e434d812
Merge branch '2291-mailbox-upload-worker' into 'master'
...
Mailbox upload worker
Closes #2291
See merge request briar/briar!1673
2022-06-20 11:39:44 +00:00
Torsten Grote
7f987667fe
Merge branch '2336-get-next-send-time' into 'master'
...
Consider latency when getting next send time from DB
Closes #2336
See merge request briar/briar!1671
2022-06-17 13:14:38 +00:00
Torsten Grote
43d28608f5
Merge branch '2291-mailbox-upload-plumbing' into 'master'
...
Plumbing for mailbox upload worker
See merge request briar/briar!1670
2022-06-17 13:07:22 +00:00
akwizgran
a2fb388aa6
Add creation of files for upload by MailboxFileManager.
2022-06-16 18:11:52 +01:00
akwizgran
e2a63ee361
Consider latency when getting next send time from DB.
2022-06-16 17:05:30 +01:00
akwizgran
ff9f706670
Add plumbing for creating outgoing sync sessions.
2022-06-16 15:51:16 +01:00
akwizgran
10ab60569b
Replace DeferredSendHandler with OutgoingSessionRecord.
2022-06-16 15:51:15 +01:00