13 years agoadded notes for myself people/dhoss/fix-content-type
Devin Austin [Wed, 2 Feb 2011 08:20:42 +0000]
added notes for myself

13 years agoupdated Changelog
Devin Austin [Wed, 2 Feb 2011 08:16:19 +0000]
updated Changelog

13 years agoadded mst's fix to ParamParser for Content-type stuffs
Devin Austin [Wed, 2 Feb 2011 08:12:49 +0000]
added mst's fix to ParamParser for Content-type stuffs

13 years agoMake Web::Dispatch return [$cv] as $cv to allow subref responses
Matt S Trout [Mon, 17 Jan 2011 10:40:35 +0000]
Make Web::Dispatch return [$cv] as $cv to allow subref responses

13 years agocleanup test code and support non-GET requests
Matt S Trout [Wed, 12 Jan 2011 21:09:11 +0000]
cleanup test code and support non-GET requests

13 years ago0.005 release commit v0.005
Matt S Trout [Tue, 11 Jan 2011 22:22:29 +0000]
0.005 release commit

13 years agochanges after mst code review
John Napiorkowski [Mon, 10 Jan 2011 19:36:28 +0000]
changes after mst code review

13 years agofix for response_filter regression and matching test
John Napiorkowski [Mon, 10 Jan 2011 19:24:35 +0000]
fix for response_filter regression and matching test

13 years agoisolate param matching in Predicates
Matt S Trout [Wed, 15 Dec 2010 21:07:58 +0000]
isolate param matching in Predicates

13 years agofactor out and simplify param parsing logic
Matt S Trout [Wed, 15 Dec 2010 20:55:34 +0000]
factor out and simplify param parsing logic

13 years agocleanup match_ usage
Matt S Trout [Wed, 15 Dec 2010 12:45:04 +0000]
cleanup match_ usage

13 years agofactor out match_not
Matt S Trout [Wed, 15 Dec 2010 12:14:20 +0000]
factor out match_not

13 years agorefactor dispatch some more
Matt S Trout [Wed, 15 Dec 2010 12:07:09 +0000]
refactor dispatch some more

13 years agohandle strings as well as prototypes
Matt S Trout [Wed, 15 Dec 2010 06:54:29 +0000]
handle strings as well as prototypes

13 years agoadapted to take dashes
Robin Edwards [Fri, 10 Dec 2010 16:02:13 +0000]
adapted to take dashes

13 years agoimprove Application.pm docs
Matt S Trout [Wed, 8 Dec 2010 13:55:52 +0000]
improve Application.pm docs

13 years agochange non-matching example since the old version would now match
Matt S Trout [Wed, 8 Dec 2010 12:38:57 +0000]
change non-matching example since the old version would now match

13 years agodocumentation corrections and updates
John Napiorkowski [Mon, 6 Dec 2010 21:22:46 +0000]
documentation corrections and updates

13 years agodocumentation for WSA to get started
John Napiorkowski [Thu, 2 Dec 2010 04:40:35 +0000]
documentation for WSA to get started

13 years agofilled out more docs
John Napiorkowski [Thu, 2 Dec 2010 04:12:15 +0000]
filled out more docs

13 years agominor tweaks
John Napiorkowski [Thu, 2 Dec 2010 03:13:41 +0000]
minor tweaks

13 years agomoved around history stuff so that readers get to the coder info faster
John Napiorkowski [Mon, 29 Nov 2010 19:36:18 +0000]
moved around history stuff so that readers get to the coder info faster

13 years agocorrected filter example
John Napiorkowski [Mon, 29 Nov 2010 19:31:05 +0000]
corrected filter example

13 years agohello-world.cgi works again
Matt S Trout [Sat, 27 Nov 2010 01:45:56 +0000]
hello-world.cgi works again

13 years agofix config handling, finish porting bloggery, safer exporting
Matt S Trout [Sat, 27 Nov 2010 01:00:26 +0000]
fix config handling, finish porting bloggery, safer exporting

13 years agoupdate docs
Matt S Trout [Thu, 25 Nov 2010 22:36:50 +0000]
update docs

13 years agoreturn to $self by following the upgrade instructions in the docs
Matt S Trout [Thu, 25 Nov 2010 20:40:16 +0000]
return to $self by following the upgrade instructions in the docs

13 years agotypo correction
John Napiorkowski [Thu, 25 Nov 2010 02:29:26 +0000]
typo correction

13 years agofixing test example case
John Napiorkowski [Thu, 25 Nov 2010 01:16:28 +0000]
fixing test example case

13 years agofixed test to use new way to init dispatch
John Napiorkowski [Thu, 25 Nov 2010 00:57:25 +0000]
fixed test to use new way to init dispatch

13 years agocorrect usages of PSGI_ENV
John Napiorkowski [Thu, 25 Nov 2010 00:56:13 +0000]
correct usages of PSGI_ENV

