akwizgran
217a6dbf1c
If worker is destroyed during upload, delete file before returning.
2022-08-05 14:16:15 +01:00
akwizgran
dfcd626081
Add some logging to connectivity checks.
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
68ab3b0e97
Register contact list worker to receive events.
2022-08-03 17:57:35 +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
ab29aacce0
Add MailboxClientFactory.
2022-08-02 12:59:26 +01:00
akwizgran
46bb2b8ec2
Destroy connectivity checker when client is destroyed.
2022-08-02 12:59:26 +01:00
akwizgran
5defd500ae
Tolerate 404 responses due to missing folders.
...
This prevents our own mailbox's download worker from getting stuck trying to list a folder that has been removed. Instead, the worker will move on to the next folder.
2022-07-27 16:36:32 +01:00
akwizgran
85aa21ebf6
Address review feedback.
2022-07-18 11:25:27 +01:00
akwizgran
8982964fbf
Add mailbox client for our own mailbox.
2022-07-15 18:00:13 +01:00
akwizgran
0865a06ac8
Refactor duplicated test code into superclass.
2022-07-15 16:24:22 +01:00
akwizgran
f2738c8bc4
Add some javadocs.
2022-07-15 16:07:26 +01:00
akwizgran
1321f8775e
Refactor duplicated code into superclass.
2022-07-15 15:45:55 +01:00
akwizgran
9764aba47d
Add download worker for own mailbox.
2022-07-15 15:19:44 +01:00
akwizgran
913e5da2f5
Refactor test expectations, add test for nothing to download.
2022-07-15 15:19:11 +01:00
akwizgran
622683f45e
Crash as soon as Tor closes the control connection.
2022-07-06 15:38:23 +01:00
akwizgran
2298818af5
Don't set "DisableNetwork 1" during shutdown.
...
This is redundant now that we start from the default config every time.
2022-07-01 12:30:46 +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
Torsten Grote
d8e26eebbe
Merge branch '1499-do-not-apply-redundant-settings' into 'master'
...
Start from default Tor config every time, don't apply redundant settings
See merge request briar/briar!1681
2022-06-29 13:50:01 +00:00
akwizgran
692e353046
Convert comments to javadocs.
2022-06-29 13:54:30 +01:00
Sebastian Kürten
4bca9decc1
Let StringUtils throw FormatException instead of IllegalArgumentException
2022-06-29 14:13:42 +02:00
akwizgran
7bbe9068bb
Start from the default Tor config every time.
...
Don't apply settings to Tor unless they've changed.
2022-06-28 12:42:55 +01:00
Torsten Grote
ddb759dbb8
Merge branch 'mailbox-base-url-refactoring' into 'master'
...
Refactor MailboxProperties to hold raw onion address
See merge request briar/briar!1680
2022-06-23 17:27:17 +00:00
akwizgran
3922270db1
Merge branch 'update-bridges' into 'master'
...
Update Tor bridges
See merge request briar/briar!1679
2022-06-23 13:50:12 +00:00
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
1f699238a9
Add some non-default bridges.
2022-06-23 12:23:50 +01:00
akwizgran
b8e91a12e8
Remove some failing bridges.
2022-06-23 12:18:38 +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
8bb3a83ccb
Add tests for contact list worker.
2022-06-22 13:59:50 +01: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