2 years agoMerge branch 'pr/135' into release-candidates/rc-5.90116
Jay Hannah [Tue, 16 Jan 2018 22:36:20 +0000]
Merge branch 'pr/135' into release-candidates/rc-5.90116

2 years agoMerge remote-tracking branch 'write/jhannah/docs' into release-candidates/rc-5.90116
Jay Hannah [Tue, 16 Jan 2018 21:47:41 +0000]
Merge remote-tracking branch 'write/jhannah/docs' into release-candidates/rc-5.90116

2 years agoCatalyst::Test request() docs patch
Jay Hannah [Fri, 5 Jan 2018 16:22:13 +0000]
Catalyst::Test request() docs patch

This method also accepts HTTP::Request objects, and
HTTP::Request::Common objects are especially helpful if you need
to send additional headers in the request.

3 years agouse uniq from List::Util
Graham Knop [Mon, 13 Feb 2017 05:43:48 +0000]
use uniq from List::Util

This lets us drop the List::MoreUtils prereq.

3 years agouse different package name in autoflush log test
Graham Knop [Mon, 13 Feb 2017 08:59:34 +0000]
use different package name in autoflush log test

The log and log_autoflush tests were using duplicate packages for their
testing, so if they were run with Test::Aggregate it would cause
warnings and test failures.

3 years agostop using Moo as a test package
Graham Knop [Mon, 13 Feb 2017 05:50:39 +0000]
stop using Moo as a test package

Moo is a real module, and may be in our prerequisite list.  Stepping on
its namespace is confusing and could easily cause issues.

3 years agouse inlined module hiding in tests
Graham Knop [Mon, 13 Feb 2017 06:29:15 +0000]
use inlined module hiding in tests

Test::Without::Module and Devel::Hide both handle repeated module
loading wrong.  They also generate error messages that aren't compatible
with Class::Load.

Also add some module hiding for 'Foo' and 'Bar', as they may exist
locally, breaking tests.

3 years agoclean up contributors
Graham Knop [Mon, 13 Feb 2017 06:50:14 +0000]
clean up contributors

3 years agoFix double-encoding of spaces in query parameter keys in ->uri_for
Dagfinn Ilmari Mannsåker [Mon, 11 Sep 2017 14:19:44 +0000]
Fix double-encoding of spaces in query parameter keys in ->uri_for

Commit 5c779e9841d052721162a48ad96fdbda2acd1035 moved half of the key-
encoding part into the map over the values, but left the `s/ /+/g` in
place, causing spaces in query parameter keys to first be converted to
+, then to %2B.

This moves the current key encoding block out of the inner map and
removes the premature `s/ /+g/`.

3 years agoFix spelling test failures
Dagfinn Ilmari Mannsåker [Mon, 11 Sep 2017 14:08:09 +0000]
Fix spelling test failures

3 years agoversions
John Napiorkowski [Mon, 1 May 2017 16:35:12 +0000]

3 years agoremoved badges for now until I can make them work 5.90115
John Napiorkowski [Mon, 1 May 2017 16:14:37 +0000]
removed badges for now until I can make them work

3 years agoupdate readme
John Napiorkowski [Mon, 1 May 2017 16:03:28 +0000]
update readme

3 years agosync changes with patch
John Napiorkowski [Mon, 1 May 2017 15:42:54 +0000]
sync changes with patch

3 years agoMerge branch 'simonamor-master't push origin master
John Napiorkowski [Mon, 1 May 2017 15:42:11 +0000]
Merge branch 'simonamor-master't push origin master

3 years agoMerge branch 'master' of https://github.com/simonamor/catalyst-runtime into simonamor...
John Napiorkowski [Mon, 1 May 2017 15:41:49 +0000]
Merge branch 'master' of https://github.com/simonamor/catalyst-runtime into simonamor-master

3 years agosync changes with patch
John Napiorkowski [Mon, 1 May 2017 14:36:19 +0000]
sync changes with patch

3 years agoMerge branch 'tremor69-master't push origin master
John Napiorkowski [Mon, 1 May 2017 14:34:37 +0000]
Merge branch 'tremor69-master't push origin master

3 years agoMerge branch 'master' of https://github.com/tremor69/catalyst-runtime into tremor69...
John Napiorkowski [Mon, 1 May 2017 14:34:20 +0000]
Merge branch 'master' of https://github.com/tremor69/catalyst-runtime into tremor69-master

