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
akwizgran
d77d1d67aa
Include new visibility in GroupVisibilityUpdatedEvent.
2022-06-16 15:51:15 +01:00
akwizgran
924425522a
Split containsAnythingToSend() into methods for acks and messages.
2022-06-16 15:51:15 +01:00
akwizgran
356e0ee07b
Move MAX_LATENCY to MailboxConstants.
2022-06-16 15:51:15 +01:00
Torsten Grote
1c6fb6491a
Use /versions for mailbox connectivity check
...
Briar's mailbox status screen used the status API endpoint for its connectivity check. Now, it uses the versions endpoint instead, so that if we've warned the user that Briar and the Mailbox are using incompatible API versions, and the user has upgraded one of the apps to fix the issue, the user can use the "check connection" button in the status screen to check that the issue has been fixed.
(This is specifically needed for the case where the user has upgraded the Mailbox, because in the case where the user has upgraded Briar, Briar should automatically check the mailbox's API versions when it comes back online after upgrading.)
2022-06-13 10:07:40 -03:00
akwizgran
2201585a34
Skip HyperSQL tests if the test environment has crypto restrictions.
2022-06-07 11:11:41 +01:00
Torsten Grote
08bf13e44f
Move check for common mailbox versions into a helper method
...
and use this in the UI for knowing which app needs to be updated.
2022-06-06 11:04:55 -03:00
Torsten Grote
0f4aa8027a
Include mailbox server versions in MailboxStatus
...
so we know if the mailbox is incompatible with Briar
2022-06-06 11:00:04 -03:00
akwizgran
b128220be3
Add MailboxFileManager for downloads (uploads to be added later).
2022-06-03 17:55:19 +01:00
akwizgran
6aa24af94c
Add ConnectionManager method for incoming mailbox connections.
2022-06-03 17:13:20 +01:00
akwizgran
de63a50662
Add mailbox plugin.
2022-06-03 17:13:20 +01:00
Torsten Grote
971dbf5df2
Merge branch '2229-mailbox-client' into 'master'
...
Add connectivity check tasks, refactor mailbox properties
See merge request briar/briar!1650
2022-05-31 12:45:27 +00:00
akwizgran
3ebbb2a8cf
Merge branch '2175-mailbox-problem-notification' into 'master'
...
Show notification warning when own mailbox is unreachable
Closes #2175
See merge request briar/briar!1648
2022-05-26 20:10:13 +00:00
Torsten Grote
54339afab8
Factor mailbox problem detection into MailboxStatus and constants
2022-05-26 14:07:06 -03:00
akwizgran
94ce6bbb2c
Reject mailbox owner properties for mailbox update.
2022-05-26 14:49:33 +01:00
akwizgran
845d505d2b
Merge branch '2320-mailbox-metadata-format-exception' into 'master'
...
Bump major version of mailbox update client to avoid startup failure
Closes #2320
See merge request briar/briar!1647
2022-05-26 12:45:55 +00:00
akwizgran
ef6e3bb2a7
Refactor MailboxProperties and MailboxUpdateWithMailbox.
2022-05-26 13:40:31 +01:00
akwizgran
8ec998f645
Replace Supplier<Boolean> with more legible ApiCall interface.
2022-05-26 13:40:31 +01:00
akwizgran
274963d9d1
Add MailboxApiCaller for calling API endpoints with retries.
2022-05-24 15:10:07 +01:00
akwizgran
18b3865a86
Factor out Cancellable interface from TaskScheduler.
2022-05-24 15:10:07 +01:00
akwizgran
f08688708a
Bump client major version to ensure group metadata gets created.
2022-05-23 16:12:23 +01:00
Torsten Grote
c8caae49f1
Broadcast MailboxProblemEvent in case of mailbox problems
...
Also move other mailbox related events into the events package
2022-05-23 12:00:42 -03:00
Daniel Lublin
4467f9e260
Keep last sent clientSupports on record, sending update only if changed
2022-05-19 09:06:40 +02:00
Daniel Lublin
7e215e7f84
Keep MailboxUpdate immutable
2022-05-19 09:06:40 +02:00
Daniel Lublin
601ff50294
Send mailbox update to contacts if supported mailbox versions changed
2022-05-19 09:06:40 +02:00
Daniel Lublin
3f7aed7886
Rename to Mailbox update
2022-05-16 10:21:41 +02:00
Daniel Lublin
d2728dd29b
Assert that we have a local update
2022-05-16 10:07:35 +02:00
Daniel Lublin
a42d9eec1c
Include mailbox API version in local and remote mailbox properties
...
This changes the format of the mailbox properties update message, so
the major version of the client is bumped.
2022-05-13 16:19:51 +02:00
akwizgran
5d5d8d206c
Merge branch '2298-fetch-and-store-mailboxs-supported-api-versions-when-pairing' into 'master'
...
Fetch and store mailbox's supported API versions when pairing mailbox
Closes #2298
See merge request briar/briar!1622
2022-05-12 14:12:40 +00:00
akwizgran
5237df32e3
Merge branch '2226-defer-marking-messages-and-acks-as-sent' into 'master'
...
Defer marking messages and acks as sent
Closes #2296
See merge request briar/briar!1635
2022-05-12 13:59:17 +00:00
Daniel Lublin
4d685a2617
Fetch and store mailbox's supported api versions when pairing
2022-05-09 14:17:30 +02:00
Daniel Lublin
16ab48d009
Allow storing int array in settings
2022-05-01 08:23:27 +02:00
akwizgran
e614046662
Use longs to represent session capacity.
2022-04-27 17:45:11 +01:00
akwizgran
0691354952
Defer marking messages and acks as sent.
2022-04-27 17:45:11 +01:00
Torsten Grote
3138213f39
Let MailboxManager#unPair() return a boolean for whether it could wipe the mailbox
2022-04-27 08:38:43 -03:00
Torsten Grote
fa3db0f888
Add method for unpairing to MailboxManager
2022-04-26 15:18:29 -03:00
akwizgran
8c33ea5a6b
Add javadocs for database.
2022-04-19 13:04:35 +01:00
akwizgran
b275a0ffff
Increase Tor connection timeout to 2 minutes.
2022-04-16 16:07:03 +01:00
akwizgran
74a3f54d28
Merge branch '2172-mailbox-status-ui' into 'master'
...
Implement status UI for mailbox connection
Closes #2172
See merge request briar/briar!1617
2022-04-14 12:46:28 +00:00
Torsten Grote
60a1a4d2d1
Make MailboxManager#checkConnection() blocking and let the UI manage the executor
2022-04-07 10:44:24 -03:00
Torsten Grote
5e7891d78a
Add checkConnection() to MailboxManager
2022-04-01 13:55:11 -03:00
Torsten Grote
cff94009a1
Merge branch 'tor-0.4.5' into 'master'
...
Upgrade to Tor 0.4.5.12-1 and obfs4proxy 0.0.12
See merge request briar/briar!1608
2022-04-01 14:00:50 +00:00
akwizgran
5892fba237
Merge branch '2267-broadcast-event-when-recording-own-mailbox-connection-status' into 'master'
...
Broadcast event when recording connection status of own mailbox
Closes #2267
See merge request briar/briar!1613
2022-04-01 11:17:47 +00:00
akwizgran
cc9f04980a
Merge branch 'fix-exception-logging' into 'master'
...
Don't warn about background exceptions unless one was thrown
See merge request briar/briar!1610
2022-04-01 11:15:33 +00:00