Commit graph

411 commits

Author SHA1 Message Date
Colin Kuskie
e0177dc666 Remove Session::Env, migrate code to Plack::Request object in Session, and WebGUI::Session::Request 2010-07-01 17:40:12 -07:00
Colin Kuskie
005b9da1ac Move session->env->getIp into session->request->address 2010-07-01 13:11:01 -07:00
Colin Kuskie
5e502fee53 Merge commit '17ce3572bf' into WebGUI8. All tests passing. 2010-06-30 18:43:27 -07:00
Colin Kuskie
385931aaab Merge commit 'f2e0fb509a' into WebGUI8. Some tests still failing. 2010-06-27 22:32:31 -07:00
Colin Kuskie
e5b82bc861 Merge commit '4969f31e1f' into WebGUI8 2010-06-26 14:37:31 -07:00
Colin Kuskie
3fbc109429 Update Session->Style setScript to default to text/javascript. Update the entire codebase to take advantage of it. 2010-06-24 13:07:03 -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
Colin Kuskie
433700b6f0 Fix a typo with headers instead of header. 2010-06-16 17:37:44 -07:00
Colin Kuskie
65873d538e Replace calls to Apache2::RequestUtil->no_cache with direct sets of the appropriate HTTP headers. 2010-06-16 13:59:54 -07:00
Colin Kuskie
9b91dd558b Remove mention of getCookies, since it's supposed to use Session::Request now. 2010-06-16 11:06:24 -07:00
Graham Knop
4bf184009c fix url generation 2010-06-15 07:09:05 -05:00
Colin Kuskie
d661d97d30 Referring to onesself in the third person is reserved for policitians like Bob Dole. 2010-06-13 19:58:33 -07:00
Graham Knop
cd68b13f61 use better api for form variables 2010-06-13 06:16:49 -05:00
Graham Knop
e063818e2d some URL fixes and removing some uses of PseudoRequest 2010-06-11 23:01:57 -05:00
Graham Knop
596420cd1f generate better hex ids for manually created badly formed guids 2010-06-10 11:32:32 -05:00
Colin Kuskie
8edcab37a6 Fix a whitespace POD issue. 2010-06-09 17:24:21 -07:00
Colin Kuskie
e222b6c4ef Document that url's passed to Session/Icon methods will have the gateway URL prepended to that URL. 2010-06-09 13:20:54 -07:00
Doug Bell
cc87552a22 weaken all session refs 2010-06-01 16:23:48 -05:00
Colin Kuskie
f1ea8105d4 Allow users to unsubscribe via email address, without logging in. Fixes bug #11559. 2010-05-18 15:58:24 -07:00
Graham Knop
a80b6a5f6d proper log caller depth with no request 2010-05-10 17:02:41 -05:00
Graham Knop
fc6d8e0016 workaround for url mapping when request unavailable 2010-05-10 17:02:32 -05:00
Graham Knop
30ed305b62 put all url validation in WebGUI::Session::Url instead of i18n 2010-05-08 12:22:01 -05:00
Doug Bell
cb3f83a93e Merge branch '8' into psgi
Conflicts:
	lib/WebGUI/Asset/Template.pm
	lib/WebGUI/Session/Scratch.pm
2010-04-21 13:03:03 -05:00
Doug Bell
5c36973aa0 cache: s/flush/clear/ 2010-04-19 19:13:10 -05:00
Graham Knop
c4204eff89 clean up more uses of ->get 2010-04-19 18:57:01 -05:00
Doug Bell
b767824711 cache: s/delete/remove/ 2010-04-19 18:51:10 -05:00
Doug Bell
165be5b389 remove eval{} from caching code 2010-04-19 18:41:13 -05:00
Doug Bell
92cd204b31 fix composite cache keys and remove setByHttp 2010-04-19 14:59:24 -05:00
Graham Knop
22619cfb9a clean up more uses of ->get 2010-04-18 18:47:16 -05:00
Patrick Donelan
751023354d Merge branch 'psgi' of github.com:plainblack/webgui into psgi
* 'psgi' of github.com:plainblack/webgui:
  fix things i broke

Conflicts:
	lib/WebGUI/Session/ErrorHandler.pm
2010-04-18 14:53:14 -04:00
Patrick Donelan
5c70ffb3e0 Minor improvements
Updated TODO
Enabled preloading
Added defaultPSGI to WebGUI::Paths
Added example of testing site via Plack::Test
2010-04-18 14:51:24 -04:00
Graham Knop
d667f724f4 fix things i broke 2010-04-18 13:45:47 -05:00
Patrick Donelan
9621120825 PSGI improvements
Call to_app() explicitly rather than using Plack::Component's overload
Compile the psgi sub once per app, not once per req
2010-04-17 19:06:07 -04:00
Graham Knop
1150528b8a delete WebGUI::Session::Os 2010-04-16 20:57:19 -05:00
Graham Knop
2b78fe913b classes under session should weaken their session references 2010-04-16 20:56:49 -05:00
Graham Knop
f2ce1eff85 convert performance indicators to a Plack::Middleware::Debug panel 2010-04-16 20:56:09 -05:00
Graham Knop
30fc3fab10 fix log->audit and log->security 2010-04-16 20:56:03 -05:00
Graham Knop
30b7e4bdb3 clean up debug logger 2010-04-16 20:55:56 -05:00
Graham Knop
907a148313 remove webgui specific dbi tracing code, simplify errorhandler 2010-04-16 20:55:49 -05:00
Graham Knop
0c08e9c235 simplify logging and move inline debug into plack middleware 2010-04-16 20:53:12 -05:00
Graham Knop
373be0881d Merge branch 'WebGUI8' into HEAD 2010-04-16 20:52:46 -05:00
Graham Knop
29df110409 progress and WebGUI::Paths conversion 2010-04-15 18:42:16 -05:00
Doug Bell
439eda2da2 back button/menu working 2010-04-14 15:32:40 -05:00
Patrick Donelan
9b4e67b828 Removed showDebug() in favour of new logger panel 2010-04-13 21:17:15 -04:00
Patrick Donelan
82ce3331b7 Added tests for WebGUI PSGI app exceptions 2010-04-13 18:50:03 -04:00
Patrick Donelan
7ef963e74f Logging fallback 2010-04-13 17:46:43 -04:00
Graham Knop
2400f19099 Merge branch 'master' into WebGUI8 2010-04-13 07:50:02 -05:00
Patrick Donelan
42c1a8e149 Made $session->log->fatal() message pass through 2010-04-10 23:45:22 -04:00
Patrick Donelan
716bdaeb86 Added exception handling
Added error doc mapping
Moved more logic into Session middleware
Added Credit example to app.psgi
Made StackTrace and Debug panel automatically turn on when debug mode enabled
Fixed errorHandler
2010-04-10 22:52:40 -04:00
Patrick Donelan
2bac95fa26 Mostly decoupled WebGUI from Log4perl 2010-04-09 18:44:12 -04:00