[system] / branches / rel-2-3-dev / webwork-modperl / lib / WeBWorK / ContentGenerator / GatewayQuiz.pm Repository:
ViewVC logotype

Log of /branches/rel-2-3-dev/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm

Parent Directory Parent Directory


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

Revision 4616 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 3 20:21:39 2006 UTC (6 years, 7 months ago) by sh002i
File length: 69655 byte(s)
Diff to previous 4396 , to selected 4327
backport (glarose): Gateway update: be more aware of undefined fields
for gateway parameters. I don't think this should be an issue, but saw a
case where an "undefined value in subtraction" error was being returned;
hopefully this will provide some level of protection against that.

Revision 4396 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 24 21:07:52 2006 UTC (6 years, 9 months ago) by
File length: 69487 byte(s)
Diff to previous 4332 , to selected 4327
This commit was manufactured by cvs2svn to create branch 'rel-2-3-dev'.

Revision 4332 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 3 15:20:18 2006 UTC (6 years, 10 months ago) by glarose
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 69487 byte(s)
Diff to previous 4327
GatewayQuiz update: improve timer, update error messages when overtime,
maybe some other minor changes I can't think of.

Revision 4327 - (view) (download) (as text) (annotate) - [selected]
Modified Tue Aug 1 22:02:50 2006 UTC (6 years, 10 months ago) by glarose
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 69327 byte(s)
Diff to previous 4316
GatewayQuiz update: revise timer to make display more elegant and
robust.

Revision 4316 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 28 20:08:54 2006 UTC (6 years, 10 months ago) by glarose
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 68796 byte(s)
Diff to previous 4307 , to selected 4327
GatewayQuiz update: use PGrandom to randomly order problems when that is
called for (avoids using srand() repeatedly).

Revision 4307 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 20:40:12 2006 UTC (6 years, 10 months ago) by glarose
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 68615 byte(s)
Diff to previous 4306 , to selected 4327
GatewayQuiz update for multiple page tests; bug fix, adds better preview/
problem checking state retention when switching between pages.

Revision 4306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 15:49:23 2006 UTC (6 years, 10 months ago) by glarose
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 68588 byte(s)
Diff to previous 4235 , to selected 4327
GatewayQuiz preliminary commit adding multi-page test capability.
This requires updating the database to add the problems_per_page
record to the set tables of the database.

