[system] / branches / dg_dev / webwork2 / lib / WeBWorK.pm Repository:
ViewVC logotype

Log of /branches/dg_dev/webwork2/lib/WeBWorK.pm

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 6472 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 18 21:44:45 2010 UTC (2 years, 7 months ago) by aubreyja
File length: 13834 byte(s)
Diff to previous 6379 , to selected 2425
Adding current webwork2 to dg_dev

Revision 6379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 21 02:38:56 2010 UTC (2 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13834 byte(s)
Diff to previous 6367 , to selected 2425
changed the error message on reporting switch over problems that occur
when you change versions of Storable.

removed lines from WeBWorK.pm that attempted to solve the Inequalities::common problem
they weren't really doing any good.

The basic problem is that we need a line:
use Inequalities::common 

before the @ISA() statement -- unfortunately we've barred the use of "use" in Safe.  :-(



Revision 6367 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 14 18:05:53 2010 UTC (2 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13832 byte(s)
Diff to previous 6279 , to selected 2425
changes back ported from gage_dev
changes to support applets
changes in how answers are stored


Revision 6279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 25 23:48:02 2010 UTC (2 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13798 byte(s)
Diff to previous 6263 , to selected 2425
 removed extraneous line that temporarily fixed the not_null problem.

I believe the not_null problem has now been resolved in PGcore.pm

Revision 6263 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 15 18:44:26 2010 UTC (3 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13793 byte(s)
Diff to previous 6260 , to selected 2425
toned down the warning to avoid clogging the log file

Revision 6260 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 15 18:22:35 2010 UTC (3 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13452 byte(s)
Diff to previous 6067 , to selected 2425
added useless reference to  @LimitedPolynomial::BOP::ISA to the end of the dispatcher in WeBWorK.pm

to stop warning messages such as these:

[Sat May 15 14:33:35 2010] [warn] [client 127.0.0.1] [/webwork2/gage_course/test_set/6/] Can't locate package LimitedPolynomial::BOP for @LimitedPolynomial::BOP::power::ISA at /opt/webwork/webwork2/lib/Apache/WeBWorK.pm line 115., referer: http://localhost/webwork2/gage_course/test_set/6/

No explanation for the warning messages nor as to why this stops them.

contextLimitedVector.pl is similar and does not create similar warning messages.

Revision 6067 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 26 00:48:19 2009 UTC (3 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13334 byte(s)
Diff to previous 5713 , to selected 2425
changing version number

Revision 5713 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 21 16:26:44 2008 UTC (4 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13336 byte(s)
Diff to previous 5319 , to selected 2425
Update version to 2.4.5

Revision 5319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 13 22:59:59 2007 UTC (5 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13333 byte(s)
Diff to previous 5300 , to selected 2425
updated copyright dates

Revision 5300 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 10 16:35:01 2007 UTC (5 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13333 byte(s)
Diff to previous 5213 , to selected 2425
restore whitespace destroyed (presumably) by matt's editor

Revision 5213 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 23 04:06:32 2007 UTC (5 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12756 byte(s)
Diff to previous 5087 , to selected 2425
PLEASE READ -- APACHE CONFIG CHANGES!

This patch makes webwork.apache2-config static (no <Perl> sections) and
passes changes into WeBWorK via PerlSetVar directives. The course
environment (global.conf) is seeded from these variables. Also changes
pg_dir to webwork_pg_dir, so all seed variables start with "webwork_".

So update your webwork.apache2-config and global.conf files! :)

Revision 5087 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 29 19:54:19 2007 UTC (5 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12697 byte(s)
Diff to previous 5077 , to selected 2425
$main::VERSION should be "2.x" in HEAD. It gets set in rel-2-x-dev
branch before tagging each rel-2-x-y.

Revision 5077 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 29 17:12:03 2007 UTC (5 years, 10 months ago) by mleventi
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12728 byte(s)
Diff to previous 5057 , to selected 2425
Put back whitespace.

Revision 5057 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 28 20:08:49 2007 UTC (5 years, 10 months ago) by mleventi
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13196 byte(s)
Diff to previous 4537 , to selected 2425
Squashing more bugs adding php4 support

Revision 4537 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 19:03:00 2006 UTC (6 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13273 byte(s)
Diff to previous 4491 , to selected 2425
propagate errors during module preload

Revision 4491 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 13 23:40:26 2006 UTC (6 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13259 byte(s)
Diff to previous 4374 , to selected 2425
precompile many modules at server start time. this allows more compiled
code (parse trees, bytecode, etc.) to be shared among child processes,
and speeds child start time, since that compilation has already been
done in the master process.

you may want to turn this off for development, since it makes the server
take a really long time to start.

Revision 4374 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 14 18:14:22 2006 UTC (6 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12771 byte(s)
Diff to previous 4353 , to selected 2425
seed the course env. with hostname, port, ssl status, and root URL.

Revision 4353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 5 02:53:50 2006 UTC (6 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12199 byte(s)
Diff to previous 4337 , to selected 2425
remove vestiges of GDBM database support

Revision 4337 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 3 17:01:51 2006 UTC (6 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12743 byte(s)
Diff to previous 4304 , to selected 2425
remove CGIParamShim request hack, since CGIParamShim is not the solution

Revision 4304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 26 22:20:04 2006 UTC (6 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13312 byte(s)
Diff to previous 4262 , to selected 2425
use WeBWorK::Authen::class() to determine the proper Authen class to use.
this is much nicer than embedding that decision in this file. twice.

Revision 4262 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 15 14:06:42 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13186 byte(s)
Diff to previous 4243 , to selected 2425
dubious hack to support WeBWorK::CGIParamShim. This is not threadsafe,
but then again, neither is Safe.pm, so it's a non-issue so far.

Revision 4243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 17:28:07 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12550 byte(s)
Diff to previous 4216 , to selected 2425
support uploads under apache2

Revision 4216 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 11 03:59:08 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12198 byte(s)
Diff to previous 4211 , to selected 2425
Apache2 compatibility for HTTP constants. (This may very well be broken,
but I wanted to get it comitted before bed.)

Revision 4211 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 10 17:48:46 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12300 byte(s)
Diff to previous 4191 , to selected 2425
improve formatting for params debugging output.

Revision 4191 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 29 21:28:23 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12253 byte(s)
Diff to previous 4080 , to selected 2425
removed commented-out code that would have needed modification for apache2

Revision 4080 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 19:25:44 2006 UTC (7 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12405 byte(s)
Diff to previous 4046 , to selected 2425
use new config options for authentication modules (see global.conf).

Revision 4046 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 12 18:50:37 2006 UTC (7 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 11396 byte(s)
Diff to previous 4010 , to selected 2425
Support for new Authen class:

* Use new Authen::Proctor subclass for proctor verification rathern than old
  verifyProctor method of Authen.
* Remove unfinished code fragment introduced in 1.79. Harmless but annoying.
* Change names of login module constants from AUTHEN_MODULE and
  PROCTOR_AUTHEN_MODULE to LOGIN_MODULE and PROCTOR_LOGIN_MODULE.

Revision 4010 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 18:21:26 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 11721 byte(s)
Diff to previous 3973 , to selected 2425
set $main::VERSION to "2.x" -- nice generic value for CVS.

Revision 3973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 23:13:56 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 11721 byte(s)
Diff to previous 3833 , to selected 2425
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 3833 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 19 03:41:29 2005 UTC (7 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 11721 byte(s)
Diff to previous 3743 , to selected 2425
create $authz and $authen regardless of whether we have a courseID

Revision 3743 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 7 21:18:37 2005 UTC (7 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12023 byte(s)
Diff to previous 3705 , to selected 2425
store authenticator in $r.

Revision 3705 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 11 20:44:59 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12000 byte(s)
Diff to previous 3673 , to selected 2425
stop redirecting to Login when user is not allowed to "act as". Instead,
throw an exception.

Revision 3673 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 30 19:31:35 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 11939 byte(s)
Diff to previous 3598 , to selected 2425
give user an error message if they can't act as another user.
see bug #846.

Revision 3598 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 6 14:17:44 2005 UTC (7 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 11945 byte(s)
Diff to previous 3535 , to selected 2425
call hasPermissions() with two arguments (it doesn't use the eUserID
anyway.

Revision 3535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 17 16:05:48 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 11715 byte(s)
Diff to previous 3485 , to selected 2425
re-added timer for entire content generation process.

Revision 3485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 12 02:47:30 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 11364 byte(s)
Diff to previous 3377 , to selected 2425
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.

Revision 3377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 14 13:15:27 2005 UTC (7 years, 10 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12364 byte(s)
Diff to previous 3307 , to selected 2425
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 3307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 22 15:18:32 2005 UTC (7 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 11315 byte(s)
Diff to previous 3058 , to selected 2425
Use the Timing::HiRes module to calculate timing data for each
request. This gives more accurate timing data (using the unix
time gives only to the nearest second).  I am printing the elapsed
time to 3 decimal places, it could be to 6 if that is desirable.

This will help us evaluate whether changes are increasing or decreasing
the speed with which requests are serviced.

Revision 3058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 20 21:08:06 2004 UTC (8 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10997 byte(s)
Diff to previous 3003 , to selected 2425
expansion of Mike's caching fixes. see below:

* separate setCachedUser($userID) method allows explicit setting of user
  to cache. This is needed because $r->param("user") is not always set
  (i.e. in the case of the initial request for a guest login.
* don't store a copy of a reference to %permissionLevels, as this isn't
  any more efficient than accessing the course environment directly.
* always construct the Authz instance.
* fall back on accessing the database if hasPermissions() is called with
  a user other than the cached user (or if no user is cached).
* warning output (and assume no permission) if PermissionLevel record
  doesn't exist or permission level is empty.
* warn (and assume no permission) if activity is not found in the
  %permissionLevels hash.
* don't pass $ce and $db to new(), since they are available in $r.

Revision 3003 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 19 19:13:20 2004 UTC (8 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10909 byte(s)
Diff to previous 2973 , to selected 2425
added "login" permission, handling code.

Revision 2973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 2 20:47:35 2004 UTC (8 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10933 byte(s)
Diff to previous 2970 , to selected 2425
updated $main::VERSION

Revision 2970 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 2 19:58:31 2004 UTC (8 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10931 byte(s)
Diff to previous 2931 , to selected 2425
better handling when no display module is found for the path.

Revision 2931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 17 03:11:43 2004 UTC (8 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10935 byte(s)
Diff to previous 2930 , to selected 2425
Changed format of run time

Revision 2930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 15 20:35:15 2004 UTC (8 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10930 byte(s)
Diff to previous 2638 , to selected 2425
Adding write to timing log which summarizes the time spent in this module.
This does not give detailed timing data.  It prints whether or not the timing
log is enabled in "Constants.pm".  It uses Utils::writeTimingLogEntry and
makes an entry as long as the "timing" log facility has been defined in global.conf

Revision 2638 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 18 01:40:44 2004 UTC (8 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10543 byte(s)
Diff to previous 2491 , to selected 2425
added debugging header!

Revision 2491 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 12 02:30:32 2004 UTC (8 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10483 byte(s)
Diff to previous 2437 , to selected 2425
MORE CONFIG CHANGES -- PLEASE READ.

I've changed the way WeBWorK is configured yet again. The Apache
configuration for WeBWorK is now done with <Perl> sections. This solves
the problem of "seeding" global.conf with initial values for the various
root directories and base URLs. it also eliminates redundancy in the
Apache configuration file itself.

The Apache configuration for WeBWorK is now contained in the file
conf/webwork.apache-config. This file is used both for normal systems,
where WeBWorK is integrated into the main Apache server, and development
systems, where each developer runs his or her own Apache server.

Inside webwork.apache-config, seven configuation variables are set:

     $webwork_url            The base URL handled by Apache::WeBWorK.
     $webwork_dir            The path to the base webwork2 directory.
     $pg_dir                 The path to the base pg directory.

     $webwork_htdocs_url     The base URL of the WeBWorK htdocs directory.
     $webwork_htdocs_dir     The path to the WeBWorK htdocs directory.

     $webwork_courses_url    The base URL of the WeBWorK courses directory.
     $webwork_courses_dir    The path to the WeBWorK courses directory.

These variables are used to configure the <Location>, Alias, AliasMatch,
and <Directory> directives necessary for WeBWorK operation.
$webwork_root and $pg_root are also used in "use lib" lines to add the
WeBWorK and PG lib directories to @INC.

Additionally, the above values are shared with WeBWorK via the
%WeBWorK::SeedCE hash. WeBWorK.pm passes the contents of this hash
(along with a value for "courseName") to CourseEnvironment.pm when
initializing the course environment. In turn, CourseEnvironment.pm seeds
the course environment namespace with these variables before evaluating
global.conf and course.conf.

Revision 2437 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 3 17:13:29 2004 UTC (8 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10346 byte(s)
Diff to previous 2434 , to selected 2425
changed the way invalid courses are detected. $ce->{'!'} is no longer
used. also, if CE initialization throws an exception, it is caught and
labeled as a problem with CE init.

Revision 2434 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 1 23:35:22 2004 UTC (8 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10180 byte(s)
Diff to previous 2425
replaced remaining DECLINEs with explicit error messages.

Revision 2425 - (view) (download) (as text) (annotate) - [selected]
Modified Wed Jun 30 15:15:16 2004 UTC (8 years, 10 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10080 byte(s)
Diff to previous 2375
fixed checks for bad course names
should work now for ww1 courses (bug #584)

Revision 2375 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 23 20:45:01 2004 UTC (8 years, 10 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 10056 byte(s)
Diff to previous 2368 , to selected 2425
fail on bad course names

Revision 2368 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 23 00:37:41 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 9701 byte(s)
Diff to previous 2346 , to selected 2425
now using WeBWorK::Debug instead of built-in debug() function.

Revision 2346 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 17 20:10:18 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 9623 byte(s)
Diff to previous 2313 , to selected 2425
moved creating of timing object up so we can use it sooner

Revision 2313 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 14 22:59:22 2004 UTC (8 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 9520 byte(s)
Diff to previous 2098 , to selected 2425
added database checking logic. if database is not ok, CG is set to
FixDB.

Revision 2098 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 13 18:28:42 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8974 byte(s)
Diff to previous 1910 , to selected 2425
Defined $WeBWorK:;timer again for use in debugging code
$timerON =0   by default in WeBWorK.pm
and
 the timing log $TIMING_LOG  is initially set to the empty string which
implies STDERR

Revision 1910 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 23 01:04:02 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8812 byte(s)
Diff to previous 1895 , to selected 2425
handle undef CG result

Revision 1895 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 16 20:00:23 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8774 byte(s)
Diff to previous 1885 , to selected 2425
disabled param munging -- this will prevent destruction of params with
':' and ',' in their names. closes bug #431.

Revision 1885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 15 20:17:35 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8773 byte(s)
Diff to previous 1879 , to selected 2425
Authen and Authz are now passed only a WeBWorK::Request.

Revision 1879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 15 02:25:11 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8801 byte(s)
Diff to previous 1836 , to selected 2425
removed old dispatch() function, renamed dispatch_new() -> dispatch(),
added upload handling code (from old dispatch function).

Revision 1836 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 21:00:51 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 22613 byte(s)
Diff to previous 1821 , to selected 2425
added dispatch_new function. w00t!

Revision 1821 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 21 10:15:58 2004 UTC (9 years, 3 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 15989 byte(s)
Diff to previous 1803 , to selected 2425
Changed parameter calls to Error.pm, now sent using $r

Revision 1803 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 14 00:54:56 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 15826 byte(s)
Diff to previous 1796 , to selected 2425
added "Home" content generator to give a list of courses

Revision 1796 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 12 19:23:43 2004 UTC (9 years, 3 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 15816 byte(s)
Diff to previous 1792 , to selected 2425
fixed incorrect error message parsing by Instructor/Index.pm

Revision 1792 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 12 14:26:18 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 14634 byte(s)
Diff to previous 1789 , to selected 2425
Commented out extra brace which kept this from compiling. :-)
--Mike

Revision 1789 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 12 04:26:17 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 14633 byte(s)
Diff to previous 1781 , to selected 2425
removed /test

Revision 1781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 6 17:27:07 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 14627 byte(s)
Diff to previous 1755 , to selected 2425
dispatcher can now handle multiple slashes.

Revision 1755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 25 19:56:09 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 14555 byte(s)
Diff to previous 1739 , to selected 2425
Check that arguments have been
defined at line 417

Revision 1739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 23 16:49:09 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 14373 byte(s)
Diff to previous 1696 , to selected 2425
moved Assigner to UsersAssignedToSet. created new Assigner module, and
wired it to /$courseID/instructor/assigner/. It doesn't do anything yet,
but it will allow the assignment of multiple sets to multiple users, all
in one shot.

Revision 1696 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 3 20:07:03 2004 UTC (9 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 14215 byte(s)
Diff to previous 1663 , to selected 2425
UPDATE YOUR CONFIG FILES! (global.conf.dist, database.conf.dist)

Made changes to support the storage of multiple database layouts in a
single course environment. Database layouts are now stored in a hash
named %dbLayouts in database.conf, and the default layout is aliased to
*dbLayout (see comments in database.conf.dist and global.conf.dist)
sql.conf and gdbm.conf are no longer used.

Support the selection of a specific database layout when instantiating
WeBWorK::DB. WeBWorK::DB now takes a reference to a database layout
rather than an entire course environment.

All calls to WeBWorK::DB::new were updated to pass the correct argument.

Revision 1663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 9 01:12:32 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 14134 byte(s)
Diff to previous 1658 , to selected 2425
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 1658 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 4 20:23:25 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13477 byte(s)
Diff to previous 1656 , to selected 2425
squashed some instances of the "0 is not a true value" bug that keeps
creeping in.

Revision 1656 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 4 06:19:17 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13479 byte(s)
Diff to previous 1648 , to selected 2425
reduced number of return points

Revision 1648 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 3 20:27:02 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13476 byte(s)
Diff to previous 1630 , to selected 2425
formatting

Revision 1630 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 9 23:21:24 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13482 byte(s)
Diff to previous 1621 , to selected 2425
Removed references to ScoringTotals.pm   These capabilities
are handled by Scoring.pm
--Mike

Revision 1621 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 8 02:47:00 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13433 byte(s)
Diff to previous 1616 , to selected 2425
(1) only the content generator needed for this request is loaded, and it
is done at runtime. this is good for speed and error reporting.

(2) actually instantiating CGs and running their "go" methods is defered
until the end of the handler routine. this means there is only ONE place
where this is being done.

(3) documentation has been improved.

(4) added support for UserDetail (not yet written) and
SetsAssignedToUser (written, but not yet reachable) in the UI.

Revision 1616 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 4 02:29:01 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 14366 byte(s)
Diff to previous 1612 , to selected 2425
support for FileXfer and Upload

Revision 1612 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 27 13:06:32 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13544 byte(s)
Diff to previous 1610 , to selected 2425
Turned timing off for the CVS copy of WeBWorK.pm
--Mike

Revision 1610 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 27 13:02:44 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13544 byte(s)
Diff to previous 1608 , to selected 2425
Modified the way the timing mechanisms are controlled so that a timer
must be defined before it is called.  Fixed a bug appearing on
webwork.math.rochester.edu where the timers were turned off.

--Mike

Revision 1608 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 24 00:33:11 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13544 byte(s)
Diff to previous 1607 , to selected 2425
the timing switch is now turned off by default.

--Mike

Revision 1607 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 24 00:31:47 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 13543 byte(s)
Diff to previous 1595 , to selected 2425
Added lines that allow you to turn the timing statements off with one
switch.

Revision 1595 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 20 15:29:37 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12878 byte(s)
Diff to previous 1580 , to selected 2425
Added timing code for Instructor::Index  to Instructor::Index.pm and
also to WeBWorK.pm.  We can remove this once we have finished testing
various database configs.

--Mike

Revision 1580 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 12 04:10:17 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12652 byte(s)
Diff to previous 1565 , to selected 2425
Changed dispatcher to allow access to Instructor::AddUser module.

Removed references to Index2.pm

--Mike

Revision 1565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 6 22:35:56 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 12451 byte(s)
Diff to previous 1548 , to selected 2425
docs

Revision 1548 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 30 01:12:42 2003 UTC (9 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 9675 byte(s)
Diff to previous 1509 , to selected 2425
added $VERSION variable

Revision 1509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 19 02:28:28 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 9744 byte(s)
Diff to previous 1447 , to selected 2425
Provides link to Instructor2 alternate interface for instructors.
--Mike

Revision 1447 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 4 08:06:10 2003 UTC (9 years, 9 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 9480 byte(s)
Diff to previous 1432 , to selected 2425
Added scoreDownload URL for ScoreDownload.pm module

Revision 1432 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 03:20:16 2003 UTC (9 years, 9 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 9271 byte(s)
Diff to previous 1430 , to selected 2425
Added more capabilities to the stats module.

There is some overlapping code that needs to be factored out.
--Mike

Revision 1430 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 24 21:52:17 2003 UTC (9 years, 9 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 9056 byte(s)
Diff to previous 1411 , to selected 2425
Added a module that shows the raw stats for a single set.
We need a better index page for this and other views of the
same statistics.
--Mike

Revision 1411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 21 23:06:02 2003 UTC (9 years, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8864 byte(s)
Diff to previous 1395 , to selected 2425
Added course/instructor/scoring => Scoring.pm

Revision 1395 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 15 19:36:25 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8679 byte(s)
Diff to previous 1382 , to selected 2425
Added ShowAnswers.pm module which reads the log file of the students answers
Modifications to WeBWorK (dispatcher) and Problem (the Show Past Answer button
had to be redirected) were also made.
--Mike

Revision 1382 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 14 18:43:23 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8468 byte(s)
Diff to previous 1377 , to selected 2425
Commented out the fork statement.  Fixes the blocker bug #142
--Mike

Revision 1377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 14 15:13:12 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8496 byte(s)
Diff to previous 1245 , to selected 2425
Added dispatching for send_mail
--Mike

Revision 1245 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 21 02:19:14 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 7655 byte(s)
Diff to previous 1224 , to selected 2425
Timers turned on for now.
--Mike

Revision 1224 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 01:16:09 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 7659 byte(s)
Diff to previous 1204 , to selected 2425
commented out timing code

Revision 1204 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 18 20:03:03 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 7885 byte(s)
Diff to previous 1203 , to selected 2425
Oops.  Removed the remaining conflict line.
--Mike

Revision 1203 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 18 20:00:41 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 8019 byte(s)
Diff to previous 1195 , to selected 2425
Included timing code.
--Mike

Revision 1195 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 18 16:33:12 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 7503 byte(s)
Diff to previous 1173 , to selected 2425
Worked on timing system.

Revision 1173 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 16 19:05:01 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 7222 byte(s)
Diff to previous 1151 , to selected 2425
Rearranged the URL to ContentGenerator mappings for user-specific data
editors.
-Dennis

Revision 1151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 02:14:13 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 7169 byte(s)
Diff to previous 1135 , to selected 2425
profiler debugging.
-sam

Revision 1135 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 12:53:36 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 7065 byte(s)
Diff to previous 1131 , to selected 2425
Quizzes are now called using quiz_mode instead of quiz

Revision 1131 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 20:40:11 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 7060 byte(s)
Diff to previous 1130 , to selected 2425
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 1130 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 19:32:31 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 6903 byte(s)
Diff to previous 1051 , to selected 2425
Added GatewayQuiz.pm module.  It can be accessed by courseName/quiz/setNumber
--Mike

Revision 1051 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 21:47:51 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 6671 byte(s)
Diff to previous 1048 , to selected 2425
moved PG modules and macro files from webwork-modperl to pg
-sam

Revision 1048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 21:16:09 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 6585 byte(s)
Diff to previous 1047 , to selected 2425
Fixed a bug that I just introduced that was corrupting
$ce->{webworkURLs}->{root};
-Dennis

Revision 1047 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 20:36:44 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 6583 byte(s)
Diff to previous 1015 , to selected 2425
Multiple forward slashes in URLs are now collapsed into one before being
examined, so that we follow the usual Apache behavior of accepting paths
with // in them.
-Dennis

Revision 1015 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 4 20:19:27 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 6530 byte(s)
Diff to previous 1005 , to selected 2425
The UserList module now has a single button, "Assign to all users", that
does what it says it does.  This should allow people to create new
problems and problem sets and edit them without ever needing the old
system, assuming that they are importing an existing course into
webwork2.
-Dennis

Revision 1005 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 4 00:34:56 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 6328 byte(s)
Diff to previous 995 , to selected 2425
I split the instructor's Problem List editor off into a seperate page,
and added links to that page from a few others.
-Dennis

Revision 995 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 21:07:37 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 6083 byte(s)
Diff to previous 986 , to selected 2425
Efforts towards doing the Right Thing with the instructor URLs.
-Dennis

Revision 986 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Jun 3 18:25:00 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK.pm
File length: 6076 byte(s)
Diff to selected 2425
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

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9