Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Checking mergeability… Don’t worry, you can still create the pull request.
This comparison is big! We’re only showing the most recent 250 commits
Commits on Jul 05, 2009
@bobtfish bobtfish Fix contrubutors / maintainer section 97b3cf7
@bobtfish bobtfish Add POD test 36b40b8
@bobtfish bobtfish Changelogging 0566b5e
Commits on Jul 12, 2009
@bobtfish bobtfish importing Catalyst has special, magical effects. You really didn't wa…
…nt to do that, especially as it makes action role explode
@bobtfish bobtfish Changelogging c4ab359
Commits on Jul 13, 2009
@bobtfish bobtfish Bump version numbers so I can depend on the new code in CX::SimpleLogin db8bb64
Commits on Jul 16, 2009
@bobtfish bobtfish You mean next::method I think e34b463
Commits on Jul 17, 2009
@bobtfish bobtfish Changelog cbb0607
@bobtfish bobtfish More correct finding of the application class 2998eff
@bobtfish bobtfish Changelog bb55dba
Commits on Jul 21, 2009
unknown allow actions for methods 44d4863
Commits on Jul 22, 2009
@bobtfish bobtfish Add release date, shuffle maintainers 7580fa2
@bobtfish bobtfish Change to my github as master 09e6374
@bobtfish bobtfish Less crap in MANIFEST please f04ed65
Commits on Jul 25, 2009
@frioux frioux Merge branch 'master' of git://
@bobtfish bobtfish Merge cherry pick of whitespace cleanups 21d3f6a
@dandv dandv Made test independent of YAML::Syck bugs f106448
@bobtfish bobtfish Changelog d1e1050
@frioux frioux tests for dispatching to actions 7656dd1
Commits on Jul 28, 2009
@frioux frioux I'm an idiot 5f74984
Commits on Aug 17, 2009
@bobtfish bobtfish Add new serializer for JSON::XS 546f287
@bobtfish bobtfish Bump versions, use eval trick with version numbers to support dev rel…
…eases etc
@bobtfish bobtfish Doh, I meant that - works better e9073a6
@bobtfish bobtfish Fix failing test. Normalize method names 485b516
@bobtfish bobtfish Update date in Changes f41ab75
Commits on Aug 20, 2009
franck cuny add status for no content and gone bbf0fea
franck cuny add tests for status 9fb0911
Commits on Aug 21, 2009
@bobtfish bobtfish Changelogging 428ec4a
Commits on Aug 24, 2009
franck cuny tests don't pass with CATALYST_DEBUG set to 1 a56ba22
@bobtfish bobtfish Merge commit 'franckcuny/master'
* commit 'franckcuny/master':
  tests don't pass with CATALYST_DEBUG set to 1
@bobtfish bobtfish Changelog c42820a
Commits on Aug 26, 2009
@frioux frioux add failing test (for private action) 07b2ce2
@frioux frioux add extra test for Action and not just Private 5c4dd54
@bobtfish bobtfish Merge branch 'master' into frew-forward_to_actions
* master:
  tests don't pass with CATALYST_DEBUG set to 1
  add tests for status
  add status for no content and gone
  Update date in Changes
  Fix failing test. Normalize method names
  Doh, I meant that - works better
  Bump versions, use eval trick with version numbers to support dev releases etc
  Add new serializer for JSON::XS
  Made test independent of YAML::Syck bugs
  Merge cherry pick of whitespace cleanups
