[system] / trunk / webwork-modperl / lib / WeBWorK / ContentGenerator / Instructor / PGProblemEditor.pm Repository:
ViewVC logotype

Log of /trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm

Parent Directory Parent Directory


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

Revision 1044 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 19:03:14 2003 UTC (9 years, 11 months ago) by gage
File length: 13163 byte(s)
Diff to previous 991
Replacing hard coding of /webwork/ with  $ce->{webworkURLs}->{root}
-- Mike

Revision 991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 20:12:42 2003 UTC (9 years, 11 months ago) by gage
File length: 13150 byte(s)
Diff to previous 983
The pgProblemEditor now looks for a global problem record if it cannot
find a global_user problem record.
-- Mike

Revision 983 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 17:48:35 2003 UTC (9 years, 11 months ago) by malsyned
File length: 12555 byte(s)
Diff to previous 981
Changed explicit references to "/webwork" to the abstract
$ce->{webworkURLs}->{root}.  If you've been hardcoding "/webwork" into
your URLs, you should take a look at the diff to this update to learn
the prefered method.
-Dennis

Revision 981 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 00:28:28 2003 UTC (9 years, 11 months ago) by gage
File length: 12536 byte(s)
Diff to previous 980
Replaced temporary values placed in $self->{ce}->{foo}
by $self->{foo} in order to avoid editing the course environment
unnecessarily.  Fixes bug #35
--Mike

Revision 980 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 2 23:10:59 2003 UTC (9 years, 11 months ago) by malsyned
File length: 12597 byte(s)
Diff to previous 929
Rearranged the order of functions in PGProblemEditor.pm
Removed an extraneous warning from ProblemSetEditor.pm
-Dennis

Revision 929 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 12:46:12 2003 UTC (10 years ago) by gage
File length: 12597 byte(s)
Diff to previous 928
Commented out debugging code in pgProblemEditor
--Mike

Revision 928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 12:45:03 2003 UTC (10 years ago) by gage
File length: 12591 byte(s)
Diff to previous 925
The pgProblemEditor module now handles the seed and displayMode correctly.
-- Mike

Revision 925 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 03:30:45 2003 UTC (10 years ago) by gage
File length: 12057 byte(s)
Diff to previous 902
Problem Editor now creates a temporary file to edit (
adding .tmp to the file name)
Refresh causes a redirect to the Problem.pm with a GET command.
Some of the arguments are unnecessary and need to be cleaned up.

The seed and display mode in the problem editor are not properly
initialized from the problem set.

Problem.pm has been modified to check for these arguments and to read
the temporary source file, seed and displayMode.  These are passed
through to a PG.pm object.

PG also needed to be modified so that the source_file and seed values
are overridden

Revision 902 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 23 21:10:57 2003 UTC (10 years ago) by gage
File length: 7895 byte(s)
Diff to previous 892
The problem editor will now edit existing problems in place.  You invoke it with

http://webwork3.math.rochester.edu:1102/webwork/mth143/instructor/pgProblemEditor/0/2/
and it will edit problem 2 in set 0.

It can't edit files directly or create new files.

The problems are CHANGED!!! there is no editing in a temporary file-- the problems
are changed at every step.  BEWARE

--Mike

Revision 892 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 23 13:14:51 2003 UTC (10 years ago) by gage
File length: 6259 byte(s)
Diff to previous 889
The script now reads takes the form data in problemContents
and displays it in a textarea form.  If there is no problemContents
it reads from the file in template directory.
The script is called with .../instructor/pgProblemEditor/set10/prob1
 I'm using the
current convention for labeling files in the template directory.
Using '10' for set10 will not work right at the moment.  .pg
and the course template directory are combined with the path components
to determine the path to the file.

It remains to add the rest of the editing buttons and provide a method
for saving to the template file.

-- Mike

Revision 889 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu May 22 21:40:23 2003 UTC (10 years ago) by gage
File length: 5368 byte(s)
Stub for PGProblemEditor which edits a .pg file

-- Mike

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