jFCPlib.git
9 years agoUse reply-with-successful where appropriate
David ‘Bombe’ Roden [Fri, 16 Oct 2015 06:30:18 +0000 (08:30 +0200)]
Use reply-with-successful where appropriate

9 years agoExtract URIGenerated reply to its own method
David ‘Bombe’ Roden [Fri, 16 Oct 2015 06:29:21 +0000 (08:29 +0200)]
Extract URIGenerated reply to its own method

9 years agoMove method to a more sensible place
David ‘Bombe’ Roden [Fri, 16 Oct 2015 06:28:10 +0000 (08:28 +0200)]
Move method to a more sensible place

9 years agoAdd README
David ‘Bombe’ Roden [Thu, 15 Oct 2015 21:57:35 +0000 (23:57 +0200)]
Add README

9 years agoSend progress updates from ClientPutDiskDir
David ‘Bombe’ Roden [Thu, 15 Oct 2015 21:47:02 +0000 (23:47 +0200)]
Send progress updates from ClientPutDiskDir

9 years agoRemove JUnit @Rule, the files don’t have to exist
David ‘Bombe’ Roden [Thu, 15 Oct 2015 21:33:20 +0000 (23:33 +0200)]
Remove JUnit @Rule, the files don’t have to exist

9 years agoAdd progress consumer to ClientPut command
David ‘Bombe’ Roden [Thu, 15 Oct 2015 21:21:58 +0000 (23:21 +0200)]
Add progress consumer to ClientPut command

9 years agoAdd test for protocol error on ClientPutDiskDir
David ‘Bombe’ Roden [Thu, 15 Oct 2015 20:11:18 +0000 (22:11 +0200)]
Add test for protocol error on ClientPutDiskDir

9 years agoAdd basic ClientPutDiskDir command implementation
David ‘Bombe’ Roden [Thu, 15 Oct 2015 20:07:08 +0000 (22:07 +0200)]
Add basic ClientPutDiskDir command implementation

9 years agoAdd test for protocol error when reloading plugin
David ‘Bombe’ Roden [Thu, 15 Oct 2015 19:21:06 +0000 (21:21 +0200)]
Add test for protocol error when reloading plugin

9 years agoRefactor FCP dialog
David ‘Bombe’ Roden [Thu, 15 Oct 2015 19:20:25 +0000 (21:20 +0200)]
Refactor FCP dialog

9 years agoUse a single identifier generator in all commands
David ‘Bombe’ Roden [Thu, 15 Oct 2015 05:18:52 +0000 (07:18 +0200)]
Use a single identifier generator in all commands

9 years agoAdd test that protocol error ends AddPeer command
David ‘Bombe’ Roden [Thu, 15 Oct 2015 05:17:57 +0000 (07:17 +0200)]
Add test that protocol error ends AddPeer command

9 years agoRefactor GetNode command tests
David ‘Bombe’ Roden [Wed, 14 Oct 2015 19:40:14 +0000 (21:40 +0200)]
Refactor GetNode command tests

9 years agoRefactor config command tests
David ‘Bombe’ Roden [Wed, 14 Oct 2015 19:24:13 +0000 (21:24 +0200)]
Refactor config command tests

9 years agoPrevent “empty catch block” warning
David ‘Bombe’ Roden [Wed, 14 Oct 2015 19:23:44 +0000 (21:23 +0200)]
Prevent “empty catch block” warning

9 years agoUse method references instead of lambda expressions
David ‘Bombe’ Roden [Wed, 14 Oct 2015 18:57:03 +0000 (20:57 +0200)]
Use method references instead of lambda expressions

9 years agoRefactor client put tests
David ‘Bombe’ Roden [Wed, 14 Oct 2015 18:53:25 +0000 (20:53 +0200)]
Refactor client put tests

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.

Signed-off-by: David ‘Bombe’ Roden <bombe@freenetproject.org>
9 years agoRefactor connection tests a bit more
David ‘Bombe’ Roden [Mon, 24 Aug 2015 04:40:21 +0000 (06:40 +0200)]
Refactor connection tests a bit more

9 years agoImprove ClientGet tests
David ‘Bombe’ Roden [Mon, 24 Aug 2015 04:33:06 +0000 (06:33 +0200)]
Improve ClientGet tests

9 years agoClean up duplicate test
David ‘Bombe’ Roden [Mon, 24 Aug 2015 04:32:54 +0000 (06:32 +0200)]
Clean up duplicate test

9 years agoRefactor connection failure tests
David ‘Bombe’ Roden [Mon, 24 Aug 2015 04:29:59 +0000 (06:29 +0200)]
Refactor connection failure tests

9 years agoRefactor client get tests and message matching
David ‘Bombe’ Roden [Sun, 23 Aug 2015 20:35:47 +0000 (22:35 +0200)]
Refactor client get tests and message matching