@bobtfish bobtfish Made the test more clear, works here.. 5f46184
Commits on Aug 27, 2009
@frioux frioux Merge branch 'master' of git:// 29739a5
@frioux frioux Merge branch 'frew-forward_to_actions' of git://…
@frioux frioux Doc, Changelog, Attribution 4ee2437
@bobtfish bobtfish Dink to s/: Private/: Action/ e51849a
@bobtfish bobtfish Changelog, bump versions 9eb6ca8
@bobtfish bobtfish .gitignore built dists 72b4a0b
Commits on Sep 28, 2009
@bobtfish bobtfish Require Moose for tests 5ebf67a
@bobtfish bobtfish Bump versions eaa7cec
Commits on Oct 26, 2009
@bobtfish bobtfish Tests which I believe show that JSON encoding is handled correctly. I…
….E. You pass in a character string (in perl's internal representation), and it's correctly encoded as utf8 in the JSON. It's then decoded when it arrives in the test controller and needs to be re-encoded to push into the output. Then for comparison in the tests we need to encode the character string back into bytes so that the test is testing like for like..
@bobtfish bobtfish Manual setup_components not needed 6c38b40
@bobtfish bobtfish Merge branch 'master' of
* 'master' of
  Bump versions
  Require Moose for tests
Commits on Nov 19, 2009
@bobtfish bobtfish Deal with nasty q headers (chansen) 5bbe8fb
@bobtfish bobtfish Put changes in the right place, duh f3394d8
Commits on Dec 10, 2009
@dandv dandv Cosmetic changes to C::C::REST POD 9531846
@dandv dandv Catalyst::Action::Serialize::View uses the calculated $stash_key; ame…
…nded C::C::REST POD to explain how exactly to use a View for custom serialization.
@dandv dandv More precise error messages that 'serialize' is a deprecated configur…
…ation key. POD for that too.
Commits on Dec 11, 2009
@bobtfish bobtfish Additional pod cleanups 5cb5f6b
@bobtfish bobtfish Bump versions d3f3a2e
@bobtfish bobtfish Shuffle all the Pod to the bottom of the file bd8fc54
@bobtfish bobtfish Fix author info 6e6e0bf
@bobtfish bobtfish Cherry pick everything bar the use parent change from 25d49c2, fixing…
… RT#46680
@bobtfish bobtfish Change all classes to Moose 930013e
@bobtfish bobtfish Change to Moose f168fa3
@bobtfish bobtfish Add Trait containing all the real logic e623bdf
@bobtfish bobtfish Mangle the request class mangling stuff. It's still fugly, but it's n…
…o longer totally retarded
@bobtfish bobtfish Changelog 489ee3e
@bobtfish bobtfish Comment about the yuk 0745d6e
Commits on Dec 17, 2009
Andrew Rodland Change Serialize::execute to expect serializers to throw an exception 68c2661
Andrew Rodland Port Serialize classes except for View. 71cbfa6
Andrew Rodland View is halfway there. Do we want to poke in $c->error? Maybe not. efab952
Andrew Rodland Add some real error-handling for Serialize::View 067d48e
Andrew Rodland Add tests for Serialize::View error behavior 2f97104
@ap ap simplify (and speed up) `_get_allowed_methods` 846b6b0
Commits on Dec 19, 2009
@bobtfish bobtfish Changelogging e1844cd
@bobtfish bobtfish Merge remote branch 'hobbs/rework-serializer-return-2'
* hobbs/rework-serializer-return-2:
  Add tests for Serialize::View error behavior
  Add some real error-handling for Serialize::View
  View is halfway there. Do we want to poke in $c->error? Maybe not.
  Port Serialize classes except for View.
  Change Serialize::execute to expect serializers to throw an exception
@bobtfish bobtfish Changelog 9a3a383
Andrew Rodland Change Serialize::execute to expect serializers to throw an exception 878b2b5
Andrew Rodland Port Serialize classes except for View. 7f36b63
Andrew Rodland View is halfway there. Do we want to poke in $c->error? Maybe not. 58c1c5f
Andrew Rodland Add some real error-handling for Serialize::View 6d4a379
Andrew Rodland Add tests for Serialize::View error behavior f7754f6
@bobtfish bobtfish Changelog a05bebd
@bobtfish bobtfish Fix test warning c93a41f
@bobtfish bobtfish Bump versions a400ef8
@bobtfish bobtfish Merge branch 'master' of
* 'master' of
  Add tests for Serialize::View error behavior
  Add some real error-handling for Serialize::View
  View is halfway there. Do we want to poke in $c->error? Maybe not.
  Port Serialize classes except for View.
  Change Serialize::execute to expect serializers to throw an exception
Commits on Jan 10, 2010
@bobtfish bobtfish Fix docs 38e05ec
@bobtfish bobtfish Add author_requires for optional modules and autogenerate README 63d41fc
@bobtfish bobtfish Change repos metadata to make catgit master c1f0052
Commits on Jan 14, 2010
@nebulous nebulous Added JSONP module and tests. Child of Catalyst::Action::Serialize::J…
…SON that allows for a ?callback= option
@bobtfish bobtfish Use strict and warnings aeb7a0a
@nebulous nebulous Added a Moose 9ffbd15
@nebulous nebulous regex typo c3c7003
@bobtfish bobtfish BEGIN { extends only needed for method attributes, so not in actions 62d47dd
@bobtfish bobtfish Trim trailing whitespace 610e03b
@bobtfish bobtfish Changelog 4f7a48d
@bobtfish bobtfish Bump versions for release 732d8f5
Commits on Jan 17, 2010
@autarch autarch Integrate REST::ForBrowsers. Update docs to point at traits. Update t…
…ests to test trait and class both.
@autarch autarch When inserting Cat::Req::REST, always add trait, rather than sometime…
…s using the Cat::Req::REST class directly.
@autarch autarch Shut up log output from Catalyst with null log object 52cef1a
@autarch autarch Add changes for 0.82 0467506
@autarch autarch add a $VERSION to every module f465980
@autarch autarch Move author tests to xt. Finish adding version nums everywhere, and t…
…est it.
@autarch autarch Add more changes 890738a
@autarch autarch Don't require an env var to run pod tests 65679e0
Commits on Jan 18, 2010
@bobtfish bobtfish Update README 4ac3b2f
@bobtfish bobtfish Ensure author side tests are always run 4a1b40c
@bobtfish bobtfish Doc nits pointed out in RT#53780 26b59bc
@bobtfish bobtfish Update the Serialize and Deserialize classes to use Moose 05009b9
Commits on Jan 22, 2010
@frioux frioux changes to allow objects instead of classes for Serializers 0c14c8c
@frioux frioux fix json to encode_blessed 14cbe8f
@frioux frioux add Changes 7d5e38b
Commits on Jan 27, 2010
@autarch autarch Move fREW's changes under 0.82 2b1751a
Commits on Jan 28, 2010
@autarch autarch Add missing puncuation 81c57b3
@autarch autarch Add pod spelling test bd58992
@autarch autarch correct all spelling errors d6ece98
@autarch autarch Add myself to list of contributors 76a96ed
@autarch autarch Add POD escapes for < and > 410b24f
@autarch autarch Sort list of contributors 04882f7
Commits on Feb 04, 2010
@bobtfish bobtfish Bump versions for release 3bb36dc
Commits on Feb 08, 2010
@bobtfish bobtfish Add tests which should fail, but don't.
I think this is what was being got at in the mail
but these tests dont fail..
@nperez nperez Add HTTP method DELETE 4b8f5b8
@bobtfish bobtfish Docs and fix test 92d78e8
@bobtfish bobtfish Changelog 8ff2428
@bobtfish bobtfish Bump versions a042dad
Commits on Mar 22, 2010
@bobtfish bobtfish Revert "When inserting Cat::Req::REST, always add trait, rather than …
…sometimes using the Cat::Req::REST class directly."

This reverts commit 15f4af0.

This is because if we're always an anon class, then the dumped output is
HORRIBLE. Yes, we should fix the dumper to be Moose aware, but I also
have no problem with this logic as it used to be..
@bobtfish bobtfish Merge commit 'origin/master' 9c3940c
Commits on May 06, 2010
@bobtfish bobtfish Commit patch from Fabien Wernli bdff70a
@bobtfish bobtfish Additional test to ensure the response body actually really works a60f84b
@bobtfish bobtfish Bump versions, changelog 96a61a6
@bobtfish bobtfish Merge remote branch 'origin/master'
* origin/master:
  Revert "When inserting Cat::Req::REST, always add trait, rather than sometimes using the Cat::Req::REST class directly."
@bobtfish bobtfish Changelog 5578f73
@bobtfish bobtfish Move changes 547df8d
Commits on May 08, 2010
@bobtfish bobtfish Doc fix 3accd91
Commits on May 13, 2010
@bobtfish bobtfish Back compat fix for Gitalist
Views don't render 3XX responses as you don't care if you're in a browser,
whereas normal structured serialization methods (e.g. JSON) do probably
want to render an entity.
@bobtfish bobtfish Bump versions ab8ab47
Commits on Jun 16, 2010
@bobtfish bobtfish Clean up the version number test 2c34d7c
Commits on Jul 07, 2010
@bobtfish bobtfish Write more tests.
For foo_XXXX methods being dispatched as proper actions (via ->forward)
if they have action objects
@bobtfish bobtfish Add comments to clarify a34f230
Commits on Sep 01, 2010
@bobtfish bobtfish Security patch for the Data::Dumper serializer 0fd45d2
@bobtfish bobtfish Add a json_options key to the REST controller 838f49d
@bobtfish bobtfish Version 0.86 ad46030
Commits on Oct 11, 2010
@bobtfish bobtfish Fix warning be35ac1
Commits on Nov 03, 2010
@bobtfish bobtfish Fix for Moose changes d54b646
@bobtfish bobtfish Version 0.87 e527bba
Commits on Nov 24, 2010
@bobtfish bobtfish Note this is deprecated 46ca391
Commits on Dec 02, 2010
@bobtfish bobtfish Fix docs 355d438
Commits on Jan 07, 2011
@arcanez arcanez fix for undef bodies 467b1ad
Commits on Jan 11, 2011
@bobtfish bobtfish Fix spelling test. dc74ddb
@bobtfish bobtfish Fix warning and test blank body behavior 786c212
@bobtfish bobtfish Update README 508659c
@bobtfish bobtfish Version 0.88 a9e5f3d
Commits on Jan 19, 2011
@bobtfish bobtfish Merge arcanez stuff and mine ad995b4
Commits on Jan 20, 2011
@autarch autarch Fix a typoe comment 5f48cbe
Commits on Jan 22, 2011
@autarch autarch use done_testing in all .t files 10018fb
@autarch autarch Add explicit 1; d2c41c1
@autarch autarch Add explicit 1; 8d30469
@autarch autarch Add explicit 1; 1212cee
@autarch autarch Make all classes immutable 2474828
@autarch autarch Doc immutabilization changes 84b1ebe
@autarch autarch Fix some weirdo indentation 82b48c6
@autarch autarch Small refactoring of case where there is no code for a given rest metohd 65987ff
@autarch autarch Move dispatching logic to its own method so it's easier to reuse 295fe4d
@autarch autarch Action::REST::ForBrowsers works, with tests 83273f9
@autarch autarch Add POD for Action::ForBrowsers 2a1aa89
@autarch autarch Just check that request does the expected role 6586d72
@autarch autarch Changes to accommodate Action::REST::ForBrowsers bc06b9a
@autarch autarch Changes for next release d5acc73
Commits on Jan 23, 2011
@autarch autarch Clarify final Accept rule for browser-ness 78d6640
Commits on Jan 24, 2011
@autarch autarch Add x_authority metadata for BOBTFISH 5ec67ed
@autarch autarch Release date for 0.89 f13bca6
@autarch autarch bump version to 0.89 437557a
Commits on Feb 25, 2011
@bobtfish bobtfish Fix test e7d5f10
@bobtfish bobtfish Version 0.90 48ff1e9
Commits on Feb 28, 2011
@bobtfish bobtfish Add dates to copyright for debian a6b4e49
Commits on Mar 22, 2011
@bobtfish bobtfish Fix typo. RT#66501 042656b
Commits on Jul 05, 2011
@bobtfish bobtfish Doc fix. thanks bfwg ace0499
@bobtfish bobtfish Doc fix (moar). thanks bfwg fcf45ed
Commits on Jul 31, 2011
@plu plu Add deserialize_http_methods attribute to Catalyst::Action::Deserialize. 588cbec
@rafl rafl Stop looping over requests methods on every request 599755b
Commits on Aug 04, 2011
@rafl rafl Ignore MYMETA files 217f433
@rafl rafl Ignore META files, no matter what their format is df937e4
@rafl rafl Re-generate README 305b889
@rafl rafl Version 0.91 04eaf27
Commits on Sep 20, 2011
Brian Phillips don't deserialize more than once
i.e. once on the begin, secondly on the action itself
Brian Phillips allow $c->req->body to be a simple filehandle or a string
Previously, it was assumed that the $c->req->body was both a filehandle
and a filename (something that was only true for File::Temp objects) and
didn't work if the request body was a plain string.  This distribution
now allows for either a filehandle or a string which is slightly different
semantics than specifically File::Temp objects (which are file handles
which string-ify to the filename)
Commits on Sep 21, 2011
Brian Phillips new action class to handle deserializing multi-part HTTP request data 8bf1f20
Commits on Oct 01, 2011
@bobtfish bobtfish Add a suitable warning as loading this has global effects 0143ed4
@bobtfish bobtfish Fix Pod, update README 16b5133
@bobtfish bobtfish Version 0.92 8894935
Commits on Oct 12, 2011
Brian Phillips allow request/response deserialization/serialization by callback 178f847
Brian Phillips fix spelling errors 14fa118
Brian Phillips Version 0.93 1c4b501
Commits on Oct 13, 2011
Brian Phillips removed extraneous "use" 866dfdf
Commits on Nov 25, 2011
@xenoterracide xenoterracide add 403 Forbidden
Signed-off-by: Caleb Cushing <>
Commits on Nov 29, 2011
@xenoterracide xenoterracide create status 302 "found"
Signed-off-by: Caleb Cushing <>
Commits on Dec 08, 2011
@bobtfish bobtfish trim changelog 0a47384
Commits on Dec 09, 2011
@xenoterracide xenoterracide add change log message for added statuses
Signed-off-by: Caleb Cushing <>
@bobtfish bobtfish Version 0.94 29f9721
@bobtfish bobtfish Spelling test c288a30
Commits on Jan 04, 2012
@bobtfish bobtfish Add optional location parameter to status_acceped handler. RT#7369 259c53c
@bobtfish bobtfish Fix periods in jsonp param name. RT#73741 f2d3433
@bobtfish bobtfish Version 0.95 0f656d0
@autarch autarch Fix a typo in Changes 89bf55a
@bobtfish bobtfish Fix typo, thanks bricas 3b7e114
Commits on Jan 30, 2012
@bobtfish bobtfish Added fix for RT 63537 (from Gerv) and tests to check it. 8aa1a2e
@bobtfish bobtfish Version 0.96 0e1381b
@bobtfish bobtfish Merge remote branch 'shadowcat/master'
* shadowcat/master:
  Fix a typo in Changes
Commits on Feb 21, 2012
@bobtfish bobtfish Test fix ae0db5d
@bobtfish bobtfish Version 0.97 1f22d6b
@bobtfish bobtfish More spelling skips e984d14
@bobtfish bobtfish Version 0.98 351f252
Commits on Feb 28, 2012
@bobtfish bobtfish Version 0.99 3ed677b
Commits on Apr 13, 2012
@bobtfish bobtfish Shoot auto_include. RT#76524 df5f9ff
@bobtfish bobtfish Version 1.00 8004a60
Commits on May 28, 2012
@wreis wreis Enable UTF-8 for JSON::XS serializer a52aaa8
Commits on May 29, 2012
@wreis wreis Rework ::XS serializer and deserializer classes
Make ::XS ones be a bare extension over JSON classes and ensure that
JSON::XS is loaded or die.
@wreis wreis Oops. ENV setting should be in ::XS classes 6c56f81
@bobtfish bobtfish Changelog fcc4f3f
@bobtfish bobtfish Version 1.01 40de934
Commits on Jun 05, 2012
@bobtfish bobtfish Fix display of foo_GET mehods in non-root controllers 3c4306f
@wreis wreis Make public response building methods for errors
_unsupported_media_type and _serialize_bad_request which can be extended
from an action-role to return custom error reponse.
@bobtfish bobtfish Changelog d1158d5
@bobtfish bobtfish Spelling e4da8ad
@bobtfish bobtfish Version 1.02 d082246
Commits on Jun 21, 2012
@wreis wreis Bit of rework for _dispatch_rest_method d5252c2
Commits on Jun 22, 2012
@wreis wreis Add HEAD requests support to T::Rest 637afb3
@wreis wreis Add failing tests for default HEAD dispatch ecb598e
@wreis wreis Add default HEAD handler
Signed-off-by: Wallace Reis <>
Commits on Jun 25, 2012
@wreis wreis Add failing tests for OPTIONS 8020421
@wreis wreis Fix default OPTIONS handler
As the ->body is defined, then serialization won't happen and we don't
wrong responses as from failing tests in prev commit.
@wreis wreis Expose _get_allowed_methods to the API
Then child controllers can use that to write their own _not_implemented
@wreis wreis Document default HEAD handler 80c886b
@wreis wreis Add me to the CONTRIB list 239c8ee
@wreis wreis Update changelog d9991a0
Commits on Jun 27, 2012
@bobtfish bobtfish Update README ac51ccd
@wreis wreis Update changelog c8ca5f5
@bobtfish bobtfish Version 1.03 be099c6
@bobtfish bobtfish Merge 671b3a1
Commits on Jun 29, 2012
@wreis wreis Bugfix _dispatch_rest_method
Code to action lookup key must be based on $rest_method instead of $req
Commits on Jun 30, 2012
@bobtfish bobtfish Fix spelling e07538c
@bobtfish bobtfish Update changes 6da8e44
@bobtfish bobtfish Version 1.04 44fa7f9
@wreis wreis Extend get_allowed_methods to include HEAD a08d447
Commits on Jul 02, 2012
@wreis wreis Remove not_implemented from the list of allowed methods 258f6e7
@wreis wreis Update changelog 91bb522
@bobtfish bobtfish Version 1.05 0a6732c
Commits on Dec 09, 2012
@ilmari ilmari Sort list of allowed methods. RT#81825 04f96b7
Commits on Dec 11, 2012
@bobtfish bobtfish Version 1.06 05b98ff
Commits on Mar 15, 2013
@shlevy shlevy Don't serialize if a view is explicitly set.
If the controller sets the view in $c->stash->{current_view} or
$c->stash->{current_view_instance}, then it is explicitly requesting a
certain kind of serialization and C::A::Serialize shouldn't override

Signed-off-by: Shea Levy <>
@shlevy shlevy Test-case: When view is set, don't serialize
Signed-off-by: Shea Levy <>
Commits on Apr 11, 2013
@bobtfish bobtfish Security fix 7b46eb0
@bobtfish bobtfish Changelog 6e7da25
@bobtfish bobtfish Version 1.07 f10c7e1
Commits on Apr 12, 2013
@frioux frioux Factor Data::Serialization into a sep dist 1bb213f
Commits on Apr 16, 2013
@bobtfish bobtfish Version 1.08 cf712a3