Commit Graph

247 Commits

Author SHA1 Message Date
akwizgran f2f98f28a3 Include client version in group ID derivation. 2017-12-05 16:07:17 +00:00
akwizgran 32e0b39771 Include protocol version in shared secret derivation. 2017-12-05 16:07:17 +00:00
akwizgran d2348a4e7d Remove method that just wraps a MAC call. 2017-11-30 17:08:59 +00:00
akwizgran 9f7021acd3 Include namespaced labels in crypto operations. 2017-11-30 17:08:56 +00:00
akwizgran d7383a3361 Effectively final. 2017-11-21 10:51:35 -02:00
akwizgran a5b321a93b Multi-catch. 2017-11-21 10:49:10 -02:00
akwizgran 5fa6b0ca1c Lambdas. 2017-11-21 10:49:08 -02:00
akwizgran 27328afe3c Diamond operators. 2017-11-21 10:45:47 -02:00
Torsten Grote 1bf0fdfa81 Add an option to debug builds to create fake test data 2017-09-27 13:55:29 -03:00
Torsten Grote c30bfa12ce Fix NPE when some RSS items don't have dates and add test 2017-09-20 09:11:06 -03:00
Torsten Grote 911c0c0fd9 Fix crash when sharing a forum while it was just shared with us 2017-09-19 14:30:57 -03:00
Torsten Grote de29fbc324 Fix bug where RSS feeds got lost when a fetching error occured 2017-08-01 15:32:51 -03:00
Torsten Grote 167fddfbcc Add unit tests for BlogSharingManager 2017-07-25 12:45:36 -03:00
Torsten Grote f25badc18c Move responsibility for pre-sharing blogs to sharing manager
to have all the code related to that in one place,
so it is easier to maintain and to spot bugs.

This also checks that only blogs without an existing sharing session
are shared and initialized again.
It extends an existing test to catch the missing check.

This removes some debugging information from the previous commit
to not leak private information via the sharing sessions.

Fixes #979
2017-07-17 14:07:47 -03:00
akwizgran 2007078f13 Added test for sharing an RSS blog. 2017-07-07 18:02:15 +01:00
Torsten Grote 098c1d0b1e Add test where two contacts remove each other 2017-07-04 11:30:17 -03:00
akwizgran 79aafcda69 Fixed a test, added a regression test. 2017-06-30 12:58:44 +01:00
akwizgran 5b05424d83 Merge branch 'master' into '941-store-correct-parent-id'
# Conflicts:
#   briar-core/src/test/java/org/briarproject/briar/blog/BlogManagerImplTest.java
2017-05-12 09:34:24 +00:00
Torsten Grote 6a07d8f2c9 Allow to remove pre-shared blogs of our contacts 2017-05-10 13:50:07 -03:00
Ernir Erlingsson 7024e04d15 fixed final akwizgran comments 2017-05-06 21:31:53 +02:00
Ernir Erlingsson 948410a064 fixed unread buttons for threaded lists and akwizgran's comments 2017-05-05 14:49:53 +02:00
Ernir Erlingsson 044719432a list position save and restore now implemented for threaded lists 2017-05-02 11:42:55 +02:00
akwizgran 76a5e25656 Added tests for wrapping and rewrapping blog posts. 2017-04-19 12:16:18 +01:00
akwizgran 84986d393f Added a test for #941, fixed some broken tests. 2017-04-13 17:28:45 +01:00
Torsten Grote 4b955809f7 Address review comments 2017-04-12 15:18:27 -03:00
Torsten Grote 9bfb58a764 Show blog posts from RSS feeds with a dedicated icon
This adds a field to the post headers and some more tests.
2017-04-12 08:43:24 -03:00
Torsten Grote b0b4a85d15 Add integration test for FeedManager
Attention: This factors out a DnsModule to be able to make actual
non-Tor DNS lookups for testing.
2017-04-12 08:43:23 -03:00
Torsten Grote d40a058ef5 Change blog descriptor format to include RSS feed flag
This now also handles the case where an RSS blog is deleted via the blog
deletion option and not the feed management.
2017-04-12 08:43:22 -03:00
Torsten Grote 85c17b4cb0 Fix MessageId calculation for deprecated MessageQueue
This was preventing introduction messages from getting ACKed.
The introduction tests were modified to check for this.
2017-04-07 09:45:35 -03:00
akwizgran d67e3900e3 Removed placeholder tests.
Evidently this way of nagging myself to write tests doesn't work.
2017-03-24 15:18:37 +00:00
Torsten Grote 720dda784e Remove error state and reset session on error instead 2017-03-23 14:14:23 -03:00
Torsten Grote 04508a7431 Store invitation outcome in metadata
and include in canBeOpened calculation for private groups and sharables.
2017-01-06 13:29:21 -02:00
Torsten Grote 5653c6d650 Address review comments 2017-01-06 13:25:13 -02:00
Torsten Grote ab100ad19b Properly remove the blog when deleting a contact and inform all peers
Fixes #816
2017-01-06 13:01:37 -02:00
Torsten Grote c13eafef14 Migrate blog sharing to new sharing client infrastructure 2017-01-06 13:01:34 -02:00
Torsten Grote dc6a6f27ab Fix MessageTreeImplTest 2017-01-04 16:27:49 -02:00
Torsten Grote 51b78cf9b1 Address review comments for new sharing client 2017-01-03 17:25:45 -02:00
Torsten Grote 694e662028 New Forum Sharing Client 2017-01-03 11:23:02 -02:00
Torsten Grote 409e0fb5a5 ForumSharingValidator 2017-01-03 11:23:00 -02:00
Torsten Grote 6a94785d9a Mark invitation unavailable to answer when creator dissolved the group
after the invitation.

Closes #876
2016-12-21 11:24:08 -02:00
akwizgran 79fc41477c Merge branch '628-bring-protocols-into-line-with-spec' into 'master'
Bring protocols in line with spec

Closes #628

See merge request !465
2016-12-21 12:52:43 +00:00
Torsten Grote c04580e321 Don't open unsubscribed shareables 2016-12-20 12:00:01 -02:00
Torsten Grote 501980d8fe Bring protocols in line with spec 2016-12-19 10:26:48 -02:00
akwizgran 3c2428449d Moved test utility classes into test package. 2016-12-14 15:42:52 +00:00
Torsten Grote 1081a08ea9 Move all unit tests to their modules and remove briar-tests 2016-12-13 17:22:24 -02:00
Torsten Grote 45b5040254 Add sharing information to private group ActionBar subtitle 2016-12-12 13:55:35 -02:00
Torsten Grote 97d4c68f43 Move integration tests to their proper packages 2016-12-12 10:27:41 -02:00