Log of /branches/rel-2-4-patches/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
Parent Directory
Revision
4923 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 4 15:06:01 2007 UTC (6 years, 2 months ago) by
glarose
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 78680 byte(s)
Diff to
previous 4921
,
to
selected 1138
Add set-level proctor login password for proctored gateway/quiz
assignments, improve handling of proctor keys and permissions for
proctored assignments, bug fixes for recently added features.
This commit
- adds the ability to specify a set-level proctor for proctored
gateway/quiz assignments. this is done by adding a proctor with
a username "set_id:setName", where "setName" is the name of the
set, adding a "restricted_login_proctor" field to the set tables
in the database, and allowing Authen::Proctor and
ContentGenerator::LoginProctor to appropriately deal with this
possibility.
- updates proctor permissions and status in global.conf.dist,
changing the old "proctor_quiz" permission level (3) into two
levels, "proctor_quiz_login" and "proctor_quiz_grade".
wwdb_upgrade includes a stanza to make this change to proctors
that already exist in courses.
- adds a "Proctor" status in %statuses in global.conf, with no
valid behaviors. this allows the creation of proctor users
in a course who have the permissionLevel to login (and thus
proctor), but not to access the course.
- improves GatewayQuiz explanatory messages when scores or work
are hidden.
- improves GatewayQuiz proctor key management, especially for
tests with more than one allowed attempt. this includes
adding a deleteAllProctorKeys() method to DB.pm.
- updates Instructor Tools, UserList.pm and ProblemSetDetail
to deal with set-level proctoring. c.f. the note below about
the ramifications of these changes.
- updates ProblemSetList to deal with new problem set fields
set_locations and set-level proctors that are located in a
different database table than the set data.
- fixes bugs in UserList and ProblemSetDetail dealing with the
setting of hide_score, hide_score_by_problem, and
time_limit_cap.
This update hides set-level proctor users from the classlist
editor (UserList.pm) and instructor tools (Index.pm) interfaces.
They can be created, modified, and deleted at the homework sets
editor page (ProblemSetDetail.pm) only, and there only implicitly:
we never indicate that a user is being created or modified behind
the screen.
Revision
4914 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 29 19:48:58 2007 UTC (6 years, 2 months ago) by
glarose
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 76636 byte(s)
Diff to
previous 4908
,
to
selected 1138
More gateway fixes/additions. This commit
- moves javascript code for gateways into htdocs/js/gateway.js,
- updates the gateway template to use that,
- updates the gateway CSS file to use Louis Zulli's workaround
for IE6 not honoring position:fixed, and adds CSS definitions
for a score reporting box for multi-page, multi-attempt quizzes,
- updates the GatewayQuiz module to print a score reporting box
for multi-page, multi-attempt quizzes,
- updates the Grades module to correctly sort problems for
GatewayQuiz assignments that have randomly ordered problems, and
- adds some error checking to ProblemSetDetail to avoid people
doing things like submitting a zero time limit for a gateway.
Revision
4884 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 15 22:06:16 2007 UTC (6 years, 3 months ago) by
glarose
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 77947 byte(s)
Diff to
previous 4875
,
to
selected 1138
Fix state retention when previewing or checking answers by retaining
page but not worrying about preview or answer check. Reduce PG
translation for multipage tests by only translating problems on
submission or as needed when checking. Clean up some calls to get
problems so that db->getAll... problems calls are used. Add course
logging for preview, newpage, and grading. Add "Show Past Answers"
form/button as appropriate.
Please note: there is an interesting question about the order in
which problems are logged for the case when problems on a test/quiz
are ordered randomly. In this case, the problems are logged in the
course answer_log in the order in which they appear on the test.
However, when viewing grades and student progress, at the moment
this is not the case. In the long run we probably want the grades
page to conform to the order shown in the test, while we may want
the student progress page to match the order seen in the actual
test definition. For the moment that's probably a bug.
Revision
4695 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 1 17:19:30 2006 UTC (6 years, 6 months ago) by
glarose
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
File length: 70489 byte(s)
Diff to
previous 4566
,
to
selected 1138
Add hide_score and hide_work functions, allowing suppression of the
display of the score on the assignment and/or the work the student
submitted. Also updates the treatment of due and answer_date fields.
Now setting the due and answer dates to the same time will (should?)
make answers available once the test is completed (e.g., all attempts
are exhausted); setting the answer date to after the due date leaves
the correct answers unavailable until a similar time has passed from
when the test is completed. And the problem/page jump links are
cleaned up to be more concise for multipage tests.
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 1138
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
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 1138
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
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 1138
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
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 1138
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.