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

Log of /branches/rel-2-2-dev/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm

Parent Directory Parent Directory


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

Revision 4070 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 00:26:24 2006 UTC (7 years ago) by dpvc
File length: 63034 byte(s)
Diff to previous 4014
Fix jsMath formulas in the answer preview area when the student's
answer includes < or > (make sure they don't look like tags).

Revision 4014 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 21:02:00 2006 UTC (7 years, 3 months ago) by sh002i
File length: 62975 byte(s)
Diff to previous 3972
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 3972 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 23:12:05 2006 UTC (7 years, 3 months ago) by sh002i
File length: 63022 byte(s)
Diff to previous 3879
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 3879 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 7 02:08:53 2006 UTC (7 years, 4 months ago) by
File length: 63022 byte(s)
Diff to previous 3852
This commit was manufactured by cvs2svn to create branch 'rel-2-2-dev'.

Revision 3852 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 18:50:06 2005 UTC (7 years, 4 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 63022 byte(s)
Diff to previous 3842
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/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 63040 byte(s)
Diff to previous 3768
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, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 58532 byte(s)
Diff to previous 3767
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, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 58519 byte(s)
Diff to previous 3642
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/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 59907 byte(s)
Diff to previous 3485
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, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 59889 byte(s)
Diff to previous 3377
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/ContentGenerator/GatewayQuiz.pm
File length: 60014 byte(s)
Diff to previous 3357
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, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 22516 byte(s)
Diff to previous 1877
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, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 22520 byte(s)
Diff to previous 1841
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, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 23119 byte(s)
Diff to previous 1693
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, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 22845 byte(s)
Diff to previous 1667
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, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 22828 byte(s)
Diff to previous 1663
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, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 21661 byte(s)
Diff to previous 1639
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, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 21004 byte(s)
Diff to previous 1149
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 (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 20567 byte(s)
Diff to previous 1138
replaced tempdir() with makeTempDirectory()
-sam

Revision 1138 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 19:02:59 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 20583 byte(s)
Diff to previous 1129
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 (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 12723 byte(s)
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