Commit graph

45 commits

Author SHA1 Message Date
Colin Kuskie
e7fcf33a4d Move ifModifiedSince into WebGUI::Session::Request 2010-11-22 09:53:03 -08:00
Colin Kuskie
e5adc07a05 Remove getStatus and setStatus in Session::Http, and replace them with status, from $session->status. 2010-11-21 21:11:41 -08:00
Colin Kuskie
c4553012d1 Syntax clean. 2010-11-17 16:34:11 -08:00
Doug Bell
199c4e4960 change ErrorHandler to Log 2010-10-27 12:50:12 -05:00
Bart Jol
d11cd6f4f7 Changed package name in POD 2010-10-25 13:00:56 +02:00
Colin Kuskie
0d2c4d6ba8 Ignore trailing slashes in requested URLS. Fixes bug #11865. 2010-09-23 16:09:53 -07:00
Colin Kuskie
e99ae4740f More cleanup from dispatch. Do not set the session asset if the requested URL does not exist. In RssFeed, pass the fragment to the next method. Fixes bug #11854. 2010-09-23 16:01:23 -07:00
Colin Kuskie
440df9879e Fix UTF-8 URL handling in dispatch. Added tests for creating assets and accessing assets with UTF-8 urls. Fixes bug #11785 2010-08-25 11:44:01 -07:00
Graham Knop
476d9250fa convert page performance indicators to performance debug panel again 2010-08-25 13:39:26 -05:00
Doug Bell
7a58fcffcd Do not close the session ourselves when 304
Only WebGUI.pm and WebGUI::Middleware::Session should ever
close the session during a normal request cycle. This is because
of the possibility of streaming content.
2010-08-24 16:16:20 -05:00
Colin Kuskie
3e8e2d452c Merge branch 'master' into WebGUI8. Merged up to 7.9.12 2010-08-13 12:25:19 -07:00
Colin Kuskie
7b218942b3 Merge commit '63865eb39f' into WebGUI8. up to 7.9.11 2010-08-13 11:52:08 -07:00
Colin Kuskie
02121fb7a9 Fix problems with getting the default page. Fixes bug #11778. 2010-08-11 08:37:21 -07:00
Colin Kuskie
98d3ecc16f Set the session asset, added tests. 2010-08-10 10:27:45 -07:00
Colin Kuskie
3e60133e10 Call the right subroutine. 2010-08-10 10:27:45 -07:00
Colin Kuskie
18bdd2f809 Rework the handler sub to use dispatch. Remove dead code. 2010-08-10 10:27:45 -07:00
Colin Kuskie
76c86aec74 PassiveAnalytics logging. addMissing. 2010-08-10 10:27:45 -07:00
Colin Kuskie
25fb019a18 Prepare a test method for throwing Template exceptions. Add code to handle HTTP 304 for visitors. 2010-08-10 10:27:45 -07:00
Colin Kuskie
7a1abd7bc0 Alter URL permutations to handle the cases when there is a leading / in the URL. Add the dispatch subroutine. 2010-08-10 10:27:45 -07:00
Colin Kuskie
35284c0753 getUrlPermutations, and a stub for Content::Asset::dispatch so the test doesn't die. 2010-08-10 10:27:44 -07:00
Colin Kuskie
19c2c5fa1c Remove status description from Session/Http, and update all users of setStatus. 2010-06-17 08:18:24 -07:00
Graham Knop
f2ce1eff85 convert performance indicators to a Plack::Middleware::Debug panel 2010-04-16 20:56:09 -05:00
Graham Knop
373be0881d Merge branch 'WebGUI8' into HEAD 2010-04-16 20:52:46 -05:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Patrick Donelan
f22020c267 Turned on Debug middleware
Removed unnecessary $session->close() now that we have WebGUI::Middleware::Session
Fixed Content-Type bug
2010-04-09 18:20:36 -04:00
Patrick Donelan
d858c6e1ab Demo site loads 2010-04-06 18:21:46 -04:00
Colin Kuskie
129186c105 Update Content/Asset for Moose and Exceptions. 2010-02-04 13:36:48 -08:00
Colin Kuskie
a70269889f Remove trailing whitespace. 2009-11-19 10:06:35 -08:00
Colin Kuskie
e1c77cf314 Fix the issue with Assets with macro based content not showing the new content to Visitors. Fixes bug #11200. 2009-11-19 10:04:19 -08:00
Colin Kuskie
8ed444d6ff Fix template diagnostics, reverse templateId and assetId. 2009-07-17 16:16:22 +00:00
Colin Kuskie
e004e31857 Fix mime type detection for performance indicators. 2009-06-16 17:26:27 +00:00
Colin Kuskie
80dfb9ffd0 Throw an exception in all wobjects if the main template (used by view)
has been deleted.
2009-06-02 19:34:18 +00:00
Colin Kuskie
4df4862c68 Add an enable button, to disable Logging.
Refactor out logging code into its own module for cleanliness.
2009-03-04 13:24:24 +11:00
Colin Kuskie
2bb63fa79b Log the complete URI, with query fragment. 2009-03-04 13:24:23 +11:00
Colin Kuskie
d59cdea8a7 Add logging to the Asset Content handler. 2009-03-04 13:24:22 +11:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
fb434a8b3a fix: content handler and redirects 2008-01-25 01:36:14 +00:00
JT Smith
fa09c41598 replaced return; with return undef; 2008-01-24 21:58:15 +00:00
Doug Bell
0cfe03726a proposed fix for strange cache issue 2007-12-27 05:01:16 +00:00
Doug Bell
30f22c9b7a fixed some bugs in URL/Content handlers. fixed some bugs in Gallery. 2007-12-18 15:38:06 +00:00
JT Smith
1ce61982ed some bug fixing
added some tests
2007-12-16 18:56:36 +00:00
Colin Kuskie
cda571c3ef fix syntax error with using WebGUI::Content::Asset standalone 2007-12-16 00:28:23 +00:00
JT Smith
09ac71093b added a not found handler, and better debug handling 2007-12-14 22:43:08 +00:00
JT Smith
1fc11fbda8 Added pluggable URL and content handlers. 2007-12-14 22:08:09 +00:00