jFCPlib.git
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

8 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

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

8 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

8 years agoAutomatically en- and decode peer note texts
David ‘Bombe’ Roden [Tue, 24 Nov 2015 21:00:52 +0000 (22:00 +0100)]
Automatically en- and decode peer note texts

8 years agoAdd more commands
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:31:48 +0000 (21:31 +0100)]
Add more commands

8 years agoSet “Directory” field
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:31:31 +0000 (21:31 +0100)]
Set “Directory” field

8 years agoFix parsing
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:31:17 +0000 (21:31 +0100)]
Fix parsing

8 years agoFix field name
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:31:05 +0000 (21:31 +0100)]
Fix field name

8 years agoFix command name
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:30:51 +0000 (21:30 +0100)]
Fix command name

8 years agoRecognized “SubscribedUSK” event
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:30:37 +0000 (21:30 +0100)]
Recognized “SubscribedUSK” event

8 years agoAdd setter for real-time flag
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:29:55 +0000 (21:29 +0100)]
Add setter for real-time flag

8 years agoExpose lots of constructors and accessors
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:29:37 +0000 (21:29 +0100)]
Expose lots of constructors and accessors

8 years agoPrevent NPE if last good version is null
David ‘Bombe’ Roden [Tue, 24 Nov 2015 20:18:27 +0000 (21:18 +0100)]
Prevent NPE if last good version is null

8 years agoAdd command to remove plugin
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:31:00 +0000 (20:31 +0100)]
Add command to remove plugin

8 years agoExpose method to set field on message
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:29:20 +0000 (20:29 +0100)]
Expose method to set field on message

8 years agoForward EOF exception to handler
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:28:59 +0000 (20:28 +0100)]
Forward EOF exception to handler

8 years agoFix logging
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:28:36 +0000 (20:28 +0100)]
Fix logging

8 years agoExpose methods to access fields
David ‘Bombe’ Roden [Tue, 24 Nov 2015 19:26:18 +0000 (20:26 +0100)]
Expose methods to access fields

9 years agoAvoid one case of getting out of synch and trying to read too much.
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.

9 years agoUse different ssh wagon for deployments
David ‘Bombe’ Roden [Fri, 21 Aug 2015 16:43:32 +0000 (18:43 +0200)]
Use different ssh wagon for deployments

9 years agoSet version to 0.1.4-SNAPSHOT
David ‘Bombe’ Roden [Wed, 14 Oct 2015 18:38:33 +0000 (20:38 +0200)]
Set version to 0.1.4-SNAPSHOT

9 years agoMerge branch 'release-0.1.3' into master v0.1.3
David ‘Bombe’ Roden [Fri, 21 Aug 2015 05:19:51 +0000 (07:19 +0200)]
Merge branch 'release-0.1.3' into master

9 years agoSet version number to 0.1.3
David ‘Bombe’ Roden [Fri, 21 Aug 2015 05:19:31 +0000 (07:19 +0200)]
Set version number to 0.1.3

9 years agoRemove useless tests
David ‘Bombe’ Roden [Thu, 25 Jun 2015 17:23:24 +0000 (19:23 +0200)]
Remove useless tests