Commit graph

10 commits

Author SHA1 Message Date
Scott Walters
9d047a788d Revert "when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars -- this time in YUI"
... committeed too much stuff. ack

This reverts commit c19c3503d4.
2013-09-12 13:02:01 -05:00
Scott Walters
c19c3503d4 when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars -- this time in YUI 2013-09-12 12:03:41 -05:00
Colin Kuskie
35f1492796 No need to serve dictionaries anymore. 2012-01-23 08:47:31 -08:00
Colin Kuskie
03a22421a7 Add native size limiting to WebGUI via plack. This is no longer a WRE specific feature. 2011-12-31 19:01:25 -08:00
Scott Walters
7a994b59ce File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. (#11688)
New API method:  WebGUI::Response::sendFile;  it, as appropriate, calls
setRedirect or setStreamedFile, depending on enableStreamingUploads config var.
setStreamedFile now kicks off the XSendfile process.
File.pm now uses this instead of trying to set both a redirect and a stream.
IO::File::WithPath blows up if a file doesn't exist so this raises an exception
now.
The http now no longer insist that '0' is not a valid filename to stream.
site.psgi, depending on enableStreamingUploads, enables either the Static
or XSendfile middleware.
2011-05-12 20:22:43 -04:00
Scott Walters
2d31f7234a PSGI entry points (#11632) -- add a plackMiddleware section to the config file; modify share/site.psgi to load from it.
This is minimal in implementation right now in that there's no support for passing args, which would generally be objects
mixed with strings, to the middlewares being added, as would be necessary if the .psgi files were to be largely migrated
to the config files.  I agree that it's important that upgrade scripts be able to add middleware (probably custom ones
that know how to get the session from %$env) but I'm not convinced of the utility of moving much logic out of
share/site.psgi.
2011-05-10 14:40:06 -04:00
Scott Walters
59a22f4101 set recursion limit to 1 for dumped lexicals and function args; with unlimited depth, it was
making my Mozilla shoot to 1.5gigs and taking the server and browser forever to get the
error page up.
keep the HTML of the original page and tack it on to the end of the stack trace.
add WebGUI::Middleware::StackTrace to the default site.psgi in place of the standard StackTrace,
but leave a comment for the other one in case people prefer it.
2011-05-05 14:58:04 -04:00
Graham Knop
f728107e78 add webgui specific environment debug panel to filter out session 2010-08-25 12:38:15 -05:00
Graham Knop
a53f1cdede remove duplicate response debug panel, add parameters panel 2010-08-25 12:38:14 -05:00
Graham Knop
e4792fe9d9 move var -> share 2010-07-07 03:04:06 -05:00
Renamed from var/site.psgi (Browse further)