Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetEditor.pm
Parent Directory
Revision
2755 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 10 02:35:19 2004 UTC (8 years, 8 months ago) by
sh002i
File length: 17022 byte(s)
Diff to
previous 2591
,
to
selected 2244
replaced hand-rolled header listing code with calls to
listFilesRecursive(). Libraries defined in $courseFiles{problibs} will
not be scanned, cutting down on time to list. Closes bug #623.
Revision
2450 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 7 14:37:32 2004 UTC (8 years, 10 months ago) by
gage
File length: 17185 byte(s)
Diff to
previous 2342
,
to
selected 2244
Changed the misnamed problem_header to hardcopy_header which is a more accurate
description of the variables use.
Hardcopy.pm now consults hardcopy_header as opposed to set_header
This addresses some of the concerns in bug #556
Revision
2244 -
(
view)
(
download)
(
as text)
(
annotate)
-
[selected]
Modified
Wed Jun 2 20:28:23 2004 UTC (8 years, 11 months ago) by
toenail
File length: 17278 byte(s)
Diff to
previous 2212
fixed display of published/unpublished text
Revision
2038 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 7 20:09:01 2004 UTC (9 years ago) by
jj
File length: 15351 byte(s)
Diff to
previous 1997
,
to
selected 2244
If the instructor sets the set header file to a file which doesn't
exist, then we copy the default to that file. Having no set header
is an error, and it is easier to edit something than it is to start
from scratch. Also, balanced the size of the two buttons on the page.
Revision
1681 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 18 23:15:34 2003 UTC (9 years, 5 months ago) by
sh002i
File length: 11636 byte(s)
Diff to
previous 1667
,
to
selected 2244
- Assigner and SetsAssignedToUser now refuse to unassign sets from the
GlobalTableEmulator's "global user". Closes bug #283.
- New "unassign from all users" button in Assigner.
- Cosmetic changes to path() and title() in several modules.
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
File length: 11628 byte(s)
Diff to
previous 1663
,
to
selected 2244
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
File length: 11101 byte(s)
Diff to
previous 1661
,
to
selected 2244
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
1661 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 8 23:07:46 2003 UTC (9 years, 5 months ago) by
sh002i
File length: 10225 byte(s)
Diff to
previous 1543
,
to
selected 2244
Implemented a schema-level "count" function in the WW1Hash schema.
Added countSetUsers and countProblemUsers to DB.
Replaced SCALAR calls to listSetUsers with calls to countSetUsers.
Update Schema documentation.
The immediate advantage of this is to make ProblemSetList MUCH faster.
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: 7295 byte(s)
Diff to
previous 1346
,
to
selected 2244
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
1017 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 4 23:47:35 2003 UTC (9 years, 11 months ago) by
malsyned
File length: 6095 byte(s)
Diff to
previous 1005
,
to
selected 2244
Instructor pages now only let instructors view and edit the database.
phew.
NOTE that there are new directives in global.conf.dist. You won't be
able to use the professor pages until you've made that change.
Also, I added new template escapes and updated the barebones and ur
templates.
-Dennis
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
,
to
selected 2244
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
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
,
to
selected 2244
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
,
to
selected 2244
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
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
,
to
selected 2244
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 (10 years ago) by
malsyned
File length: 14467 byte(s)
Diff to
previous 891
,
to
selected 2244
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
,
to
selected 2244
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
,
to
selected 2244
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
,
to
selected 2244
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
,
to
selected 2244
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
,
to
selected 2244
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)
Diff
to
selected 2244
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.