9 years agoRefactor generate key pair command test
David ‘Bombe’ Roden [Sun, 23 Aug 2015 14:58:25 +0000 (16:58 +0200)]
Refactor generate key pair command test

9 years agoRefactor peer note command tests
David ‘Bombe’ Roden [Sun, 23 Aug 2015 14:52:24 +0000 (16:52 +0200)]
Refactor peer note command tests

9 years agoRefactor peer command tests
David ‘Bombe’ Roden [Sun, 23 Aug 2015 14:32:17 +0000 (16:32 +0200)]
Refactor peer command tests

9 years agoAdd subscription cancelling
David ‘Bombe’ Roden [Sat, 22 Aug 2015 17:03:49 +0000 (19:03 +0200)]
Add subscription cancelling

9 years agoRefactoring
David ‘Bombe’ Roden [Sat, 22 Aug 2015 17:02:29 +0000 (19:02 +0200)]
Refactoring

9 years agoAdd test for multiple listeners on one subscription
David ‘Bombe’ Roden [Sat, 22 Aug 2015 16:47:15 +0000 (18:47 +0200)]
Add test for multiple listeners on one subscription

9 years agoRefactoring
David ‘Bombe’ Roden [Sat, 22 Aug 2015 16:46:53 +0000 (18:46 +0200)]
Refactoring

9 years agoUse USK key in tests (even though it doesn’t matter)
David ‘Bombe’ Roden [Sat, 22 Aug 2015 16:26:26 +0000 (18:26 +0200)]
Use USK key in tests (even though it doesn’t matter)

9 years agoImplement notification on USK update
David ‘Bombe’ Roden [Sat, 22 Aug 2015 16:23:17 +0000 (18:23 +0200)]
Implement notification on USK update

9 years agoAdd unsubscribe command
David ‘Bombe’ Roden [Sat, 22 Aug 2015 16:17:57 +0000 (18:17 +0200)]
Add unsubscribe command

9 years agoAllow setting and retrieving of all possible attributes
David ‘Bombe’ Roden [Sat, 22 Aug 2015 16:02:37 +0000 (18:02 +0200)]
Allow setting and retrieving of all possible attributes

9 years agoAdd command to subscribe to USK updates
David ‘Bombe’ Roden [Sat, 22 Aug 2015 09:44:14 +0000 (11:44 +0200)]
Add command to subscribe to USK updates

9 years agoAdd test for protocol error on GetPluginInfo
David ‘Bombe’ Roden [Fri, 21 Aug 2015 22:50:47 +0000 (00:50 +0200)]
Add test for protocol error on GetPluginInfo

9 years agoAdd method to request detailed plugin info
David ‘Bombe’ Roden [Fri, 21 Aug 2015 22:45:47 +0000 (00:45 +0200)]
Add method to request detailed plugin info

9 years agoAdd command that returns information about a plugin
David ‘Bombe’ Roden [Fri, 21 Aug 2015 22:39:42 +0000 (00:39 +0200)]
Add command that returns information about a plugin

9 years agoAdd second constructor to GetPluginInfo command
David ‘Bombe’ Roden [Fri, 21 Aug 2015 22:34:51 +0000 (00:34 +0200)]
Add second constructor to GetPluginInfo command

9 years agoAdd method to remove cached plugin after removing plugin
David ‘Bombe’ Roden [Fri, 21 Aug 2015 22:07:28 +0000 (00:07 +0200)]
Add method to remove cached plugin after removing plugin

9 years agoAdd method to wait for removal of a plugin
David ‘Bombe’ Roden [Fri, 21 Aug 2015 22:05:19 +0000 (00:05 +0200)]
Add method to wait for removal of a plugin

9 years agoAdd command that removes a plugin
David ‘Bombe’ Roden [Fri, 21 Aug 2015 21:51:01 +0000 (23:51 +0200)]
Add command that removes a plugin

9 years agoFix variable name
David ‘Bombe’ Roden [Fri, 21 Aug 2015 21:41:19 +0000 (23:41 +0200)]
Fix variable name

9 years agoAdd method to store plugin in config after reloading
David ‘Bombe’ Roden [Fri, 21 Aug 2015 21:03:44 +0000 (23:03 +0200)]
Add method to store plugin in config after reloading

9 years agoAdd method to purge plugin while reloading
David ‘Bombe’ Roden [Fri, 21 Aug 2015 21:00:08 +0000 (23:00 +0200)]
Add method to purge plugin while reloading

9 years agoAdd method to add wait time for reloading plugins
David ‘Bombe’ Roden [Fri, 21 Aug 2015 20:43:34 +0000 (22:43 +0200)]
Add method to add wait time for reloading plugins

9 years agoMore refactoring
David ‘Bombe’ Roden [Fri, 21 Aug 2015 20:29:56 +0000 (22:29 +0200)]
More refactoring

