Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/PGProblemEditor.pm
Parent Directory
Revision
1591 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 18 20:46:01 2003 UTC (9 years, 7 months ago) by
gage
File length: 12902 byte(s)
Diff to
previous 1363
Fixed problem in logic which kept an edited problem from reading the
.tmp file when the answer was submitted. Now the editMode variable
and sourceFilePath variables are passed on as hidden variables by
Problem.pm if they exists in the input form. This fixes bug #179
as well as bug #109.
The temporary file is now labeled fileName.pg.user.tmp where user is
the login name of the person editing the file. If that file exists
then pgProblemEditor will attempt to use that as a source file.
The revert button forces a read from fileName.pg
--Mike
Revision
1352 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 11 16:58:09 2003 UTC (9 years, 10 months ago) by
gage
File length: 13056 byte(s)
Diff to
previous 1348
When editing a set header one can not save to a temporary file, (the
refresh button is gone) however you can make a permanent change and the
result is viewed from the ProblemSet.pm page listing the problems from
the set, together with the screen version of the set header.
--Mike
Revision
1348 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 11 13:47:27 2003 UTC (9 years, 10 months ago) by
gage
File length: 12151 byte(s)
Diff to
previous 1295
Added a link which allows editing of the setHeader
Refresh and Save don't yet work because they try to
access the set header as problem 0. One fix would
be to have Problem.pm display the setHeader whenever
it was asked to show problem 0. This involves a fair
amount of special case code. Is there are better way?
--Mike
Revision
1105 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 10 17:29:27 2003 UTC (9 years, 11 months ago) by
gage
File length: 10655 byte(s)
Diff to
previous 1044
Filter problem contents before saving to disk to handle line ending problems.
All occurences of \r\n and \r are replaced by \n.
Began improving the error messages if files cannot not be read.
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
925 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 28 03:30:45 2003 UTC (9 years, 11 months 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
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
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.