briar merge requestshttps://code.briarproject.org/briar/briar/-/merge_requests2022-01-18T14:46:39Zhttps://code.briarproject.org/briar/briar/-/merge_requests/1575Add MailboxIntegrationTest against a real mailbox instance2022-01-18T14:46:39ZTorsten GroteAdd MailboxIntegrationTest against a real mailbox instanceThe mailbox integration test will be run together with the bridge tests at night.
The last Mailbox MR accidentally added the `TolerableFailureException` in the wrong place. This MR includes a commit that fixes that error.The mailbox integration test will be run together with the bridge tests at night.
The last Mailbox MR accidentally added the `TolerableFailureException` in the wrong place. This MR includes a commit that fixes that error.Mailbox: Manage mailbox connectionshttps://code.briarproject.org/briar/briar/-/merge_requests/1578Refuse to start app on Android 4 beyond expiry date2022-01-19T08:54:14ZDaniel LublinRefuse to start app on Android 4 beyond expiry dateRefuse to start on Android 4 beyond the set expiry date
Closes #2250Refuse to start on Android 4 beyond the set expiry date
Closes #2250Mailboxhttps://code.briarproject.org/briar/briar/-/merge_requests/1581Add Mailbox File Mangement API2022-05-26T10:37:52ZTorsten GroteAdd Mailbox File Mangement APIcomplete API with unit and integration tests.
There might be copy and paste errors in the code, especially the tests.
Closes #2231, #2232, #2233 (two don't have tickets)complete API with unit and integration tests.
There might be copy and paste errors in the code, especially the tests.
Closes #2231, #2232, #2233 (two don't have tickets)Mailbox: File management APIhttps://code.briarproject.org/briar/briar/-/merge_requests/1582Add method for wiping the mailbox2022-02-14T14:45:52ZTorsten GroteAdd method for wiping the mailboxCloses #2257Closes #2257Mailbox: Unpairinghttps://code.briarproject.org/briar/briar/-/merge_requests/1585Implement UI for pairing Briar with mailbox2022-02-18T14:50:11ZTorsten GroteImplement UI for pairing Briar with mailboxMost part of #2162Most part of #2162Mailbox: Pairinghttps://code.briarproject.org/briar/briar/-/merge_requests/1587Implement backend for pairing mailbox2022-02-18T14:56:44ZTorsten GroteImplement backend for pairing mailboxCloses #2168Closes #2168Mailbox: Pairinghttps://code.briarproject.org/briar/briar/-/merge_requests/1590Implement final parts of UI for pairing Briar with mailbox2022-02-25T14:27:34ZTorsten GroteImplement final parts of UI for pairing Briar with mailbox![Video](https://chat.briarproject.org/api/v4/files/ee357kt5rfg3fmuxiotr9s5qzo?download=1)
Closes #2162![Video](https://chat.briarproject.org/api/v4/files/ee357kt5rfg3fmuxiotr9s5qzo?download=1)
Closes #2162Mailbox: Pairinghttps://code.briarproject.org/briar/briar/-/merge_requests/1600Use whole preview image when decoding QR2022-06-30T10:05:14ZDaniel LublinUse whole preview image when decoding QRWhen scanning Mailbox QR, the whole preview is visible on screen, so we
should use it. We choose to never crop the preview, because it was
originally a speed optimization which no longer is needed.
Closes #2269When scanning Mailbox QR, the whole preview is visible on screen, so we
should use it. We choose to never crop the preview, because it was
originally a speed optimization which no longer is needed.
Closes #2269Mailbox: Pairinghttps://code.briarproject.org/briar/briar/-/merge_requests/1601Make bridge test more robust2022-03-10T17:15:30ZakwizgranMake bridge test more robustThis branch tries to make BridgeTest more robust by testing each bridge multiple times and only considering a bridge to be unreachable if it fails every time.
Previously some unreliable obfs4 bridges were randomly passing or failing bec...This branch tries to make BridgeTest more robust by testing each bridge multiple times and only considering a bridge to be unreachable if it fails every time.
Previously some unreliable obfs4 bridges were randomly passing or failing because our timeout (5 min) was just long enough for Tor to fail to bootstrap, wait, and retry. For a given bridge, sometimes the retry would complete before the timeout and sometimes not. I've reduced the timeout for obfs4 bridges to 2 min so we don't wait and retry (the test has its own retry mechanism already). Since meek is very slow I've increased its timeout to 6 min instead.
Even with 5 retries we're still seeing different bridges failing each time the test is run, so the test now tolerates up to 4 unreachable bridges. I've removed some consistently failing bridges and added a couple more from Tor Browser.
BridgeTest failures block the release pipeline so I'm assigning this to the current milestone and Sponsor 6.Android 1.4https://code.briarproject.org/briar/briar/-/merge_requests/1606Replace ETA with max latency in retransmission logic2022-03-29T13:12:38ZDaniel LublinReplace ETA with max latency in retransmission logicCloses #2265Closes #2265Mailboxhttps://code.briarproject.org/briar/briar/-/merge_requests/1591Implement sync client for mailbox properties2022-04-01T13:20:20ZDaniel LublinImplement sync client for mailbox propertiesCloses #2181Closes #2181Mailbox: Sync mailbox propertieshttps://code.briarproject.org/briar/briar/-/merge_requests/1612Broadcast event when a contact's Mailbox properties are updated2022-03-31T09:24:01ZDaniel LublinBroadcast event when a contact's Mailbox properties are updatedCloses #2295Closes #2295Mailboxhttps://code.briarproject.org/briar/briar/-/merge_requests/1613Broadcast event when recording connection status of own mailbox2022-04-01T11:17:48ZDaniel LublinBroadcast event when recording connection status of own mailboxCloses #2267Closes #2267Mailbox: Status UI for Briar apphttps://code.briarproject.org/briar/briar/-/merge_requests/1615Reset retransmission times when pairing (new) mailbox2022-04-01T13:08:48ZDaniel LublinReset retransmission times when pairing (new) mailboxCloses #2192Closes #2192Mailbox: Unpairingakwizgranakwizgranhttps://code.briarproject.org/briar/briar/-/merge_requests/1619Reset retransmission times when contact's mailbox props change2022-04-04T10:19:03ZDaniel LublinReset retransmission times when contact's mailbox props changeCloses #2191Closes #2191Mailbox: Sync mailbox propertieshttps://code.briarproject.org/briar/briar/-/merge_requests/1617Implement status UI for mailbox connection2022-04-14T13:32:19ZTorsten GroteImplement status UI for mailbox connectionCloses #2172Closes #2172Mailbox: Status UI for Briar apphttps://code.briarproject.org/briar/briar/-/merge_requests/1632Improve MailboxStatusFragment and record check failures as well2022-04-20T15:04:32ZTorsten GroteImprove MailboxStatusFragment and record check failures as wellCloses #2172Closes #2172Mailbox: Status UI for Briar apphttps://code.briarproject.org/briar/briar/-/merge_requests/1637Implement UI for unpairing the mailbox2022-04-27T16:47:47ZTorsten GroteImplement UI for unpairing the mailboxCloses #2173Closes #2173Mailbox: Unpairinghttps://code.briarproject.org/briar/briar/-/merge_requests/1639Remind user to wipe mailbox if it's unreachable when unpairing2022-04-27T17:00:12ZTorsten GroteRemind user to wipe mailbox if it's unreachable when unpairingIf we fail to tell the mailbox to wipe itself when unpairing, remind the user that they should wipe the mailbox next time they have access to it.
Closes #2311If we fail to tell the mailbox to wipe itself when unpairing, remind the user that they should wipe the mailbox next time they have access to it.
Closes #2311Mailbox: Unpairinghttps://code.briarproject.org/briar/briar/-/merge_requests/1635Defer marking messages and acks as sent2022-05-12T13:59:18ZakwizgranDefer marking messages and acks as sent* Add some javadocs to DB classes (rescued from !1571)
* Refactor SimplexOutgoingSession to do all its work on a single IO thread (rescued from !1571)
* Separate EagerSimplexOutgoingSession (used for removable drives) from SimplexOutgoin...* Add some javadocs to DB classes (rescued from !1571)
* Refactor SimplexOutgoingSession to do all its work on a single IO thread (rescued from !1571)
* Separate EagerSimplexOutgoingSession (used for removable drives) from SimplexOutgoingSession
* Add MailboxOutgoingSession
* Refactor the DB methods used by the various session types
MailboxOutgoingSession doesn't mark messages/acks as sent. Instead it records the message IDs via a DeferredSendHandler so they can be marked as sent later, when the file has been uploaded to the mailbox.
MailboxOutgoingSession monitors the amount of data it's sending and stops when it reaches a predetermined limit. This allows mailboxes to enforce a maximum file size for uploads (briar-mailbox#105), which in turn helps to prevent DoS attacks by misbehaving contacts.
Closes #2296 (not #2226 as the branch name suggests)Mailbox: Manage mailbox connections