3 years agoMerge branch 'melmott push origin masterhx-abort-chain-doc-and-test'
John Napiorkowski [Mon, 1 May 2017 14:24:45 +0000]
Merge branch 'melmott push origin masterhx-abort-chain-doc-and-test'

3 years agoMerge branch 'abort-chain-doc-and-test' of https://github.com/melmothx/catalyst-runti...
John Napiorkowski [Mon, 1 May 2017 14:24:39 +0000]
Merge branch 'abort-chain-doc-and-test' of https://github.com/melmothx/catalyst-runtime into melmothx-abort-chain-doc-and-test

3 years agosync changes with patch
John Napiorkowski [Mon, 1 May 2017 14:13:35 +0000]
sync changes with patch

3 years agot push origin masterMerge branch 'colinnewell-colin/encoding_doc'
John Napiorkowski [Mon, 1 May 2017 14:12:35 +0000]
t push origin masterMerge branch 'colinnewell-colin/encoding_doc'

3 years agoMerge branch 'colin/encoding_doc' of https://github.com/colinnewell/catalyst-runtime...
John Napiorkowski [Mon, 1 May 2017 14:12:25 +0000]
Merge branch 'colin/encoding_doc' of https://github.com/colinnewell/catalyst-runtime into colinnewell-colin/encoding_doc

3 years agocatch Changes up to date with master changes
John Napiorkowski [Mon, 1 May 2017 13:34:36 +0000]
catch Changes up to date with master changes

3 years agoadd comment for web UI to git repo
Karen Etheridge [Tue, 28 Mar 2017 21:41:11 +0000]
add comment for web UI to git repo

3 years agodo not require MXRWO if Moose is new enough to have cored it
Karen Etheridge [Mon, 7 Sep 2015 00:50:30 +0000]
do not require MXRWO if Moose is new enough to have cored it

3 years agouse simpler code syntax in pod
Karen Etheridge [Mon, 7 Sep 2015 00:44:27 +0000]
use simpler code syntax in pod

3 years agoFix ensure_class_loaded in Catalyst::ScriptRole
Andrew Rodland [Sun, 19 Mar 2017 20:07:02 +0000]
Fix ensure_class_loaded in Catalyst::ScriptRole

