Commit graph

74 commits

Author SHA1 Message Date
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
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
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
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
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
Colin Kuskie
3b3347c4a8 Restore ErrorHandler->fatal handling of no DB connection. Fixes bug #11494. 2010-03-30 15:11:26 -07:00
Doug Bell
25ff0dae0e Added: Google map asset.
Added a way for authors to prevent debugging output on page requests
2009-05-17 22:44:27 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
c90fa56507 Make WebGUI::PseudoRequest work with fatals. Cookies are now mocked and
tied off inside that package.  ErrorHandler uses the session request object,
instead of RequestUtil.
2009-02-18 02:46:59 +00:00
Graham Knop
e7e46ed865 cache canShowDebug a little differently to allow for mime type changes 2009-02-17 17:29:00 +00:00
Colin Kuskie
96c15c56b2 Optimize canShowDebug for speed by caching the calculated check. 2009-02-16 21:03:31 +00:00
Colin Kuskie
47889613b9 Document why a check exists in canShowDebug. 2009-02-13 19:23:04 +00:00
Graham Knop
83a3ed6983 Make sure SQL parameters are stringified (for overloaded entries) before converting to json for debug output 2008-12-03 00:32:25 +00:00
Graham Knop
00fcdf40df improved debug messages for sql queries 2008-08-19 17:36:02 +00:00
Graham Knop
315e47781e fixed: User is logged out if a fatal error occurs
error reporting and debug cleanups
2008-07-25 04:03:30 +00:00
Colin Kuskie
026e77663e fix Log::Log4perl line reporting 2008-07-24 16:38:28 +00:00
Graham Knop
9ed284beec use UTF8 JSON encoding and decoding universally
fixed: Import/Export of packages with international text is broken
2008-04-01 14:42:20 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
JT Smith
34fd8c9245 updated webgui to run with Config::JSON 2.04 2008-01-25 05:10:33 +00:00
Graham Knop
1149fd54ed merging 7.4 changes 2008-01-23 23:48:35 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Nik Ogura
6d79679194 fixed type in pod 2007-04-01 04:01:52 +00:00
JT Smith
172985e2a0 - fix: 7.4 Editing SQL Form seems to break site ...? 2007-03-09 05:38:44 +00:00
Colin Kuskie
0db2156374 Removed /x from ErrorHandler HTML reformatting since it doesn't use embedded whitespace or comments.
Fixed a typo in the Macro_r_printable where an ending bold tag was dropped.
Add some POD to Asset.pm talking about variables that are added when
processTemplate is called.
More ISA work in the Help system.
2006-11-28 19:20:04 +00:00
Colin Kuskie
a0d2326f9c Found and fixed a bug in ErrorHandler, canShowPerformanceIndicators.
It didn't work with CIDR format IP addresses.  I cannabilized the
code from canShowDebug and refactored it into its own method,
canShowBasedOnIP.  Both canShowDebug and canShowPerformanceIndicators call this.
Updated the docs for the debugIp setting to note that it's used for both
showDebug and showPerformanceIndicators.
Added about 20 more tests to ErrorHandler.t.  Only the two hard methods are
left, fatal (which closes the session at the end) and showDebug, which is
validating a ton of output.
2006-11-21 03:50:15 +00:00
Colin Kuskie
5e074e0939 canShowDebug checked for a literal string, 'text/html' in order to generate
the debug output.  When the default mimetype was changed to text/html; charset=UTF-8,
the literal check always failed.

There are probably a few more of these floating around.
2006-11-17 22:00:35 +00:00
Drake
1ad3f6e3b3 Make DBI connect errors not infinitely recurse. 2006-09-21 00:25:01 +00:00
JT Smith
a440cb5f41 fix: Security bug in session env 2006-07-11 20:32:46 +00:00
Wouter van Oijen
2d9565775f POD fixes and removing debug output 2006-07-11 09:05:22 +00:00
JT Smith
255ec42344 switcharoo on debug and info 2006-06-09 17:24:06 +00:00
JT Smith
2568e6c8ce - fix: Link to page in Webgui Page Tree not working in IE
- fix: Not Found page not working
 - Made debug output more colorful, and set queries as info rather than debug.
2006-05-31 18:12:14 +00:00
JT Smith
41e655b452 - fix: New page layout instead of not found
- fix: Rollback
 - fix: debug output
 - fix: Can't delete images at product asset
fixed a problem with file/image form uploads
rearranged group methods for alphabetical order
removed matt's hack for group caching and replaced it with the right way
2006-05-30 22:35:12 +00:00
JT Smith
741b523ad3 - fix create.sql / style3
- fix Spectre memory consumption
 - fix password vidible in debug mode
 - fix No way to add an advertisment to an adspace.
2006-05-25 04:56:12 +00:00
JT Smith
e27a62cccc a few bug fixes 2006-05-03 04:00:10 +00:00
JT Smith
d24ac0b273 fixing a problem with hex and JSON
gettign rid of the migration.txt script, because it's now published on the site instead since all changes are complete
2006-05-03 00:11:54 +00:00
JT Smith
7e6268df8c better debugging 2006-04-27 22:16:13 +00:00
JT Smith
e8c073b9df some http header changes 2006-04-18 14:22:42 +00:00
Matthew Wilson
a85e06239a adding placeholder array size check back in. 2006-04-17 03:22:46 +00:00
Colin Kuskie
478a4cf1cf handle logging db queries with no placeholders 2006-04-17 03:01:08 +00:00