Commit Graph

1070 Commits

Author SHA1 Message Date
goapunk 69c34adae3 Remove createTestData() 2018-04-24 16:57:02 +02:00
goapunk fe213d46e3 Address review comments 2018-04-24 16:05:46 +02:00
goapunk ac1bfcae60 Make test data creation configurable. 2018-04-24 12:29:20 +02:00
goapunk 575847cb36 Create a valid BT MAC and UUID when creating testdata 2018-04-23 21:05:14 +02:00
akwizgran 9196169561 Generate message and group IDs in a forward-compatible way. 2018-04-18 16:34:02 +01:00
akwizgran d23fc2cbda Use TestUtils to create groups. 2018-04-17 17:57:06 +01:00
akwizgran 58d1707467 Set max length for client IDs. 2018-04-17 17:57:00 +01:00
akwizgran 284e3a2e86 Merge add/remove contact hooks. 2018-04-17 16:20:16 +01:00
akwizgran 6bf2cb69c5 Use Ed25519 for signatures. 2018-02-01 16:56:50 +00:00
akwizgran 6bdb099aa9 Use scrypt for password-based key derivation. 2018-01-22 14:39:49 +00:00
akwizgran 699b037a3e Remove redundant constant for max blog name length. 2018-01-16 17:39:49 +00:00
akwizgran e474042af7 Use author encoding and parsing helpers everywhere. 2018-01-16 17:38:21 +00:00
akwizgran 030b9ef053 Use a versioned format for encoding authors. 2018-01-16 15:30:59 +00:00
akwizgran f11a97631f Avoid unnecessary DB queries when starting clients. 2018-01-07 11:24:41 +00:00
akwizgran f2f98f28a3 Include client version in group ID derivation. 2017-12-05 16:07:17 +00:00
akwizgran d92e042971 Include protocol version in message 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
Torsten Grote ddea031cbf Merge branch '1110-signature-labels' into 'master'
Don't use ClientId.toString() for signature labels

Closes #1110

See merge request !631
2017-11-30 17:03:07 +00:00
akwizgran 05bc3f6a71 Don't use ClientId.toString() for signature labels. 2017-11-29 16:57:00 +00:00
akwizgran 166fc2948c Add support for Ed25519 signatures. 2017-11-23 16:17:41 +00:00
akwizgran 735208562a Use java-library plugin for Java modules. 2017-11-21 16:35:08 +00:00
akwizgran e8c54a609c Upgrade Gradle Witness. 2017-11-21 16:35:03 +00:00
akwizgran 3ec8af4661 Merge branch 'use-java-8-language-features' into 'master'
Use java 8 language features

See merge request !621
2017-11-21 15:22:52 +00:00
Torsten Grote 77a08596fe Merge branch '764-bdf-list-dictionary-not-thread-safe' into 'master'
BdfList and BdfDictionary don't need to be thread-safe

Closes #764

See merge request !614
2017-11-21 13:00:23 +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
akwizgran e30e34f342 Include java.lang.invoke classes in bootstrap classpath. 2017-11-16 15:26:05 +00:00
akwizgran f8425658e4 Support Java 8 language features in Java modules. 2017-11-16 11:46:35 +00:00
akwizgran 98e2adf794 Fix Dagger setup, remove android-apt plugin. 2017-11-16 11:46:02 +00:00
akwizgran b2180582a7 BdfList and BdfDictionary don't need to be thread-safe.
Same goes for Metadata.
2017-11-06 15:20:21 +00:00
akwizgran 6f7f8b40e3 Upgraded Gradle plugin and build tools. 2017-10-17 15:31:28 +01: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
akwizgran ba727d7568 Don't add threaded messages to the UI before their parents. 2017-09-19 16:31:27 +01:00
akwizgran 5044127c46 Catch IllegalArgumentException when parsing RSS feed. 2017-09-18 15:26:12 +01: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 544c83a64c Close InputStream from RSS feed and prevent NPE 2017-07-28 10:38:01 -03:00
Torsten Grote 20eb022c36 Show blog posts with full text when clicked
This fixes a regression that was introduced in !551.
2017-07-25 15:50:04 -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
akwizgran 480b0e3a03 Create correct shareable for RSS blogs.
Also removed "personal blog" wording that doesn't apply to RSS blogs.
2017-07-07 17:30:44 +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 05af21e8dc Check personal blog subscription when removing contact. 2017-06-30 12:04:34 +01:00