13 years agoupdated testcase for new code
John Napiorkowski [Thu, 25 Nov 2010 00:49:20 +0000]
updated testcase for new code

13 years ago$self no longer automatically in scope, fixing test
John Napiorkowski [Thu, 25 Nov 2010 00:43:56 +0000]
$self no longer automatically in scope, fixing test

13 years agodocument disappearance of magic $self global
Matt S Trout [Wed, 24 Nov 2010 20:59:46 +0000]
document disappearance of magic $self global

13 years agoas_psgi_app becomes to_psgi_app, factor dispatcher sugar out into Web::Dispatch:...
Matt S Trout [Wed, 24 Nov 2010 14:08:19 +0000]
as_psgi_app becomes to_psgi_app, factor dispatcher sugar out into Web::Dispatch::Wrapper

13 years agoswitch to Moo
Matt S Trout [Sat, 20 Nov 2010 19:56:41 +0000]
switch to Moo

13 years agofactor dispatcher out into Web::Dispatch
Matt S Trout [Fri, 19 Nov 2010 17:57:05 +0000]
factor dispatcher out into Web::Dispatch

13 years agomake non-/-terminated path matches allow an extension
Matt S Trout [Fri, 19 Nov 2010 15:14:37 +0000]
make non-/-terminated path matches allow an extension

13 years agofactor dispatch parser out
Matt S Trout [Fri, 19 Nov 2010 14:28:58 +0000]
factor dispatch parser out

13 years agoSupport 'use Web::Simple;' to default to current package
Matt S Trout [Sun, 24 Oct 2010 14:20:25 +0000]
Support 'use Web::Simple;' to default to current package

13 years agopass ARGV to _run_cli to enable testing
Matt S Trout [Sat, 9 Oct 2010 14:08:08 +0000]
pass ARGV to _run_cli to enable testing

13 years agosquelch 'used only once' warnings
Matt S Trout [Fri, 8 Oct 2010 18:55:36 +0000]
squelch 'used only once' warnings

13 years agomake Class->as_psgi_app only call ->new once
Matt S Trout [Thu, 7 Oct 2010 18:24:59 +0000]
make Class->as_psgi_app only call ->new once

13 years agoskeleton CLI support
Matt S Trout [Sat, 25 Sep 2010 18:05:40 +0000]
skeleton CLI support

13 years agodon't duplicate the PSGI_ENV
Matt S Trout [Sun, 29 Aug 2010 12:40:33 +0000]
don't duplicate the PSGI_ENV

13 years agorelease 0.004, hide Plack bits from PAUSE v0.004
Arthur Axel 'fREW' Schmidt [Thu, 8 Jul 2010 22:10:08 +0000]
release 0.004, hide Plack bits from PAUSE

13 years agorelease 0.003 v0.003
Arthur Axel 'fREW' Schmidt [Thu, 8 Jul 2010 14:49:18 +0000]
release 0.003

13 years agofix my silly example fails
Arthur Axel 'fREW' Schmidt [Thu, 8 Jul 2010 03:52:37 +0000]
fix my silly example fails

13 years agoENV -> PSGI_ENV in docs; Bump version
Kjetil Kjernsmo [Mon, 28 Jun 2010 22:56:45 +0000]
ENV -> PSGI_ENV in docs; Bump version

13 years agorename ENV to PSGI_ENV (*ENV is forced into main::)
Matt S Trout [Mon, 28 Jun 2010 22:46:30 +0000]
rename ENV to PSGI_ENV (*ENV is forced into main::)

13 years agoAdd failing test for ENV feature
nperez [Thu, 17 Jun 2010 22:51:13 +0000]
Add failing test for ENV feature

13 years agoDocument ENV feature
nperez [Thu, 10 Jun 2010 22:03:18 +0000]
Document ENV feature

13 years agoexperimentally expose psgi $env as $_[ENV] with-ENV
Matt S Trout [Tue, 11 May 2010 23:18:09 +0000]
experimentally expose psgi $env as $_[ENV]

14 years agoswitch to using Plack, add FCGI support, use Plack::Test instead of HTTP::Request...
markie [Mon, 22 Feb 2010 05:26:04 +0000]
switch to using Plack, add FCGI support, use Plack::Test instead of HTTP::Request::AsCGI

14 years agoskeleton BUILDALL support
Matt S Trout [Wed, 20 Jan 2010 14:56:54 +0000]
skeleton BUILDALL support

14 years agofixed url path segment match regex so that trailing slashes in /path/info/ + query...
Josh McMichael [Fri, 18 Dec 2009 17:31:40 +0000]
fixed url path segment match regex so that trailing slashes in /path/info/ + query string disptaches match properly; added tests for /path/info/ + query string dispatches

