Log of /branches/rel-2-3-dev/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
Parent Directory
Revision
4201 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 8 01:52:01 2006 UTC (6 years, 10 months ago) by
gage
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 47290 byte(s)
Diff to
previous 4198
Fixed some of the param problems by adding , override=>1 to the CGI::hidden() calls.
This means that CGI ignores any param() values when assigning value to the field. We have been
assigning our own updated values in any case, so this is probably what should have been done
from the start. I'm not 100% sure of this yet however, so I've only fixed a couple of places
in SetMaker.pm where the behavior is weird. I'd like to here of other weird behavior that could
be attributed to values in forms sticking or not sticking correctly.
Revision
3583 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 28 20:54:51 2005 UTC (7 years, 8 months ago) by
jj
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 45888 byte(s)
Diff to
previous 3548
Allow use of an activity log which logs every click, stored on a
per-course basis. It is turned off by default. It can be turned
on/off for individual courses. The three pieces here:
global.conf.dist: adds a place to define the log file. Here an
empty value signals to not do this logging.
ContentGenerator.pm: check to see if the log file is defined (and
(non-trivial), and if so, write a log entry. We check if it is
defined at this point to both save some time, and because if we
get to writeCourseLog and the log isn't defined, we get a pink
screen.
The bulk of the text of the log entry is performed by a new method
prepare_activity_entry. By default, this gives the url, and a list
of all the cgi parameters (except for key and passwd). This method
can be overridden by individual modules. The default format may
change. It may take some fine tuning to see what is best.
Also, this is one of the first functions called by go. We may want
it to go after the action has taken place if we want instructor
modules to be able to report results of their work through this log.
SetMaker.pm: gives an example of overriding prepare_activity_entry.
SetMaker has lots (and lots and lots) of data stored in cgi
parameters. We probably don't want to log that. We might want to
log a little more in SetMaker than we do here (target set), but
this gives a start.
Revision
3402 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 25 17:29:31 2005 UTC (7 years, 9 months ago) by
jj
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 38496 byte(s)
Diff to
previous 3399
Add browsing by set definition files. It will do a full search for these
files, and do some work to find the actual pg files. Also, a minor fix
in the lists of sets in the current course (the "Select ..." line was being
added twice in some cases), some indentation fixing in the souce, and
renamed a variable. Long ago, SetMaker used set definition files, and
then that was replaced with database lookup but a variable still had
setdef in its name. Now that it uses both, this needing fixing.
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/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 45132 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
2734 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 4 23:31:46 2004 UTC (8 years, 8 months ago) by
dpvc
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 34571 byte(s)
Diff to
previous 2700
When a pg file has auxiliary files (like .gif images), it is often
stored in a separate directory in order to keep all the files
together. In this case, the Library Browser will show the
subdirectory as a separate entry in the problem directory list, even
though the problem is logically part of its parent directory.
This patch modified the Library Browser so that these single-pg-file
directories are merged with their parents, as long as they also
include other non-pg-files.
It also provides a method of controling the library browser on a
directory-by-directory basis using specially named files. If a
directory contains a file named "=library-ignore", then the directory
is never shown in the directory menu. If it contains a file called
"=library-combine-up", then its contents are considered to be part of
the parent directory, even if it has more than one pg file. If it
contains one called "=library-no-combine", then the directory is
always listed separately in the menu, even if it has only one pg file.
Revision
2431 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 1 20:31:13 2004 UTC (8 years, 10 months ago) by
dpvc
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 33057 byte(s)
Diff to
previous 2283
Provide mechanism for adding extra problem library buttons
to the Library Browser.
These changes allow you to specify (via course.conf or global.conf)
that certain subdirectories of the templates directory are to have
separate buttons in the top panel of the Set Maker. These buttons
only appear if the directories actually exist, and any other
directories are listed in the "Local Problems" button as usual. If
the list of these directories is empty (the default), then the results
are just like they currently are, but it allows one more level of
separation of the hierarchy for those who want it.
The idea is to make symbolic links to the problem libraries from
Rochester, ASU, etc., and have separate buttons for these. This
avoids having one monster menu with all the problems in it. (Of
course, you could make buttons for any directories you want.) There
are instructions in global.conf.dist that exmplain how to do configure
this.
Revision
2230 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon May 31 02:20:27 2004 UTC (8 years, 11 months ago) by
jj
Original Path:
trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 30891 byte(s)
Diff to
previous 2225
Changed "Act on" button to say "Update" in bold. Also, added mark all button. Also, added clear all marks button. Also, "Add me" checkboxes are now sticky, unless you update and they are added. Then you get an additional message by the add box. Mayble we should flip the css class of the "Add me" line too to signal who was added. Hidme boxes aren't sticky since their problems usually get hidden anyway.
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.