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

9 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

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

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

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

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

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

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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 years agoAdd hamcrest matchers
David ‘Bombe’ Roden [Thu, 25 Jun 2015 17:20:14 +0000 (19:20 +0200)]
Add hamcrest matchers

9 years agoUpdate JUnit to 4.11
David ‘Bombe’ Roden [Thu, 25 Jun 2015 17:20:06 +0000 (19:20 +0200)]
Update JUnit to 4.11

10 years agoDisable JaCoCo plugin until there is a test to be run.
David ‘Bombe’ Roden [Wed, 16 Jul 2014 20:05:28 +0000 (22:05 +0200)]
Disable JaCoCo plugin until there is a test to be run.

10 years agoAdd JaCoCo coverage plugin.
David ‘Bombe’ Roden [Wed, 16 Jul 2014 19:56:25 +0000 (21:56 +0200)]
Add JaCoCo coverage plugin.

10 years agoMove WOT-related container classes to top-level classes.
David ‘Bombe’ Roden [Fri, 11 Apr 2014 06:05:42 +0000 (08:05 +0200)]
Move WOT-related container classes to top-level classes.

10 years agoSet source code encoding for compiler plugin to UTF-8.
David ‘Bombe’ Roden [Wed, 9 Apr 2014 19:51:49 +0000 (21:51 +0200)]
Set source code encoding for compiler plugin to UTF-8.

10 years agoSet version to 0.2-SNAPSHOT.
David ‘Bombe’ Roden [Wed, 9 Apr 2014 19:48:30 +0000 (21:48 +0200)]
Set version to 0.2-SNAPSHOT.

10 years agoRemove dependency on utils package.
David ‘Bombe’ Roden [Sun, 6 Apr 2014 20:03:03 +0000 (22:03 +0200)]
Remove dependency on utils package.

10 years agoRemove Eclipse project files.
David ‘Bombe’ Roden [Sun, 6 Apr 2014 10:18:13 +0000 (12:18 +0200)]
Remove Eclipse project files.

14 years agoReformat source code, new line length for comments (79), some trailing whitespace...
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:42:24 +0000 (06:42 +0200)]
Reformat source code, new line length for comments (79), some trailing whitespace removed.

14 years agoAdd “filterData” flag to getURI().
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:38:18 +0000 (06:38 +0200)]
Add “filterData” flag to getURI().

14 years agoLet the FCP client implement the Closeable interface.
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:26:58 +0000 (06:26 +0200)]
Let the FCP client implement the Closeable interface.

14 years agoAdd “FilterData” flag to ClientGet message.
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:26:40 +0000 (06:26 +0200)]
Add “FilterData” flag to ClientGet message.

14 years agoRequire a more recent version to net.pterodactylus.utils.
David ‘Bombe’ Roden [Fri, 10 Sep 2010 04:26:28 +0000 (06:26 +0200)]
Require a more recent version to net.pterodactylus.utils.

14 years agoTreat error code 24 as redirect, too.
David ‘Bombe’ Roden [Thu, 9 Sep 2010 20:13:10 +0000 (22:13 +0200)]
Treat error code 24 as redirect, too.

14 years agoAdd @Override annotations that are missing for JDK-1.6 compatibility.
David ‘Bombe’ Roden [Tue, 7 Sep 2010 10:16:51 +0000 (12:16 +0200)]
Add @Override annotations that are missing for JDK-1.6 compatibility.

14 years agoAdd method to retrieve a single URI.
David ‘Bombe’ Roden [Tue, 7 Sep 2010 10:16:14 +0000 (12:16 +0200)]
Add method to retrieve a single URI.

14 years agoReturn the content type of the found data.
David ‘Bombe’ Roden [Tue, 7 Sep 2010 10:04:45 +0000 (12:04 +0200)]
Return the content type of the found data.

14 years agoImplement Identifiable interface where appropriate.
David ‘Bombe’ Roden [Thu, 15 Apr 2010 09:10:11 +0000 (11:10 +0200)]
Implement Identifiable interface where appropriate.

14 years agoAdd interface to mark all FCP messages that have an “Identifier” field.
David ‘Bombe’ Roden [Thu, 15 Apr 2010 09:09:52 +0000 (11:09 +0200)]
Add interface to mark all FCP messages that have an “Identifier” field.

14 years agoAdd possibility to insert additional copies of certain blocks.
David ‘Bombe’ Roden [Thu, 25 Mar 2010 07:56:07 +0000 (08:56 +0100)]
Add possibility to insert additional copies of certain blocks.

14 years agoDon’t assume every client is already connected.
David ‘Bombe’ Roden [Fri, 19 Mar 2010 07:59:05 +0000 (08:59 +0100)]
Don’t assume every client is already connected.