Added a baseline test for WebGUI::International which also tests the new methods.
Fixed codespace caching in WebGUI::Operation::Help. Codespace caching is
done via symbol table lookups, and it saves doing an eval.
Implemented the same type of caching in WebGUI::International. This replaced
the in-memory cache which would slowly accumulate a complete copy of the
i18n entries as they were fetched.
Broke out code scanning tests into their own tests, and required the CODE_COP environment
variable be set before they were run.
Fixed two bugs in the Workflow test, wrong number of tests and inverse test logic.
More Auth template inheritance work. Almost time to reflect it over to
the LDAP module.
by both AuthWebGUI and AuthLDAP. I've pulled the defaults out of
AuthWebGUI for one template (anonymous registration) into its own
namspace, Auth. Default variables will be pulled out for all of the templates
eventually.
Minor streamlining of profile field listing methods.
WebGUI::Operation::Profile::getRequiredProfileFields is now deprecated,
because it's specific enough to be not significantly more useful than
WebGUI::ProfileField::getRequiredFields, and because with this change
nothing in core uses it anymore.
fields slightly more robust. It's still not ideal---the error goes to the
WebGUI error log, but the user should be given some indication that the
profile field is broken.
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.
a HTTP header and returns "1", which doesn't create a redirect.
I fixed this by:
- Writing a exportHtml_view method just for Redirect.
- using the Fail Safe style template to output an empty page
with a redirect tag in the header.
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.