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

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

Parent Directory Parent Directory


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

Revision 4451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 6 16:26:11 2006 UTC (6 years, 8 months ago) by sh002i
File length: 48188 byte(s)
Diff to previous 4396
backport (sh002i): fixed bug #1057 -- read_set_def was getting the wrong
param passed to it.

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

Revision 4269 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 15 16:31:16 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 48193 byte(s)
Diff to previous 4234
Added {} to force concatenation in some tables;

Revision 4234 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 01:19:15 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 48005 byte(s)
Diff to previous 4209
Mostly replace use CGI; with use WeBWorK::CGI

Files with additional changes to CGI calls are
SendMail, SetMaker PGProblemEditor Instructor::Index and FileManager

Revision 4209 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 8 22:23:46 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 48030 byte(s)
Diff to previous 4208
Added -override to checkbox for problems already added to this course.  They were sticking when they should not have.

Revision 4208 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 8 17:29:16 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 48229 byte(s)
Diff to previous 4207
Finding local problems seems to work correctly now.

Revision 4207 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 8 17:00:28 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 48136 byte(s)
Diff to previous 4206
Changes that make it possible to browse this course and the set definition files.  (I think I mislabeled the local_sets
parameter to library_sets)

There is still a problem with viewing local problems.    A directory labeled set0 is interpreted as 0, which in this instance is
not the right thing.  This might not be a new problem.

Revision 4206 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 8 16:26:34 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 48061 byte(s)
Diff to previous 4205
Have placed -override=>1  in every CGI::hidden().  So far this seems to fix the problem with misleading sticky behavior.
I have no clue why use CGI qw(-nosticky) didn't work for hidden.  Possibly a bug.  So far the fix continues to work for
apache1.3
without changing the behavior.

After further testing this file should have at least some of the annoying debug statements removed.