9 years agoAdd command that reloads a plugin
David ‘Bombe’ Roden [Fri, 21 Aug 2015 20:27:43 +0000 (22:27 +0200)]
Add command that reloads a plugin

9 years agoOmit parameter
David ‘Bombe’ Roden [Fri, 21 Aug 2015 20:26:57 +0000 (22:26 +0200)]
Omit parameter

9 years agoMore refactoring
David ‘Bombe’ Roden [Fri, 21 Aug 2015 19:37:30 +0000 (21:37 +0200)]
More refactoring

9 years agoAdd method to load plugin from Freenet key
David ‘Bombe’ Roden [Fri, 21 Aug 2015 18:48:18 +0000 (20:48 +0200)]
Add method to load plugin from Freenet key

9 years agoRename tests
David ‘Bombe’ Roden [Fri, 21 Aug 2015 18:46:59 +0000 (20:46 +0200)]
Rename tests

9 years agoAdd method to load plugin from URL
David ‘Bombe’ Roden [Fri, 21 Aug 2015 18:44:30 +0000 (20:44 +0200)]
Add method to load plugin from URL

9 years agoSlightly refactor test
David ‘Bombe’ Roden [Fri, 21 Aug 2015 17:30:13 +0000 (19:30 +0200)]
Slightly refactor test

9 years agoAdd method to load plugin from file
David ‘Bombe’ Roden [Fri, 21 Aug 2015 17:15:31 +0000 (19:15 +0200)]
Add method to load plugin from file

9 years agoAdd method to load plugin from official HTTPS
David ‘Bombe’ Roden [Fri, 21 Aug 2015 17:07:23 +0000 (19:07 +0200)]
Add method to load plugin from official HTTPS

9 years agoAdd GPLv3 license information
David ‘Bombe’ Roden [Fri, 21 Aug 2015 05:11:45 +0000 (07:11 +0200)]
Add GPLv3 license information

9 years agoAdd command that loads a plugin
David ‘Bombe’ Roden [Fri, 21 Aug 2015 05:10:11 +0000 (07:10 +0200)]
Add command that loads a plugin

9 years agoAdd methods for more attributes of message
David ‘Bombe’ Roden [Fri, 21 Aug 2015 05:08:07 +0000 (07:08 +0200)]
Add methods for more attributes of message

9 years agoFix parsing of boolean value
David ‘Bombe’ Roden [Fri, 21 Aug 2015 05:07:53 +0000 (07:07 +0200)]
Fix parsing of boolean value

9 years agoFix field name
David ‘Bombe’ Roden [Fri, 21 Aug 2015 05:07:41 +0000 (07:07 +0200)]
Fix field name

9 years agoShutdown thread pool after use
David ‘Bombe’ Roden [Wed, 15 Jul 2015 05:14:33 +0000 (07:14 +0200)]
Shutdown thread pool after use

9 years agoAdd command that modifies the config of the node
David ‘Bombe’ Roden [Wed, 15 Jul 2015 05:14:12 +0000 (07:14 +0200)]
Add command that modifies the config of the node

9 years agoAdd constructor that takes an identifier
David ‘Bombe’ Roden [Wed, 15 Jul 2015 05:13:34 +0000 (07:13 +0200)]
Add constructor that takes an identifier

9 years agoAdd method to include data types in config data
David ‘Bombe’ Roden [Tue, 14 Jul 2015 20:16:04 +0000 (22:16 +0200)]
Add method to include data types in config data

9 years agoAdd method to include long description in config data
David ‘Bombe’ Roden [Tue, 14 Jul 2015 20:14:04 +0000 (22:14 +0200)]
Add method to include long description in config data

9 years agoAdd method to include short description in config data
David ‘Bombe’ Roden [Tue, 14 Jul 2015 20:12:13 +0000 (22:12 +0200)]
Add method to include short description in config data

9 years agoAdd method to include force-write flag in config data
David ‘Bombe’ Roden [Tue, 14 Jul 2015 20:10:16 +0000 (22:10 +0200)]
Add method to include force-write flag in config data

9 years agoAdd method to include expert flag in the config data
David ‘Bombe’ Roden [Tue, 14 Jul 2015 20:07:35 +0000 (22:07 +0200)]
Add method to include expert flag in the config data

9 years agoAdd method to include sort order in the config data
David ‘Bombe’ Roden [Tue, 14 Jul 2015 20:05:21 +0000 (22:05 +0200)]
Add method to include sort order in the config data

9 years agoAdd method to include the defaults in the config
David ‘Bombe’ Roden [Tue, 14 Jul 2015 20:01:36 +0000 (22:01 +0200)]
Add method to include the defaults in the config

9 years agoAdd method to get the current values from the config
David ‘Bombe’ Roden [Tue, 14 Jul 2015 19:58:04 +0000 (21:58 +0200)]
Add method to get the current values from the config

