[system] / trunk / webwork2 / lib / Apache Repository:
ViewVC logotype

Log of /trunk/webwork2/lib/Apache

View Directory Listing Directory Listing


Sticky Revision:

Revision 6995 - Directory Listing
Modified Tue Jul 26 01:26:59 2011 UTC (22 months, 3 weeks ago) by aubreyja
Updating Apache::AuthenWeBWorK to work with mod_perl2

Revision 6671 - Directory Listing
Modified Thu Jan 20 04:08:12 2011 UTC (2 years, 4 months ago) by gage
split warning messages in a more intelligent fashion.  The line breaks should now appear.
You will still see some other weirdnesses because the warning message has been 
htmlEscaped to prevent XSS



Revision 6635 - Directory Listing
Modified Sun Dec 12 19:04:10 2010 UTC (2 years, 6 months ago) by gage
change calls to use Safe.pm  to use WWSafe.pm

closed security hole in ProblemSetDetail.pm

other small improvements brought in from gage_dev



Revision 6242 - Directory Listing
Modified Fri May 14 00:58:02 2010 UTC (3 years, 1 month ago) by gage
minor changes to configuration section

Revision 5319 - Directory Listing
Modified Mon Aug 13 22:59:59 2007 UTC (5 years, 10 months ago) by sh002i
updated copyright dates

Revision 4261 - Directory Listing
Modified Sat Jul 15 14:04:48 2006 UTC (6 years, 11 months ago) by sh002i
docuemntation fix -- htmlEscape doesn't use CGI::escapeHTML

Revision 4237 - Directory Listing
Modified Wed Jul 12 04:33:06 2006 UTC (6 years, 11 months ago) by sh002i
use normal print function rather than $r->print, so that we don't have
to load Apache2::RequestIO.

Revision 4217 - Directory Listing
Modified Tue Jul 11 03:59:50 2006 UTC (6 years, 11 months ago) by sh002i
only call send_http_header under Apache1.

Revision 4196 - Directory Listing
Modified Wed Jul 5 18:27:18 2006 UTC (6 years, 11 months ago) by sh002i
separate definitions for $warning_handler for Apache 1/2

Revision 4192 - Directory Listing
Modified Thu Jun 29 23:20:48 2006 UTC (6 years, 11 months ago) by sh002i
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 4178 - Directory Listing
Modified Wed Jun 28 16:19:57 2006 UTC (6 years, 11 months ago) by sh002i
eliminate sub redefine warnings

Revision 4135 - Directory Listing
Modified Mon Jun 19 15:39:51 2006 UTC (7 years ago) by sh002i
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, 4 months ago) by sh002i
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, 11 months ago) by glarose
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 2954 - Directory Listing
Modified Fri Oct 22 18:03:14 2004 UTC (8 years, 7 months ago) by sh002i
send call stack to error log, use Apache::Log to log warnings.

Revision 2927 - Directory Listing
Modified Fri Oct 15 04:30:20 2004 UTC (8 years, 8 months ago) by sh002i
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 2868 - Directory Listing
Modified Thu Oct 7 23:08:13 2004 UTC (8 years, 8 months ago) by gage
Modifications to the format for error reporting.

Revision 2860 - Directory Listing
Modified Wed Oct 6 21:00:19 2004 UTC (8 years, 8 months ago) by gage
Added time stamp to the warning messages.

Revision 2702 - Directory Listing
Modified Mon Aug 30 19:22:27 2004 UTC (8 years, 9 months ago) by dpvc
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, 9 months ago) by dpvc
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 2433 - Directory Listing
Modified Thu Jul 1 21:24:35 2004 UTC (8 years, 11 months ago) by sh002i
changed error output to label error as a webwork error.

Revision 1953 - Directory Listing
Modified Wed Apr 7 01:17:58 2004 UTC (9 years, 2 months ago) by gage
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, 3 months ago) by sh002i
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, 3 months ago) by sh002i
calls dispatch_new instead of dispatch. removed entire "Call Stack" from
error output, since it doesn't work right.

Revision 1731 - Directory Listing
Modified Wed Jan 21 19:47:38 2004 UTC (9 years, 4 months ago) by sh002i
improved the formatting of error messages slightly.

Revision 1703 - Directory Listing
Modified Mon Jan 5 01:02:41 2004 UTC (9 years, 5 months ago) by sh002i
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, 6 months ago) by sh002i
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 1662 - Directory Listing
Modified Mon Dec 8 23:45:07 2003 UTC (9 years, 6 months ago) by sh002i
playing with header formats

Revision 1622 - Directory Listing
Modified Sat Nov 8 02:47:23 2003 UTC (9 years, 7 months ago) by sh002i
removed old timer.

