Changes on 2020-12-08 for repository at: Fetch URL: git@github.com:abeltje/Dancer-Plugin-RPC.git Push URL: git@github.com:abeltje/Dancer-Plugin-RPC.git Enjoy! 1.10 2020-12-08T08:52:03+01:00 (a0cc1a5 => Abe Timmerman) - (Abe Timmerman, 5 seconds ago) Autocommit for distribution Dancer::Plugin::RPC 1.10 (minor) 1.09_02 2020-12-03T14:05:26+01:00 (dafd25e => Abe Timmerman) - (Abe Timmerman, 5 days ago) Autocommit for distribution Dancer::Plugin::RPC 1.09_02 (same) 1.09_01 2020-08-18T00:21:43+02:00 (8e271e2 => Abe Timmerman) - (Abe Timmerman, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.09_01 (test) - (Abe Timmerman, 5 days ago) Also add handling-time per call to the logs. 1.09 2020-08-13T13:21:24+02:00 (5e6f9df => Abe Timmerman) - (Abe Timmerman, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.09 (minor) - (Abe Timmerman, 4 months ago) Update the tester-module (play nice with coverage) - (Abe Timmerman, 4 months ago) Standardise request-handling-logging over the Plugins - All three plugins had different logging on the subject of request - handling, they are now all the same. 1.08_05 2020-08-12T15:43:34+02:00 (b9b6a62 => Abe Timmerman) - (Abe Timmerman, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.08_05 (test) 1.08_04 2020-08-10T20:07:05+02:00 (29a6f50 => Abe Timmerman) - (Abe Timmerman, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.08_04 (test) - (Abe Timmerman, 4 months ago) Update t::Test::abeltje - The newer version of t::Test::abeltje imports all from L, - which includes 'warning', so we'll exclude that from the tests as we - don't need it... - (Abe Timmerman, 4 months ago) Switch to Types::Standard in the Example app. 1.08_03 2020-08-03T11:16:21+02:00 (817af42 => Abe Timmerman) - (Abe Timmerman, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.08_03 (test) - (Abe Timmerman, 4 months ago) Remove dependency on perl-5.14* - (Abe Timmerman, 4 months ago) It sucks to have to add internal constants to POD 1.08_02 2020-08-03T10:36:24+02:00 (8103248 => Abe Timmerman) - (Abe Timmerman, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.08_02 (test) - (Abe Timmerman, 4 months ago) use Moo; not Moose... 1.08_01 2020-08-01T21:47:57+02:00 (d97e49c => Abe Timmerman) - (Abe Timmerman, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.08_01 (test) - (Abe Timmerman, 4 months ago) Remove the need for 'Readonly' 1.08 2020-02-18T18:06:42+01:00 (1b6c844 => Abe Timmerman) - (Abe Timmerman, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.08 (minor) - (Abe Timmerman, 4 months ago) Add a note about the port for the example daemon in README - (Abe Timmerman, 4 months ago) Add 'Dancer::RPCPlugin::DefaultRoute' - This new helper module offers to install a "catch all" handler that - sends an appropriate response for "non serviceable" requests. This may - help you to create a more stable service. 1.07_05 2020-02-12T20:16:18+01:00 (3dae8b4 => Abe Timmerman) - (Abe Timmerman, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.07_05 (test) 1.07_04 2019-11-05T14:55:42+01:00 (9a71d61 => Abe Timmerman) - (Abe Timmerman, 1 year, 1 month ago) Autocommit for distribution Dancer::Plugin::RPC 1.07_04 (test) - (Abe Timmerman, 10 months ago) Set $Dancer::RPCPlugin::ROUTE_INFO for callback-scope - This introduces $Dancer::RPCPlugin::ROUTE_INFO in the scope of the - callback-function. It has some information about how this - route/rpc_method was found in the dispatch-table of the plugin. - Boyscout: - - declared constants for the PLUGIN_NAME(s) - - some POD fixes - - JSONRPC must have the 'jsonrpc':'2.0' key-value pair in the request. - - add $VERSION to all the plugins 1.07_03 2019-11-04T19:53:50+01:00 (ed5dd64 => Abe Timmerman) - (Abe Timmerman, 1 year, 1 month ago) Autocommit for distribution Dancer::Plugin::RPC 1.07_03 (test) - (Abe Timmerman, 1 year, 1 month ago) Handle `die error_response()` correctly - One should be able to die() with een error_response instead of using - return(). This case is now handled correctly. 1.07_02 2019-10-15T17:05:00+02:00 (28b2dca => Abe Timmerman) - (Abe Timmerman, 1 year, 2 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.07_02 (test) - (Abe Timmerman, 1 year, 1 month ago) Makefile.PL: add Params::Validate - Missing dependency 1.07_01 2019-08-08T14:51:20+03:00 (a828753 => Abe Timmerman) - (Abe Timmerman, 1 year, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.07_01 (test) - (Abe Timmerman, 1 year, 2 months ago) .travis.yml: Remove unsupported perl versions - (Abe Timmerman, 1 year, 2 months ago) Change the way ErrorResponse works - Other Dancer::Plugin::RPC modules should be able to change the HTTP - return status according to the error_code they have in the object. - One can register an error map between error_code and HTTP-status, for - each new plugin that wants to join the framework. 1.07 2017-12-06T08:28:38+01:00 (90c9eae => abeltje) - (abeltje, 3 years ago) Autocommit for distribution Dancer::Plugin::RPC 1.07 (minor) - (Abe Timmerman, 1 year, 9 months ago) Various minor fixes - - include the local-lib in the do-rpc script - - fix typo in log-message in Dancer::Plugin::RPC::JSONRPC - (Abe Timmerman, 1 year, 4 months ago) Rewrite the example-code - It now uses Bread::Board to set up the application. - Some fixes in the Moo-based code. 1.06 2017-11-06T18:37:03+01:00 (bc7dae9 => abeltje) - (abeltje, 3 years, 1 month ago) Autocommit for distribution Dancer::Plugin::RPC 1.06 (minor) - (abeltje, 3 years, 1 month ago) Add .travis.yml file for automated testing from GitHub - (abeltje, 3 years ago) Add PREREQ_PM to BUILD_REQUIRES 1.05_03 2017-10-22T10:24:47+02:00 (9d232c6 => abeltje) - (abeltje, 3 years, 2 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.05_03 (test) - (abeltje, 3 years, 1 month ago) Change mode example/bin/app.psgi to executable 1.05_02 2017-10-19T08:20:31+02:00 (e2a7c45 => abeltje) - (abeltje, 3 years, 2 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.05_02 (test) - (abeltje, 3 years, 2 months ago) Restore backward compatiblity for list_methods() 1.05_01 2017-10-18T20:04:06+02:00 (a54c02f => abeltje) - (abeltje, 3 years, 2 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.05_01 (test) - (abeltje, 3 years, 2 months ago) Do not try to load 'main' - 'main.pm' doesn't usually exist. The 'main' namespace is loaded anyway. 1.05 2017-09-25T20:22:52+02:00 (0367b23 => abeltje) - (abeltje, 3 years, 2 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.05 (minor) - (abeltje, 3 years, 2 months ago) Introduce a way to add to the registered plugin-names - By introducing a singleton-class that keeps track of plugin-names we - hope the Dancer::Plugin::RPC and Dancer::RPCPlugin mechanism makes a - move forward towards extendability. 1.04_07 2017-09-05T22:47:42+02:00 (443eca4 => abeltje) - (abeltje, 3 years, 3 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.04_07 (test) 1.04_06 2017-09-04T18:45:07+02:00 (b8eb5b9 => abeltje) - (abeltje, 3 years, 3 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.04_06 (test) - (abeltje, 3 years, 3 months ago) Introduce explicit endpoints for POD-publishing. - The pod-directive for publishing now has a third (optional) part to - specify an endpoint. This way one can have code for multiple endpoints - in the same file. - =for [ ] 1.04_05 2017-09-02T20:03:22+02:00 (e763554 => abeltje) - (abeltje, 3 years, 3 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.04_05 (same) - (abeltje, 3 years, 3 months ago) Fix Dancer::RPCPlugin::MethodList::list_methods interface - Now it is like the Dancer2 version with positional parameters. - (abeltje, 3 years, 3 months ago) Fix agent-identifier in http-client. - (abeltje, 3 years, 3 months ago) More places to document RESTRPC 1.04_04 2017-08-16T20:13:04+02:00 (5870202 => abeltje) - (abeltje, 3 years, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.04_04 (same) - (abeltje, 3 years, 3 months ago) Use Params::ValidationCompiler rather than Params::Validate - As of June 2017 the author recommends this change. - Change the interface of ::DispatchMethodList so it's in sync with the - Dancer2 version. 1.04_03 2017-08-16T20:11:18+02:00 (cd01b9d => abeltje) - (abeltje, 3 years, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.04_03 (same) 1.04_02 2017-07-19T21:53:18+02:00 (8db3504 => abeltje) - (abeltje, 3 years, 5 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.04_02 (test) - (abeltje, 3 years, 4 months ago) Fix regex for determining protocol 1.04_01 2017-06-26T20:11:57+02:00 (0775c84 => abeltje) - (abeltje, 3 years, 5 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.04_01 (test) - (abeltje, 3 years, 5 months ago) Rename tests to resemble their Dancer2 versions - This is only done for the base-module tests. - (abeltje, 3 years, 5 months ago) Changes to meta-files - Manage sorting and ignoring things better. - (abeltje, 3 years, 5 months ago) Change example-app config to log to file - (abeltje, 3 years, 5 months ago) Bring code between plugins closer - Do things in the same order and log at the same moment. - (abeltje, 3 years, 5 months ago) More meta-file stuff 1.04 2017-05-08T19:48:30+02:00 (1ee79d0 => abeltje) - (abeltje, 3 years, 7 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.04 (minor) - (abeltje, 3 years, 5 months ago) Update the example application - Keep it in sync with Dancer2::Plugin::RPC 1.03_01 2017-05-02T14:52:24+02:00 (6114ed2 => abeltje) - (abeltje, 3 years, 7 months ago) Commit for Dancer-Plugin-RPC 1.03_01 - (abeltje, 3 years, 7 months ago) Update Changes file 1.03 2017-04-13T23:06:50+02:00 (40de39e => abeltje) - (abeltje, 3 years, 8 months ago) Merge branch 'master' of github.com:abeltje/Dancer-Plugin-RPC - (abeltje, 3 years, 7 months ago) Better checks on callback and code_wrapper results - - callback-result must be a 'Dancer::RPCPlugin::CallbackResult', otherwise - it is considered an error. - - code_wrapper should return a plain data-structure. In case it returns an - object we must flatten it to a plain data-structure. - - Introduce a data-flattener. 1.02_01 2017-04-12T14:32:12+02:00 (d7dd17b => abeltje) - (abeltje, 3 years, 8 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.03 (minor) 1.02 2017-02-28T19:51:06+01:00 (2aed027 => abeltje) - (abeltje, 3 years, 9 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.02 (minor) - (abeltje, 3 years, 8 months ago) Add support for RESTRPC and an example app - RESTRPC is a simple protocol that uses HTTP-POST to send a JSON string - with Content-Type 'application/json'. - The Examle application shows a way to put your app together. This - application has simple internal methods and a method to communicate with - the outside world. 1.01_01 2017-02-20T21:18:38+01:00 (7496a72 => abeltje) - (abeltje, 3 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.01_01 (test) 1.01 2016-08-03T18:40:56+02:00 (084ef5f => abeltje) - (abeltje, 4 years, 4 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.01 (minor) - (abeltje, 3 years, 10 months ago) Introduce a general way to return a complete error-response - Dancer::RPCPlugin::ErrorResponse should be a way to return a full - error-response as valid response without knowlage of the protocol. 1.00_04 2016-07-08T00:19:31+02:00 (96c34a7 => abeltje) - (abeltje, 4 years, 5 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.00_04 (same) - (abeltje, 4 years, 4 months ago) Dunno why :( 1.00_03 2016-06-12T17:09:13+02:00 (dcd5949 => abeltje) - (abeltje, 4 years, 6 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.00_03 (same) - (abeltje, 4 years, 5 months ago) Add a mechanism to allow for listMethods - Add a singleton class Dancer::RPCPlugin::DispatchMethodList to manage a - full view of the dispatch table from a client side view. 1.00_02 2016-06-11T16:36:59+02:00 (e972dbd => abeltje) - (abeltje, 4 years, 6 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.00_02 (test) - (abeltje, 4 years, 6 months ago) Fix test 250 for JSON 2.90 - JSON 2.90 changed its redering of JSON::true, fix test 1.00_01 2016-06-07T21:11:39+02:00 (8385c04 => abeltje) - (abeltje, 4 years, 6 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.00_01 (test) - (abeltje, 4 years, 6 months ago) Fix faulty test. - the representation of 'True' may vary throughout versions of from_json() 1.00 2016-03-22T21:35:21+01:00 (7e62f40 => abeltje) - (abeltje, 4 years, 9 months ago) Autocommit for distribution Dancer::Plugin::RPC 1.00 (minor) - (abeltje, 4 years, 6 months ago) Try to fix test-failures - Comments from Henk to help build a FreeBSD port - Do not return a single value from the RPC-procedure 0.99_10 2016-02-06T09:36:21+01:00 (77f07bf => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_10 (test) - (Larion Garaczi, 4 years, 9 months ago) Handle unhandled exceptions in callbacks - Runtime exceptions in the 'callback' functions were not caught. Now we - handle them the same way as runtime exceptions in the actual methods. 0.99_09 2016-02-01T21:15:13+01:00 (66bed13 => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_09 (test) - (abeltje, 4 years, 10 months ago) Last POD fixes - POD fixes - Depend on higher version of Dancer (1.32) 0.99_08 2016-01-29T13:14:34+01:00 (7431695 => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_08 (test) - (abeltje, 4 years, 10 months ago) Introduce DispatchItem and CallbackResult - CallbackResult: callback_success(), callback_fail() - DispatchItem: dispatch_item() - 'config' is now the default publishing-method 0.99_07 2016-01-29T00:15:07+01:00 (24e4e49 => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_07 (test) - (abeltje, 4 years, 10 months ago) FIX: use the Dancer json-(de)serializer (again) - No explicit use of JSON.pm; Dancer knows what to do. 0.99_06 2016-01-29T00:07:12+01:00 (b3a0012 => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_06 (same) - (abeltje, 4 years, 10 months ago) FIX: use the Dancer json-(de)serializer - No explicit use of JSON.pm; Dancer knows what to do. 0.99_05 2016-01-28T23:31:59+01:00 (4310179 => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_05 (same) - (abeltje, 4 years, 10 months ago) FIX: remove test problem with JSON.pm - JSON 2.90 serializes booleans different from v2.61 :( 0.99_04 2016-01-27T17:45:25+01:00 (2e32854 => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_04 (test) - (abeltje, 4 years, 10 months ago) FIX: jsonrpc_error_response must return «jsonrpc => '2.0' - jsonrpc_error_response() did not return the correct key for 'jsonrpc' 0.99_03 2016-01-26T18:54:01+01:00 (303b015 => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_03 (test) - (abeltje, 4 years, 10 months ago) Add dependency: Params::Validate 0.99_02 2016-01-26T14:24:13+01:00 (9159494 => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_02 (test) - (Larion Garaczi, 4 years, 10 months ago) Bail out early when given an non-existing target function in the dispatch table - This prevents strange runtime errors ("use of uninitialized value on - subroutine entry") resulting from trying to call a non-function. - (Larion Garaczi, 4 years, 10 months ago) Replace Test::Exception with Test::Fatal - (abeltje, 4 years, 10 months ago) Merge remote-tracking branch 'larion/bugfix_dont_call_nonexistent_handler' into feature/die_on_bad_dispatch - (abeltje, 4 years, 10 months ago) Fix MANIFEST after pull-request. 0.99_01 2016-01-25T12:22:42+01:00 (6993bdc => abeltje) - (abeltje, 4 years, 10 months ago) Autocommit for distribution Dancer::Plugin::RPC 0.99_01 (test) - (abeltje, 4 years, 10 months ago) Renamed lib/Dancer/RPCPlugin/DispatchFromPod.pm 0.00_00 2015-06-15T09:07:42+02:00 (99373c1 => abeltje) - (abeltje, 5 years ago) Initial commit, working XMLRPC code... - (abeltje, 4 years, 10 months ago) First real commit. - Both plugins now have the same interface. - (abeltje, 4 years, 10 months ago) Add Changes after running deployment script.