akwizgran
feb8854678
Add @Inject constructor.
2022-06-23 14:22:25 +01:00
Torsten Grote
4ba4e41e69
Merge branch '2294-contact-list-worker' into 'master'
...
Mailbox worker for updating our own mailbox's contact list
Closes #2294
See merge request briar/briar!1677
2022-06-23 12:19:32 +00:00
akwizgran
06eb01ab0a
Update translations.
2022-06-23 11:43:26 +01:00
akwizgran
d82509f3ce
Address review feedback.
2022-06-23 11:00:13 +01:00
Torsten Grote
b01c306500
Merge branch '2289-client-for-contacts-mailbox' into 'master'
...
Mailbox client for a contact's mailbox
Closes #2289
See merge request briar/briar!1674
2022-06-22 17:09:37 +00:00
Torsten Grote
61e7635b9f
Merge branch 'windows-tor-plugin' into 'master'
...
Add Tor plugin for Windows
See merge request briar/briar!1666
2022-06-22 17:08:23 +00:00
akwizgran
f2f356cbd4
Merge branch '2340-unlink-offline-crash' into 'master'
...
Don't crash when offline while unlink dialog gets shown
Closes #2340
See merge request briar/briar!1676
2022-06-22 16:41:26 +00:00
Torsten Grote
28f3ab1310
Dismiss unlink dialog when going offline
2022-06-22 13:25:12 -03:00
akwizgran
8bb3a83ccb
Add tests for contact list worker.
2022-06-22 13:59:50 +01:00
Torsten Grote
a742b007ef
Don't crash when offline while unlink dialog gets shown
2022-06-22 08:58:59 -03:00
Torsten Grote
6bfd7bcc4f
Merge branch '2338-make-headless-platform-jars-depend-on-jar-task' into 'master'
...
Make headless platform jars depend on main jar task
Closes #2338
See merge request briar/briar!1675
2022-06-22 11:28:12 +00:00
Sebastian Kürten
17f5fc7518
Make headless platform jars depend on main jar task
2022-06-22 10:30:32 +02:00
akwizgran
8dcf988399
Add contact list worker for own mailbox.
2022-06-20 17:55:21 +01:00
akwizgran
05bf3833cf
No need to use @Before to create stateful test objects.
2022-06-20 16:24:55 +01:00
akwizgran
c39c2ce124
Fetch supported API versions during connectivity check.
2022-06-20 13:55:05 +01:00
akwizgran
0b93af5d71
Add some logging.
2022-06-20 13:46:09 +01:00
akwizgran
f8e3579a92
Add tests for ContactMailboxClient.
2022-06-20 13:33:32 +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
akwizgran
13c3974f73
Implement client for a contact's mailbox.
2022-06-20 12:24:21 +01:00
akwizgran
aeb2a370e1
Return safely if destroy() is called before start().
2022-06-20 12:20:15 +01:00
akwizgran
0aff23a067
Add MailboxWorkerFactory.
2022-06-20 11:31:37 +01:00
akwizgran
a2a2da0260
Make MailboxSettingsManager a singleton, now that it accepts hooks.
2022-06-20 11:23:26 +01:00
akwizgran
4d7a3bca62
Address review feedback.
2022-06-20 10:41:13 +01:00
akwizgran
91d5698fe9
Fix a typo.
2022-06-17 16:36:07 +01:00
akwizgran
7266c6ee6b
Create temp file before requesting plugin.
2022-06-17 16:34:21 +01:00
akwizgran
06b539b911
Tests for MailboxUploadWorker.
2022-06-17 16:28:04 +01:00
akwizgran
486ba4a3fc
Merge branch '2337-dont-show-offline-screen-after-pairing' into 'master'
...
Ignore offline event in Paired state (when success screen is shown)
Closes #2337
See merge request briar/briar!1672
2022-06-17 13:16:28 +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
8d22a0ffaf
Merge branch 'do-not-interpolate-app-name' into 'master'
...
Don't interpolate the app name into strings
See merge request briar/briar!1669
2022-06-17 13:13:04 +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
Torsten Grote
c84d3f7707
Ignore offline event in Paired state (when success screen is shown)
2022-06-17 10:05:00 -03:00
akwizgran
2843e15905
Add mailbox upload worker.
2022-06-16 18:11:52 +01:00
akwizgran
a2fb388aa6
Add creation of files for upload by MailboxFileManager.
2022-06-16 18:11:52 +01:00
akwizgran
b7b253cf24
Clear reference to API call when download cycle finishes.
2022-06-16 18:11:52 +01:00
akwizgran
f05e9dd746
Fix a couple of test assertions.
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
akwizgran
61658655ff
Merge branch '2326-fetch-versions' into 'master'
...
Use /versions for mailbox connectivity check
Closes #2326
See merge request briar/briar!1665
2022-06-14 12:29:31 +00:00
akwizgran
40086ffde2
Don't interpolate the app name into strings.
2022-06-14 10:30:05 +01:00
Torsten Grote
1551142e98
Merge branch '2157-2158-xiaomi-power-setup' into 'master'
...
Adapt Xiaomi power setup for MIUI 12.5
Closes #2158 and #2157
See merge request briar/briar!1667
2022-06-13 13:12:50 +00: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
cfd4e85e77
Remove package names that are now provided by dont-kill-me-lib.
2022-06-13 13:48:23 +01:00
akwizgran
4d6abfabf7
Adapt Xiaomi power setup for MIUI 12.5.
2022-06-13 11:32:36 +01:00
akwizgran
a38933df66
Read Tor process's stdout until it exits.
...
On Windows, RunAsDaemon is a no-op so we need to read stdout to find out when Tor has finished starting up, then continue to read and discard stdout until Tor exits.
2022-06-13 11:21:26 +01:00
akwizgran
4993873ae2
Add Tor and obfsproxy binaries for Windows.
2022-06-09 15:39:27 +01:00
akwizgran
02b805ce42
Disable GeoIPFile and GeoIPv6File options.
...
On Windows, Tor falls back to the default paths if these options aren't specified and then refuses to start because the default paths are relative.
2022-06-09 15:39:26 +01:00