Log of /trunk/webwork-modperl/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetEditor.pm
Parent Directory
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: 12949 byte(s)
Diff to
previous 982
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
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: 12903 byte(s)
Diff to
previous 979
Rearranged the order of functions in PGProblemEditor.pm
Removed an extraneous warning from ProblemSetEditor.pm
-Dennis
Revision
960 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat May 31 00:02:46 2003 UTC (9 years, 11 months ago) by
malsyned
File length: 20467 byte(s)
Diff to
previous 959
A bug fix: the "attempted" record for a UserProblem is now calculated
from the num_correct and num_incorrect fields.
Send me feedback: should it be displayed in the table anyway, and just
not editable?
-Dennis
Revision
959 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 30 23:59:35 2003 UTC (9 years, 11 months ago) by
malsyned
File length: 20221 byte(s)
Diff to
previous 957
The problem set editor now works for 0 users (global only) or 1 user.
Multi-user functionality is coming over the weekend.
To cause the editor to give you the ability to edit a student's record,
add editForStudent=name (where name is the student's login) to the
parameters sent to the ProblemSetEditor content generator.
Note that if you are using the GDBM backend, editing the "default"
professor records is the same as editing the global values, which can
surprise you if you're not ready for it.
-Dennis
Revision
957 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 30 21:37:03 2003 UTC (9 years, 11 months ago) by
malsyned
File length: 18408 byte(s)
Diff to
previous 947
Added columns for user-specific problem fields. Saving back to the
database for user-specific data still doesn't happen yet.
-Dennis
Revision
947 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 30 00:27:27 2003 UTC (9 years, 11 months ago) by
malsyned
File length: 16419 byte(s)
Diff to
previous 936
The set-specific data now displays the per-user override if the
editForUser param is set. It does not yet save changes back to the
database.
-Dennis
Revision
935 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 28 21:28:08 2003 UTC (9 years, 11 months ago) by
malsyned
File length: 14467 byte(s)
Diff to
previous 891
A start on the final version of the problem set editor. The code from
the previous version is still in the file as mike_body, becuase it will
be added in (with modifications) as the file progresses.
-Dennis
Revision
884 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu May 22 20:16:31 2003 UTC (10 years ago) by
gage
File length: 11874 byte(s)
Diff to
previous 875
Editor now fills a blank textarea from the named problem set if
it exists.
There are a number of user interface issues to be tackled here.
The behavior is: if the textarea is empty and a setName is defined
then the textarea is filled from the setNAme.def file (eventually
it will be filled from the database ) This behavior will probably
not be transparent to the user.
Revision
875 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed May 21 18:41:51 2003 UTC (10 years ago) by
gage
File length: 10980 byte(s)
Diff to
previous 872
Factored some code into gatherInfo() method.
The three dates are now sticky
a problem address of the form /prob1.pg won't enter into the set def textarea
This solves the problem that the directory might not yet be defined (but not elegantly).
-- Mike
Revision
872 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 20 18:35:22 2003 UTC (10 years ago) by
gage
File length: 9302 byte(s)
Diff to
previous 869
Added comments. There is still an annoying problem
that it is possible for the user to insert a problem
that has an empty directory address (e.g /prob3.pg, 1)
if they use "Choose problem" before ever using "Select set"
Viewing the entire set, saving the set and viewing individual problems from the local library (as opposed to the problem library on webhost) remain to be implemented.
-- Mike
Revision
869 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 20 02:37:44 2003 UTC (10 years ago) by
gage
File length: 7976 byte(s)
Diff to
previous 868
The select set and the choose problem button now work fairly well.
There is a static link allowing you to view the last chosen problem
via the problem library at webhost. This works for now, but will break
if the class template file is out of sync with the template file used
by the "problem library" program at webhost.
The save button, which involves checking the syntax of the problem list has not been implemented. (There is code in profBuildProbSets to help with this.)
The view entire problem set (in pdf form) is not been implemented.
It should be possible to redirect this to the hardcopy feature somehow?
or to the PDF feature of the "problem library".
Other aspects of the user inface are still problematic. We'll need to
play with it for awhile to see which behaviors must be changed.
--Mike
Revision
868 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon May 19 21:02:19 2003 UTC (10 years ago) by
gage
File length: 6625 byte(s)
Diff to
previous 860
Considerable progress has been made. The select definition button and
choose problem buttons work now, although the code needs to be de-crufted.
For some reason Safari will not recognize \r\n (newlines) in the textarea
although iCab does. What is the accepted way to enter text with newlines into
the data for a textarea?
The view problem button doesn't work yet. i want this to come up in a new window.
Must I use javaScript for this or is there another way to force a new target window
for the result of pusing the view problem button? How can one redirect to a particular
problem?
There is still considerable debugging code in this file.
--Mike
CVe: ----------------------------------------------------------------------
Revision
860 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Sun May 18 03:26:22 2003 UTC (10 years ago) by
gage
File length: 4248 byte(s)
This is the shell of an editor which will construct a "set definition file".
It shows a list of the problems which are available in the templates
directory.
To do: 1 - Detect the selected setDirectory and display its problems. Currently
the setDirectory is permanently set to setAlgebra10Intervals.
2 - Implement the problem viewing action of the form
3 - Implement the save definition action of the form.
-- 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.