14 years agot/tags.t: HTML comments ok
Jakub Narebski [Wed, 16 Dec 2009 21:18:30 +0000]
t/tags.t: HTML comments ok

Check that HTML comments, <!-- comment -->, work correctly.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>

14 years agot/tags.t: HTML tags which conflict with Perl built-ins ok
Jakub Narebski [Wed, 16 Dec 2009 21:12:23 +0000]
t/tags.t: HTML tags which conflict with Perl built-ins ok

Check that tags which conflict with built-in Perl functions or
operators correctly: tested for <link>, <tr> and <sub> elements.

While at it check that <elem ... /> form for elements without closing
tag, like <link> element, works correctly.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>

14 years agoFix escaping of '"' in XML::Tags::to_xml_string
Jakub Narebski [Wed, 16 Dec 2009 10:57:27 +0000]
Fix escaping of '"' in XML::Tags::to_xml_string

Double quote ('"') should be escaped as '&quot;', not as '&quot'.
This fixes a bug found in 'Escaping ok' test in t/tags.t

Signed-off-by: Jakub Narebski <jnareb@gmail.com>

14 years agot/tags.t: Test escaping of attributes more extensively
Jakub Narebski [Tue, 15 Dec 2009 21:27:11 +0000]
t/tags.t: Test escaping of attributes more extensively

Test escaping of attributes of XML element not only for '&', but also
for '<', '>' and '"'.

Test currently fails for escaping '"', which should be escaped as
'&quot;' (at least for attribute with value delimited with '"'), and
not as '&quot' (note missing ';').

Signed-off-by: Jakub Narebski <jnareb@gmail.com>

14 years agot/tags.t: Test that Document Type Declaration (DTD or doctype) works
Jakub Narebski [Tue, 15 Dec 2009 13:47:36 +0000]
t/tags.t: Test that Document Type Declaration (DTD or doctype) works

HTML documents are required to start with a Document Type Declaration
(informally, a 'doctype'). In browsers, the function of the doctype is
to indicate the rendering mode - particularly to avoid the quirks
mode.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>

14 years agot/tags.t: Test that XML processing instruction (<?xml ... ?>) works
Jakub Narebski [Sat, 12 Dec 2009 21:59:56 +0000]
t/tags.t: Test that XML processing instruction (<?xml ... ?>) works

We want to be able to e.g. put '<?xml version="1.0" encoding="UTF-8"?>'
XML declaration at the top of XHTML file.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>

14 years agoAdd .gitignore
Tomas Doran [Fri, 11 Dec 2009 09:41:20 +0000]
Add .gitignore

14 years agot/tags.t: Test of automatic escaping of user data
Jakub Narebski [Fri, 11 Dec 2009 01:54:52 +0000]
t/tags.t: Test of automatic escaping of user data

Test that user data passed to XML::Tags::to_xml_string is automatically escaped
(to protect against cross-side scripting attacks), and that mechanism to turned
automatic off escaping works.

This test can also serve as example on how to turn off autoescaping of user
data.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>

14 years agotests for html escaping (jnareb)
Arthur Axel 'fREW' Schmidt [Fri, 11 Dec 2009 05:16:01 +0000]
tests for html escaping (jnareb)

14 years agoswitch to Syntax::Keyword::Gather
Arthur Axel 'fREW' Schmidt [Wed, 9 Dec 2009 00:11:08 +0000]
switch to Syntax::Keyword::Gather

14 years agochanges for css_declare
Arthur Axel 'fREW' Schmidt [Sat, 5 Dec 2009 09:36:39 +0000]
changes for css_declare

14 years agoMerge branch 'css_declare'
Arthur Axel 'fREW' Schmidt [Sat, 5 Dec 2009 09:35:10 +0000]
Merge branch 'css_declare'

14 years agonew html tag list from http://www.quackit.com/html_5/tags/
Arthur Axel 'fREW' Schmidt [Fri, 4 Dec 2009 03:10:00 +0000]
new html tag list from quackit.com/html_5/tags/

