Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
Parent Directory
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
File length: 46177 byte(s)
Diff to
previous 3903
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
3709 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 11 22:06:34 2005 UTC (7 years, 7 months ago) by
sh002i
File length: 46127 byte(s)
Diff to
previous 3595
added sorting of set definition files, fixing bug #809.
also added no_chdir=>1 flag to File::Find::find and modified
$get_set_defs_wanted accordingly.
Revision
3595 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 2 00:06:21 2005 UTC (7 years, 8 months ago) by
jj
File length: 45815 byte(s)
Diff to
previous 3594
Fixed bug in use of advanced display panel which prevented it from displaying
problems. Default values like "All Textbooks" needed to be cleared so it
wouldn't be mistaken for actual textbook names.
Revision
3594 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 1 01:10:35 2005 UTC (7 years, 8 months ago) by
dpvc
File length: 45908 byte(s)
Diff to
previous 3584
Implemented Mike's suggestion of combining a directory upward only
when the directory contains one pg file and the name of the file is
the same as the name of the directory containing it. I have removed
the condition that there need to be other (non-pg) files in the
directory, as the check takes time, and is no longer necessary.
Revision
3584 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 28 23:09:27 2005 UTC (7 years, 8 months ago) by
jj
File length: 45923 byte(s)
Diff to
previous 3583
Fixed a bug where a set named "0" would not be sticky in the Target Set
list (because it looked kind of like an empty/undefined name).
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
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
3461 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 10 18:02:31 2005 UTC (7 years, 9 months ago) by
sh002i
File length: 45323 byte(s)
Diff to
previous 3449
make .def searching thread-safe (resolves bug #814).
changed @found_set_defs to be a lexical local to get_set_defs().
replaced get_set_defs_wanted() with a closure over @found_set_defs
defined in get_set_defs().
output is identical to the previous case, but no global(-ish) variables
are used.
Revision
3413 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 27 16:43:19 2005 UTC (7 years, 9 months ago) by
jj
File length: 38954 byte(s)
Diff to
previous 3410
More changes for problem library version 2: changed interface for getting
lists of problems so variable amounts of data can be passed. Also removed
an unneeded button.
Revision
3410 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 27 16:30:41 2005 UTC (7 years, 9 months ago) by
jj
File length: 39129 byte(s)
Diff to
previous 3409
Mainly improvements for problem library version 2. Also removed comments
and added "Edit it" link back in for library problems. These were not the
only read-only problems in a course, and being able to Edit it, and then
save as is pretty useful.
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
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
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
2960 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 25 22:40:19 2004 UTC (8 years, 6 months ago) by
jj
File length: 33866 byte(s)
Diff to
previous 2959
When making a new set, leave the name as it was input. Should resolve
confusion when making sets starting with "set".
Revision
2892 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 11 13:32:01 2004 UTC (8 years, 7 months ago) by
gage
File length: 34731 byte(s)
Diff to
previous 2872
Evaluate $r->param("user") in a scalar context in case user has been
defined more than once.
It would also be nice to find where the double definitions are coming
from.
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
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
2450 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 7 14:37:32 2004 UTC (8 years, 10 months ago) by
gage
File length: 33060 byte(s)
Diff to
previous 2431
Changed the misnamed problem_header to hardcopy_header which is a more accurate
description of the variables use.
Hardcopy.pm now consults hardcopy_header as opposed to set_header
This addresses some of the concerns in bug #556
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
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
2269 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 7 02:50:52 2004 UTC (8 years, 11 months ago) by
jj
File length: 31444 byte(s)
Diff to
previous 2264
Added success message when creating a new set. Also,
added requested feature - when creating a new set, allow the user to assign
it to themselves. This is done through javascript. Only users with js
turned on get it, but it is kind of a frill. Non-js users see just the old
behavior.
Revision
2264 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 6 21:03:54 2004 UTC (8 years, 11 months ago) by
jj
File length: 30891 byte(s)
Diff to
previous 2230
Changed Current Set to Target Set (hopefully more intuitive), and changed Top
to My Problems, also hopefully more intuitive for non-unix users.
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
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.
Revision
2225 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 28 23:15:44 2004 UTC (8 years, 11 months ago) by
jj
File length: 29715 byte(s)
Diff to
previous 2154
Added two more controls next to View Problems: choice of display mode, which includes none for those who don't like to see their problems displayed, and one to choose how many problems you get at once. Also, problems who's rendering cause an error get their message displayed with ResultsWithError.
Revision
2115 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat May 15 17:42:07 2004 UTC (9 years ago) by
jj
File length: 27300 byte(s)
Diff to
previous 2112
Reorganized to use addmessage for messages. Also minor cleanups of
variable names, and better handling when there are no pg files under
templates.
Revision
2039 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 7 20:59:30 2004 UTC (9 years ago) by
jj
File length: 26038 byte(s)
Diff to
previous 2024
Changed urlpath->new to urlpath->newFromModule. Also added check for when
using the problem library, that the Library directory exists, and if not,
try to fix it ourselves.
Revision
2024 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 7 06:07:58 2004 UTC (9 years ago) by
jj
File length: 25349 byte(s)
Diff to
previous 2021
Fixed bug #477 and similar problems when there are no local sets; fixed bug
where top level local files were not detected, made "Edit it" link come back
if you are not looking at a library file, and floated "Try it" and "Edit it"
to the right.
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.