Revision 1585 - Directory Listing
Modified Wed Oct 15 17:08:31 2003 UTC (9 years, 8 months ago) by sh002i
changes to the diabled stack trace code

Revision 1531 - Directory Listing
Modified Thu Sep 25 02:21:53 2003 UTC (9 years, 8 months ago) by sh002i
added tip about "permission denied" errors

Revision 1243 - Directory Listing
Modified Sat Jun 21 00:53:19 2003 UTC (10 years ago) by sh002i
commented out debugging code

Revision 1195 - Directory Listing
Modified Wed Jun 18 16:33:12 2003 UTC (10 years ago) by sh002i
Worked on timing system.

Revision 1151 - Directory Listing
Modified Fri Jun 13 02:14:13 2003 UTC (10 years ago) by sh002i
profiler debugging.
-sam

Revision 1143 - Directory Listing
Modified Thu Jun 12 19:31:16 2003 UTC (10 years ago) by sh002i
commented out backtrace call (still causing problems).
-sam

Revision 1141 - Directory Listing
Modified Thu Jun 12 19:27:36 2003 UTC (10 years ago) by sh002i
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 (10 years ago) by sh002i
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 1051 - Directory Listing
Modified Fri Jun 6 21:47:51 2003 UTC (10 years ago) by sh002i
moved PG modules and macro files from webwork-modperl to pg
-sam

Revision 1050 - Directory Listing
Modified Fri Jun 6 21:39:42 2003 UTC (10 years ago) by sh002i
moved PG modules and macro files from webwork-modperl to pg
-sam

Revision 1029 - Directory Listing
Modified Thu Jun 5 19:47:38 2003 UTC (10 years ago) by malsyned
Changed another occurence of /webwork to /webwork2
-Dennis

Revision 1001 - Directory Listing
Modified Wed Jun 4 00:19:38 2003 UTC (10 years ago) by sh002i
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 (10 years ago) by sh002i
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 (10 years ago) by malsyned
There's no longer a seperate "Add Set" content generator.  That form is
now right on the problem set list.
-Dennis

Revision 971 - Directory Listing
Modified Mon Jun 2 20:03:04 2003 UTC (10 years ago) by sh002i
Added CGI::Carp error reporting.
-sam

Revision 963 - Directory Listing
Modified Mon Jun 2 08:18:51 2003 UTC (10 years ago) by malsyned
Added the ability to add sets.
-Dennis

Revision 935 - Directory Listing
Modified Wed May 28 21:28:08 2003 UTC (10 years ago) by malsyned
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 890 - Directory Listing
Modified Thu May 22 21:43:27 2003 UTC (10 years, 1 month ago) by gage
Added the case where instructor/pgProblemEditor/ is dispatched to
an Instructor/ PGProblemEditor.pm object.

Revision 861 - Directory Listing
Modified Sun May 18 03:28:05 2003 UTC (10 years, 1 month ago) by gage
Added an entry for problemSetEditor pointing to
Instructor::ProblemSetEditor

Revision 836 - Directory Listing
Modified Wed May 14 21:20:13 2003 UTC (10 years, 1 month ago) by malsyned
Removed the Professor content generator and link.
Made a little progress on ProblemSetList.
-Dennis

Revision 832 - Directory Listing
Modified Wed May 14 20:28:18 2003 UTC (10 years, 1 month ago) by malsyned
Added shell code for the UserList and ProblemSetList
-Dennis

Revision 831 - Directory Listing
Modified Wed May 14 18:44:54 2003 UTC (10 years, 1 month ago) by malsyned
Moved Instructor.pm to Instructor/Index.pm and made Instructor.pm an
abstract superclass of all the instructor pages.
-Dennis

Revision 829 - Directory Listing
Modified Wed May 14 18:11:45 2003 UTC (10 years, 1 month ago) by malsyned
Added the beginnings of the instructor pages.
--Dennis

Revision 820 - Directory Listing
Modified Fri Apr 25 05:10:08 2003 UTC (10 years, 1 month ago) by malsyned
Added the instructor URL dispatching.
-dennis

Revision 819 - Directory Listing
Modified Fri Apr 25 05:07:59 2003 UTC (10 years, 1 month ago) by sh002i
$db gets passed into the ContentGenerator constructor (rather than being
needlessly recreated inside).
-sam

Revision 812 - Directory Listing
Modified Wed Apr 23 06:36:30 2003 UTC (10 years, 1 month ago) by sh002i
* changed $course_env to $ce
* added code to instantiate database and pass it to Authen and Authz.
-sam

Revision 746 - Directory Listing
Modified Wed Feb 26 17:58:16 2003 UTC (10 years, 3 months ago) by sh002i
updated httpd.conf snippet quoted in WeBWorK.pm
-sam