Revision 4205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 8 14:49:26 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 47244 byte(s)
Diff to previous 4202
Added -override =>1 back in to some of the CGI::hidden() tags.  Still won't remember which
library it's looking at.

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

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 4198 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 7 22:27:33 2006 UTC (6 years, 10 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 47212 byte(s)
Diff to previous 4160
debug() output for untangling CGI/param problems (remove later)

Revision 4160 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 24 20:01:25 2006 UTC (6 years, 10 months ago) by dpvc
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 46697 byte(s)
Diff to previous 3973
Changed some "Problem sets" to "Homework sets" and added an note when
a file is already included in the target homework set.

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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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 3903 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 11 22:56:12 2006 UTC (7 years, 4 months ago) by dpvc
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 46177 byte(s)
Diff to previous 3901
Merge to HEAD (Don't scan templates/tmpEdit for pg files in the Library Browser).

Revision 3901 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 11 22:41:51 2006 UTC (7 years, 4 months ago) by dpvc
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 46165 byte(s)
Diff to previous 3744
Merge changes with HEAD (Re-target view and edit links to use the view
and edit windows)

Revision 3744 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 7 21:21:01 2005 UTC (7 years, 6 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 46123 byte(s)
Diff to previous 3709
stop using CGI::Pretty, for speed and output size.

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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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
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 3548 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 22 02:40:26 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 45732 byte(s)
Diff to previous 3519
Changed "current set" to target set to match terminology at the top of the
page.

Revision 3519 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 13 21:35:56 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 45737 byte(s)
Diff to previous 3478
Print contents of COMMENT() commands in the Library Browser.

Revision 3478 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 11 21:40:55 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 45657 byte(s)
Diff to previous 3475
revert to using mydisplayMode for the param name (whoops).

Revision 3475 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 11 20:27:07 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 45645 byte(s)
Diff to previous 3461
removed view options panel, "try it" link preserves displayMode. closes
bug #802.

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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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 3449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 3 22:19:59 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 45329 byte(s)
Diff to previous 3431
Added problem count to basic library panel, and text chapters/sections
to advanced library panel.

Revision 3431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 30 00:13:44 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 43274 byte(s)
Diff to previous 3427
Fix glitch in keeping menus in sync in advanced search panel, and deal
better with undefined parameters.

Revision 3427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 29 20:45:41 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 42564 byte(s)
Diff to previous 3424
More improvements on library - advanced panel.  Still a work in progress.

Revision 3424 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 28 21:12:53 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 42258 byte(s)
Diff to previous 3413
Added advanced search panel for database library.  Still more features
to come.

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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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 3409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 26 22:28:56 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 40394 byte(s)
Diff to previous 3405
Initial support for version 2 of the problem library.

Revision 3405 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 26 17:39:22 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 38515 byte(s)
Diff to previous 3402
The two middle parts of the top area really go together, so the line between
them is now less emphatic.

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 3399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 22 22:54:57 2005 UTC (7 years, 10 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 34087 byte(s)
Diff to previous 3397
Say something useful if there is an error when creating a new set.  Also
fixed some indentation.

Revision 3397 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 22 22:34:53 2005 UTC (7 years, 10 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 33911 byte(s)
Diff to previous 3379
Rearrange top panels (change really from Bill Z.) plus some tiny cosmetic
changes.

Revision 3379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 14 16:23:11 2005 UTC (7 years, 10 months ago) by glarose
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 33765 byte(s)
Diff to previous 3377
Correct commit of file with unresolved conflicts.

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 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/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 33863 byte(s)
Diff to previous 2960
renamed "problem set" to "homework set" in page content.
closes bug #797.

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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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 2959 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 25 22:37:32 2004 UTC (8 years, 6 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 33872 byte(s)
Diff to previous 2946
Whitespace changes, mainly a few tabs to spaces.

Revision 2946 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 01:22:51 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 33865 byte(s)
Diff to previous 2944
quick fix for errors while reading directories (bug #720).

Revision 2944 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 21 01:06:19 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 33770 byte(s)
Diff to previous 2941
formatting fixes (sorry jj, dpvc).

Revision 2941 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 20 19:02:43 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 33768 byte(s)
Diff to previous 2892
fixed indentation -- please read the webwork coding standards.
http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/CodingStandards

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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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 2872 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 8 19:58:18 2004 UTC (8 years, 7 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 34728 byte(s)
Diff to previous 2805
Make Try it and Edit it buttons pass along the current problem seed
value, closing bug 682.

Revision 2805 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 19:55:48 2004 UTC (8 years, 8 months ago) by toenail
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 34573 byte(s)
Diff to previous 2734
Changed some references from ProblemSetEditor to ProblemSetDetail

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 2700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 28 14:10:13 2004 UTC (8 years, 8 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 33019 byte(s)
Diff to previous 2695
Changed sort of current sets to use sortByName.

Revision 2695 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 28 02:09:16 2004 UTC (8 years, 8 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 32994 byte(s)
Diff to previous 2572
Sort lists of set definition files alphabetically.

Revision 2572 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 4 17:31:22 2004 UTC (8 years, 9 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 32958 byte(s)
Diff to previous 2450
Changed "me" to this problem and fixed bug which appeared if a set_id
started with "set".

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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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
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 2283 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 9 02:51:57 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 31291 byte(s)
Diff to previous 2269
Make use of new utility function for adding a problem to a set.

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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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
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.

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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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 2154 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 22 16:46:03 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 28088 byte(s)
Diff to previous 2152
Fixed bug which came up when adding problems located at the top of the
templates directory.

Revision 2152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 22 01:50:35 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 28270 byte(s)
Diff to previous 2147
Put addbadmessage in Contentgenerator (to go with addgoodmessage),
and use it in SetMaker.

Revision 2147 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 22 00:38:44 2004 UTC (9 years ago) by sh002i
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 28171 byte(s)
Diff to previous 2140
fixed typo: addgoodmsg -> addgoodmessage.

Revision 2140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 21 23:38:53 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 28167 byte(s)
Diff to previous 2117
Extricating Problem Library from DB structure, part II.

Revision 2117 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 15 19:13:43 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 28298 byte(s)
Diff to previous 2116
Changed "success problems added" from resultwitherror to resultwithouterrer.

Revision 2116 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 15 19:10:18 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 28297 byte(s)
Diff to previous 2115
Lots of addmessage()s added, including success for adding problems.  This may
close bug 485.

Revision 2115 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 15 17:42:07 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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 2112 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 14 20:49:21 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 26122 byte(s)
Diff to previous 2040
When a new set is created, it is automatically selected.  This partially
resolves bug 485.

Revision 2040 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 7 21:04:07 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 26079 byte(s)
Diff to previous 2039
Fixed bug in logic of when to show Edit it link.

Revision 2039 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 7 20:59:30 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
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.

Revision 2021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 6 23:20:49 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 24566 byte(s)
Diff to previous 2015
Removed edit it links.

Revision 2015 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 6 21:38:58 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 24563 byte(s)
Diff to previous 2002
Commented out features which are not used yet in the problem library.
Uncommented Try it and Edit it links.

Revision 2002 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 5 16:04:48 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 24553 byte(s)
Diff to previous 1994
Removed hard-wired path.

Revision 1994 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon May 3 20:47:23 2004 UTC (9 years ago) by jj
Original Path: trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/SetMaker.pm
File length: 24602 byte(s)
Initial import.

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