David ‘Bombe’ Roden [Fri, 6 Sep 2024 10:34:25 +0000 (12:34 +0200)]
✅ Add test for Peer
And in the process also fix a bug!
David ‘Bombe’ Roden [Fri, 6 Sep 2024 10:33:39 +0000 (12:33 +0200)]
🚧 Add matchers for ARKs, Versions, and DSAGroups
David ‘Bombe’ Roden [Wed, 4 Sep 2024 20:02:08 +0000 (22:02 +0200)]
✅ Add test for getOpennetPeers()
David ‘Bombe’ Roden [Wed, 4 Sep 2024 12:22:52 +0000 (14:22 +0200)]
✅ Add test for getDarknetPeers()
David ‘Bombe’ Roden [Wed, 4 Sep 2024 11:48:21 +0000 (13:48 +0200)]
✨ Add tests for getPeers() method
Also, some more matchers for FCP messages as well as Peer objects were
added.
David ‘Bombe’ Roden [Wed, 4 Sep 2024 11:47:10 +0000 (13:47 +0200)]
🐛 Only evaluate the message function once
David ‘Bombe’ Roden [Wed, 4 Sep 2024 11:46:37 +0000 (13:46 +0200)]
♻️ Add doNothing() method that can be used to consume a message without doing anything
David ‘Bombe’ Roden [Wed, 4 Sep 2024 11:46:05 +0000 (13:46 +0200)]
♻️ Extract InputStream matcher to its own file
David ‘Bombe’ Roden [Tue, 3 Sep 2024 12:04:23 +0000 (14:04 +0200)]
✅ Add beginning of test for FcpClient
David ‘Bombe’ Roden [Tue, 3 Sep 2024 09:43:58 +0000 (11:43 +0200)]
👷 Fix URL of Maven repository
David ‘Bombe’ Roden [Tue, 3 Sep 2024 09:43:44 +0000 (11:43 +0200)]
📝 Slightly improve javadoc
David ‘Bombe’ Roden [Tue, 3 Sep 2024 09:19:41 +0000 (11:19 +0200)]
✅ Prevent test from starting if local server is not yet up
David ‘Bombe’ Roden [Tue, 3 Sep 2024 09:12:05 +0000 (11:12 +0200)]
📝 Add some @param tags to appease javadoc
David ‘Bombe’ Roden [Mon, 2 Sep 2024 18:35:16 +0000 (20:35 +0200)]
✅ Add more tests for DefaultFcpConnection
David ‘Bombe’ Roden [Mon, 2 Sep 2024 18:22:42 +0000 (20:22 +0200)]
✨ Add String-based dispatcher implementation of FcpListener
David ‘Bombe’ Roden [Mon, 2 Sep 2024 15:16:14 +0000 (17:16 +0200)]
🚸 Add more methods to PersistentPutDir
Also, add a test.
David ‘Bombe’ Roden [Tue, 28 May 2024 20:10:39 +0000 (22:10 +0200)]
✅ Add first couple of tests for FCP connection
David ‘Bombe’ Roden [Tue, 28 May 2024 19:50:22 +0000 (21:50 +0200)]
🔀 Merge branch 'refactoring/increase-testability' into next
I’m not sure why I have not made all these changes on next, next is the
perfect branch for this. :)
David ‘Bombe’ Roden [Mon, 27 May 2024 19:59:55 +0000 (21:59 +0200)]
✨ Add additional getters for PersistentPut fields
David ‘Bombe’ Roden [Sun, 26 May 2024 10:50:35 +0000 (12:50 +0200)]
✅ Add test for Freenet-specific Base64 implementation
David ‘Bombe’ Roden [Sun, 26 May 2024 10:46:50 +0000 (12:46 +0200)]
📝 Fix typo in documentation
David ‘Bombe’ Roden [Sun, 26 May 2024 10:46:37 +0000 (12:46 +0200)]
🔥 Remove unnecessary configuration
David ‘Bombe’ Roden [Sun, 26 May 2024 10:45:47 +0000 (12:45 +0200)]
⬆️ Update JUnit and Maven plugins
The JUnit update fixes a problem with coverage recording, see
https://github.com/jacoco/jacoco/issues/1310#issuecomment-
1118191086 and
https://github.com/junit-team/junit4/issues/1652.
David ‘Bombe’ Roden [Tue, 14 Feb 2023 18:22:43 +0000 (19:22 +0100)]
🔀 Merge remote-tracking branch 'github/refactoring/increase-testability' into refactoring/increase-testability
David ‘Bombe’ Roden [Mon, 13 Feb 2023 09:22:14 +0000 (10:22 +0100)]
♻️ Refactor the FileEntry classes
And by that I mean “remove most of them.” The generalised FileEntry that
exposes a Map and an InputStream is absolutely adequate and removes the
instanceof check in ClientPutComplexDir.
David ‘Bombe’ Roden [Mon, 13 Feb 2023 07:53:30 +0000 (08:53 +0100)]
♻️ Slightly refactor the file entries
More to come!
David ‘Bombe’ Roden [Sun, 12 Feb 2023 12:48:29 +0000 (13:48 +0100)]
✅ Add test for FcpUtils
Also, fix a bug with the long-parsing.
David ‘Bombe’ Roden [Sun, 12 Feb 2023 09:36:08 +0000 (10:36 +0100)]
♻️ Move TempInputStream to its own class
David ‘Bombe’ Roden [Fri, 10 Feb 2023 09:12:23 +0000 (10:12 +0100)]
✅ Add test for “ConfigData”
David ‘Bombe’ Roden [Fri, 10 Feb 2023 08:42:39 +0000 (09:42 +0100)]
✅ Add test for “BaseMessage”
David ‘Bombe’ Roden [Fri, 10 Feb 2023 08:32:42 +0000 (09:32 +0100)]
✅ Add test for “ARK”
David ‘Bombe’ Roden [Fri, 10 Feb 2023 07:49:55 +0000 (08:49 +0100)]
✅ Add test for “AllData”
Also, make a member variable final.
David ‘Bombe’ Roden [Thu, 9 Feb 2023 20:30:26 +0000 (21:30 +0100)]
🔀 Merge “next”
David ‘Bombe’ Roden [Thu, 9 Feb 2023 08:20:58 +0000 (09:20 +0100)]
✅ Add test for “ClientPutComplexDir”
Also, fix a bug in it which would have prevent direct file uploads from having
worked.
David ‘Bombe’ Roden [Wed, 8 Feb 2023 14:14:15 +0000 (15:14 +0100)]
✅ Add test for ClientPutDiskDir
David ‘Bombe’ Roden [Wed, 8 Feb 2023 13:29:08 +0000 (14:29 +0100)]
✅ Add test for ClientPut
David ‘Bombe’ Roden [Wed, 8 Feb 2023 12:41:49 +0000 (13:41 +0100)]
✅ Add test for ClientHello
David ‘Bombe’ Roden [Wed, 8 Feb 2023 11:46:22 +0000 (12:46 +0100)]
⬆️ Update to Hamcrest 2.2
David ‘Bombe’ Roden [Wed, 8 Feb 2023 11:46:07 +0000 (12:46 +0100)]
✅ Add test for ClientGet command
David ‘Bombe’ Roden [Wed, 8 Feb 2023 11:44:30 +0000 (12:44 +0100)]
♻️ Refactor FCP message test base class
All the methods have been moved to helper classes in the “test” package, and
the abstract class itself has been removed.
David ‘Bombe’ Roden [Wed, 8 Feb 2023 07:51:00 +0000 (08:51 +0100)]
✅ Add tests for “AddPeer”
This also added a couple of FIXMEs because I either need to set a default for
both trust and visibility, or I need to extend the parameter list of the
methods that create a new AddPeer command.
David ‘Bombe’ Roden [Tue, 7 Feb 2023 15:40:16 +0000 (16:40 +0100)]
♻️ Turn FcpConnection into an interface
This will break all existing clients which is why this happens on a new branch
that will eventually turn into version 0.2.
David ‘Bombe’ Roden [Thu, 7 Jul 2022 07:57:39 +0000 (09:57 +0200)]
👷 Add Maven Wrapper
David ‘Bombe’ Roden [Thu, 22 Oct 2020 17:27:40 +0000 (19:27 +0200)]
⬆️ Update JUnit dependency
David ‘Bombe’ Roden [Thu, 22 Oct 2020 17:26:09 +0000 (19:26 +0200)]
✨ Expose URI from get/put requests
Debora Wöpcke [Sat, 1 Aug 2020 05:14:37 +0000 (07:14 +0200)]
Add access to the NewKnownGood field in a SubscribedUSKUpdate message.
David ‘Bombe’ Roden [Sun, 1 Mar 2020 09:36:04 +0000 (10:36 +0100)]
✨ Add method to send ModifyConfig request
David ‘Bombe’ Roden [Sun, 1 Mar 2020 09:33:57 +0000 (10:33 +0100)]
🎨 Provide method to send message from FCP adapter
David ‘Bombe’ Roden [Sat, 29 Feb 2020 12:00:37 +0000 (13:00 +0100)]
⬆️ Update some maven plugins
David ‘Bombe’ Roden [Sat, 29 Feb 2020 11:58:06 +0000 (12:58 +0100)]
🐛 Don’t force disconnection on protocol errors
David ‘Bombe’ Roden [Sat, 29 Feb 2020 11:05:39 +0000 (12:05 +0100)]
🥅 Throw specialized exception for protocol errors
David ‘Bombe’ Roden [Sat, 29 Feb 2020 11:05:06 +0000 (12:05 +0100)]
✨ Implement GetConfig command
David ‘Bombe’ Roden [Sat, 29 Feb 2020 11:01:04 +0000 (12:01 +0100)]
⬆️ Use Java 8
David ‘Bombe’ Roden [Thu, 27 Feb 2020 21:22:54 +0000 (22:22 +0100)]
♻️ Hide count-down latch for completion signalling
David ‘Bombe’ Roden [Sat, 5 May 2018 22:12:37 +0000 (00:12 +0200)]
Set version to 0.1.7-SNAPSHOT
David ‘Bombe’ Roden [Sat, 5 May 2018 22:19:32 +0000 (00:19 +0200)]
Merge branch 'master' into next
David ‘Bombe’ Roden [Sat, 5 May 2018 22:17:53 +0000 (00:17 +0200)]
Merge branch 'release-0.1.6'
David ‘Bombe’ Roden [Sat, 5 May 2018 22:06:36 +0000 (00:06 +0200)]
Set version to 0.1.6
David ‘Bombe’ Roden [Sat, 5 May 2018 22:00:45 +0000 (00:00 +0200)]
Don’t expose test dependencies
David ‘Bombe’ Roden [Wed, 4 Oct 2017 20:09:00 +0000 (22:09 +0200)]
Merge remote-tracking branch 'meteorite/next' into next
Meteorite [Tue, 3 Oct 2017 19:24:08 +0000 (22:24 +0300)]
switch to LF and tabs in TestInputStreamTest.java, remove Idea's stuff from project's gitignore
David ‘Bombe’ Roden [Sun, 1 Oct 2017 15:21:15 +0000 (17:21 +0200)]
Set version to 0.1.6-SNAPSHOT
David ‘Bombe’ Roden [Sun, 1 Oct 2017 15:19:35 +0000 (17:19 +0200)]
Merge branch 'master' into next
David ‘Bombe’ Roden [Sun, 1 Oct 2017 15:08:44 +0000 (17:08 +0200)]
Merge branch 'release-0.1.5'
David ‘Bombe’ Roden [Sun, 1 Oct 2017 15:08:32 +0000 (17:08 +0200)]
Set version to 0.1.5
David ‘Bombe’ Roden [Sun, 1 Oct 2017 15:06:48 +0000 (17:06 +0200)]
If DataLength can not be parsed, assume a length of 0
Meteorite [Sun, 20 Aug 2017 09:31:33 +0000 (12:31 +0300)]
add Idea's stuff to .gitignore
Meteorite [Sun, 20 Aug 2017 09:31:06 +0000 (12:31 +0300)]
fix hanging on AllData with large file
David ‘Bombe’ Roden [Sun, 11 Sep 2016 15:00:59 +0000 (17:00 +0200)]
Add “WatchFeeds” command
David ‘Bombe’ Roden [Sun, 11 Sep 2016 14:20:23 +0000 (16:20 +0200)]
End messages carrying data with “Data”
David ‘Bombe’ Roden [Tue, 6 Sep 2016 18:32:29 +0000 (20:32 +0200)]
Update license to GPLv3, fix header comments
David ‘Bombe’ Roden [Fri, 10 Jun 2016 16:54:15 +0000 (18:54 +0200)]
Merge branch 'master' into next
David ‘Bombe’ Roden [Fri, 10 Jun 2016 16:45:51 +0000 (18:45 +0200)]
Merge branch 'release-0.1.4'
David ‘Bombe’ Roden [Fri, 10 Jun 2016 16:45:40 +0000 (18:45 +0200)]
Set version to 0.1.4
David ‘Bombe’ Roden [Fri, 10 Jun 2016 04:50:49 +0000 (06:50 +0200)]
Copy payload in AllData/FCPPluginReply handlers
David ‘Bombe’ Roden [Wed, 25 Nov 2015 20:35:51 +0000 (21:35 +0100)]
Add better constructor and inputstream setter, deprecate old ones
David ‘Bombe’ Roden [Wed, 25 Nov 2015 18:12:13 +0000 (19:12 +0100)]
Fix “isClosed” method
David ‘Bombe’ Roden [Wed, 25 Nov 2015 06:46:25 +0000 (07:46 +0100)]
Expose whether an FCP connection is closed
David ‘Bombe’ Roden [Tue, 24 Nov 2015 21:00:52 +0000 (22:00 +0100)]
Automatically en- and decode peer note texts
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:31:48 +0000 (21:31 +0100)]
Add more commands
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:31:31 +0000 (21:31 +0100)]
Set “Directory” field
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:31:17 +0000 (21:31 +0100)]
Fix parsing
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:31:05 +0000 (21:31 +0100)]
Fix field name
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:30:51 +0000 (21:30 +0100)]
Fix command name
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:30:37 +0000 (21:30 +0100)]
Recognized “SubscribedUSK” event
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:29:55 +0000 (21:29 +0100)]
Add setter for real-time flag
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:29:37 +0000 (21:29 +0100)]
Expose lots of constructors and accessors
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:18:27 +0000 (21:18 +0100)]
Prevent NPE if last good version is null
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:31:00 +0000 (20:31 +0100)]
Add command to remove plugin
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:29:20 +0000 (20:29 +0100)]
Expose method to set field on message
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:28:59 +0000 (20:28 +0100)]
Forward EOF exception to handler
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:28:36 +0000 (20:28 +0100)]
Fix logging
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:26:18 +0000 (20:26 +0100)]
Expose methods to access fields
Debora Wöpcke [Sat, 6 Jun 2015 19:06:54 +0000 (21:06 +0200)]
Avoid one case of getting out of synch and trying to read too much.
David ‘Bombe’ Roden [Fri, 21 Aug 2015 16:43:32 +0000 (18:43 +0200)]
Use different ssh wagon for deployments
David ‘Bombe’ Roden [Wed, 14 Oct 2015 18:38:33 +0000 (20:38 +0200)]
Set version to 0.1.4-SNAPSHOT
David ‘Bombe’ Roden [Fri, 21 Aug 2015 05:19:51 +0000 (07:19 +0200)]
Merge branch 'release-0.1.3' into master
David ‘Bombe’ Roden [Fri, 21 Aug 2015 05:19:31 +0000 (07:19 +0200)]
Set version number to 0.1.3
David ‘Bombe’ Roden [Thu, 25 Jun 2015 17:23:24 +0000 (19:23 +0200)]
Remove useless tests
David ‘Bombe’ Roden [Thu, 25 Jun 2015 17:20:14 +0000 (19:20 +0200)]
Add hamcrest matchers