[system] / branches / gage_dev / webwork2 / lib / WeBWorK / ContentGenerator / ProblemSet.pm Repository:
ViewVC logotype

Log of /branches/gage_dev/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm

Parent Directory Parent Directory


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

Revision 6543 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 21 00:18:35 2010 UTC (2 years, 5 months ago) by gage
File length: 16061 byte(s)
Diff to previous 6299
updates merged from Trunk


Revision 6299 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 22 14:46:58 2010 UTC (2 years, 10 months ago) by gage
File length: 16009 byte(s)
Diff to previous 6194
test development branch

Revision 6194 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 31 23:45:34 2010 UTC (3 years, 3 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 16009 byte(s)
Diff to previous 6158
Change "Reduced Scoring" to "Reduced Credit" and adjust message depending
on whether it is before or after the due date

Revision 6158 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 2 16:58:43 2009 UTC (3 years, 6 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15691 byte(s)
Diff to previous 6149
Allow reduced scoring to be enabled or disabled for individual assignments. Default is disabled.

Revision 6149 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 17 15:53:19 2009 UTC (3 years, 7 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15224 byte(s)
Diff to previous 6083
Implement a Reduced Scoring Period. The Reduced Scoring Period is a period before the due date during which all additional work done by the student counts at a reduced rate.

Revision 6083 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 12 23:52:39 2009 UTC (3 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14439 byte(s)
Diff to previous 5932
Added id tags and corrected some "FIXME" items

Revision 5932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 9 02:18:38 2008 UTC (4 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14688 byte(s)
Diff to previous 5644
Forward ports from rel-2-4-patches

Revision 5644 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 26 23:13:59 2008 UTC (5 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14572 byte(s)
Diff to previous 5319
Changed   join("\0",....)  to join(\0, ....) since I'm pretty sure that what was desired
was a string separated by nulls.   If one of the items in the list began with a number  eg 14
you would get    \014....\0name...\0   etc.  I think \0name evaluates properly but I'm pretty
sure that \014 does not.

Revision 5319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 13 22:59:59 2007 UTC (5 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14570 byte(s)
Diff to previous 4909
updated copyright dates

Revision 4909 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 20:12:14 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14570 byte(s)
Diff to previous 4805
Second preliminary commit of changes to move set-level valid checks to
Authz.  This makes ProblemSet.pm and Problem.pm use the
$self->{invalidSet} value set by ContentGenerator.pm, and means that
regular homework assignments may now be restricted to specific IP
addresses.  This commit also corrects $userName/$effectiveUserName
errors I had in Authz->checkSet() and moves the actual IP address
checking to a separate subroutine in Authz.  Hardcopy.pm uses that
routine to filter sets to be sure it doesn't generate hardcopies for
a IP address restricted set.

Revision 4805 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 22:20:36 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15710 byte(s)
Diff to previous 4518
Update comments.

Revision 4518 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 25 22:14:54 2006 UTC (6 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15333 byte(s)
Diff to previous 4277
tons of "DBFIXME" notes -- how to make database access more efficient

Revision 4277 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 17 21:51:12 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15247 byte(s)
Diff to previous 4272
Added {} to a couple of CGI::Tr to force concatenation.

Revision 4272 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 16 02:40:41 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15152 byte(s)
Diff to previous 4235
Added {} to some HTML tags.  For some reason they seem to have disappeared?

Revision 4235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 01:23:54 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15143 byte(s)
Diff to previous 4202
Converting from use CGI to use WeBWorK::CGI

The only substantial change is in Hardcopy where set_id was changed to "sid"

I believe that change is correct.

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/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15117 byte(s)
Diff to previous 4159
Try using the -nosticky pragma to see if this fixes the problem.

Revision 4159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 24 19:51:02 2006 UTC (6 years, 10 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15109 byte(s)
Diff to previous 4021
Correctly handle viewing of edited files (we are passed relative
paths, but the code used to treat them as absolute paths).

Revision 4021 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 10 01:09:08 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14911 byte(s)
Diff to previous 4015
forward-port from rel-2-2-dev: (move [edit] link for Course/Set Info to
top, resolving bug #978.)

Revision 4015 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 21:03:25 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14889 byte(s)
Diff to previous 4012
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 4012 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 7 19:20:57 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14694 byte(s)
Diff to previous 3973
forward-port from rel-2-2-dev: (change underscores to spaces in siblings
list, add tooltop for overflowing siblings.)

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/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14696 byte(s)
Diff to previous 3963
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 3963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 24 23:27:02 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14696 byte(s)
Diff to previous 3943
forward-port from rel-2-2-dev: (make webwork code output siblings div/h2
code, rather than template. this allows for the siblings box to be named
according to its contents.)

Revision 3943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 22 02:55:02 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14590 byte(s)
Diff to previous 3935
forward-port: (update info() for new stylesheet.)

Revision 3935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 22 02:29:40 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14511 byte(s)
Diff to previous 3925
forward-port to HEAD (Fixed error in variable names that was breaking
the code in HEAD. -gage)

Revision 3925 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 20 00:17:39 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14415 byte(s)
Diff to previous 3901
forward-port to head (partial clean up rendering of the info box. it
will now not show up unless it has content, and the headings will be
rendered more nicely.)

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/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14510 byte(s)
Diff to previous 3888
Merge changes with HEAD (Re-target view and edit links to use the view
and edit windows)

Revision 3888 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 8 18:18:17 2006 UTC (7 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14496 byte(s)
Diff to previous 3873
Merging changes from rel-2-2-dev into HEAD

Revision 3873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 2 23:24:48 2006 UTC (7 years, 4 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14433 byte(s)
Diff to previous 3850
Gateway update: don't display gateway sets in siblings sidebar of
ProblemSet list for all users, regardless of permissions.  This may
or may not be the desired behavior.  I like it because it forces
the user to go to a test from the ProblemSets page where we rewrite
the link with the more intuitive (but longer) text "Take new [test
name] test".

Revision 3850 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 18:48:06 2005 UTC (7 years, 4 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14298 byte(s)
Diff to previous 3836
Gateway update: reflect use of listUserSets to list non-versioned sets

Revision 3836 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 19 20:18:28 2005 UTC (7 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14358 byte(s)
Diff to previous 3625
make siblings() work better with new template

Revision 3625 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 16 18:50:17 2005 UTC (7 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14353 byte(s)
Diff to previous 3485
use new feedbackMacro()

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/ProblemSet.pm
File length: 14921 byte(s)
Diff to previous 3481
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 3481 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 11 22:11:53 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 15110 byte(s)
Diff to previous 3454
added implementation of options() which call optionsMacro(). the version
in Problem.pm takes care to preserve the editMode and sourceFilePath
parameters.

Revision 3454 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 4 23:30:22 2005 UTC (7 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 14446 byte(s)
Diff to previous 3377
add special case for no problems, closing bug #811.

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/ProblemSet.pm
File length: 14331 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/ProblemSet.pm
File length: 13727 byte(s)
Diff to previous 3239
renamed "problem set" to "homework set" in page content.
closes bug #797.

Revision 3239 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 26 15:12:36 2005 UTC (7 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 13727 byte(s)
Diff to previous 3033
(1) problem numbers are left alligned
(2) problem values are listed
(3) no special message is given if problem value is 0

Revision 3033 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 17 16:57:53 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 13645 byte(s)
Diff to previous 3000
Preserve display options when using the "up" arrow in navigation.

Some code that helps pass messages through {status_message}  when a call
is redirected to ProblemSet (e.g. from PGproblemEditor.pm)

Revision 3000 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 18 16:00:37 2004 UTC (8 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 13352 byte(s)
Diff to previous 2856
These changes elevate the Options panel to ContentGenerator.pm
Some of the changes are a bit hackish, but I believe that they
are sufficient for the moment.  I expect much of the machinery
to be replaced by an "options" table in the new database.

The current options state consists of two values:  displayMode (for
viewing equations) and showOldAnswers (for showing answers between
one session and the next).  "Sticky answers" which show form entries
when the form is submitted and returned is a feature which is always on,
as I believe it should be.

Known bugs:

The options state is lost when visiting the Instructor pages, editing
problems, and probably sending instructor feedback.  (I have made sure
that state was passed for the main links, I hope, but there are many
other possible links where state can get lost. My hope is that storing
state in the database will make it unnecessary to hunt down every link
where state needs to be preserved.)

Default options are set in the subroutine options in ContentGenerator.pm
This is called before body, where the option panel is displayed, but not
before the initialization phase.  Modules that need options in the
initialization phase (currently only Problem.pm) need to set them
themselves.

Revision 2856 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 4 17:54:11 2004 UTC (8 years, 7 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 13066 byte(s)
Diff to previous 2738
eliminated warnings in cases where status is "".

Revision 2738 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 5 18:00:23 2004 UTC (8 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 13089 byte(s)
Diff to previous 2455
rel-2-0-patches merge: fixes for invalid "published" field. Rob said:

should finally fix bugs dealing with sets being created (usually from 1.9)
without a valid setting in the published field

now anyone of Problem, ProblemSet, or ProblemSets will correct this bug.

Revision 2455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 7 18:15:20 2004 UTC (8 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 12885 byte(s)
Diff to previous 2398
Don't show unpublished sets in the siblings list (unless of course
you have permission to see unpublished sets.  (published == visible, unpublished == hidden)

This might be a little slow if there is a very long list of sibling sets.
Each set has to be checked to see if it is published.

Revision 2398 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 25 00:09:18 2004 UTC (8 years, 10 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 12594 byte(s)
Diff to previous 2278
added permissions checks
fixed bad logic on bad set/problem in URL as professor
minor cosmetic changes

Revision 2278 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 8 17:07:33 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 12616 byte(s)
Diff to previous 2247
changed visable to visible. Closes #554.

Revision 2247 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 3 19:38:45 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 12611 byte(s)
Diff to previous 2245
fixed code order to avoid invalid call to published field
on a non-existant set
Fixes #543.

Revision 2245 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 2 23:32:56 2004 UTC (8 years, 11 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 12584 byte(s)
Diff to previous 2244
Made the list of problems more readable by using center alignment in the columns.

Revision 2244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 2 20:28:23 2004 UTC (8 years, 11 months ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 12565 byte(s)
Diff to previous 2214
fixed display of published/unpublished text

Revision 2214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 24 20:43:05 2004 UTC (8 years, 11 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 12482 byte(s)
Diff to previous 2099
Allready done so this should fail

Arnie

Revision 2099 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 13 18:38:19 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 12461 byte(s)
Diff to previous 2097
added "This problem does not count towards your grade." messages if
the weight of a problem has been set to 0.  Fixes #464.

Revision 2097 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 13 16:02:55 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 11281 byte(s)
Diff to previous 2022
added functionality for published/unpublished

Revision 2022 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 7 00:55:08 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 10706 byte(s)
Diff to previous 2012
Removed debugging code

Revision 2012 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 6 20:20:00 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 10717 byte(s)
Diff to previous 1963
added error checking for invalid set numbers

Revision 1963 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 20 20:17:46 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 10215 byte(s)
Diff to previous 1923
Made a small change to the subroutine problemListRow which now handles
the case where the problem status has not been defined as a number.

Revision 1923 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 23 22:59:21 2004 UTC (9 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 9970 byte(s)
Diff to previous 1908
support for previewing temp files

Revision 1908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 19 21:56:35 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 9761 byte(s)
Diff to previous 1881
URLpath compliance, some cleaning up of code. much more cleanup remains.

Revision 1881 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 15 03:50:05 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 10667 byte(s)
Diff to previous 1841
I have made changes to the list of problems that uses the full path
instead of the relative call used previously.  Hope this will fix
the error described below.   I don't know whether this is the proper
fix or whether something fancier using urlPath is appropriate.


There is an error with the links for Set 7.
Clicking on problems in the
problem set will not link to the selected problem- it will link to the
problem set of the same number. (i.e. Selecting problem #2 will link
me to
Homework set #2 instead)


--Mike

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/ProblemSet.pm
File length: 10424 byte(s)
Diff to previous 1833
changed template escape handler functions to grab data from $r->urlpath
instead of @_ for compatability with dispatch_new.

Revision 1833 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 17:40:04 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 10118 byte(s)
Diff to previous 1829
Rolled back previous addition of the due date.

The due date can be specified in the setHeader message.  It does not
need to be hard coded into ProblemSet.pm

--Mike

Revision 1829 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 04:36:08 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 10002 byte(s)
Diff to previous 1667
Cleaning up commented out code.

Added a "due date is...." message to the top of the ProblemSet page.

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/ProblemSet.pm
File length: 9928 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/ProblemSet.pm
File length: 9032 byte(s)
Diff to previous 1624
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 1624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 8 02:52:35 2003 UTC (9 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 8375 byte(s)
Diff to previous 1503
I wasn't using WeBWorK::PG here, but it was getting loaded anyway
before I changed the way the dispatcher loads things.

Revision 1503 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 11 02:07:20 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 8358 byte(s)
Diff to previous 1502
Fixed typo (set should have been self)

Revision 1502 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 11 02:03:06 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 8357 byte(s)
Diff to previous 1364
Made changes to ProblemSet.pm that replace the feedback button
which did not work with the "email instructor" button.

Also changed some probable typos in Feedback.pm which
was trying to find set_id from problem rather than from set.

This doesn't work when problem is not defined.

--Mike

Revision 1364 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 20:01:56 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 7679 byte(s)
Diff to previous 1359
More cosmetic tweaks to the siblings macro
--Mike

Revision 1359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 19:02:23 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 7664 byte(s)
Diff to previous 1354
I've trade speed for usefulness and convenience.  The sibling links are
now sorted by name and all links are active.  On webwork3 this cuts the
loading time for the page by a factor of 5 (11 seconds to 2)

We can reverse this when the process of collecting all of the relevant
sets is faster (this process took 8 seconds).
--Mike

Revision 1354 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 17:26:32 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6967 byte(s)
Diff to previous 1347
Added link to edit set header.  Available only to instructors
--Mike

Revision 1347 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 13:11:26 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6397 byte(s)
Diff to previous 1228
Changed the variable pointing to  the text accompanying the list of
problems from problem_header to set_header.  I believe this is what was
intended originally, since the default is snippets/setHeader.pg
I don't believe we have a use for problem header yet.
--Mike

Revision 1228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 01:19:00 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6401 byte(s)
Diff to previous 1148
housekeeping in siblings()

Revision 1148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 19:35:56 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6423 byte(s)
Diff to previous 1133
removed debugging output -sam

Revision 1133 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 20:41:56 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6496 byte(s)
Diff to previous 1111
Fixed a bug in ordering the siblings. (again :-) )
--Mike

Revision 1111 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 10 23:05:57 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6482 byte(s)
Diff to previous 1109
Added sortByName($field, @items) to WeBWorK::Utils. It uses the method
named $field to sort the objects in @items. Modified ProblemSets to call
it.
-sam

Revision 1109 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 10 20:34:08 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6496 byte(s)
Diff to previous 1107
Fixed bug in sorting in siblings subroutine
--Mike

Revision 1107 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 10 19:40:45 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6413 byte(s)
Diff to previous 1096
Siblings for problem set are sorted by date.   Those sets which
are still open are listed first, followed by sets which are now
closed.  Within each group the problems are sorted by due date in
increasing order.
This responds to bug #57bis (request for ordering by due-date)
--Mike

Revision 1096 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 23:25:09 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6102 byte(s)
Diff to previous 1063
*** empty log message ***

Revision 1063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 8 21:15:30 2003 UTC (9 years, 11 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6122 byte(s)
Diff to previous 1034
Modified sibiling macro to sort alphabetically by name of the set.
(this may not be the best permanet solution but itis useful
for those editing this summer.)
--Mike

Revision 1034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 5 22:41:47 2003 UTC (9 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 5883 byte(s)
Diff to previous 919
the % done status indicators now round to the nearest whole percent.
Fixes Bug #47
-Dennis

Revision 919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 00:24:27 2003 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 5846 byte(s)
Diff to previous 818
changed ->id to ->whatever_id
-sam

Revision 818 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 25 04:51:37 2003 UTC (10 years ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 5836 byte(s)
Diff to previous 809
modev more content generators over to the new WWDBv2 API. fixed some
bugs.
-sam

Revision 809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 17 21:30:57 2003 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6178 byte(s)
Diff to previous 795
changed the name of the "courseEnvironment" field in the
ContentGenerator object to "ce", to match the style and conciesness of
the existing "r" and new "db" fields.
-sam

Revision 795 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 21 21:40:01 2003 UTC (10 years, 2 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6283 byte(s)
Diff to previous 758
Hit the #nav macro with a cluebat
RE: webworkURLs->htdocs vs. imageprefix=""
-Dennis

Revision 758 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 28 20:32:25 2003 UTC (10 years, 2 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6280 byte(s)
Diff to previous 750
Matched the calling semantics for navMacro
-dennis

Revision 750 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 27 12:31:06 2003 UTC (10 years, 2 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 6275 byte(s)
Diff to previous 738
Added the <!--#nav--> macro to ProblemSet.pm.  When I made a template
that didn't include the <!--#path--> macro to satisfy some old timers on
the mailing list, I noticed that there was no other way to get back to
the problem sets page from a problem set.
-Dennis

Revision 738 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 21 19:09:28 2003 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 5989 byte(s)
Diff to previous 737
ProblemSet and Problem no longer allow problem sets that are "not yet
open" to be viewed. oopsies.
-sam

Revision 737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 18 07:04:13 2003 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 5092 byte(s)
Diff to previous 720
merged changes from rel-2-0-pr1-hardcopy-changes
-sam

Revision 720 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 31 20:38:44 2003 UTC (10 years, 3 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 5179 byte(s)
Diff to previous 693
effectiveUser audit complete on all the content generators except
Hardcopy
-Dennis

Revision 693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 8 15:41:39 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 5035 byte(s)
Diff to previous 669
&info now respects screen set header file in database.
-sam

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 6 17:42:02 2002 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 5063 byte(s)
Diff to previous 555
added feedback links to a bunch of modules.
-sam

Revision 555 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 18 19:25:42 2002 UTC (10 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 4614 byte(s)
Diff to previous 526
fixed image centering, added head escape.
-sam

Revision 526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 29 19:56:24 2002 UTC (10 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 4707 byte(s)
Diff to previous 494
HTML_img mode ("images" mode in the HTML interface) now uses dvipng to
generate images. ProblemSet now has a link to Hardcopy.
-sam

Revision 494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 18:31:20 2002 UTC (10 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 3086 byte(s)
Diff to previous 476
updated copyright header.
-sam

Revision 476 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 20 01:07:18 2002 UTC (10 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 3108 byte(s)
Diff to previous 469
fixed problem with deciding when to generate images in math2img mode
finished adding template escapes to ProblemSets, ProblemSet, and Problem

fixed a problem where modules were removed from the courseEnv while
being loaded (whups.)
-sam

Revision 469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 16 20:43:38 2002 UTC (10 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 3005 byte(s)
Diff to previous 455
pretty much implemented the whole thing.

yeah.
-sam

Revision 455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 5 21:34:18 2002 UTC (10 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 1098 byte(s)
Diff to previous 443
"normalized" files:
- (c) header on all files
- standard order of preamble lines:
	1. (c) header
	2. package PACKAGENAME;
	3. short summary of the package (pod's NAME section)
	4. use - pragmatic modules
	5. use - standard perl modules
	6. use - CPAN modules
	7. use - webwork modules
- ALWAYS use strict and use warnings
- use "use base" rather than "our @ISA"
so now we can be happy.
-sam

Revision 443 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 31 18:14:05 2002 UTC (10 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 747 byte(s)
Diff to previous 441
converted CGI calls to "CGI->" style to avoid import conflicts with
&title and &body.
-sam

Revision 441 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 25 21:58:22 2002 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 750 byte(s)
Diff to previous 353
Added use strict and use warnings, then cleaned up much of the mess that
revealed.
--Dennis

Revision 353 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jun 7 23:35:59 2002 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSet.pm
File length: 724 byte(s)
All of the content generators now work with the template system
Moved the content generators into the WeBWorK::ContentGenerator namespace
Added the default template and a few global.conf entries

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