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

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

Parent Directory Parent Directory


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

Revision 6414 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 7 20:16:48 2010 UTC (2 years, 8 months ago) by gage
File length: 19547 byte(s)
Diff to previous 6409
This check keeps the gateway quiz from hanging when bad data has been entered.

This may not be the optimal fix.


Revision 6409 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 3 17:42:49 2010 UTC (2 years, 8 months ago) by gage
File length: 19450 byte(s)
Diff to previous 6299
added comment to ProblemsSets.pm

changed calls in GatewayQuiz to uniformly call 
the formatDateTime() in ContentGenerator.pm (by inheritance)



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

Revision 6282 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 27 14:02:19 2010 UTC (2 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 19396 byte(s)
Diff to previous 6193
Correct logical bug in GatewayQuiz module that didn't honor
time_limit_cap, gracefully deal with null values of problem_value
in the database (which occurs when creating a set from the Library
Browser), round reported allowed time (which may be useful when
time_limit_cap is specified).

Revision 6193 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 31 02:31:04 2010 UTC (3 years, 3 months ago) by apizer
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 19361 byte(s)
Diff to previous 6158
Add message about Reduced Credit if applicable

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/ProblemSets.pm
File length: 18730 byte(s)
Diff to previous 5723
Allow reduced scoring to be enabled or disabled for individual assignments. Default is disabled.

Revision 5723 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 23 19:58:11 2008 UTC (4 years, 11 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 18280 byte(s)
Diff to previous 5507
ProblemSets: correct display of test times for gateway assignments,
allow link to take test before open date if instructors have that
permission level.

Revision 5507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 14 15:21:54 2007 UTC (5 years, 8 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 18135 byte(s)
Diff to previous 5326
Bug fix.  Both the proctored test template and all taken versions of the
test were being dropped from the ProblemSets page when the user didn't
have the auth level to view proctored tests.

Revision 5326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 14 20:16:16 2007 UTC (5 years, 9 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 17787 byte(s)
Diff to previous 5319
bug fix: somehow I seem to have mixed up the logic in the message that
gets displayed on the sets page for tests that are still open/over time.
Sam: if you can get this into 2.4, that'd be great.  Thanks.

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/ProblemSets.pm
File length: 17788 byte(s)
Diff to previous 4921
updated copyright dates

Revision 4921 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 2 19:57:39 2007 UTC (6 years, 1 month ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 17788 byte(s)
Diff to previous 4875
Update to add preliminary support for hiding scores on problems only.

Revision 4875 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 21:18:18 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 17747 byte(s)
Diff to previous 4872
Bug fixes in implementation of hide_score and hide_work.

Revision 4872 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 13 15:44:21 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 17730 byte(s)
Diff to previous 4864
Update to use hide_score and hide_work, adding new values and including
the new permissionLevel from global.conf.  In ProblemSets.pm also fix
hardcopy selector value for gateway tests.

Revision 4864 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 9 21:08:08 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 17498 byte(s)
Diff to previous 4838
update to allow hide_score until set due date.

Revision 4838 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 23:06:34 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 17314 byte(s)
Diff to previous 4804
Minor updates to clean comments, some logic, and display of versioned
sets.

Revision 4804 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 1 22:20:24 2007 UTC (6 years, 2 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 17385 byte(s)
Diff to previous 4692
Update for new NewSQL database API, improve display of test/quiz
assignments.

Revision 4692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 1 17:09:40 2006 UTC (6 years, 5 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15877 byte(s)
Diff to previous 4518
Add hiding of scores for gateway/quiz assignments with hide_score set.

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/ProblemSets.pm
File length: 15773 byte(s)
Diff to previous 4309
tons of "DBFIXME" notes -- how to make database access more efficient

Revision 4309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 20:58:18 2006 UTC (6 years, 9 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15563 byte(s)
Diff to previous 4259
GatewayQuiz ProblemSets update: omit hardcopy checkbox or radio button
for gateway template sets, clean up checking for gateway sets.

Revision 4259 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 14 21:25:11 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15349 byte(s)
Diff to previous 4230
Committing formatting changes to CGI calls
Adding {} to calls that concatenate their inputs

Revision 4230 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 11 16:39:29 2006 UTC (6 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15346 byte(s)
Diff to previous 4202
Changed submit button so that the name and label keys are explicitly entered.

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/ProblemSets.pm
File length: 15305 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, 11 months ago) by dpvc
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15297 byte(s)
Diff to previous 4126
Correctly handle viewing of edited files (we are passed relative
paths, but the code used to treat them as absolute paths).

Revision 4126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 10 01:50:54 2006 UTC (6 years, 11 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15187 byte(s)
Diff to previous 4021
don't call formatDateTime unless the result is used (closes bug #830)

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/ProblemSets.pm
File length: 15167 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/ProblemSets.pm
File length: 15141 byte(s)
Diff to previous 3973
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 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/ProblemSets.pm
File length: 15016 byte(s)
Diff to previous 3969
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 3969 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 24 23:41:40 2006 UTC (7 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15016 byte(s)
Diff to previous 3943
forward-port from rel-2-2-dev: (remove extraneous instructor tools link)

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

Revision 3927 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 20 00:21:14 2006 UTC (7 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15221 byte(s)
Diff to previous 3925
forward-port to head (roll back part of change in version 1.58.)

Revision 3925 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 20 00:17:39 2006 UTC (7 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15477 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/ProblemSets.pm
File length: 15576 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/ProblemSets.pm
File length: 15566 byte(s)
Diff to previous 3851
Merging changes from rel-2-2-dev into HEAD

Revision 3851 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 18:49:40 2005 UTC (7 years, 5 months ago) by glarose
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 15481 byte(s)
Diff to previous 3650
Gateway update: revise display of versioned and non-versioned sets.  Now
all regular sets are sorted to the top of the list, with gateway tests
at the bottom.  Use view_proctored_tests parameter to decide if proctored
tests should be hidden.  Now uses new listUserSets and listUserSetVersions
routines from DB.

Revision 3650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 23 23:27:03 2005 UTC (7 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 14726 byte(s)
Diff to previous 3625
Use new hardcopy param names.

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/ProblemSets.pm
File length: 14706 byte(s)
Diff to previous 3542
use new feedbackMacro()

Revision 3542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 21 16:02:42 2005 UTC (7 years, 9 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 14492 byte(s)
Diff to previous 3485
Fixed some indenting.

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/ProblemSets.pm
File length: 14535 byte(s)
Diff to previous 3416
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 3416 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 28 15:24:27 2005 UTC (7 years, 9 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 14765 byte(s)
Diff to previous 3377
Added a missing start_form and hidden authentication.  These had been
dropped in a recent revision.

This closes bug #806

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/ProblemSets.pm
File length: 14617 byte(s)
Diff to previous 3035
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 3035 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 17 17:02:37 2004 UTC (8 years, 5 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 10762 byte(s)
Diff to previous 3000
Added code to display {status_message} when call is redirected from
PGProblemEditor.pm

If course_info.txt does not exist as a file create it (using `echo "">course_info.txt`)
Hope that's not too dangerous, but I didn't feel like opening the file :-)

This keeps unnecessary warnings from occuring later when a user would be warned that the
course_info.txt file didn't exist.

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/ProblemSets.pm
File length: 10006 byte(s)
Diff to previous 2962
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 2962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 26 00:14:32 2004 UTC (8 years, 6 months ago) by jj
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 9838 byte(s)
Diff to previous 2778
Tidying of set names: don't automatically write "set" (teacher can include
that), and convert _ to non-breaking spaces in set name.

Revision 2778 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 13 19:35:12 2004 UTC (8 years, 8 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 9718 byte(s)
Diff to previous 2738
timezone support

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/ProblemSets.pm
File length: 9712 byte(s)
Diff to previous 2498
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 2498 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 12 04:23:00 2004 UTC (8 years, 10 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 9872 byte(s)
Diff to previous 2480
Applied Bill Wheeler's urgency-sort patch, fixing bug #601.

Revision 2480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 10 18:11:00 2004 UTC (8 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 8537 byte(s)
Diff to previous 2398
Added help escape handler specialized to handing a url with the
course name in the path.  The corresponding help file for this page
is course home.

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

Revision 2205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 24 16:05:10 2004 UTC (9 years ago) by toenail
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 8554 byte(s)
Diff to previous 2178
the published field is always defined but is empty if not yet set to 1 or 0
now if the published field is empty it is set to 1
this change can be undone once all sets have a published field set to 1 or 0

Revision 2178 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 23 18:51:47 2004 UTC (9 years ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 8500 byte(s)
Diff to previous 2097
This fixes bug #510 in which sets which have no defined published state are now assumed to be published
when viewed from the problemSets page.

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/ProblemSets.pm
File length: 7816 byte(s)
Diff to previous 1952
added functionality for published/unpublished

Revision 1952 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 7 00:13:37 2004 UTC (9 years, 1 month ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 7552 byte(s)
Diff to previous 1914
Made changes in wording about open date.  This foxes bug 429
(assuming that it really needed to be fixed).

Revision 1914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 23 01:10:51 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 7544 byte(s)
Diff to previous 1903
new interface to systemLink

Revision 1903 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 17 08:17:52 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 7538 byte(s)
Diff to previous 1867
URLPath conversion, cosmetic changes, work on info box UI

Revision 1867 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 9 15:50:03 2004 UTC (9 years, 2 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 8642 byte(s)
Diff to previous 1858
disabled path() and title() so implementations in superclass will be
used instead.

Revision 1858 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 18:50:31 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 8622 byte(s)
Diff to previous 1846
Added support for the new module Grades.pm which supports student grades

Also changed ProblemSets.pm so that it welcomes the effectiveUser rather than the user.

Revision 1846 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 00:48:16 2004 UTC (9 years, 2 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 8558 byte(s)
Diff to previous 1757
Changes to the ways links are constructed on this, the front page,
of WeBWorK.  I believe this is where links missing webwork2 or missing
the course name started to appear.  In fact I'm surprised it worked at
all.

the current patches are hacks.  This page needs to be adapted to
URLpath.
It would be a good script to do next.

--Mike

Revision 1757 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 25 20:04:20 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 8279 byte(s)
Diff to previous 1756
Checked to make sure parameter is
defined before using it.

Revision 1756 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 25 20:00:14 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 8244 byte(s)
Diff to previous 1747
Removed extraneous warning message

Revision 1747 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 25 15:53:23 2004 UTC (9 years, 3 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 8248 byte(s)
Diff to previous 1732
Made modifications to PG problem editor to allow editing of course_info.

Future plans include allowing editing of login_info by the site manager (but not
by the course instructors).

All files to be edited must lie under the templates directory (for safety reasons.)

There are still issues with adequate warnings for saving files when permissions are not correctly set.

There is not yet a save as button.
--Mike

Revision 1732 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 21 19:55:54 2004 UTC (9 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 6496 byte(s)
Diff to previous 1722
changed text of link to instructor tools. (it is considered bad style to
label links "Link to ...")

Revision 1722 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 18 00:11:13 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 6712 byte(s)
Diff to previous 1714
A link to the instructor tools is placed prominately at the top of the page.
It is identical to the link to instructor tools on the left.
This responds to bug #325, but may not close it completely.

Revision 1714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 16 00:43:06 2004 UTC (9 years, 4 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 6250 byte(s)
Diff to previous 1667
Added a larger title to this 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/ProblemSets.pm
File length: 6066 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/ProblemSets.pm
File length: 5857 byte(s)
Diff to previous 1650
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 1650 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 3 20:31:30 2003 UTC (9 years, 5 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 5200 byte(s)
Diff to previous 1632
cleanup

Revision 1632 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 10 04:11:56 2003 UTC (9 years, 6 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 5170 byte(s)
Diff to previous 1588
Adding timing code for ProblemSets and for Stats.pm
--Mike

Revision 1588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 16 02:28:28 2003 UTC (9 years, 7 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 5019 byte(s)
Diff to previous 1500
Changed code to call getMergedSets instead of calling getMergedSet
repeatedly.  No noticable speed up in this case, but it works correctly.
--Mike

Revision 1500 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 11 00:31:19 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 4943 byte(s)
Diff to previous 1489
Fixed bug in feeback button.

Revision 1489 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 7 00:12:55 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 4524 byte(s)
Diff to previous 1488
Squashed a bug in
adding the title "sets
" in listing the sets
on the first page.

--Mike

Revision 1488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 6 17:07:19 2003 UTC (9 years, 8 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 4527 byte(s)
Diff to previous 1469
Added "set " before
listing the set number.
--Mike

Revision 1469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 16 01:32:10 2003 UTC (9 years, 9 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 4518 byte(s)
Diff to previous 1459
Login reads material from
login_info(.txt) in the top
directory of the course and places
on the right side of the page.

ProblemSets does the same from
a file called course_info.txt
--Mike

Revision 1459 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 14 20:10:01 2003 UTC (9 years, 9 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 4182 byte(s)
Diff to previous 1438
Fixed bug 143
Implemented temporary solution suggested in bug 110
  (I think this could be the permanent solution)
Fixed bug 53

Revision 1438 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 14:31:41 2003 UTC (9 years, 10 months ago) by gage
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 4185 byte(s)
Diff to previous 1229
Corrected spelling on button
--Mike

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

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/ProblemSets.pm
File length: 4155 byte(s)
Diff to previous 1096
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 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/ProblemSets.pm
File length: 4227 byte(s)
Diff to previous 919
*** empty log message ***

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/ProblemSets.pm
File length: 4212 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, 1 month ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 4204 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/ProblemSets.pm
File length: 4649 byte(s)
Diff to previous 739
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 739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 21 20:49:49 2003 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 4724 byte(s)
Diff to previous 737
1. fixed some formatting in Problem
2. hardcopy allows correct answers, hints, solutions to be shown
3. privileged users are allowed to view/download "not yet open" sets
-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/ProblemSets.pm
File length: 4643 byte(s)
Diff to previous 721
merged changes from rel-2-0-pr1-hardcopy-changes
-sam

Revision 721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 31 22:28:37 2003 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 4140 byte(s)
Diff to previous 720
motd is only read if defined and true.
-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/ProblemSets.pm
File length: 4029 byte(s)
Diff to previous 701
effectiveUser audit complete on all the content generators except
Hardcopy
-Dennis

Revision 701 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 10 21:39:29 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 3962 byte(s)
Diff to previous 692
An MOTD can be displayed on the problem sets page. Define
$courseFiles{motd} to point to a file containing the message.
-sam

Revision 692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 7 21:19:38 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 3857 byte(s)
Diff to previous 683
DONE	effectiveUser for at least Problem.pm
DONE	write a template escape for printing $user, $effectiveUser, &c. nicely

also added additional timing log points: timing is now logged:

	1. when WeBWorK::PG::new starts
	2. after all the initialization-type stuff happens
	3. when WeBWorK::PG::new ends

Getting it to log the entire request time might be a little harder.
-sam

Revision 683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 19:17:28 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 3845 byte(s)
Diff to previous 669
fixed formatting in &tth (dangerousMacros.pl)
ProblemSets.pm allows sorting by Name or Status (due date)
-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/ProblemSets.pm
File length: 3342 byte(s)
Diff to previous 640
added feedback links to a bunch of modules.
-sam

Revision 640 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 20 21:46:37 2002 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 2928 byte(s)
Diff to previous 555
fixed the "Download Hardcopy for Selected Sets" button
-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/ProblemSets.pm
File length: 2928 byte(s)
Diff to previous 494
fixed image centering, added head escape.
-sam

Revision 494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 18:31:20 2002 UTC (10 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 2943 byte(s)
Diff to previous 469
updated copyright header.
-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/ProblemSets.pm
File length: 2965 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/ProblemSets.pm
File length: 2836 byte(s)
Diff to previous 449
"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 449 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 1 20:23:22 2002 UTC (10 years, 9 months ago) by sh002i
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 2498 byte(s)
Diff to previous 443
more CGI fixes, started playing around with ProblemSets.
-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/ProblemSets.pm
File length: 1226 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, 10 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 1197 byte(s)
Diff to previous 403
Added use strict and use warnings, then cleaned up much of the mess that
revealed.
--Dennis

Revision 403 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 24 16:34:30 2002 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk/webwork2/lib/WeBWorK/ContentGenerator/ProblemSets.pm
File length: 682 byte(s)
Diff to previous 353
Removed the CARP code (for now?), and made sure that an actual problem was
reachable (even though PG evaluation is commented out in the dispatcher
right now)

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/ProblemSets.pm
File length: 682 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