jFCPlib.git
19 hours ago✅ Add test for DataFound for unknown identifiers not touching anything else
David ‘Bombe’ Roden [Fri, 22 Nov 2024 23:45:40 +0000 (00:45 +0100)]
✅ Add test for DataFound for unknown identifiers not touching anything else

20 hours ago✅ Add test for DataFound being used in getRequests()
David ‘Bombe’ Roden [Fri, 22 Nov 2024 23:30:51 +0000 (00:30 +0100)]
✅ Add test for DataFound being used in getRequests()

20 hours ago♻️ Rename flag for including global requests
David ‘Bombe’ Roden [Fri, 22 Nov 2024 22:54:19 +0000 (23:54 +0100)]
♻️ Rename flag for including global requests

20 hours ago✅ Add test for getting global requests
David ‘Bombe’ Roden [Fri, 22 Nov 2024 22:52:36 +0000 (23:52 +0100)]
✅ Add test for getting global requests

21 hours ago✅ Add test for getPutRequests() and refactor method
David ‘Bombe’ Roden [Fri, 22 Nov 2024 22:41:32 +0000 (23:41 +0100)]
✅ Add test for getPutRequests() and refactor method

21 hours ago♻️ Add method for easier creation of single-message responses
David ‘Bombe’ Roden [Fri, 22 Nov 2024 22:27:12 +0000 (23:27 +0100)]
♻️ Add method for easier creation of single-message responses

21 hours ago✅ Add test for getGetRequests() and refactor method
David ‘Bombe’ Roden [Fri, 22 Nov 2024 22:15:15 +0000 (23:15 +0100)]
✅ Add test for getGetRequests() and refactor method

21 hours ago🚧 Add matchers for high-level requests
David ‘Bombe’ Roden [Fri, 22 Nov 2024 22:13:24 +0000 (23:13 +0100)]
🚧 Add matchers for high-level requests

22 hours ago✅ Add tests for modifyPeerNote()
David ‘Bombe’ Roden [Fri, 22 Nov 2024 21:33:55 +0000 (22:33 +0100)]
✅ Add tests for modifyPeerNote()

22 hours ago✏️ Fix typo in Java 17 build
David ‘Bombe’ Roden [Fri, 22 Nov 2024 20:50:22 +0000 (21:50 +0100)]
✏️ Fix typo in Java 17 build

23 hours ago✅ Add test for getPeerNote()
David ‘Bombe’ Roden [Fri, 22 Nov 2024 20:26:44 +0000 (21:26 +0100)]
✅ Add test for getPeerNote()

7 weeks ago🏗️ Add Jenkinsfile
David ‘Bombe’ Roden [Wed, 2 Oct 2024 09:07:51 +0000 (11:07 +0200)]
🏗️ Add Jenkinsfile

2 months ago🐛 Make removePeer() return normally when node identifier is unknown
David ‘Bombe’ Roden [Fri, 6 Sep 2024 21:15:37 +0000 (23:15 +0200)]
🐛 Make removePeer() return normally when node identifier is unknown

Also, add a test!

2 months ago✅ Make tests more realistic by running listeners in a different thread
David ‘Bombe’ Roden [Fri, 6 Sep 2024 21:10:40 +0000 (23:10 +0200)]
✅ Make tests more realistic by running listeners in a different thread

2 months ago✅ Deprecate and replace modifyPeer(), add test
David ‘Bombe’ Roden [Fri, 6 Sep 2024 12:57:03 +0000 (14:57 +0200)]
✅ Deprecate and replace modifyPeer(), add test

2 months ago🐛 Only accept matchers for Strings on FCP message field values
David ‘Bombe’ Roden [Fri, 6 Sep 2024 12:51:15 +0000 (14:51 +0200)]
🐛 Only accept matchers for Strings on FCP message field values

2 months ago✅ Add tests for ModifyPeer, deprecate and replace a method
David ‘Bombe’ Roden [Fri, 6 Sep 2024 12:27:15 +0000 (14:27 +0200)]
✅ Add tests for ModifyPeer, deprecate and replace a method

