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
johndoe4221
8e83743dd7
Merge remote-tracking branch 'origin/master' into 2329-translations-for-trust-indicator-view-trust-levels
2022-06-15 12:19:24 +02: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
johndoe4221
6a91d18003
feat: [2329] adding initial translations for contact trust levels
2022-06-09 21:47:50 +02:00
akwizgran
e481a02126
Shutdown from background if BriarService is recreated.
2022-06-09 18:10:24 +01:00
akwizgran
825dff27fc
Exit if BriarService finds lifecycle already running.
2022-06-09 18:06:08 +01:00
akwizgran
de3a87fff5
Return early when starting/stopping if not in expected state.
2022-06-09 18:01:32 +01:00
akwizgran
85d1addd04
Continue shutdown if an exception is thrown.
2022-06-09 17:16:02 +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
akwizgran
1a6ba16a59
Add windowsJar task.
2022-06-09 15:39:26 +01:00
akwizgran
654a05df8a
Use Windows Tor plugin in briar-headless.
2022-06-09 15:39:26 +01:00
akwizgran
ffe1876337
Redirect standard error (copied from Nico's branch).
2022-06-09 15:39:26 +01:00
akwizgran
98963955b1
Use default SecureRandomProvider on Windows.
2022-06-09 15:39:26 +01:00
akwizgran
d83efce002
Add WindowsTorPlugin and factory.
2022-06-09 15:39:26 +01:00
Torsten Grote
efb1b8c1ad
Merge branch '2292-contact-mailbox-download-worker' into 'master'
...
Mailbox download worker for a contact's mailbox
Closes #2292
See merge request briar/briar!1658
2022-06-08 16:31:35 +00:00
akwizgran
3f36db8b3a
Merge branch 'obfs4-bridges-for-dpi-countries' into 'master'
...
Use non-default obfs4 bridges alongside meek in countries with advanced firewalls
See merge request briar/briar!1663
2022-06-08 14:13:43 +00:00
akwizgran
a2f4e70a48
Remove a failing bridge.
2022-06-08 14:44:05 +01:00
akwizgran
01e72eff40
Always remove observers in destroy().
2022-06-08 13:56:46 +01:00
Torsten Grote
dbcea3e1d1
Merge branch '1898-memory-stats' into 'master'
...
Pass memory stats from main process to crash reporter process
See merge request briar/briar!1662
2022-06-08 11:30:09 +00:00
akwizgran
6288577daa
Add javadoc explaining worker's lifecycle.
2022-06-08 12:13:07 +01:00
akwizgran
5d363496bd
Download files in the order the mailbox returns them.
2022-06-08 12:03:11 +01:00
akwizgran
75b5c92495
Pass memory stats from main process to crash reporter process.
2022-06-08 11:49:56 +01:00
Torsten Grote
bcc98cc4c9
Merge branch 'remove-bridge-test-from-release-pipeline' into 'master'
...
Remove BridgeTest from release pipeline
See merge request briar/briar!1661
2022-06-07 11:57:07 +00:00
Torsten Grote
2d605089bc
Merge branch 'skip-hypersql-tests-if-crypto-strength-is-limited' into 'master'
...
Skip HyperSQL tests if the test environment has crypto restrictions
See merge request briar/briar!1660
2022-06-07 11:56:04 +00:00
Torsten Grote
01f8be1b66
Merge branch 'return-early-if-services-are-stopped-twice' into 'master'
...
Return early if LifecycleManager#stopServices() is called twice
See merge request briar/briar!1659
2022-06-07 11:55:07 +00:00
akwizgran
eac6d0aa40
Remove BridgeTest from release pipeline.
2022-06-07 12:46:03 +01:00
akwizgran
713be403eb
Add some more non-default and vanilla bridges.
2022-06-07 12:18:59 +01:00
akwizgran
2fd948b81d
Use non-default obfs4 bridges in countries that use DPI.
2022-06-07 12:18:24 +01:00
akwizgran
62af5e858c
Merge branch 'Feedback_fix' into 'master'
...
Removed word limit on feedback.
See merge request briar/briar!1657
2022-06-07 10:59:45 +00:00
akwizgran
2201585a34
Skip HyperSQL tests if the test environment has crypto restrictions.
2022-06-07 11:11:41 +01:00
akwizgran
97d11cc602
Add tests for download worker.
2022-06-07 10:43:29 +01:00
akwizgran
79f41064e4
Add download worker for a contact's mailbox.
2022-06-07 10:43:29 +01:00
akwizgran
9aacd9d3d8
Allow observers to be removed.
2022-06-07 10:39:35 +01:00
FlyingP1g FlyingP1g
78f4dee43d
Removed word limit on feedback.
2022-06-06 21:15:46 +03:00
akwizgran
2b4a1cf54b
Refactor SimpleApiCall to support lambdas.
2022-06-06 17:40:19 +01:00
akwizgran
bb71de1a78
Merge branch '2319-mailbox-version-warning' into 'master'
...
Show warning if own mailbox's API version is incompatible
Closes #2319
See merge request briar/briar!1651
2022-06-06 16:23:15 +00: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
cc7de2c70a
Show warning if own mailbox's API version is incompatible
2022-06-06 11:00:05 -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