Revision 4235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 01:23:54 2006 UTC (6 years, 11 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 63066 byte(s)
Diff to previous 4202 , to selected 4327
Converting from use CGI to use WeBWorK::CGI

The only substantial change is in Hardcopy where set_id was changed to "sid"

I believe that change is correct.

Revision 4202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 8 14:07:35 2006 UTC (6 years, 11 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 63040 byte(s)
Diff to previous 4071 , to selected 4327
Try using the -nosticky pragma to see if this fixes the problem.

Revision 4071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 00:31:06 2006 UTC (7 years, 1 month ago) by dpvc
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 63032 byte(s)
Diff to previous 4049 , to selected 4327
Fix jsMath output in the answer preview when the student answer
conains < or > (make sure they don't look like tags).

Revision 4049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 12 18:51:21 2006 UTC (7 years, 2 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 62973 byte(s)
Diff to previous 4015 , to selected 4327
Support for new Authen class:

* Use new Authen::Proctor subclass for proctor verification rathern than old
  verifyProctor method of Authen.

Revision 4015 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 21:03:25 2006 UTC (7 years, 4 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 62971 byte(s)
Diff to previous 3973 , to selected 4327
forward-port from rel-2-2-dev: (security checks for sourceFilePath -- fixes bug #970.

* Utils.pm: add path_is_subdir
* Problem.pm: use path_is_subdir to check sourceFilePath
              fix logic on when to use sourceFilePath
* ProblemSet.pm: use path_is_subdir to check sourceFilePath
                 add permissions check around sourceFilePath handler
* ProblemSets.pm: use path_is_subdir to check sourceFilePath
* GatewayQuiz.pm: remove code to preserve editMode/sourceFilePath (not used))

Revision 3973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 23:13:56 2006 UTC (7 years, 4 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 63022 byte(s)
Diff to previous 3852 , to selected 4327
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 3852 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 18:50:06 2005 UTC (7 years, 5 months ago) by glarose
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 63022 byte(s)
Diff to previous 3842 , to selected 4327
Gateway update: fix typo.

Revision 3842 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 21 23:23:58 2005 UTC (7 years, 5 months ago) by glarose
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 63040 byte(s)
Diff to previous 3768 , to selected 4327
Gateway update: fix a number of quiet bugs
  - deal with sets having no problems
  - add grace period read from conf file when determining test time expiration
  - retain consistent current time throughout processing
  - improved messages for tests running over time
  - add score and time messages to finished sets
  - save version_last_attempt_time for submitted sets that run over time

Revision 3768 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 18 18:30:12 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 58532 byte(s)
Diff to previous 3767 , to selected 4327
give the style used for the attempt results summary a structural name
(attemptResultsSummary) rather than a sort-of-stylistic name (emphasis).

Revision 3767 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 18 18:13:25 2005 UTC (7 years, 7 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 58519 byte(s)
Diff to previous 3642 , to selected 4327
Use optionsMacro for options like we do in Problem.pm. This reduces the
amount of (but doesn't eliminate) duplicated code between Problem and
GatewayQuiz.

Revision 3642 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 21 18:25:52 2005 UTC (7 years, 8 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 59907 byte(s)
Diff to previous 3485 , to selected 4327
added "use WeBWorK::Debug" to allow debug() statements to work.

Revision 3485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 12 02:47:30 2005 UTC (7 years, 10 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 59889 byte(s)
Diff to previous 3377 , to selected 4327
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, 11 months ago) by glarose
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 60014 byte(s)
Diff to previous 3357 , to selected 4327
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 3357 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 5 18:56:12 2005 UTC (7 years, 11 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 22516 byte(s)
Diff to previous 1877 , to selected 4327
renamed "problem set" to "homework set" in page content.
closes bug #797.

Revision 1877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 11 03:27:11 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 22520 byte(s)
Diff to previous 1841 , to selected 4327
updated to use the "unified request" object.
this file needs quite a bit of refactoring (along with Problem.pm).

Revision 1841 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 21:05:58 2004 UTC (9 years, 3 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 23119 byte(s)
Diff to previous 1693 , to selected 4327
changed template escape handler functions to grab data from $r->urlpath
instead of @_ for compatability with dispatch_new.

Revision 1693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 31 03:28:13 2003 UTC (9 years, 5 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 22845 byte(s)
Diff to previous 1667 , to selected 4327
made changes in checking for permissionLevel so that zero
was recognized as a legitimate level.
--Mike

Revision 1667 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 12 02:24:30 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 22828 byte(s)
Diff to previous 1663 , to selected 4327
As best I can determine all "get" commands to the database are now
checked and appropriate action (usually "die") is taken if no
object is returned.

One exception.  The multiple "gets"  such as getGlobalSets(@setNames)
are not checked -- if a given setName is not found is an empty object
returned? in the list or is nothing returned?

--Mike

Revision 1663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 9 01:12:32 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 21661 byte(s)
Diff to previous 1639 , to selected 4327
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 1639 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 19 18:48:57 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 21004 byte(s)
Diff to previous 1149 , to selected 4327
Made minor modifications so that GatewayQuiz would run again.  It hadn't
been tested for months and other parts of the system had moved on.
This is still very much a mockup for delivering gateway quizzes.
--Mike

Revision 1149 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 20:06:20 2003 UTC (10 years ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 20567 byte(s)
Diff to previous 1138 , to selected 4327
replaced tempdir() with makeTempDirectory()
-sam

Revision 1138 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 19:02:59 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 20583 byte(s)
Diff to previous 1129 , to selected 4327
The GatewayQuiz can be reached by using the url

courseName/quiz_mod/setNumber

It will produce the entire set as a quiz.  Recording functions, and the
ability to limit the number of entries have not yet been implemented.

--Mike

Revision 1129 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Jun 11 19:30:51 2003 UTC (10 years ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 12723 byte(s)
Diff to selected 4327
This presents an entire set as a quiz.  to be done:
(1) The answer presentation has to be filled in.
(2) Changes to PG.pl and the environment variables have to be made so that different
answers don't collide. The idea is to prefix all answers with something indicating the
problem number e.g.  pRoBlEm04-AnSwEr05  I think it better to pass in an explicit
variable rather than rely on problem numbers.
(3) should this work automatically for NAMED_ANS as well?  Pro: --it's done for you.
  Con: You can't refer to answers in other parts of the quiz. (Put perhaps you
shouldn't to promote atomic behavior.)
--Mike

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