9 years agoAdd command to retrieve the node’s config
David ‘Bombe’ Roden [Tue, 14 Jul 2015 19:54:39 +0000 (21:54 +0200)]
Add command to retrieve the node’s config

9 years agoAdd constructor that takes an identifier
David ‘Bombe’ Roden [Tue, 14 Jul 2015 19:54:00 +0000 (21:54 +0200)]
Add constructor that takes an identifier

9 years agoAdd method to modify peer note by host and port
David ‘Bombe’ Roden [Tue, 14 Jul 2015 19:25:56 +0000 (21:25 +0200)]
Add method to modify peer note by host and port

9 years agoAdd method to modify peer note by node identifier
David ‘Bombe’ Roden [Tue, 14 Jul 2015 19:19:02 +0000 (21:19 +0200)]
Add method to modify peer note by node identifier

9 years agoAdd command that modifies the note of a peer
David ‘Bombe’ Roden [Tue, 14 Jul 2015 18:50:32 +0000 (20:50 +0200)]
Add command that modifies the note of a peer

9 years agoAdd Freenet-specific base64 implementation
David ‘Bombe’ Roden [Tue, 14 Jul 2015 18:46:18 +0000 (20:46 +0200)]
Add Freenet-specific base64 implementation

9 years agoAdd constructor with identifier, add methods to set type and text
David ‘Bombe’ Roden [Tue, 14 Jul 2015 18:39:43 +0000 (20:39 +0200)]
Add constructor with identifier, add methods to set type and text

9 years agoClose fake server successfully when it was not used
David ‘Bombe’ Roden [Tue, 14 Jul 2015 17:39:00 +0000 (19:39 +0200)]
Close fake server successfully when it was not used

9 years agoFix message name
David ‘Bombe’ Roden [Tue, 14 Jul 2015 17:30:40 +0000 (19:30 +0200)]
Fix message name

9 years agoAdd test for removing peers with unknown node identifiers
David ‘Bombe’ Roden [Mon, 13 Jul 2015 19:04:59 +0000 (21:04 +0200)]
Add test for removing peers with unknown node identifiers

9 years agoAdd method to remove a peer by host name and port number
David ‘Bombe’ Roden [Mon, 13 Jul 2015 19:03:37 +0000 (21:03 +0200)]
Add method to remove a peer by host name and port number

9 years agoAdd method to remove peer by identity
David ‘Bombe’ Roden [Mon, 13 Jul 2015 19:02:10 +0000 (21:02 +0200)]
Add method to remove peer by identity

9 years agoAdd command that removes a peer from the node by name
David ‘Bombe’ Roden [Mon, 13 Jul 2015 19:00:48 +0000 (21:00 +0200)]
Add command that removes a peer from the node by name

9 years agoAdd second constructor that takes an identifier
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:59:55 +0000 (20:59 +0200)]
Add second constructor that takes an identifier

9 years agoRename all remaining occurences of “sequence” to “dialog”
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:45:35 +0000 (20:45 +0200)]
Rename all remaining occurences of “sequence” to “dialog”

9 years agoAdd test for unknown node identifiers on modify peer command
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:39:38 +0000 (20:39 +0200)]
Add test for unknown node identifiers on modify peer command

9 years agoAdd method to not ignore source of a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:37:32 +0000 (20:37 +0200)]
Add method to not ignore source of a peer

9 years agoAdd method to ignore source for a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:34:04 +0000 (20:34 +0200)]
Add method to ignore source for a peer

9 years agoAdd method to clear listen only on a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:30:31 +0000 (20:30 +0200)]
Add method to clear listen only on a peer

9 years agoAdd method to set listen only on a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:29:20 +0000 (20:29 +0200)]
Add method to set listen only on a peer

9 years agoAdd method to clear burst only on peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:23:56 +0000 (20:23 +0200)]
Add method to clear burst only on peer

9 years agoAdd method to set burst only for peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:19:43 +0000 (20:19 +0200)]
Add method to set burst only for peer

9 years agoAdd method to disallow local addresses for a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 18:13:19 +0000 (20:13 +0200)]
Add method to disallow local addresses for a peer

9 years agoAdd method to allow local addresses for a peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:58:49 +0000 (19:58 +0200)]
Add method to allow local addresses for a peer

9 years agoAdd method to modify peers by host name and port number
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:52:13 +0000 (19:52 +0200)]
Add method to modify peers by host name and port number

9 years agoAdd method to modify peer by node identity
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:37:44 +0000 (19:37 +0200)]
Add method to modify peer by node identity

9 years agoAdd method to disable peer
David ‘Bombe’ Roden [Mon, 13 Jul 2015 17:35:59 +0000 (19:35 +0200)]
Add method to disable peer