ialokim
ee9234e12e
transactional versions for GroupInvitationManager
2023-03-05 22:10:50 +01:00
akwizgran
63172ef2e4
Add 32-bit int methods to BdfList and BdfDictionary.
...
We use these a lot so it's useful to have built-in support.
Also refactor BdfList and BdfDictionary so the getters that take default values behave like the other getters. This simplifies the semantics and allows duplicated code to be removed.
Add comprehensive tests for BdfList and BdfDictionary.
2023-02-18 17:36:02 +00:00
Torsten Grote
0b94814620
Merge branch 'remove-migration-code' into 'master'
...
Remove various bits of code whose migration periods have passed
See merge request briar/briar!1750
2023-01-30 13:59:02 +00:00
Torsten Grote
7b8d01cfe0
Merge branch '1822-rss-feeds-backend' into 'master'
...
Resolve "Import RSS feeds shared by other apps"
See merge request briar/briar!1763
2023-01-25 11:39:34 +00:00
akwizgran
abd04ee7f5
Add tests for feed serialisation/deserialisation.
2023-01-24 17:27:52 +00:00
akwizgran
cc5365eaf0
Remove redundant comparison from test.
2023-01-24 17:27:34 +00:00
akwizgran
6eda2f6d13
AnimalSniffer doesn't allow StandardCharsets in tests.
2023-01-24 14:50:40 +00:00
akwizgran
4007fca668
Add integration tests for importing an RSS feed from a file.
2023-01-24 14:15:03 +00:00
akwizgran
28a747f7f3
Add method for adding an RSS feed from an input stream.
2023-01-24 13:57:44 +00:00
akwizgran
8f7bb9d26b
Don't overwrite the list of feeds after fetching.
2023-01-24 13:28:22 +00:00
akwizgran
dc220200b6
Match newly added RSS feeds to existing feeds.
2023-01-24 12:43:14 +00:00
akwizgran
2eef34f424
Use new transaction wrappers.
2023-01-23 13:02:16 +00:00
Torsten Grote
429bbe1275
Introduce more sharing states
2023-01-20 11:13:35 -03:00
Torsten Grote
e52cbd896e
Introduce SharingStatus to report more fine-grained status
2023-01-20 11:13:34 -03:00
akwizgran
33d01aac8c
Add matcher for matching an imported feed against existing feeds.
2023-01-18 15:04:38 +00:00
akwizgran
b920382e44
Store additional properties of RSS feed in metadata.
2023-01-18 15:04:38 +00:00
akwizgran
1a2f85f701
Small code cleanups for feed manager, don't fetch new feeds twice.
2023-01-18 15:04:33 +00:00
akwizgran
7a3ffcbae6
Remove various bits of code whose migration periods have passed.
2022-12-07 17:47:02 +00:00
Torsten Grote
bab6ec70f5
Factor out mailbox constants into a MailboxConfig
...
so that we can change them for integration tests via the new ModularMailboxModule that now also includes the UrlProvider
2022-10-21 12:22:57 -03:00
Torsten Grote
2a2c054959
Merge branch '2343-mailbox-as-submodule' into 'master'
...
End-to-end integration tests for communication via mailbox
Closes #2343
See merge request briar/briar!1699
2022-10-03 13:11:18 +00:00
akwizgran
e4e7d84bde
Use null safety library.
2022-09-29 13:08:02 +01:00
Sebastian Kürten
459b97c1d4
Integration tests for mailbox using mailbox-lib as submodule
2022-09-22 18:08:03 +02:00
akwizgran
a503aa6ed2
Fix test expectations: no whitespace after tag.
2022-08-31 13:04:44 +01:00
akwizgran
339e4daded
Update Dagger modules.
2022-08-05 14:16:15 +01:00
akwizgran
82057da962
Sync acks when re-adding contacts.
2022-05-16 11:05:14 +01:00
akwizgran
00b7518e49
Add comments to explain initial messages exchanged with contacts.
2022-05-16 11:05:10 +01:00
Daniel Lublin
3f7aed7886
Rename to Mailbox update
2022-05-16 10:21:41 +02:00
Daniel Lublin
84afc6d934
Let integration tests mind the mailbox prop update when adding contact
2022-05-13 16:19:51 +02:00
akwizgran
3d6972fd73
Fix race condition in IntroductionIntegrationTest.
2022-03-28 14:59:43 +01:00
Sebastian Kürten
d2a39da3e0
Transactional version of AttachmentReader#getAttachment()
2021-12-20 13:55:08 +01:00
Torsten Grote
c340071469
Merge branch 'jmock-java-11' into 'master'
...
Replace ClassImposteriser with ByteBuddyClassImposteriser
See merge request briar/briar!1569
2021-12-15 16:34:04 +00:00
Torsten Grote
043a173828
Migrate OkHttp to bramble-core
2021-12-15 10:46:48 -03:00
akwizgran
f0501bbfab
Merge branch '1483-peer-session-crash' into 'master'
...
Do not create PeerSession for groups we created
Closes #1483
See merge request briar/briar!1344
2021-12-15 12:37:46 +00:00
akwizgran
1d04bbcb4f
Merge branch '1607-share-http-client-instance' into 'master'
...
Use a single OkHttpClient instance for all RSS fetches
Closes #1607
See merge request briar/briar!1536
2021-11-23 11:51:23 +00:00
akwizgran
3f7c9af3a9
Create the HTTP client lazily and allow it to be garbage collected.
2021-11-22 12:01:51 +00:00
akwizgran
7aa1073bf5
Replace ClassImposteriser with ByteBuddyClassImposteriser.
...
This may avoid problems with ClassImposteriser when using Java 11. See
https://github.com/jmock-developers/jmock-library/releases/tag/2.10.0
2021-11-18 13:28:08 +00:00
akwizgran
22593722a7
Convert remaining tests to use BrambleMockTestCase.
2021-11-18 12:56:39 +00:00
ialokim
eb08781460
broadcast event when a conversation message is tracked
2021-11-11 20:56:02 +01:00
akwizgran
97bb695373
Clear keys from session when moving to AWAIT_ACTIVATE state.
2021-07-13 10:30:11 +02:00
akwizgran
d8230afae3
Reject old timestamps when deriving rotation mode keys.
2021-07-13 10:30:11 +02:00
Torsten Grote
399d8adb3b
Refactor base of BriarIntegrationTest into BrambleIntegrationTest
2021-07-13 10:27:17 +02:00
akwizgran
4cf5242aa5
Add comment explaining second client versioning message.
2021-07-13 10:26:24 +02:00
akwizgran
8921f10ffd
Add integration test for eager retransmission.
2021-07-13 10:26:24 +02:00
akwizgran
12245d960c
Allow sync clients to defer delivery of messages.
2021-07-13 10:26:16 +02:00
Daniel Lublin
73c7882cc0
Introduce RssFeedViewModel
...
Furnishing the RssFeed function as a single activity with fragments for
Manage and Import.
2021-05-03 09:40:40 +02:00
Torsten Grote
d3dbcfd62d
Recreate plausible private group sharing sessions when re-adding contact from group
2021-04-15 14:46:22 -03:00
Torsten Grote
c4c70f5ac2
Do not create PeerSession for groups we created
...
This needs a CreatorSession which gets created on-demand.
2021-04-15 14:44:58 -03:00
akwizgran
8991762b0c
Final code review nitpicks.
2021-04-15 16:12:38 +01:00
Sebastian Kürten
1dffbfd8dc
Add two tests for auto-declines happening after response already received
2021-04-13 08:49:04 -03:00
Sebastian Kürten
950db5a87a
Assert that IntroductionManager return true for canIntroduce()
2021-04-13 08:49:04 -03:00