Commit graph

59 commits

Author SHA1 Message Date
Doug Bell
cc87552a22 weaken all session refs 2010-06-01 16:23:48 -05: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
Matthew Wilson
b6f0e9e75c fixed a table name. 2006-04-16 01:29:51 +00:00
JT Smith
a7df0f7a55 fixing some bugs relaed to cs mail replies
fixed a bug in the user manager where the user would take on the username/alias of the visitor
fixed a bug in error handling where debug was being spewed for errors in approriately
2006-04-11 22:50:11 +00:00
JT Smith
adea847875 fixed some xhhtml stuff
increased performance on burst protection
2006-04-07 19:35:31 +00:00
Matthew Wilson
2c60283ba3 first major round of EMS changes. much more to come late tonight. 2006-04-07 00:02:45 +00:00
JT Smith
5a7fedc731 - Added an option for hosters to limit the number of assets that may be
created on a WebGUI site.
fixed some bugs
2006-03-29 20:22:09 +00:00
Wouter van Oijen
5f8ffefc47 Fixing bug 2006-03-24 15:09:32 +00:00
Colin Kuskie
cd6759f311 Modify WebGUI IP fields to use CIDR format instead of a regular expression.
Multiple IPs are separated by commas, whitespace is ignored.
In groups, that affects the ipFilter field,  User::isInGroup.
In settings, that affects Settings::debugIp and Session::ErrorHandler::canShowDebug.

Fixed a bug in WebGUI::Utility::isInSubnet where Net::Subnets->check needs a scalar.

Modified t/User.t to use addresses in CIDR format.
2006-02-14 22:35:21 +00:00
JT Smith
7731a32559 fixed some pod errors
removed futile inbox attempt
2006-01-31 23:10:10 +00:00
JT Smith
46fa7e78e7 began adding streaming support for view method 2006-01-30 21:26:22 +00:00
JT Smith
268947c1d5 getting closer to bucket output 2006-01-30 00:14:22 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
JT Smith
3fb4d33817 a little cleaner 2006-01-18 21:46:38 +00:00
Matthew Wilson
6f112057bb still more fixes. 2006-01-18 07:05:19 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
Matthew Wilson
f8de599f35 more bugfixes. last of this round of syntaxCheck.t fixes. 2006-01-15 19:39:12 +00:00