it was trying to import ensure_class_loaded from Catalyst::Utils, but
Catalyst::Utils doesn't export. On current perls the import silently
fails, and the coercion for loader_class would have failed at runtime
if anyone actually tried to pass a non-loaded class as loader_class.
But with a sufficiently old version of UNIVERSAL it fails at compile
time instead (http://stackoverflow.com/q/42883017). Also the return
value of the via was 1, so no one could have ever been using this
thing. Fix it up.

While we're there, replace a usage of Class::Load::load_class with
ensure_class_loaded, because we don't really need two.

3 years agoAdded a further hint for how to turn off automatic encoding.
Colin Newell [Fri, 3 Mar 2017 15:50:06 +0000]
Added a further hint for how to turn off automatic encoding.

There is lots of documentation, but when you're knee deep in code
it can be hard to spot.

3 years agoChange behaviour for terminal width detection
Simon Amor [Fri, 27 Jan 2017 15:45:13 +0000]
Change behaviour for terminal width detection

Sometimes Term::Size::Any is installed but can return a width of
undef. This causes the eval to succeed but then it falls back to
using 80 characters.

This change allows it to look at $ENV{COLUMNS} for a hint if the
width isn't defined or if the eval fails due to a missing module
instead of just if the eval returns an error.

3 years agofixes debug output of body and query parameters with multiple values
Tobias Klug [Fri, 23 Dec 2016 09:43:27 +0000]
fixes debug output of body and query parameters with multiple values
when use_hash_multivalue_in_request is used.

3 years agoupdate changlog
John Napiorkowski [Mon, 19 Dec 2016 15:47:47 +0000]
update changlog

3 years agoinvestigage SSimple
John Napiorkowski [Mon, 19 Dec 2016 15:45:14 +0000]
investigage SSimple

3 years agoproposed new release
John Napiorkowski [Mon, 19 Dec 2016 15:24:04 +0000]
proposed new release

3 years agoproposed fix to endless bug
John Napiorkowski [Mon, 19 Dec 2016 15:10:29 +0000]
proposed fix to endless bug

3 years agoMerge branch 'jegade-master'
John Napiorkowski [Mon, 19 Dec 2016 15:07:26 +0000]
Merge branch 'jegade-master'

3 years ago Modify travis.yml
Jens Gassmann [Sun, 18 Dec 2016 21:49:05 +0000]
 Modify travis.yml

3 years agoAdd Travis Perl 5.22 and 5.24
Jens Gassmann [Sun, 18 Dec 2016 21:44:06 +0000]
Add Travis Perl 5.22 and 5.24

3 years ago Tests for double dot bug
Jens Gassmann [Sun, 18 Dec 2016 21:39:38 +0000]
 Tests for double dot bug

3 years agoweaken evil hack 5.90113
John Napiorkowski [Thu, 15 Dec 2016 20:03:50 +0000]
weaken evil hack

3 years agodocumented changes
John Napiorkowski [Thu, 15 Dec 2016 19:21:00 +0000]
documented changes

3 years agoMerge branch 'topic/evilstash'
John Napiorkowski [Thu, 15 Dec 2016 19:12:53 +0000]
Merge branch 'topic/evilstash'

3 years agodocs and allow ../
John Napiorkowski [Thu, 15 Dec 2016 15:24:57 +0000]
docs and allow ../

3 years agotest case and proposed fix
John Napiorkowski [Thu, 15 Dec 2016 01:52:56 +0000]
test case and proposed fix

4 years agofor people that do silly things
John Napiorkowski [Wed, 21 Sep 2016 10:24:40 +0000]
for people that do silly things

4 years agosort controllers in setup_actions
Matt S Trout [Sat, 3 Sep 2016 18:16:25 +0000]
sort controllers in setup_actions

4 years agoUpdated doc and provided tests for abort_chain_on_error_fix
Marco Pessotto [Tue, 30 Aug 2016 12:18:43 +0000]
Updated doc and provided tests for abort_chain_on_error_fix

There is too much copypasta for my liking here, because there is the
same app with just a different setting in all of the 3 test files,
which are basically the same (save for the config), but it does the job.

4 years agospeeling fixes from Debian 5.90112
John Napiorkowski [Mon, 25 Jul 2016 20:47:42 +0000]
speeling fixes from Debian

4 years agoPrevent error on param encoding if encoding is not specified
James Chao [Thu, 21 Jul 2016 16:41:57 +0000]
Prevent error on param encoding if encoding is not specified

4 years agotest case for reported regression
John Napiorkowski [Mon, 25 Jul 2016 20:39:15 +0000]
test case for reported regression

4 years agoversion info for release
John Napiorkowski [Wed, 20 Jul 2016 20:09:33 +0000]
version info for release

4 years agoMerge pull request #144 from melmothx/unicode-exceptions 5.90111
John Napiorkowski [Wed, 20 Jul 2016 19:12:24 +0000]
Merge pull request #144 from melmothx/unicode-exceptions

Document and test what handle_unicode_exception is supposed to return

4 years agoprep release 5.90110
John Napiorkowski [Wed, 20 Jul 2016 18:46:03 +0000]
prep release

4 years agoBe clearer about the return value of handle_unicode_exception
Marco Pessotto [Wed, 20 Jul 2016 07:51:11 +0000]
Be clearer about the return value of handle_unicode_exception

4 years agoDocument and test what handle_unicode_exception is supposed to return
Marco Pessotto [Wed, 20 Jul 2016 07:45:05 +0000]
Document and test what handle_unicode_exception is supposed to return

4 years agomake sure we are explicit in the return
John Napiorkowski [Tue, 19 Jul 2016 20:47:04 +0000]
make sure we are explicit in the return

4 years agoquery not checks unicode like post and args
John Napiorkowski [Mon, 18 Jul 2016 21:57:48 +0000]
query not checks unicode like post and args

4 years agoMerge branch 'melmothx-invalid-get-param-unicode' into unicode-exception-issue
John Napiorkowski [Mon, 18 Jul 2016 21:00:43 +0000]
Merge branch 'melmothx-invalid-get-param-unicode' into unicode-exception-issue

4 years agodocumentation patch (edited by jnap)
Marco Pessotto [Mon, 18 Jul 2016 20:58:18 +0000]
documentation patch (edited by jnap)

4 years agoAdded failing tests for invalid UTF-8
Marco Pessotto [Mon, 18 Jul 2016 08:06:46 +0000]
Added failing tests for invalid UTF-8

4 years agotrap http exceptions in prepare response phase
John Napiorkowski [Fri, 15 Jul 2016 17:55:00 +0000]
trap http exceptions in prepare response phase

4 years agoexample short circuit prepare phase
John Napiorkowski [Wed, 6 Jul 2016 14:08:05 +0000]
example short circuit prepare phase

4 years agorelease 5.90106
John Napiorkowski [Wed, 6 Jul 2016 13:13:23 +0000]

4 years agofix for debug regression caused by commit 5dd46e24eedec447bdfbc4061ed683b5a17a7b0c
John Napiorkowski [Wed, 6 Jul 2016 00:47:12 +0000]
fix for debug regression caused by commit 5dd46e24eedec447bdfbc4061ed683b5a17a7b0c

4 years agoset correct %INC
John Napiorkowski [Mon, 20 Jun 2016 16:35:17 +0000]
set correct %INC

4 years agoadded info to Delta file
John Napiorkowski [Wed, 8 Jun 2016 19:45:19 +0000]
added info to Delta file

4 years agocompose req/res/stats class much much ;ater
John Napiorkowski [Wed, 8 Jun 2016 19:26:51 +0000]
compose req/res/stats class much much ;ater

4 years agofix noisy logs with header set aftger finalize 5.90105
John Napiorkowski [Wed, 8 Jun 2016 17:57:15 +0000]
fix noisy logs with header set aftger finalize

4 years agoset new version for release
John Napiorkowski [Wed, 8 Jun 2016 15:37:42 +0000]
set new version for release

4 years agofixed reported c->state regression
John Napiorkowski [Wed, 8 Jun 2016 15:32:19 +0000]
fixed reported c->state regression

4 years agoMerge branch 'cventers-execute_exception'
John Napiorkowski [Wed, 8 Jun 2016 14:37:13 +0000]
Merge branch 'cventers-execute_exception'

4 years agoMerge branch 'execute_exception' of https://github.com/cventers/catalyst-runtime...
John Napiorkowski [Wed, 8 Jun 2016 14:37:01 +0000]
Merge branch 'execute_exception' of https://github.com/cventers/catalyst-runtime into cventers-execute_exception

4 years agoimproved req/res/stats trait composing
John Napiorkowski [Wed, 8 Jun 2016 14:34:48 +0000]
improved req/res/stats trait composing

4 years agolets see if we can silence the error strawberry perl is upchucking
John Napiorkowski [Wed, 8 Jun 2016 13:36:11 +0000]
lets see if we can silence the error strawberry perl is upchucking

4 years agoAdd test case for $c->state and exceptions inside $c->execute
Chase Venters [Tue, 7 Jun 2016 14:55:21 +0000]
Add test case for $c->state and exceptions inside $c->execute

See: https://github.com/perl-catalyst/catalyst-runtime/issues/136

Signed-off-by: Chase Venters <chase.venters@gmail.com>

4 years agoUpdated number of tests for live_engine_request_parameters
asparkman [Thu, 26 May 2016 00:57:47 +0000]
Updated number of tests for live_engine_request_parameters

4 years agoFurther corrects previously mentioned tests.
asparkman [Thu, 26 May 2016 00:52:23 +0000]
Further corrects previously mentioned tests.

4 years agoFixes tests to assume orthogonality between query keywords/params
asparkman [Wed, 25 May 2016 23:25:24 +0000]
Fixes tests to assume orthogonality between query keywords/params

4 years agoCorrects minor error in prepare_query_parameters
asparkman [Fri, 20 May 2016 00:35:58 +0000]
Corrects minor error in prepare_query_parameters

4 years agoMakes query_keywords and query_parameters orthogonal
asparkman [Fri, 20 May 2016 00:04:37 +0000]
Makes query_keywords and query_parameters orthogonal

4 years agoRemoves unecessary Content-Type header for GET unit tests
asparkman [Tue, 17 May 2016 13:24:34 +0000]
Removes unecessary Content-Type header for GET unit tests

4 years agoAdds test suite assuming orthogonality of query keywords/params
asparkman [Fri, 13 May 2016 22:07:25 +0000]
Adds test suite assuming orthogonality of query keywords/params


4 years agodocumention for cpan release
John Napiorkowski [Mon, 4 Apr 2016 17:03:29 +0000]
documention for cpan release

4 years agoMerge branch 'topic/debug_warnings'
John Napiorkowski [Mon, 4 Apr 2016 16:56:27 +0000]
Merge branch 'topic/debug_warnings'

4 years agoMerge branch 'wolfsage-topic/rt-113486-utf8-named-file-uploads'
John Napiorkowski [Mon, 4 Apr 2016 16:55:24 +0000]
Merge branch 'wolfsage-topic/rt-113486-utf8-named-file-uploads'

4 years agoFix file uploads with utf8 form field names. RT#113486
Matthew Horsfall [Fri, 1 Apr 2016 12:40:23 +0000]
Fix file uploads with utf8 form field names. RT#113486

Don't decode the name (possibly changing its data) before using it
to do a hash lookup.

4 years agoseparate arg compare from display better
John Napiorkowski [Tue, 1 Mar 2016 03:44:03 +0000]
separate arg compare from display better

4 years agouse normalized args to silence warnings in DEBUG mode
John Napiorkowski [Mon, 22 Feb 2016 17:24:17 +0000]
use normalized args to silence warnings in DEBUG mode

4 years ago0.090103 release commit 0.090103 5.90103
Matt S Trout [Thu, 12 Nov 2015 10:18:36 +0000]
0.090103 release commit

4 years agobump autoclean dep
Matt S Trout [Thu, 12 Nov 2015 02:05:04 +0000]
bump autoclean dep

4 years agofixup speling erors
Matt S Trout [Thu, 12 Nov 2015 01:43:38 +0000]
fixup speling erors

4 years agoupdate travis
John Napiorkowski [Sun, 8 Nov 2015 23:05:06 +0000]
update travis

4 years agofixed reportred regression on auto actions
John Napiorkowski [Mon, 9 Nov 2015 16:43:31 +0000]
fixed reportred regression on auto actions

4 years agoswitch list_extra_info back to using real Args value
Matt S Trout [Sat, 7 Nov 2015 05:05:22 +0000]
switch list_extra_info back to using real Args value

4 years agoParse attributes with empty parens as undef
Thomas Sibley [Fri, 6 Nov 2015 02:55:27 +0000]
Parse attributes with empty parens as undef

This fixes parsing of Path() to be the same as Path, resolving GH #104,
without breaking Args().

4 years agoRevert incorrect fixes for parsing of attributes with empty parens
Thomas Sibley [Fri, 6 Nov 2015 02:51:30 +0000]
Revert incorrect fixes for parsing of attributes with empty parens

This partially reverts commits:

  • "Args() wasn't being processed as unlimited number of args, due to…" (43b44b3)
  • "Fixed :Path() empty brackets attribute not registering action. Fixes: #104" (dd6a9f2)

leaving the tests added by them for the Path() bug in GH #104 but
reverting the code changes.

The code changes caused Attribute() to parse equivalent to Attribute('')
instead of Attribute.  The mistake was not noticed because Path, Path(),
and Path('') should all produce equivalent behaviour.  However, the same
is not true of other attributes.  For example, Args.

Parsing empty parens as undef rather than an empty string is the correct
solution.  Empty strings are achieved explicitly with Attribute('').

Reverting these changes fixes the regression in the handling of Args(),
which started producing the following error at app startup under debug

    Out of memory during list extend
    at .../Catalyst/DispatchType/Chained.pm line 101.

The following commit will make the correct fix.

4 years agoTest for recent regression parsing Args()
Thomas Sibley [Fri, 6 Nov 2015 17:43:43 +0000]
Test for recent regression parsing Args()

Args() started parsing as Args('') instead of Args, which in
DispatchType::Chained->list's debugging output ends up causing the
equivalent of this to run:

    ("*") x ~0

The result is Perl throwing an "Out of memory during list extend" error.
Fix to follow.

NB: Using the normalized_arg_number (where ~0 stands in for ∞) for this
debugging output is dubious, but there's not a clear cut revert as the
changes which got us there are spread across multiple commits related to
the new typed Args support.  I'm saving any change to the use of
normalized_arg_number and list_extra_info for another time (and probably
another person), in favor of changing the least while fixing both the
Args() regression and the original Path() bug which precipitated it.

5 years agoApplied spelling fix from comment on RT #106386
Marco Pessotto [Thu, 29 Oct 2015 22:40:49 +0000]
Applied spelling fix from comment on RT #106386

5 years agoApplied patch from debian RT #106385
Marco Pessotto [Thu, 29 Oct 2015 22:39:49 +0000]
Applied patch from debian RT #106385