Log of /branches/rel-2-3-dev/webwork-modperl/lib/Apache
Directory Listing
Revision
4396 -
Directory Listing
Modified
Thu Aug 24 21:07:52 2006 UTC (6 years, 8 months ago) by
This commit was manufactured by cvs2svn to create branch 'rel-2-3-dev'.
Revision
4192 -
Directory Listing
Modified
Thu Jun 29 23:20:48 2006 UTC (6 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
Progress on Apache2 compatibility -- doesn't work yet.
I've gotten to the point where the login screen can be displayed, but
login will still fail. The issue that i'm currently working on is that
we modify $r->param values extensively in WeBWorK, and that is not
supported in Apache2::Request. I'm not sure why, and no workaround is
given. One solution is to wrap override param() in WeBWorK::Request, but
this would slow things down since the Apache2::Request param method is
written in C.
Revision
4135 -
Directory Listing
Modified
Mon Jun 19 15:39:51 2006 UTC (6 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
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>
Revision
3973 -
Directory Listing
Modified
Wed Jan 25 23:13:56 2006 UTC (7 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
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.)
Revision
3377 -
Directory Listing
Modified
Thu Jul 14 13:15:27 2005 UTC (7 years, 10 months ago) by
glarose
Original Path:
trunk/webwork-modperl/lib/Apache
Preliminary commit of changes to add Gateway module.
This adds to WeBWorK
- the ability to create versioned, timed problem sets ("gateway tests")
for which all problems are displayed on a single page ("versioned"
means that students can get multiple versions of the problem set),
- the ability to create sets that draw problems from groups of
problems, and
- the ability to create sets that require a proctor login to start
and grade.
Sets can be defined as gateway tests or proctored gateway tests from
the ProblemSetDetail page.
Not quite bug-free yet. Known bugs include handling of problem values
on the Student Progress page (I think this may be a problem with
changing from sql database format where all entries were 'text' to
sql_single in ver 2.1, where they are integer), and a division by zero
error on the grades page (which may be the same problem).
Tests with a number of attempts per version greater than one haven't
been carefully tested, nor has scoring of gateway tests.
Revision
2927 -
Directory Listing
Modified
Fri Oct 15 04:30:20 2004 UTC (8 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
work on error and warning output. prettification of stack traces,
rewording of explanatory text, better logging, other stuff. a lot of
annoying crap, basically.
Revision
2702 -
Directory Listing
Modified
Mon Aug 30 19:22:27 2004 UTC (8 years, 8 months ago) by
dpvc
Original Path:
trunk/webwork-modperl/lib/Apache
Fixed a problem with the new stack traceback error trapping. It seems
that the hardcopy generator uses the error routines to pass array
references rather than strings, so I've added a check for that in the
__DIE__ signal handler so that it won't try to add tracebacks to
those.
Revision
2699 -
Directory Listing
Modified
Sat Aug 28 13:56:54 2004 UTC (8 years, 8 months ago) by
dpvc
Original Path:
trunk/webwork-modperl/lib/Apache
Improved error message reporting in PG and in the main WeBWorK
dispatcher. If an error is trapped by the main dispatcher, it now
prints a complete stack trace for the error.
Note that the PG error reporting also requires an update to the pg
tree as well, so be sure you update both trees.
Revision
1953 -
Directory Listing
Modified
Wed Apr 7 01:17:58 2004 UTC (9 years, 1 month ago) by
gage
Original Path:
trunk/webwork-modperl/lib/Apache
Fixed problem where a success message was issued even when
a mail merge file was not correctly saved.
Also made cosmetic modifications to the error message format
so that it doesn't look as frightening and the important
error message is highlited more than the boiler plate message
Revision
1879 -
Directory Listing
Modified
Mon Mar 15 02:25:11 2004 UTC (9 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
removed old dispatch() function, renamed dispatch_new() -> dispatch(),
added upload handling code (from old dispatch function).
Revision
1837 -
Directory Listing
Modified
Thu Mar 4 21:02:27 2004 UTC (9 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
calls dispatch_new instead of dispatch. removed entire "Call Stack" from
error output, since it doesn't work right.
Revision
1703 -
Directory Listing
Modified
Mon Jan 5 01:02:41 2004 UTC (9 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
removed lingering references to "webwork-modperl", since we're calling
this product "webwork2" now. soon we should change the name of the CVS
module to "webwork2" as well.
Revision
1663 -
Directory Listing
Modified
Tue Dec 9 01:12:32 2003 UTC (9 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
Normalized headers. All files now contain the text below as a header.
This is important since all files now (a) use the full name of the
package, (b) assign copyright to "The WeBWorK Project", (c) give the
full path of the file (relative to CVSROOT) instead of simply the file
name, and (d) include license and warranty information.
Here is the new header:
################################################################################
# WeBWorK Online Homework Delivery System
# Copyright © 2000-2003 The WeBWorK Projcct, http://openwebwork.sf.net/
# $CVSHeader$
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
# Artistic License for more details.
################################################################################
Revision
1141 -
Directory Listing
Modified
Thu Jun 12 19:27:36 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
changed calls to Apache::DB::backtrace with calls to
Apache::DB->backtrace to eliminate warning about that.
-sam
Revision
1131 -
Directory Listing
Modified
Wed Jun 11 20:40:11 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
Made many changes:
- turned off PG warning catching in conf/global.conf.dist
- added warning reporting to conf/templates/ur.template (but not to
other templates!)
- modified a couple of error messages in WeBWorK.pm
- made failure to create course environment and failure to find course
directory fatal errors in WeBWorK.pm
- added warning queueing and call stack storing to Apache::WeBWorK
- added "warnings" and "if_warnings" template escapes to
WeBWorK::ContentGenerator
- removed warning handling from WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::PG::ImageGenerator
-sam
Revision
1001 -
Directory Listing
Modified
Wed Jun 4 00:19:38 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
Fixed (again) error handling. Now we're simply catching any uncaught
exceptions and emitting an HTML error message.
(also, added a "my" in Problem.pm)
-sam
Revision
986 -
Directory Listing
Modified
Tue Jun 3 18:25:00 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
Created the top-level module WeBWorK, which now contains the dispatch
code. Apache::WeBWorK now only contains the installation of the error
handling code and a call to WeBWorK::dispatch(). This error handling
code is installed before the WeBWorK module is compiled.
-sam
Revision
978 -
Directory Listing
Modified
Mon Jun 2 22:07:05 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/lib/Apache
There's no longer a seperate "Add Set" content generator. That form is
now right on the problem set list.
-Dennis
Revision
935 -
Directory Listing
Modified
Wed May 28 21:28:08 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/lib/Apache
A start on the final version of the problem set editor. The code from
the previous version is still in the file as mike_body, becuase it will
be added in (with modifications) as the file progresses.
-Dennis
Revision
831 -
Directory Listing
Modified
Wed May 14 18:44:54 2003 UTC (10 years ago) by
malsyned
Original Path:
trunk/webwork-modperl/lib/Apache
Moved Instructor.pm to Instructor/Index.pm and made Instructor.pm an
abstract superclass of all the instructor pages.
-Dennis
Revision
683 -
Directory Listing
Modified
Mon Jan 6 19:17:28 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
fixed formatting in &tth (dangerousMacros.pl)
ProblemSets.pm allows sorting by Name or Status (due date)
-sam
Revision
682 -
Directory Listing
Modified
Mon Jan 6 18:10:47 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
make answer previews use $displayMode
write a template escape for printing $user, $effectiveUser, &c. nicely
-sam
Revision
657 -
Directory Listing
Modified
Mon Nov 25 08:32:36 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
removed unused $path_translated variable, had $path_info set to "" by
default instead of undef, added some warnings.
-sam
Revision
646 -
Directory Listing
Modified
Sat Nov 23 00:25:40 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
added REAL logout support. keys now get invalidated at logout.
also, fixed a bug in classlist (see the diff).
also, added a sub to Utils (see the diff).
-sam
Revision
644 -
Directory Listing
Modified
Fri Nov 22 20:30:20 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
Added "Options" handler, modified the dispatcher to support it, fixed
the link to it in the &links routine.
-sam
Revision
562 -
Directory Listing
Modified
Fri Sep 27 23:53:42 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
- created macros/IO.pl, which is loaded with no opmask by PG.pm. It is a copy
of WeBWorK::PG::IO.pm, with some changes to make it work as a macro package.
The translator no longer shares IO.pm's functions with the safe compartment.
This is a BAD THING, and should be reconsidered when the Translator is
revised.
- Changed many (but not all) checks for HTML or HTML_tth modes to match /^HTML/
in the macros.
- changed &header to &head in Problem.pm
- Added problem environment variables for gif2eps and png2eps and modified
&dangerousMacros::alias to use them
- fixed MOST of the harmless warnings in the system. there's still the "Use
of uninitialized value in null operation" warning in template(), tho.
Still to come:
- make images in PDFs work
- fix TTH mode character encodings on mac (maybe)
- have logout button invalidate key
- Pretty die messages (from outside of the translator)
- Feedback - need nice modular way of sending email
- Options - email address and password
Revision
476 -
Directory Listing
Modified
Tue Aug 20 01:07:18 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
fixed problem with deciding when to generate images in math2img mode
finished adding template escapes to ProblemSets, ProblemSet, and Problem
fixed a problem where modules were removed from the courseEnv while
being loaded (whups.)
-sam
Revision
455 -
Directory Listing
Modified
Mon Aug 5 21:34:18 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/lib/Apache
"normalized" files:
- (c) header on all files
- standard order of preamble lines:
1. (c) header
2. package PACKAGENAME;
3. short summary of the package (pod's NAME section)
4. use - pragmatic modules
5. use - standard perl modules
6. use - CPAN modules
7. use - webwork modules
- ALWAYS use strict and use warnings
- use "use base" rather than "our @ISA"
so now we can be happy.
-sam
Revision
390 -
Directory Listing
Modified
Wed Jun 19 22:45:47 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/lib/Apache
This commit brings several packages up to date and working. I wish I could
be more specific, but it's been a while since I've committed. You'll have
to check the CVS diffs for more info.
--Dennis
Revision
357 -
Directory Listing
Modified
Mon Jun 10 20:08:41 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/lib/Apache
Updated the comments to make it easier to install WeBWorK-modperl with nothing
but them to work with (since that's what we have right now ;)
Revision
353 -
Directory Listing
Modified
Fri Jun 7 23:35:59 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/lib/Apache
All of the content generators now work with the template system
Moved the content generators into the WeBWorK::ContentGenerator namespace
Added the default template and a few global.conf entries
Revision
343 -
Directory Listing
Modified
Wed Jun 5 20:20:38 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/lib/Apache
GDBM Authorization works fully.
More specifically:
Users must authenticate if they don't provide user/key data.
Fast login is requested automatically if a key has timed out.
A framework is in place to add other auth backends easily.
Revision
323 -
Directory Listing
Modified
Thu May 30 20:34:46 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/lib/Apache
-Fixed a few interfaces so that they make more sense (I hope)
-Added preliminary templating code to ContentGenerator
-Added a lot of logic to the dispatcher (WeBWorK.pm). More to come, too.
-Moved lots of things over to CGI.pm, for my convenience while prototyping
-Added preliminary examples of ProblemSets, ProblemSet, and Problem.
Problem.pm will some day go on to do what ProcessProblem8 does right now,
so keep your eyes on that one.
--Dennis
Revision
306 -
Directory Listing
Modified
Thu May 23 21:02:40 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork-modperl/lib/Apache
Just making sure all the files are synched at the end of the day. This is
probably mostly typo cleanups and stuff.