Revision 700 - Directory Listing
Modified Fri Jan 10 17:28:21 2003 UTC (10 years, 5 months ago) by sh002i
"Home" (i.e. no course specified) now redirects to %webworkURLs{home}
-sam

Revision 699 - Directory Listing
Modified Thu Jan 9 19:03:54 2003 UTC (10 years, 5 months ago) by sh002i
send_mail_to now works.
-sam

Revision 695 - Directory Listing
Modified Wed Jan 8 16:23:52 2003 UTC (10 years, 5 months ago) by sh002i
$webworkURLRoot is now taken from Apache::WeBWorK instead of being
specified in global.conf.
-sam

Revision 683 - Directory Listing
Modified Mon Jan 6 19:17:28 2003 UTC (10 years, 5 months ago) by sh002i
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, 5 months ago) by sh002i
make answer previews use $displayMode
write a template escape for printing $user, $effectiveUser, &c. nicely
-sam

Revision 671 - Directory Listing
Modified Mon Dec 9 18:40:04 2002 UTC (10 years, 6 months ago) by sh002i
did some work on Feedback, etc. Added mike and arnie's comments to TODO.
-sam

Revision 670 - Directory Listing
Modified Fri Dec 6 17:50:24 2002 UTC (10 years, 6 months ago) by malsyned
Added a Professor Tools stub module that provides redirection links to
the WeBWorK 1.8 system
-Dennis

Revision 667 - Directory Listing
Modified Wed Dec 4 19:07:12 2002 UTC (10 years, 6 months ago) by sh002i
added a bunch of "***" comments.
implemented Feedback module.
-sam

Revision 657 - Directory Listing
Modified Mon Nov 25 08:32:36 2002 UTC (10 years, 6 months ago) by sh002i
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, 6 months ago) by sh002i
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, 6 months ago) by sh002i
Added "Options" handler, modified the dispatcher to support it, fixed
the link to it in the &links routine.
-sam

Revision 636 - Directory Listing
Modified Wed Nov 20 19:22:01 2002 UTC (10 years, 7 months ago) by sh002i
fixed test for hardcopy argument to not throw away "0".
0sam

Revision 562 - Directory Listing
Modified Fri Sep 27 23:53:42 2002 UTC (10 years, 8 months ago) by sh002i
- 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 555 - Directory Listing
Modified Wed Sep 18 19:25:42 2002 UTC (10 years, 9 months ago) by sh002i
fixed image centering, added head escape.
-sam

Revision 494 - Directory Listing
Modified Wed Aug 21 18:31:20 2002 UTC (10 years, 10 months ago) by sh002i
updated copyright header.
-sam

Revision 476 - Directory Listing
Modified Tue Aug 20 01:07:18 2002 UTC (10 years, 10 months ago) by sh002i
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, 10 months ago) by sh002i
"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 448 - Directory Listing
Modified Thu Aug 1 20:22:22 2002 UTC (10 years, 10 months ago) by sh002i
added (c) header.
-sam

Revision 446 - Directory Listing
Modified Wed Jul 31 19:50:53 2002 UTC (10 years, 10 months ago) by malsyned
CGI.pm cleanups
-dennis

Revision 425 - Directory Listing
Modified Thu Jul 11 23:27:10 2002 UTC (10 years, 11 months ago) by sh002i
continued to work on Problem.pm. see diffs.
-sam

Revision 421 - Directory Listing
Modified Wed Jul 3 23:10:46 2002 UTC (10 years, 11 months ago) by malsyned
Removed some stuff that's better off in WeBWorK::Upload, fixed some comments,
cleaned up some code

Revision 393 - Directory Listing
Modified Thu Jun 20 16:02:12 2002 UTC (11 years ago) by sh002i
removed PerlModule line -- unnecessary.
-sam

Revision 390 - Directory Listing
Modified Wed Jun 19 22:45:47 2002 UTC (11 years ago) by malsyned
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 (11 years ago) by malsyned
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 (11 years ago) by malsyned
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 (11 years ago) by malsyned
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 329 - Directory Listing
Modified Thu May 30 22:12:51 2002 UTC (11 years ago) by malsyned
-Just a quick end of the day commit.  No big changes to report.
--Dennis

Revision 323 - Directory Listing
Modified Thu May 30 20:34:46 2002 UTC (11 years ago) by malsyned
-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
Just making sure all the files are synched at the end of the day.  This is
probably mostly typo cleanups and stuff.

Revision 290 - Directory Listing
Modified Wed May 22 20:44:45 2002 UTC (11 years, 1 month ago) by malsyned
Mostly changes to WeBWorK.pm, making it actually be a dispatcher, instead of a dummy

Revision 283 - Directory Listing
Added Wed May 22 18:44:14 2002 UTC (11 years, 1 month ago) by malsyned


Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9