2 months ago♻️ Use Stream API to filter returned peers
David ‘Bombe’ Roden [Fri, 6 Sep 2024 12:05:22 +0000 (14:05 +0200)]
♻️ Use Stream API to filter returned peers

2 months ago🔥 Remove fixed FIXMEs
David ‘Bombe’ Roden [Fri, 6 Sep 2024 11:59:47 +0000 (13:59 +0200)]
🔥 Remove fixed FIXMEs

Fuck the person who added FIXMEs in the source code and didn’t bother to
actually fix the issues.

It’s me. I was the one who did that.

2 months ago✅ Add tests for addPeer() methods
David ‘Bombe’ Roden [Fri, 6 Sep 2024 11:54:08 +0000 (13:54 +0200)]
✅ Add tests for addPeer() methods

And add Trust and Visibility parameters to all addPeer() methods.

2 months ago✅ Add tests for getSeedPeers()
David ‘Bombe’ Roden [Fri, 6 Sep 2024 11:35:49 +0000 (13:35 +0200)]
✅ Add tests for getSeedPeers()

2 months ago♻️ Move Peer creation into its own class
David ‘Bombe’ Roden [Fri, 6 Sep 2024 11:17:38 +0000 (13:17 +0200)]
♻️ Move Peer creation into its own class

2 months ago✅ Add test for Peer
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!

2 months ago🚧 Add matchers for ARKs, Versions, and DSAGroups
David ‘Bombe’ Roden [Fri, 6 Sep 2024 10:33:39 +0000 (12:33 +0200)]
🚧 Add matchers for ARKs, Versions, and DSAGroups

2 months ago✅ Add test for getOpennetPeers()
David ‘Bombe’ Roden [Wed, 4 Sep 2024 20:02:08 +0000 (22:02 +0200)]
✅ Add test for getOpennetPeers()

2 months ago✅ Add test for getDarknetPeers()
David ‘Bombe’ Roden [Wed, 4 Sep 2024 12:22:52 +0000 (14:22 +0200)]
✅ Add test for getDarknetPeers()

2 months ago✨ Add tests for getPeers() method
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.

2 months ago🐛 Only evaluate the message function once
David ‘Bombe’ Roden [Wed, 4 Sep 2024 11:47:10 +0000 (13:47 +0200)]
🐛 Only evaluate the message function once

2 months ago♻️ Add doNothing() method that can be used to consume a message without doing anything
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

2 months ago♻️ Extract InputStream matcher to its own file
David ‘Bombe’ Roden [Wed, 4 Sep 2024 11:46:05 +0000 (13:46 +0200)]
♻️ Extract InputStream matcher to its own file

2 months ago✅ Add beginning of test for FcpClient
David ‘Bombe’ Roden [Tue, 3 Sep 2024 12:04:23 +0000 (14:04 +0200)]
✅ Add beginning of test for FcpClient

2 months ago👷 Fix URL of Maven repository
David ‘Bombe’ Roden [Tue, 3 Sep 2024 09:43:58 +0000 (11:43 +0200)]
👷 Fix URL of Maven repository

2 months ago📝 Slightly improve javadoc
David ‘Bombe’ Roden [Tue, 3 Sep 2024 09:43:44 +0000 (11:43 +0200)]
📝 Slightly improve javadoc

2 months ago✅ Prevent test from starting if local server is not yet up
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

2 months ago📝 Add some @param tags to appease javadoc
David ‘Bombe’ Roden [Tue, 3 Sep 2024 09:12:05 +0000 (11:12 +0200)]
📝 Add some @param tags to appease javadoc

2 months ago✅ Add more tests for DefaultFcpConnection
David ‘Bombe’ Roden [Mon, 2 Sep 2024 18:35:16 +0000 (20:35 +0200)]
✅ Add more tests for DefaultFcpConnection

2 months ago✨ Add String-based dispatcher implementation of FcpListener
David ‘Bombe’ Roden [Mon, 2 Sep 2024 18:22:42 +0000 (20:22 +0200)]
✨ Add String-based dispatcher implementation of FcpListener

