|Links to HEAD:||(view) (download) (as text) (annotate)|
This commit was manufactured by cvs2svn to create branch 'rel-2-4-patches'.
updated copyright dates
This commit was manufactured by cvs2svn to create branch 'rel-2-4-dev'.
change order of use statements compulsively
Added HTTP-Basic authenticator for WeBWorK: AuthenWeBWorK.pm - steals $ce/$authz/$db/$authen bootstrapping code from the dispatcher, overrides Authen's get_credentials method (and clobbers cookie methods and set_params) Debug.pm - load WeBWorK::Contsants explicitly in case it isn't already loaded Authen.pm - added maybe_kill_cookie shim (so that it can be overridden elsewhere) Configure as follows: <Location /some_protected_location> AuthName "My Protected Location" AuthType Basic PerlAuthenHandler Apache::AuthenWeBWorK PerlSetVar authen_webwork_root /path/to/webwork2 PerlSetVar authen_webwork_course some_course_id require valid-user </Location>
Use undefstr to convert undefined values to the string "###UNDEF###". If you think a value you're sending to debug() might be undefiend, send it as a separate item in the argument list rather than concatenating it or interpolating it into a string. For example, say: debug("now myVal=", $myVal, ", exiting"); If $myVal is undefined, you'll see: now myVal=###UNDEF###, exiting
forward-port from rel-2-2-dev: (update copyright date range -- 2000-2006. this is probably overkill, since there are some files that were created after 2000 and some files that were last modified before 2006.)
renamed weird $QuellSubroutineOutput to $DenySubroutineOutput. This will better match $AllowSubroutineOutput.
added HiRes timing data to WeBWorK::Debug, removed WeBWorK::Timing. all existing calls to the WeBWorK::Timing methods now pass the same messages to debug(). added an option to WeBWorK::Debug to allow only certain subroutines to log debug messages, in addition to the existing option to bar certain subroutines from doing so.
Timestamps seem to need Date::Format for time2str to be defined.
Added time stamp to the warning Added time stamp to warning messages.
added QuellSubroutineOutput to WeBWorK::Debug
This module provides the function debug(). It conveniently writes debugging output to STDERR or a logfile (if the $Logfile constant is non-empty). It can be turned on and off with the $Enabled constnat. This module should be used in place of warn() for any debugging output. warn() should only be used for non-fatal errors that we want the user to see, not informational status messages.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|aubreyja at gmail dot com||ViewVC Help|
|Powered by ViewVC 1.0.9|