14 years agoadd lots of CSS properties (http://www.eskimo.com/~bloo/indexdot/css/propindex/all...
Arthur Axel 'fREW' Schmidt [Thu, 3 Dec 2009 05:38:18 +0000]
add lots of CSS properties (eskimo.com/~bloo/indexdot/css/propindex/all.htm)

14 years agobetter test for unimporting
Arthur Axel 'fREW' Schmidt [Thu, 3 Dec 2009 05:14:11 +0000]
better test for unimporting

14 years agoLook how dumb I am
Arthur Axel 'fREW' Schmidt [Tue, 1 Dec 2009 14:24:31 +0000]
Look how dumb I am

14 years agoCSS::Declare works with arrays instead of arrayrefs
Arthur Axel 'fREW' Schmidt [Tue, 1 Dec 2009 14:24:15 +0000]
CSS::Declare works with arrays instead of arrayrefs

14 years agosuper basic tests for CSS::Declare, also dep
Arthur Axel 'fREW' Schmidt [Tue, 1 Dec 2009 05:31:52 +0000]
super basic tests for CSS::Declare, also dep

14 years agochanges line for 0.002 and bump version in Web/Simple.pm
Matt S Trout [Tue, 1 Dec 2009 02:30:20 +0000]
changes line for 0.002 and bump version in Web/Simple.pm

14 years agoadd hello-world.cgi example as file
Matt S Trout [Mon, 30 Nov 2009 22:54:00 +0000]
add hello-world.cgi example as file

14 years agoremove erroneous dispatch test
Matt S Trout [Mon, 30 Nov 2009 22:26:38 +0000]
remove erroneous dispatch test

14 years agosub {} == undef proto, sub () {} == '' proto
Matt S Trout [Mon, 30 Nov 2009 22:17:20 +0000]
sub {} == undef proto, sub () {} == '' proto

14 years agofix Application.pm to handle empty sub protos correctly
Matt S Trout [Mon, 30 Nov 2009 21:16:59 +0000]
fix Application.pm to handle empty sub protos correctly

14 years agoMerge branch 'master' of catagits@git.shadowcat.co.uk:Web-Simple
Arthur Axel 'fREW' Schmidt [Fri, 27 Nov 2009 17:04:18 +0000]
Merge branch 'master' of catagits@git.shadowcat.co.uk:Web-Simple

14 years agowrap tests in blocks and a failing tests for ?foo=
Arthur Axel 'fREW' Schmidt [Fri, 27 Nov 2009 17:03:55 +0000]
wrap tests in blocks and a failing tests for ?foo=

14 years agoexamples, and rearrangement
Arthur Axel 'fREW' Schmidt [Fri, 27 Nov 2009 06:13:11 +0000]
examples, and rearrangement

14 years agoupdate Changes
Matt S Trout [Fri, 27 Nov 2009 02:51:34 +0000]
update Changes

14 years agoadd as_psgi_app and make run_if_script return it for plackup
Matt S Trout [Fri, 27 Nov 2009 02:48:57 +0000]
add as_psgi_app and make run_if_script return it for plackup

14 years agofix some really basic doc
Arthur Axel 'fREW' Schmidt [Thu, 26 Nov 2009 17:46:18 +0000]
fix some really basic doc

14 years agofix obvious errors in dispatchex
Arthur Axel 'fREW' Schmidt [Thu, 26 Nov 2009 16:12:37 +0000]
fix obvious errors in dispatchex

14 years agosynopsis
Arthur Axel 'fREW' Schmidt [Thu, 26 Nov 2009 15:44:43 +0000]
synopsis

14 years agodist files
Matt S Trout [Tue, 24 Nov 2009 22:08:29 +0000]
dist files

14 years agonuke rogue Data::Dumper::Concise invocation
Matt S Trout [Tue, 24 Nov 2009 22:08:15 +0000]
nuke rogue Data::Dumper::Concise invocation

14 years agoPOD cleanup, extended warning and changes section
Matt S Trout [Tue, 24 Nov 2009 22:07:39 +0000]
POD cleanup, extended warning and changes section

14 years agoamend post.t to work with new body parsing rules
Matt S Trout [Tue, 24 Nov 2009 21:36:07 +0000]
amend post.t to work with new body parsing rules

14 years agoimplement ?:foo syntax and make ?foo positional
Matt S Trout [Tue, 24 Nov 2009 21:28:56 +0000]
implement ?:foo syntax and make ?foo positional

14 years agoswitch dispatch [] to dispatch {}
Matt S Trout [Mon, 23 Nov 2009 22:34:58 +0000]
switch dispatch [] to dispatch {}

14 years agofirst cut at body matching
Matt S Trout [Mon, 23 Nov 2009 21:51:31 +0000]
first cut at body matching

14 years agochange filter_response to response_filter in the places I got it wrong
Matt S Trout [Mon, 23 Nov 2009 21:45:45 +0000]
change filter_response to response_filter in the places I got it wrong

14 years agoworking query parameter handling
Matt S Trout [Mon, 23 Nov 2009 19:13:57 +0000]
working query parameter handling

14 years agofirst cut of query/body parsing, no body support, no tests
Matt S Trout [Sun, 22 Nov 2009 17:30:11 +0000]
first cut of query/body parsing, no body support, no tests

14 years agosimple param parser
Matt S Trout [Sun, 22 Nov 2009 15:04:40 +0000]
simple param parser

14 years agoexplain dispatch subroutine more
Matt S Trout [Sun, 22 Nov 2009 08:30:51 +0000]
explain dispatch subroutine more

14 years agosubdispatch
Matt S Trout [Sun, 22 Nov 2009 08:07:00 +0000]
subdispatch