2 months ago🚸 Add more methods to PersistentPutDir
David ‘Bombe’ Roden [Mon, 2 Sep 2024 15:16:14 +0000 (17:16 +0200)]
🚸 Add more methods to PersistentPutDir

Also, add a test.

5 months ago✅ Add first couple of tests for FCP connection
David ‘Bombe’ Roden [Tue, 28 May 2024 20:10:39 +0000 (22:10 +0200)]
✅ Add first couple of tests for FCP connection

5 months ago🔀 Merge branch 'refactoring/increase-testability' into next
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. :)

5 months ago✨ Add additional getters for PersistentPut fields
David ‘Bombe’ Roden [Mon, 27 May 2024 19:59:55 +0000 (21:59 +0200)]
✨ Add additional getters for PersistentPut fields

5 months ago✅ Add test for Freenet-specific Base64 implementation
David ‘Bombe’ Roden [Sun, 26 May 2024 10:50:35 +0000 (12:50 +0200)]
✅ Add test for Freenet-specific Base64 implementation

5 months ago📝 Fix typo in documentation
David ‘Bombe’ Roden [Sun, 26 May 2024 10:46:50 +0000 (12:46 +0200)]
📝 Fix typo in documentation

5 months ago🔥 Remove unnecessary configuration
David ‘Bombe’ Roden [Sun, 26 May 2024 10:46:37 +0000 (12:46 +0200)]
🔥 Remove unnecessary configuration

5 months ago⬆️ Update JUnit and Maven plugins
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.

21 months ago🔀 Merge remote-tracking branch 'github/refactoring/increase-testability' into refacto...
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

21 months ago♻️ Refactor the FileEntry classes
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.

21 months ago♻️ Slightly refactor the file entries
David ‘Bombe’ Roden [Mon, 13 Feb 2023 07:53:30 +0000 (08:53 +0100)]
♻️ Slightly refactor the file entries

More to come!

21 months ago✅ Add test for FcpUtils
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.

21 months ago♻️ Move TempInputStream to its own class
David ‘Bombe’ Roden [Sun, 12 Feb 2023 09:36:08 +0000 (10:36 +0100)]
♻️ Move TempInputStream to its own class

21 months ago✅ Add test for “ConfigData”
David ‘Bombe’ Roden [Fri, 10 Feb 2023 09:12:23 +0000 (10:12 +0100)]
✅ Add test for “ConfigData”

21 months ago✅ Add test for “BaseMessage”
David ‘Bombe’ Roden [Fri, 10 Feb 2023 08:42:39 +0000 (09:42 +0100)]
✅ Add test for “BaseMessage”

21 months ago✅ Add test for “ARK”
David ‘Bombe’ Roden [Fri, 10 Feb 2023 08:32:42 +0000 (09:32 +0100)]
✅ Add test for “ARK”

21 months ago✅ Add test for “AllData”
David ‘Bombe’ Roden [Fri, 10 Feb 2023 07:49:55 +0000 (08:49 +0100)]
✅ Add test for “AllData”

Also, make a member variable final.

21 months ago🔀 Merge “next”
David ‘Bombe’ Roden [Thu, 9 Feb 2023 20:30:26 +0000 (21:30 +0100)]
🔀 Merge “next”

21 months ago✅ Add test for “ClientPutComplexDir”
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.

21 months ago✅ Add test for ClientPutDiskDir
David ‘Bombe’ Roden [Wed, 8 Feb 2023 14:14:15 +0000 (15:14 +0100)]
✅ Add test for ClientPutDiskDir

21 months ago✅ Add test for ClientPut
David ‘Bombe’ Roden [Wed, 8 Feb 2023 13:29:08 +0000 (14:29 +0100)]
✅ Add test for ClientPut

21 months ago✅ Add test for ClientHello
David ‘Bombe’ Roden [Wed, 8 Feb 2023 12:41:49 +0000 (13:41 +0100)]
✅ Add test for ClientHello

