Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor/ProblemSetEditor.pm
Parent Directory
Revision
2038 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 7 20:09:01 2004 UTC (9 years, 1 month ago) by
jj
File length: 15351 byte(s)
Diff to
previous 1997
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
1930 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Mar 28 04:46:13 2004 UTC (9 years, 2 months ago) by
gage
File length: 14286 byte(s)
Diff to
previous 1928
Converting to using URLPath.pm
Some difficulties with constructing path to
SetsAssignedToUsers.pm in ProblemSetEditor.pm
Revision
1928 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Mar 28 03:25:47 2004 UTC (9 years, 2 months ago) by
gage
File length: 13268 byte(s)
Diff to
previous 1841
Cleanup -- moving toward using the Apache:Request object and URLpath.
It remains to use URLpath to construct new paths in these files.
Revision
1841 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 4 21:05:58 2004 UTC (9 years, 3 months ago) by
sh002i
File length: 13649 byte(s)
Diff to
previous 1686
changed template escape handler functions to grab data from $r->urlpath
instead of @_ for compatability with dispatch_new.
Revision
1686 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Dec 26 01:29:14 2003 UTC (9 years, 5 months ago) by
gage
File length: 13538 byte(s)
Diff to
previous 1681
Added error checking to insure that the open_date, due_date and answer_date
are in correct order.
This closes bug #73
--Mike
Revision
1681 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Dec 18 23:15:34 2003 UTC (9 years, 6 months ago) by
sh002i
File length: 11636 byte(s)
Diff to
previous 1667
- 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, 6 months ago) by
gage
File length: 11628 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, 6 months ago) by
sh002i
File length: 11101 byte(s)
Diff to
previous 1661
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, 6 months ago) by
sh002i
File length: 10225 byte(s)
Diff to
previous 1543
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, 11 months ago) by
gage
File length: 7295 byte(s)
Diff to
previous 1346
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
1346 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 10 22:38:25 2003 UTC (9 years, 11 months ago) by
gage
File length: 6679 byte(s)
Diff to
previous 1302
Added bread crumbs to Assigner.pm -- changed set:1 to just 1 in
ProblemSetEditor -- I think this looks cleaner.
--Mike
Revision
1302 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 27 21:54:21 2003 UTC (9 years, 11 months ago) by
malsyned
File length: 6683 byte(s)
Diff to
previous 1295
Added the ability to get from the assigner page to the UserSet editor,
and from the UserSet editor to the UserProblem editor.
Revision
1017 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 4 23:47:35 2003 UTC (10 years ago) by
malsyned
File length: 6095 byte(s)
Diff to
previous 1005
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
1005 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 4 00:34:56 2003 UTC (10 years ago) by
malsyned
File length: 5676 byte(s)
Diff to
previous 995
I split the instructor's Problem List editor off into a seperate page,
and added links to that page from a few others.
-Dennis
Revision
983 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 3 17:48:35 2003 UTC (10 years 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 (10 years 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 (10 years 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 (10 years 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 (10 years 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 (10 years 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 (10 years 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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, 1 month 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.