21 months ago⬆️ Update to Hamcrest 2.2
David ‘Bombe’ Roden [Wed, 8 Feb 2023 11:46:22 +0000 (12:46 +0100)]
⬆️ Update to Hamcrest 2.2

21 months ago✅ Add test for ClientGet command
David ‘Bombe’ Roden [Wed, 8 Feb 2023 11:46:07 +0000 (12:46 +0100)]
✅ Add test for ClientGet command

21 months ago♻️ Refactor FCP message test base class
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.

21 months ago✅ Add tests for “AddPeer”
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.

21 months ago♻️ Turn FcpConnection into an interface
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.

2 years ago👷 Add Maven Wrapper
David ‘Bombe’ Roden [Thu, 7 Jul 2022 07:57:39 +0000 (09:57 +0200)]
👷 Add Maven Wrapper

4 years ago⬆️ Update JUnit dependency
David ‘Bombe’ Roden [Thu, 22 Oct 2020 17:27:40 +0000 (19:27 +0200)]
⬆️ Update JUnit dependency

4 years ago✨ Expose URI from get/put requests
David ‘Bombe’ Roden [Thu, 22 Oct 2020 17:26:09 +0000 (19:26 +0200)]
✨ Expose URI from get/put requests

4 years agoAdd access to the NewKnownGood field in a SubscribedUSKUpdate message.
Debora Wöpcke [Sat, 1 Aug 2020 05:14:37 +0000 (07:14 +0200)]
Add access to the NewKnownGood field in a SubscribedUSKUpdate message.

4 years ago✨ Add method to send ModifyConfig request
David ‘Bombe’ Roden [Sun, 1 Mar 2020 09:36:04 +0000 (10:36 +0100)]
✨ Add method to send ModifyConfig request

4 years ago🎨 Provide method to send message from FCP adapter
David ‘Bombe’ Roden [Sun, 1 Mar 2020 09:33:57 +0000 (10:33 +0100)]
🎨 Provide method to send message from FCP adapter

4 years ago⬆️ Update some maven plugins
David ‘Bombe’ Roden [Sat, 29 Feb 2020 12:00:37 +0000 (13:00 +0100)]
⬆️ Update some maven plugins

4 years ago🐛 Don’t force disconnection on protocol errors
David ‘Bombe’ Roden [Sat, 29 Feb 2020 11:58:06 +0000 (12:58 +0100)]
🐛 Don’t force disconnection on protocol errors

4 years ago🥅 Throw specialized exception for protocol errors
David ‘Bombe’ Roden [Sat, 29 Feb 2020 11:05:39 +0000 (12:05 +0100)]
🥅 Throw specialized exception for protocol errors

4 years ago✨ Implement GetConfig command
David ‘Bombe’ Roden [Sat, 29 Feb 2020 11:05:06 +0000 (12:05 +0100)]
✨ Implement GetConfig command

4 years ago⬆️ Use Java 8
David ‘Bombe’ Roden [Sat, 29 Feb 2020 11:01:04 +0000 (12:01 +0100)]
⬆️ Use Java 8

4 years ago♻️ Hide count-down latch for completion signalling
David ‘Bombe’ Roden [Thu, 27 Feb 2020 21:22:54 +0000 (22:22 +0100)]
♻️ Hide count-down latch for completion signalling

6 years agoSet version to 0.1.7-SNAPSHOT
David ‘Bombe’ Roden [Sat, 5 May 2018 22:12:37 +0000 (00:12 +0200)]
Set version to 0.1.7-SNAPSHOT

6 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sat, 5 May 2018 22:19:32 +0000 (00:19 +0200)]
Merge branch 'master' into next

6 years agoMerge branch 'release-0.1.6' main master v0.1.6
David ‘Bombe’ Roden [Sat, 5 May 2018 22:17:53 +0000 (00:17 +0200)]
Merge branch 'release-0.1.6'

6 years agoSet version to 0.1.6
David ‘Bombe’ Roden [Sat, 5 May 2018 22:06:36 +0000 (00:06 +0200)]
Set version to 0.1.6

6 years agoDon’t expose test dependencies
David ‘Bombe’ Roden [Sat, 5 May 2018 22:00:45 +0000 (00:00 +0200)]
Don’t expose test dependencies

7 years agoMerge remote-tracking branch 'meteorite/next' into next
David ‘Bombe’ Roden [Wed, 4 Oct 2017 20:09:00 +0000 (22:09 +0200)]
Merge remote-tracking branch 'meteorite/next' into next

7 years agoswitch to LF and tabs in TestInputStreamTest.java, remove Idea's stuff from project...
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

7 years agoSet version to 0.1.6-SNAPSHOT
David ‘Bombe’ Roden [Sun, 1 Oct 2017 15:21:15 +0000 (17:21 +0200)]
Set version to 0.1.6-SNAPSHOT

7 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Sun, 1 Oct 2017 15:19:35 +0000 (17:19 +0200)]
Merge branch 'master' into next

7 years agoMerge branch 'release-0.1.5' v0.1.5
David ‘Bombe’ Roden [Sun, 1 Oct 2017 15:08:44 +0000 (17:08 +0200)]
Merge branch 'release-0.1.5'

7 years agoSet version to 0.1.5
David ‘Bombe’ Roden [Sun, 1 Oct 2017 15:08:32 +0000 (17:08 +0200)]
Set version to 0.1.5

7 years agoIf DataLength can not be parsed, assume a length of 0
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

7 years agoadd Idea's stuff to .gitignore
Meteorite [Sun, 20 Aug 2017 09:31:33 +0000 (12:31 +0300)]
add Idea's stuff to .gitignore

7 years agofix hanging on AllData with large file
Meteorite [Sun, 20 Aug 2017 09:31:06 +0000 (12:31 +0300)]
fix hanging on AllData with large file

8 years agoAdd “WatchFeeds” command
David ‘Bombe’ Roden [Sun, 11 Sep 2016 15:00:59 +0000 (17:00 +0200)]
Add “WatchFeeds” command

8 years agoEnd messages carrying data with “Data”
David ‘Bombe’ Roden [Sun, 11 Sep 2016 14:20:23 +0000 (16:20 +0200)]
End messages carrying data with “Data”

8 years agoUpdate license to GPLv3, fix header comments
David ‘Bombe’ Roden [Tue, 6 Sep 2016 18:32:29 +0000 (20:32 +0200)]
Update license to GPLv3, fix header comments

8 years agoMerge branch 'master' into next
David ‘Bombe’ Roden [Fri, 10 Jun 2016 16:54:15 +0000 (18:54 +0200)]
Merge branch 'master' into next

8 years agoMerge branch 'release-0.1.4' v0.1.4
David ‘Bombe’ Roden [Fri, 10 Jun 2016 16:45:51 +0000 (18:45 +0200)]
Merge branch 'release-0.1.4'

8 years agoSet version to 0.1.4
David ‘Bombe’ Roden [Fri, 10 Jun 2016 16:45:40 +0000 (18:45 +0200)]
Set version to 0.1.4

8 years agoCopy payload in AllData/FCPPluginReply handlers
David ‘Bombe’ Roden [Fri, 10 Jun 2016 04:50:49 +0000 (06:50 +0200)]
Copy payload in AllData/FCPPluginReply handlers

9 years agoAdd better constructor and inputstream setter, deprecate old ones
David ‘Bombe’ Roden [Wed, 25 Nov 2015 20:35:51 +0000 (21:35 +0100)]
Add better constructor and inputstream setter, deprecate old ones

9 years agoFix “isClosed” method
David ‘Bombe’ Roden [Wed, 25 Nov 2015 18:12:13 +0000 (19:12 +0100)]
Fix “isClosed” method

9 years agoExpose whether an FCP connection is closed
David ‘Bombe’ Roden [Wed, 25 Nov 2015 06:46:25 +0000 (07:46 +0100)]
Expose whether an FCP connection is closed