[system] / trunk / webwork2 / lib / WeBWorK / ContentGenerator / Instructor Repository:
ViewVC logotype

Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Instructor

View Directory Listing Directory Listing


Sticky Revision:

Revision 2212 - Directory Listing
Modified Mon May 24 20:36:25 2004 UTC (9 years ago) by apizer
Change message to visable to students, etc.

Arnie

Revision 2210 - Directory Listing
Modified Mon May 24 19:39:30 2004 UTC (9 years ago) by toenail
added buttons for "Publish Selected" and "Unpublished Selected"

Revision 2207 - Directory Listing
Modified Mon May 24 18:05:26 2004 UTC (9 years ago) by mschmitt
Edited Labels to make clear that "All students" meant all students in the course,
not all students shown after filtering.  This should eventually be fixed so that
"All students" only refers to those who pass the filtering.

Revision 2204 - Directory Listing
Modified Mon May 24 15:35:43 2004 UTC (9 years ago) by mschmitt
Updated to autofilter using CE viewable_sections and viewable_recitations
Defaults to show all users if values are not defined

Revision 2203 - Directory Listing
Modified Mon May 24 15:32:11 2004 UTC (9 years ago) by mschmitt
Updated to allow record filtering when selecting students

Revision 2198 - Directory Listing
Modified Mon May 24 01:51:13 2004 UTC (9 years ago) by mschmitt
Tweak to make filters fail gracefully

Revision 2197 - Directory Listing
Modified Mon May 24 01:49:26 2004 UTC (9 years ago) by apizer
Allow sorting on allrelevany columns (added recitation and user_id).

Arnie

Revision 2196 - Directory Listing
Modified Mon May 24 01:43:36 2004 UTC (9 years ago) by mschmitt
Updated to work with filters in scrolling lists

Revision 2195 - Directory Listing
Modified Mon May 24 01:34:51 2004 UTC (9 years ago) by mschmitt
Additionaly tweaks to fail gracefully

Revision 2194 - Directory Listing
Modified Mon May 24 01:27:48 2004 UTC (9 years ago) by mschmitt
Edited so that filters fail gracefully

Revision 2191 - Directory Listing
Modified Mon May 24 00:39:18 2004 UTC (9 years ago) by mschmitt
Corrected typo in pre-screening for filter

Revision 2187 - Directory Listing
Modified Sun May 23 23:37:40 2004 UTC (9 years ago) by mschmitt
Updated for filtering of scrolling lists

Revision 2185 - Directory Listing
Modified Sun May 23 23:27:30 2004 UTC (9 years ago) by apizer
Fixed bug in previous version

Arnie

Revision 2183 - Directory Listing
Modified Sun May 23 23:18:27 2004 UTC (9 years ago) by apizer
Doubled the length of the save as textfield box.

Arnie

Revision 2169 - Directory Listing
Modified Sun May 23 01:09:48 2004 UTC (9 years ago) by apizer
Cleaned up script

Arnie

Revision 2159 - Directory Listing
Modified Sat May 22 21:22:18 2004 UTC (9 years ago) by apizer
New File to split Statistics page in two.

Revision 2154 - Directory Listing
Modified Sat May 22 16:46:03 2004 UTC (9 years, 1 month ago) by jj
Fixed bug which came up when adding problems located at the top of the
templates directory.

Revision 2152 - Directory Listing
Modified Sat May 22 01:50:35 2004 UTC (9 years, 1 month ago) by jj
Put addbadmessage in Contentgenerator (to go with addgoodmessage),
and use it in SetMaker.

Revision 2147 - Directory Listing
Modified Sat May 22 00:38:44 2004 UTC (9 years, 1 month ago) by sh002i
fixed typo: addgoodmsg -> addgoodmessage.

Revision 2140 - Directory Listing
Modified Fri May 21 23:38:53 2004 UTC (9 years, 1 month ago) by jj
Extricating Problem Library from DB structure, part II.

Revision 2137 - Directory Listing
Modified Fri May 21 20:48:21 2004 UTC (9 years, 1 month ago) by gage
Include cryptPassword in the functions exported from Utils.

Revision 2134 - Directory Listing
Modified Thu May 20 21:47:05 2004 UTC (9 years, 1 month ago) by toenail
can't save as with specifying a filename
changed some warns to addmessage()

Revision 2130 - Directory Listing
Modified Wed May 19 18:24:50 2004 UTC (9 years, 1 month ago) by toenail
fixed bug in saving default set header, no more "Use System Default" files
closes #500
replace submission_error() with addmessage()

Revision 2128 - Directory Listing
Modified Tue May 18 18:39:40 2004 UTC (9 years, 1 month ago) by toenail
fixed incorrect handling of default set header

Revision 2127 - Directory Listing
Modified Tue May 18 18:22:25 2004 UTC (9 years, 1 month ago) by toenail
added "Use System Default" to dropdown list of set headers
Fixes bug #492.

Revision 2126 - Directory Listing
Modified Tue May 18 05:19:33 2004 UTC (9 years, 1 month ago) by jj
On refresh, make source file path relative to the templates directory.  This
is needed to match the behavior of alias on static gif files.

Revision 2122 - Directory Listing
Modified Mon May 17 05:06:36 2004 UTC (9 years, 1 month ago) by jj
Made regular expression for set names match that of in DB.pm (meant allowing
hyphens).

Revision 2117 - Directory Listing
Modified Sat May 15 19:13:43 2004 UTC (9 years, 1 month ago) by jj
Changed "success problems added" from resultwitherror to resultwithouterrer.

Revision 2116 - Directory Listing
Modified Sat May 15 19:10:18 2004 UTC (9 years, 1 month ago) by jj
Lots of addmessage()s added, including success for adding problems.  This may
close bug 485.

Revision 2115 - Directory Listing
Modified Sat May 15 17:42:07 2004 UTC (9 years, 1 month ago) by jj
Reorganized to use addmessage for messages.  Also minor cleanups of
variable names, and better handling when there are no pg files under
templates.

Revision 2113 - Directory Listing
Modified Fri May 14 21:20:56 2004 UTC (9 years, 1 month ago) by jj
Fixed bug 485.  The problem occured because with a gdbm database, the global_user is used for both global information, and appears as a user.  We have to avoid modifying its information twice.  This seems to work, but the "right" fix is probably to work on the database code.  With a gdbm database, the global_user should be filtered out of calls dealing with users and only be used on calls about global information.  That would mimic the sql behavior better.  It would also supress the global_user from appearing in user lists (which I think would be better).

Revision 2112 - Directory Listing
Modified Fri May 14 20:49:21 2004 UTC (9 years, 1 month ago) by jj
When a new set is created, it is automatically selected.  This partially
resolves bug 485.

Revision 2109 - Directory Listing
Modified Fri May 14 18:26:11 2004 UTC (9 years, 1 month ago) by toenail
added text classes for students with status Audit, Drop, Enrolled

Revision 2103 - Directory Listing
Modified Thu May 13 20:42:35 2004 UTC (9 years, 1 month ago) by toenail
added pop up list of set header files
fixed false successful save message

Revision 2097 - Directory Listing
Modified Thu May 13 16:02:55 2004 UTC (9 years, 1 month ago) by toenail
added functionality for published/unpublished

Revision 2095 - Directory Listing
Modified Wed May 12 14:36:43 2004 UTC (9 years, 1 month ago) by toenail
addmessage() used for success messages

Revision 2094 - Directory Listing
Modified Wed May 12 14:29:36 2004 UTC (9 years, 1 month ago) by toenail
now passes success/failure messages to Problem.pm

Revision 2092 - Directory Listing
Modified Tue May 11 21:38:15 2004 UTC (9 years, 1 month ago) by toenail
changed submitError to addmessage()

Revision 2091 - Directory Listing
Modified Tue May 11 21:31:04 2004 UTC (9 years, 1 month ago) by toenail
changed submitError to addmessage()

Revision 2090 - Directory Listing
Modified Tue May 11 21:05:25 2004 UTC (9 years, 1 month ago) by toenail
changed submitError to addmessaage()

Revision 2089 - Directory Listing
Modified Tue May 11 21:03:09 2004 UTC (9 years, 1 month ago) by toenail
changed all submitError to addmessage()

Revision 2088 - Directory Listing
Modified Tue May 11 20:51:42 2004 UTC (9 years, 1 month ago) by toenail
uses addmessage() instead of submitError

Revision 2087 - Directory Listing
Modified Tue May 11 20:47:44 2004 UTC (9 years, 1 month ago) by toenail
changed all submitError to use addmessage() instead

Revision 2086 - Directory Listing
Modified Tue May 11 20:19:38 2004 UTC (9 years, 1 month ago) by toenail
changed addmessage() to replace submitError

Revision 2085 - Directory Listing
Modified Tue May 11 20:13:22 2004 UTC (9 years, 1 month ago) by toenail
changed submitError to addmessage()

Revision 2084 - Directory Listing
Modified Tue May 11 19:56:27 2004 UTC (9 years, 1 month ago) by toenail
dded use of addmessage() instead of warn and submitError

Revision 2081 - Directory Listing
Modified Tue May 11 19:06:23 2004 UTC (9 years, 1 month ago) by gage
Added a surePathToFile call when saving a .pg problem.  Now they can be saved in
a new directory.  This is a partial solution to having a read only library.
More to come.

Revision 2080 - Directory Listing
Modified Tue May 11 16:27:20 2004 UTC (9 years, 1 month ago) by toenail
replaced error processing with call to addmessage()

Revision 2079 - Directory Listing
Modified Tue May 11 16:11:49 2004 UTC (9 years, 1 month ago) by toenail
replace submitError with addmessage() call

Revision 2063 - Directory Listing
Modified Mon May 10 03:22:44 2004 UTC (9 years, 1 month ago) by gage
Added sibling links for the Statistics page.

Revision 2058 - Directory Listing
Modified Sun May 9 01:10:30 2004 UTC (9 years, 1 month ago) by gage
Added average number incorrect answers.  This closes bug number 264

Tweaked a few more user interface parameters.

Revision 2055 - Directory Listing
Modified Sat May 8 20:31:28 2004 UTC (9 years, 1 month ago) by gage
Cleared commented out code in Stats.pm

Fixed error arising when no scoring files were checked.
Nows gives a more useful message.
This fixes #379

Revision 2054 - Directory Listing
Modified Sat May 8 19:35:21 2004 UTC (9 years, 1 month ago) by jj
Doing 'Save as' on a problem pops up a new PGProblemEditor window.  Now
the new window contains the newly saved file.  Also modified the name of
the target window since targets aren't supposed to start with _ (except
for the special reserved ones), and so that editting in the new window
and clicking on a button like Refresh will open yet another window.

Revision 2053 - Directory Listing
Modified Sat May 8 19:27:32 2004 UTC (9 years, 1 month ago) by gage
Added safety switch for unassigning sets.  This closes bug number #403

Added some messages reporting action taken.

Revision 2051 - Directory Listing
Modified Sat May 8 17:59:13 2004 UTC (9 years, 1 month ago) by gage
More user interface work on SendMai.pm

Resolved bug #390  Now we simply report the number of students
to which we have attempted to send email, rather than list the email addresses.

Revision 2050 - Directory Listing
Modified Sat May 8 17:19:58 2004 UTC (9 years, 1 month ago) by gage
Modified user interface for choosing message to preview.

Unresolved is the issue of bringing the preview up in a new window.

Revision 2049 - Directory Listing
Modified Sat May 8 16:48:43 2004 UTC (9 years, 1 month ago) by gage
Modifications to remove extraneous error messages.

This resolves bug 410

Revision 2048 - Directory Listing
Modified Sat May 8 15:49:48 2004 UTC (9 years, 1 month ago) by gage
Sort sets by alphabetical order for the SetsAssignedToUser page.
Corrected typo on Stats.pm

Revision 2047 - Directory Listing
Modified Sat May 8 02:20:59 2004 UTC (9 years, 1 month ago) by gage
Fixed minor bug which occured when no student had yet tried the problem.

Revision 2046 - Directory Listing
Modified Sat May 8 02:03:19 2004 UTC (9 years, 1 month ago) by gage
References to problems in the statistics are linked so that you
can view the problems if you wish. Use right click to see them in a new window.

Revision 2044 - Directory Listing
Modified Fri May 7 23:14:05 2004 UTC (9 years, 1 month ago) by sh002i
changed it to sort by due date as well as showing due date

Revision 2040 - Directory Listing
Modified Fri May 7 21:04:07 2004 UTC (9 years, 1 month ago) by jj
Fixed bug in logic of when to show Edit it link.

Revision 2039 - Directory Listing
Modified Fri May 7 20:59:30 2004 UTC (9 years, 1 month ago) by jj
Changed urlpath->new to urlpath->newFromModule.  Also added check for when
using the problem library, that the Library directory exists, and if not,
try to fix it ourselves.

Revision 2038 - Directory Listing
Modified Fri May 7 20:09:01 2004 UTC (9 years, 1 month ago) by jj
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 2035 - Directory Listing
Modified Fri May 7 18:49:40 2004 UTC (9 years, 1 month ago) by sh002i
failure messages now given with addmessage() -- fixes bug #447 (sort of)

Revision 2032 - Directory Listing
Modified Fri May 7 18:27:50 2004 UTC (9 years, 1 month ago) by jj
Make editing a file which doesn't exist stop being an error.   This gives
a way to create course info files and new set headers.

Revision 2031 - Directory Listing
Modified Fri May 7 18:21:34 2004 UTC (9 years, 1 month ago) by sh002i
use reply_with_file() instead of $self->{sendFile}

Revision 2029 - Directory Listing
Modified Fri May 7 18:18:54 2004 UTC (9 years, 1 month ago) by jj
Nicer titles, especially for set header and course info editting.

Revision 2024 - Directory Listing
Modified Fri May 7 06:07:58 2004 UTC (9 years, 1 month ago) by jj
Fixed bug #477 and similar problems when there are no local sets; fixed bug
where top level local files were not detected, made "Edit it" link come back
if you are not looking at a library file, and floated "Try it" and "Edit it"
to the right.

Revision 2021 - Directory Listing
Modified Thu May 6 23:20:49 2004 UTC (9 years, 1 month ago) by jj
Removed edit it links.

Revision 2019 - Directory Listing
Modified Thu May 6 22:44:14 2004 UTC (9 years, 1 month ago) by sh002i
assign new users their student id as a password

Revision 2017 - Directory Listing
Modified Thu May 6 22:17:36 2004 UTC (9 years, 1 month ago) by gage
Changed user interface on the instructors page.

Buttons are now shorter.

--Mike

Revision 2016 - Directory Listing
Modified Thu May 6 21:53:41 2004 UTC (9 years, 1 month ago) by jj
Added support for editting problems which are not presented as being
part of a real set.

Revision 2015 - Directory Listing
Modified Thu May 6 21:38:58 2004 UTC (9 years, 1 month ago) by jj
Commented out features which are not used yet in the problem library.
Uncommented Try it and Edit it links.

Revision 2009 - Directory Listing
Modified Thu May 6 13:17:16 2004 UTC (9 years, 1 month ago) by gage
Fixed call for adding users which was issuing an incorrect url.
This squashes bug #473

Revision 2002 - Directory Listing
Modified Wed May 5 16:04:48 2004 UTC (9 years, 1 month ago) by jj
Removed hard-wired path.

Revision 2001 - Directory Listing
Modified Wed May 5 01:53:51 2004 UTC (9 years, 1 month ago) by gage
re-fixed getRecord subroutine to properly handle blank fields at the end
of lines. (Adding a delimiter is not enough, perl deletes all terminal
blank elements at the end of a list -- as far as I can determine.) One
needs to add "$delimeter___" so that the last field is non-blank.

This appears to fix bug #471

Revision 2000 - Directory Listing
Modified Wed May 5 00:53:13 2004 UTC (9 years, 1 month ago) by sh002i
added support for upload/download/delete of scoring files

Revision 1999 - Directory Listing
Modified Tue May 4 20:19:07 2004 UTC (9 years, 1 month ago) by jj
When listing problems, show a rendered version.  Also, when dealing with the global data, reorganize where the data is shown.

Revision 1997 - Directory Listing
Modified Tue May 4 15:16:58 2004 UTC (9 years, 1 month ago) by toenail
In user-specific override mode, dates are not directly editable
Fixes Bug #456.

Revision 1996 - Directory Listing
Modified Tue May 4 14:44:58 2004 UTC (9 years, 1 month ago) by toenail
cosmetic change to title to include user name

Revision 1994 - Directory Listing
Modified Mon May 3 20:47:23 2004 UTC (9 years, 1 month ago) by jj
Initial import.

Revision 1982 - Directory Listing
Modified Wed Apr 28 16:03:21 2004 UTC (9 years, 1 month ago) by gage
Removed warning messages.

Revision 1980 - Directory Listing
Modified Wed Apr 28 15:51:25 2004 UTC (9 years, 1 month ago) by gage
Added code to give message when an edited problem file cannot be saved.

Some of the problems reported in bug #152 are addressed.

Instituting a submit result field was not done.

Revision 1979 - Directory Listing
Modified Tue Apr 27 23:30:03 2004 UTC (9 years, 1 month ago) by jj
Made field for name of exported problem set wider, to be the same width as for the
header file.

Revision 1978 - Directory Listing
Modified Tue Apr 27 14:23:45 2004 UTC (9 years, 1 month ago) by jj
Removed implicit assumption that when exporting a set, a set definition file
for it already existed.

Revision 1973 - Directory Listing
Modified Tue Apr 27 02:10:56 2004 UTC (9 years, 1 month ago) by sh002i
allowed for undefined values in section and recitation

Revision 1970 - Directory Listing
Modified Sun Apr 25 01:20:40 2004 UTC (9 years, 1 month ago) by gage
Corrected a calculation that allowed for division by zero if no student had tried a problem.

This squashes bug 460

Revision 1954 - Directory Listing
Modified Wed Apr 7 02:17:34 2004 UTC (9 years, 2 months ago) by gage
Fixed url so that it points to the time and date page for editing the
 set data for the student

Revision 1953 - Directory Listing
Modified Wed Apr 7 01:17:58 2004 UTC (9 years, 2 months ago) by gage
Fixed problem where a success message was issued even when
a mail merge file was not correctly saved.

Also made cosmetic modifications to the error message format
so that it doesn't look as frightening and the important
error message is highlited more than the boiler plate message

Revision 1951 - Directory Listing
Modified Tue Apr 6 01:58:25 2004 UTC (9 years, 2 months ago) by gage
Fixed link for edit button on ProblemSetList page.
This squashes bug #446

Revision 1950 - Directory Listing
Modified Mon Apr 5 20:52:54 2004 UTC (9 years, 2 months ago) by gage
Fixed a line return that was causing troubles one webwork, but not on
webwork3.  "<br>\n" produced two line breaks within <pre> on webwork,
but only one on webwork3,  "\n" produced no line breaks on webwork3
and one on webwork.

It seems safest to go with "<br>" which seems to produce a single line
break on each machine.

Revision 1948 - Directory Listing
Modified Mon Apr 5 20:16:41 2004 UTC (9 years, 2 months ago) by gage
Fixed spacing in preview of merge file data

Revision 1947 - Directory Listing
Modified Mon Apr 5 19:33:03 2004 UTC (9 years, 2 months ago) by gage
Fixed errors in creating urls. (It is important to set authen=>0
when creating links for forms -- they already contain hidden
authentication variables.

Revision 1945 - Directory Listing
Modified Mon Apr 5 03:58:30 2004 UTC (9 years, 2 months ago) by sh002i
preliminary web-based course creation support

try it -- create a course called "admin" the usual way and then visit it
in your browser.

Revision 1944 - Directory Listing
Modified Mon Apr 5 03:56:16 2004 UTC (9 years, 2 months ago) by sh002i
css fix

Revision 1939 - Directory Listing
Modified Sun Apr 4 15:18:25 2004 UTC (9 years, 2 months ago) by jj
On a multiple checkbox question, the different checked boxes are separated
by ^@ in the log file.  They don't look nice on a web page, show they are
now switched to commas in showHTML.

Revision 1938 - Directory Listing
Modified Sun Apr 4 04:00:10 2004 UTC (9 years, 2 months ago) by gage
More changes in construction of urls.

Changed parameter acquistion in ShowAnswers

Revision 1934 - Directory Listing
Modified Sat Apr 3 16:24:42 2004 UTC (9 years, 2 months ago) by gage
Updated these files to generate urls from urlpath.

Revision 1930 - Directory Listing
Modified Sun Mar 28 04:46:13 2004 UTC (9 years, 2 months ago) by gage
Converting to using URLPath.pm
Some difficulties with constructing path to
SetsAssignedToUsers.pm in ProblemSetEditor.pm

Revision 1928 - Directory Listing
Modified Sun Mar 28 03:25:47 2004 UTC (9 years, 2 months ago) by gage
Cleanup -- moving toward using the Apache:Request object and URLpath.

It remains to use URLpath to construct new paths in these files.

Revision 1924 - Directory Listing
Modified Tue Mar 23 22:59:53 2004 UTC (9 years, 2 months ago) by sh002i
urlpath/systemlink upgrades
LOTS of cleanup (but it still needs more)

Revision 1920 - Directory Listing
Modified Tue Mar 23 01:55:14 2004 UTC (9 years, 2 months ago) by sh002i
rewritten:

* no duplicated code (no copy-n-paste)
* error messages if the wrong objects are selected
* uses $self->reply_with_redirect()
* uses ScrollingRecordList
* more descriptive button names, values

Revision 1917 - Directory Listing
Modified Tue Mar 23 01:15:58 2004 UTC (9 years, 2 months ago) by sh002i
urlpath/request/systemlink updates

Revision 1916 - Directory Listing
Modified Tue Mar 23 01:11:59 2004 UTC (9 years, 2 months ago) by sh002i
removed appendixes, deny access if not has permission

Revision 1915 - Directory Listing
Modified Tue Mar 23 01:11:18 2004 UTC (9 years, 2 months ago) by sh002i
now using new urlpath stuff, etc.

Revision 1904 - Directory Listing
Modified Wed Mar 17 08:18:29 2004 UTC (9 years, 3 months ago) by sh002i
fixed FormLayout style

Revision 1862 - Directory Listing
Modified Sat Mar 6 21:49:48 2004 UTC (9 years, 3 months ago) by sh002i
disabled path and title methods.

Revision 1859 - Directory Listing
Modified Sat Mar 6 21:41:44 2004 UTC (9 years, 3 months ago) by gage
Use the student stat table in Grader to produce student detailed stats in Stats.pm.

Commented out, but did not yet remove Stats.pm code for this function.

Revision 1856 - Directory Listing
Modified Sat Mar 6 17:36:29 2004 UTC (9 years, 3 months ago) by gage
*** empty log message ***

Revision 1855 - Directory Listing
Modified Sat Mar 6 17:35:27 2004 UTC (9 years, 3 months ago) by gage
Allow at most two digit
numbers

Revision 1854 - Directory Listing
Modified Sat Mar 6 17:32:36 2004 UTC (9 years, 3 months ago) by gage
Removed unneeded
formatting code

Revision 1853 - Directory Listing
Modified Sat Mar 6 17:29:07 2004 UTC (9 years, 3 months ago) by gage
another typo

Revision 1852 - Directory Listing
Modified Sat Mar 6 17:25:32 2004 UTC (9 years, 3 months ago) by gage
Fixed threeSpaceFill
routine to work with
strings.

Revision 1851 - Directory Listing
Modified Sat Mar 6 17:21:22 2004 UTC (9 years, 3 months ago) by gage
typo

Revision 1850 - Directory Listing
Modified Sat Mar 6 17:16:00 2004 UTC (9 years, 3 months ago) by gage
Make the percentages more accurate by dividing by the number of students who attempt the problem.

Revision 1849 - Directory Listing
Modified Sat Mar 6 16:04:06 2004 UTC (9 years, 3 months ago) by gage
need to calculate this
value as well.  oops.

Revision 1848 - Directory Listing
Modified Sat Mar 6 16:02:17 2004 UTC (9 years, 3 months ago) by gage
Added 0 bracket to
number of attempts.

Revision 1847 - Directory Listing
Modified Sat Mar 6 15:55:07 2004 UTC (9 years, 3 months ago) by gage
Added more statistics on how students are doing.

There is still a lot o code to be cleaned up.

Once the calculation and the display are better separated it will be easier to
create statistics that count studnets appropriately.  e.g. dropped stduents and professors aren't counted.

Revision 1843 - Directory Listing
Modified Fri Mar 5 05:01:37 2004 UTC (9 years, 3 months ago) by gage
Some cosmetic changes in the table

Added a safety switch for deleting sets.

Added a call to Compatibility::update_global_user  to fill in
global_user records if no globa_user has yet been assigned.

Revision 1841 - Directory Listing
Modified Thu Mar 4 21:05:58 2004 UTC (9 years, 3 months ago) by sh002i
changed template escape handler functions to grab data from $r->urlpath
instead of @_ for compatability with dispatch_new.

Revision 1828 - Directory Listing
Modified Wed Mar 3 20:16:35 2004 UTC (9 years, 3 months ago) by sh002i
UI cleanup

Revision 1825 - Directory Listing
Modified Mon Mar 1 06:33:34 2004 UTC (9 years, 3 months ago) by sh002i
implemented UI using ScrollingRecordList

Revision 1819 - Directory Listing
Modified Thu Feb 19 22:47:02 2004 UTC (9 years, 4 months ago) by gage
Roll back previous changes.  The user_id is no longer listed in the
scoring files.   sorry about that.

--Mike

Revision 1818 - Directory Listing
Modified Thu Feb 19 22:21:30 2004 UTC (9 years, 4 months ago) by gage
Added user_id (the login id) to the list in scoring.

Revision 1810 - Directory Listing
Modified Mon Feb 16 03:16:50 2004 UTC (9 years, 4 months ago) by gage
Added at table of
statistical results when
viewing the statistics
for a given set.
--Mike

Revision 1809 - Directory Listing
Modified Mon Feb 16 01:20:43 2004 UTC (9 years, 4 months ago) by gage
Fixed ordering problem with problems in a given set.  This squashes bug #405.
Also made a few clean up efforts on the code.

--Mike

Revision 1804 - Directory Listing
Modified Sat Feb 14 00:55:17 2004 UTC (9 years, 4 months ago) by sh002i
added slowness warning

Revision 1799 - Directory Listing
Modified Thu Feb 12 21:38:24 2004 UTC (9 years, 4 months ago) by toenail
added nbsp() subroutine to clean up table appearance
this could still possibly be added to contentgenerator.pm

Revision 1790 - Directory Listing
Modified Thu Feb 12 04:26:51 2004 UTC (9 years, 4 months ago) by sh002i
added timing code

Revision 1783 - Directory Listing
Modified Fri Feb 6 18:01:51 2004 UTC (9 years, 4 months ago) by sh002i
shows user-specific due date if overridden. closes bug #394.

Revision 1782 - Directory Listing
Modified Fri Feb 6 17:37:11 2004 UTC (9 years, 4 months ago) by sh002i
removed the "delete visible users" option, changed "show users selected
below" to "show users checked below".

Revision 1773 - Directory Listing
Modified Tue Feb 3 00:53:31 2004 UTC (9 years, 4 months ago) by gage
Corrected sorting by user_id.  Code now works correctly.  Before the sorting for this case was occuring by accident
with the SQL database.

Made changes to the interface in SendMail.  The radio buttons are now horizontal to match the
radio buttons on the Instructor::Index page.  Changed Id to Login to make the sorting parameter clearer.

changed the format of the popmenu on the Instructor::Index page to match the format used on the SendMail page.

Revision 1770 - Directory Listing
Modified Mon Feb 2 23:11:13 2004 UTC (9 years, 4 months ago) by sh002i
Changed the code that retrieves all problem records for a set. Now, the
only call made (per set) is getAllUserProblems(). The extraneous call to
listUserProblems() has been removed.

Revision 1769 - Directory Listing
Modified Sat Jan 31 14:47:44 2004 UTC (9 years, 4 months ago) by gage
Replaced "getuserProblems by getAllUserProblems when printing statistics for a single user (many sets)
The time when from 178 to 35 using GDBM.  It went from 15sec to 16sec (on a different course)
when using sql.

--Mike

Revision 1768 - Directory Listing
Modified Sat Jan 31 14:46:18 2004 UTC (9 years, 4 months ago) by gage
Changed the size of the font for printing out the results of the scoring file.

This file needs to be reviewed carefully.  There is a lot of crufty code.
The use of s{tyle=>'.....'  should be replaced by items in the template in
this file and throughout the Instructor modules.

Revision 1767 - Directory Listing
Modified Sat Jan 31 04:28:48 2004 UTC (9 years, 4 months ago) by gage
Added tweak to handle
case where set is not
defined when acting as
student.

Revision 1766 - Directory Listing
Modified Sat Jan 31 04:08:57 2004 UTC (9 years, 4 months ago) by gage
Made major modifications to user interface on Instructor/Index page.

Added use of getAllUserProblems in main loop for Stats.pm problems when displaying
statistics for a given set.  This speeds GDBM from 8 sec to 2.  SQL stays at around 22-23 seconds.

Also addded code to sort_method which checks that the number of attempts has been defined.
If not it returns 0.

--Mike

Revision 1762 - Directory Listing
Modified Wed Jan 28 04:04:47 2004 UTC (9 years, 4 months ago) by gage
Corrected formatting showing the due date if it has been over-ridden.

Revision 1761 - Directory Listing
Modified Wed Jan 28 03:41:31 2004 UTC (9 years, 4 months ago) by gage
Added the due date when the problem has been assigned.

Revision 1760 - Directory Listing
Modified Wed Jan 28 03:31:44 2004 UTC (9 years, 4 months ago) by gage
Changed "open date" to "due date"  when

Revision 1754 - Directory Listing
Modified Sun Jan 25 19:46:54 2004 UTC (9 years, 4 months ago) by gage
Added ability to change the number of entry rows on the Addusers.pm page.
Minor modification to multiple=> to conform to bbedit's version of correct html

Revision 1753 - Directory Listing
Modified Sun Jan 25 19:46:11 2004 UTC (9 years, 4 months ago) by gage
Cosmetic modification changed "edit set" to "edit sets"

Revision 1750 - Directory Listing
Modified Sun Jan 25 18:20:14 2004 UTC (9 years, 4 months ago) by gage
Added rudimentary "Save as" function.  This duplicates
WW1.9 save as , but does not provide any extra functionality.


The following problems remain:

The redirect does not yet work correctly.  I believe the desired behavior is to view the
new saved problem from the editor.  There is no easy way to view the new problem
or whatever until the problem has been assigned to globalUser in the set.

Revision 1749 - Directory Listing
Modified Sun Jan 25 18:17:31 2004 UTC (9 years, 4 months ago) by gage
Cosmetic change   changed "edit" to "edit sets" for clarity in link name.

Revision 1747 - Directory Listing
Modified Sun Jan 25 15:53:23 2004 UTC (9 years, 4 months ago) by gage
Made modifications to PG problem editor to allow editing of course_info.

Future plans include allowing editing of login_info by the site manager (but not
by the course instructors).

All files to be edited must lie under the templates directory (for safety reasons.)

There are still issues with adequate warnings for saving files when permissions are not correctly set.

There is not yet a save as button.
--Mike

Revision 1746 - Directory Listing
Modified Fri Jan 23 23:01:49 2004 UTC (9 years, 4 months ago) by sh002i
Only collect nonempty user IDs for assigning. Closes bug #373

Revision 1743 - Directory Listing
Modified Fri Jan 23 21:04:05 2004 UTC (9 years, 4 months ago) by sh002i
added the option to assign sets to newly-created users.

Revision 1739 - Directory Listing
Modified Fri Jan 23 16:49:09 2004 UTC (9 years, 4 months ago) by sh002i
moved Assigner to UsersAssignedToSet. created new Assigner module, and
wired it to /$courseID/instructor/assigner/. It doesn't do anything yet,
but it will allow the assignment of multiple sets to multiple users, all
in one shot.

Revision 1736 - Directory Listing
Modified Thu Jan 22 00:25:17 2004 UTC (9 years, 5 months ago) by gage
Made modifications to header that make it clearer how to edit all
sets for one user.

--Mike

Revision 1735 - Directory Listing
Modified Wed Jan 21 20:53:32 2004 UTC (9 years, 5 months ago) by sh002i
added more timing messages.

Revision 1733 - Directory Listing
Modified Wed Jan 21 19:57:05 2004 UTC (9 years, 5 months ago) by sh002i
added some timing code

Revision 1730 - Directory Listing
Modified Wed Jan 21 01:16:15 2004 UTC (9 years, 5 months ago) by gage
Mail merge does not report error when the merge file selected is "None".

--Mike

Revision 1729 - Directory Listing
Modified Wed Jan 21 00:31:51 2004 UTC (9 years, 5 months ago) by gage
Changed warning message for unassign all on the Assigner page.
This closes bug number 352

--Mike

Revision 1728 - Directory Listing
Modified Wed Jan 21 00:17:23 2004 UTC (9 years, 5 months ago) by gage
Corrected link to file transfer page.  This squashes bug #346

Revision 1727 - Directory Listing
Modified Tue Jan 20 18:56:03 2004 UTC (9 years, 5 months ago) by gage
Edited headers for the problem set list page.
--Mike

Revision 1726 - Directory Listing
Modified Mon Jan 19 04:26:45 2004 UTC (9 years, 5 months ago) by gage
Modified the reading of set definition files
slightly to deal with the case where
some values haven't been defined.
--Mike

Revision 1723 - Directory Listing
Modified Sun Jan 18 00:12:30 2004 UTC (9 years, 5 months ago) by gage
Placed the link to subpages back on top of the quick link tools, at least for now.
The quick link tools need to be presented better.
-- Mike

Revision 1720 - Directory Listing
Modified Sat Jan 17 19:30:22 2004 UTC (9 years, 5 months ago) by gage
Can now sort recipient list by section and rectation.  A few other user interface
cosmetics added.  This should close bug 309

Revision 1716 - Directory Listing
Modified Fri Jan 16 04:15:46 2004 UTC (9 years, 5 months ago) by gage
Modified layout of the Instructor/Index.pm module.

Revision 1713 - Directory Listing
Modified Fri Jan 16 00:42:38 2004 UTC (9 years, 5 months ago) by gage
Added some cosmetic tweaks to these pages.

Revision 1712 - Directory Listing
Modified Thu Jan 15 22:45:34 2004 UTC (9 years, 5 months ago) by gage
Added warnings to Assigner so that folks don't unassign students
by accident.

You can now select the number of users you would like to add.

You still cannot immediately assign sets to students, but there
is written warning about this.

Revision 1711 - Directory Listing
Modified Thu Jan 15 19:42:44 2004 UTC (9 years, 5 months ago) by gage
Add users will now handle 5 users at once.

Add a device for allowing this number to change.

The userlist pop-down now defaults to add users with matching ids.

--Mike

Revision 1702 - Directory Listing
Modified Mon Jan 5 00:48:33 2004 UTC (9 years, 5 months ago) by sh002i
added checkboxes to the import forms to allow user to deicde whether to
assign a set to all users or not.

Revision 1691 - Directory Listing
Modified Sun Dec 28 21:02:49 2003 UTC (9 years, 5 months ago) by gage
More checking for incomplete records.  This time for entries in
@userRecords

--Mike

Revision 1687 - Directory Listing
Modified Fri Dec 26 15:00:02 2003 UTC (9 years, 5 months ago) by gage
Modified print out so that the problem totals and index totals
have %4.1f format.  The field width is 4 and the number of decimal points is 1.
This closes bug #284
--Mike

Revision 1686 - Directory Listing
Modified Fri Dec 26 01:29:14 2003 UTC (9 years, 5 months ago) by gage
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 - Directory Listing
Modified Thu Dec 18 23:15:34 2003 UTC (9 years, 6 months ago) by sh002i
- 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 1680 - Directory Listing
Modified Thu Dec 18 03:37:33 2003 UTC (9 years, 6 months ago) by sh002i
Multiple users with the same student ID no longer clobber each other.
(The users are still sorted by student ID.) Closes bug #285.

Revision 1679 - Directory Listing
Modified Thu Dec 18 03:02:19 2003 UTC (9 years, 6 months ago) by sh002i
add explicit "view" and "edit" links, closing bug #275

Revision 1677 - Directory Listing
Modified Thu Dec 18 02:18:37 2003 UTC (9 years, 6 months ago) by sh002i
users are now skipped if they don't have an email address.

Revision 1676 - Directory Listing
Modified Wed Dec 17 23:14:13 2003 UTC (9 years, 6 months ago) by sh002i
moved a comment

Revision 1675 - Directory Listing
Modified Wed Dec 17 21:45:17 2003 UTC (9 years, 6 months ago) by sh002i
I wrote a really great log message, and then I lost it.
So now I'm a little pissed off.

Added code to pre-fetch users, global problems and user problems outside
of the main processing loop of scoreSet(). This allows the use of
getAllGlobalProblems() and getAllUserProblems(), which is much more
efficient than what was being done before:

For a course with 154 problems in 9 sets, all of which are assigned to
all users, scoring all sets with "IncludeIndex" and "Record Scores for
Single Sets" took the following times:

Original code: 34.07 sec
     New code:  8.68 sec

This is around four times as fast.

I initially attemped to rewrite the main loop to allow the use of
getAll*Problems(), but this proved to be time consuming and error prone.
I eventually decided to leave the main loop alone, except to replace the
DB calls inside it with accesses to pre-fetched records.

Revision 1667 - Directory Listing
Modified Fri Dec 12 02:24:30 2003 UTC (9 years, 6 months ago) by gage
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 - Directory Listing
Modified Tue Dec 9 01:12:32 2003 UTC (9 years, 6 months ago) by sh002i
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 - Directory Listing
Modified Mon Dec 8 23:07:46 2003 UTC (9 years, 6 months ago) by sh002i
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 1660 - Directory Listing
Modified Fri Dec 5 00:01:40 2003 UTC (9 years, 6 months ago) by sh002i
implemented an "Import Multiple Sets" feature.

Revision 1654 - Directory Listing
Modified Thu Dec 4 06:17:08 2003 UTC (9 years, 6 months ago) by sh002i
fixed password creation

Revision 1651 - Directory Listing
Modified Wed Dec 3 20:31:49 2003 UTC (9 years, 6 months ago) by sh002i
fixed timers

Revision 1646 - Directory Listing
Modified Tue Dec 2 16:41:16 2003 UTC (9 years, 6 months ago) by sh002i
removed "use HTML::Entities", as it is not being used (commented out)
and no other modules use it.

Revision 1642 - Directory Listing
Modified Wed Nov 19 23:08:02 2003 UTC (9 years, 7 months ago) by sh002i
implemented assignAllSetsToUser and unassignAllSetsFromUser

Revision 1640 - Directory Listing
Modified Wed Nov 19 19:06:42 2003 UTC (9 years, 7 months ago) by sh002i
added "Act As" link, user ID now links to "sets assigned to user"

Revision 1632 - Directory Listing
Modified Mon Nov 10 04:11:56 2003 UTC (9 years, 7 months ago) by gage
Adding timing code for ProblemSets and for Stats.pm
--Mike

Revision 1631 - Directory Listing
Modified Sun Nov 9 23:21:34 2003 UTC (9 years, 7 months ago) by gage
Removed references to ScoringTotals.pm   These capabilities
are handled by Scoring.pm
--Mike

Revision 1629 - Directory Listing
Modified Sun Nov 9 22:44:28 2003 UTC (9 years, 7 months ago) by gage
changed getMergedProblems to getUserProblems.  This seems to
have speeded things up somewhat.
--Mike

Revision 1628 - Directory Listing
Modified Sun Nov 9 21:29:48 2003 UTC (9 years, 7 months ago) by gage
Added timing code that measures how long it takes to get given
problem data for all users.  It's too long.

--Mike

Revision 1627 - Directory Listing
Modified Sat Nov 8 02:54:56 2003 UTC (9 years, 7 months ago) by sh002i
this module allows you to change which sets are assigned to a given
user. it is not yet accessible via the WW UI, but you can access it with
a URI like "/webwork2/$courseID/instructor/users/$userID/sets/"

Revision 1626 - Directory Listing
Modified Sat Nov 8 02:53:41 2003 UTC (9 years, 7 months ago) by sh002i
changed the name of the module in the path.

Revision 1625 - Directory Listing
Modified Sat Nov 8 02:53:15 2003 UTC (9 years, 7 months ago) by sh002i
There shall be ONE empty line between each subroutine. Not five, not
zero!

Revision 1619 - Directory Listing
Modified Tue Nov 4 23:18:40 2003 UTC (9 years, 7 months ago) by sh002i
added problem numbers along top when viewing all sets for a given user.
unfortunately, this slows down display, since nothing can be sent to the
client until all sets are processed. closes bug #272.

Revision 1615 - Directory Listing
Modified Tue Nov 4 02:24:32 2003 UTC (9 years, 7 months ago) by sh002i
moved getCSVlist to superclass.
implemented FileXfer for set definition files and classlist files.

Revision 1609 - Directory Listing
Modified Mon Oct 27 01:23:07 2003 UTC (9 years, 7 months ago) by gage
Slowly modifying scoring so that it will be easier to add features.
The modifications are mainly to the scoreSet function.
--Mike

Revision 1606 - Directory Listing
Modified Fri Oct 24 00:22:05 2003 UTC (9 years, 7 months ago) by gage
Timing counters added.  Faster way to count the number of sets. (but not
fast enough for GDBM)
--Mike

Revision 1605 - Directory Listing
Modified Wed Oct 22 17:05:49 2003 UTC (9 years, 8 months ago) by sh002i
resolves bug #268:

This is a problem with the naming of the popup menu options.

"selected users" refers to the users checked in the user table, below
the action options. "users with matching user IDs:" refers to the list
of user IDs entered into the text field to the right of the popup menu.
(note the colon.)

The reporter was attempting to specify "selected users" by entering
their user IDs into the text field intended for "users with matching
user IDs".

I have changed the name of the "selected users" option to "users
selected below", which makes the distinction easier to grok.

Revision 1604 - Directory Listing
Modified Tue Oct 21 20:29:27 2003 UTC (9 years, 8 months ago) by sh002i
cvs-log test

Revision 1603 - Directory Listing
Modified Tue Oct 21 20:26:59 2003 UTC (9 years, 8 months ago) by sh002i
foo

Revision 1602 - Directory Listing
Modified Tue Oct 21 20:26:26 2003 UTC (9 years, 8 months ago) by sh002i
comments

Revision 1601 - Directory Listing
Modified Tue Oct 21 20:19:46 2003 UTC (9 years, 8 months ago) by sh002i
display can now be filtered by entering a user ID (or list of user IDs)
or selecting a section or recitation from popup menus.

Revision 1597 - Directory Listing
Modified Mon Oct 20 22:15:59 2003 UTC (9 years, 8 months ago) by sh002i
added export functionality.

Revision 1596 - Directory Listing
Modified Mon Oct 20 18:59:58 2003 UTC (9 years, 8 months ago) by gage
use getGlobalSets instead of getMergedSets.   It speed things up a lot.

-- Mike

Revision 1595 - Directory Listing
Modified Mon Oct 20 15:29:37 2003 UTC (9 years, 8 months ago) by gage
Added timing code for Instructor::Index  to Instructor::Index.pm and
also to WeBWorK.pm.  We can remove this once we have finished testing
various database configs.

--Mike

Revision 1594 - Directory Listing
Modified Mon Oct 20 05:20:46 2003 UTC (9 years, 8 months ago) by sh002i
reworked UserList.pm to have a more modular structure:
1. all modification of user list happends in action_handler routines
2. the whole page is one form
3. view properties (what is shown? what is selected?) survive actions
4. can choose to apply actions to all/selected/visible users
this is more useful than the old UserList, and can be seen as a
prototype for additional refactoring.

also fixed Index.pm to work with the new UserList interface.

Revision 1591 - Directory Listing
Modified Sat Oct 18 20:46:01 2003 UTC (9 years, 8 months ago) by gage
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 1590 - Directory Listing
Modified Fri Oct 17 03:42:07 2003 UTC (9 years, 8 months ago) by gage
Added various sorting methods to the statistics page.  This makes
the sorting more flexible, but it also slows down the process somewhat.
This results bug #153

--Mike

Revision 1584 - Directory Listing
Modified Tue Oct 14 19:12:07 2003 UTC (9 years, 8 months ago) by sh002i
work on making the user list more flexible:
by default, edit fields are not shown
it is possible to select a subset of users for editing

Revision 1581 - Directory Listing
Modified Sun Oct 12 17:44:32 2003 UTC (9 years, 8 months ago) by gage
Added button to link to scoring of sets.

Removed some debugging warning messages.

--Mike

Revision 1579 - Directory Listing
Modified Sun Oct 12 04:09:14 2003 UTC (9 years, 8 months ago) by gage
A new version of the index page for instructor functions with a better
layout.  All of the buttons now do something appropriate, although
several of the functions should be rewritten to be more efficient.

For example it should be possible to change many students/dates at one
time.  There are other functions that should be added as well --
assigning students to sets for example.

--Mike

Revision 1578 - Directory Listing
Modified Sun Oct 12 04:07:16 2003 UTC (9 years, 8 months ago) by gage
This will be removed soon.
--Mike

Revision 1577 - Directory Listing
Modified Sun Oct 12 04:03:08 2003 UTC (9 years, 8 months ago) by gage
The beginnings of a module that will allow you to add new users
efficiently.  For now it is just a copy of the old index page,
including links to the webwork 1.9 tools
-- Mike

Revision 1576 - Directory Listing
Modified Sun Oct 12 02:43:12 2003 UTC (9 years, 8 months ago) by gage
This module is a candidate to replace the Index.pm page and module.
The displayed "control panel" is set up.  Only the
"become student" control works right at the moment.

You can access it by replacing instructor by instructor2 in the url
for the instructor index page.

--Mike

Revision 1567 - Directory Listing
Modified Mon Oct 6 22:36:50 2003 UTC (9 years, 8 months ago) by sh002i
added record filter

Revision 1566 - Directory Listing
Modified Mon Oct 6 22:36:18 2003 UTC (9 years, 8 months ago) by sh002i
cleanup

Revision 1562 - Directory Listing
Modified Sun Oct 5 22:01:38 2003 UTC (9 years, 8 months ago) by gage
Protected against undefined strings.  They are replaced by empty
strings.
--Mike

Revision 1543 - Directory Listing
Modified Sat Sep 27 20:41:23 2003 UTC (9 years, 8 months ago) by gage
Made "set header" field 32 chars long.  This fixses bug #168.
--Mike

Revision 1508 - Directory Listing
Modified Fri Sep 19 02:27:24 2003 UTC (9 years, 9 months ago) by gage
Index2.pm is a temporary testing version of the instructor interface.
--Mike

Revision 1497 - Directory Listing
Modified Tue Sep 9 03:54:43 2003 UTC (9 years, 9 months ago) by gage
Rounded of score, made link to act as student in the display of
statistics for a given user.  This retires bugs:
203 and #206.

Revision 1487 - Directory Listing
Modified Sat Sep 6 16:24:48 2003 UTC (9 years, 9 months ago) by gage
Sort students by name, (only)
Add a link to the name which allows you to inspect the students
version of the problem set.
This partially fixes bug #201

Revision 1486 - Directory Listing
Modified Sat Sep 6 15:56:58 2003 UTC (9 years, 9 months ago) by gage
Added the ability to enter a new student from this page.  It is much faster than from the class list.

Of course it doesn't have full functionality yet.
--Mike

Revision 1484 - Directory Listing
Modified Fri Sep 5 14:03:49 2003 UTC (9 years, 9 months ago) by gage
Added sorting code to Assigner.pm so that the list is sorted alphabetically and then by section.
--Mike

Revision 1474 - Directory Listing
Modified Thu Aug 28 15:00:12 2003 UTC (9 years, 9 months ago) by gage
Fixed sorting routine so that sorting by sections doesn't
screw up sorting by alphabet.

Revision 1473 - Directory Listing
Modified Thu Aug 28 14:45:29 2003 UTC (9 years, 9 months ago) by gage
Added sorting to class list.  Sorted alphabetically first
and then by section.  This is a temporary fix.  The code
should be cleaned up and increased functionality, such as
that provided in the listing of sets, should be added.
--Mike

Revision 1461 - Directory Listing
Modified Thu Aug 14 21:33:37 2003 UTC (9 years, 10 months ago) by malsyned
Actually added the printing of assignment counts and user-specific
identification.

Revision 1460 - Directory Listing
Modified Thu Aug 14 20:10:37 2003 UTC (9 years, 10 months ago) by malsyned
Changed "1.0" to "1.9" for consistency

Revision 1449 - Directory Listing
Modified Mon Aug 4 20:49:29 2003 UTC (9 years, 10 months ago) by malsyned
Fixed a bug that prevented scoring of sets assigned to fewer than all
users

Revision 1448 - Directory Listing
Modified Mon Aug 4 08:06:25 2003 UTC (9 years, 10 months ago) by malsyned
Added the scoringDownload module for downloading scoring data

Revision 1441 - Directory Listing
Modified Fri Jul 25 22:29:31 2003 UTC (9 years, 10 months ago) by malsyned
Added many functions for filtering data out for different files

Revision 1436 - Directory Listing
Modified Fri Jul 25 13:33:37 2003 UTC (9 years, 10 months ago) by gage
Tweaked the instructor links callback
--Mike

Revision 1435 - Directory Listing
Modified Fri Jul 25 12:44:03 2003 UTC (9 years, 10 months ago) by gage
This may not be necessary, but it is a parallel development
of creating scoring files.  The idea is to go directly to the
totals files with creating .csv files for each set.
--Mike

Revision 1434 - Directory Listing
Modified Fri Jul 25 12:41:19 2003 UTC (9 years, 10 months ago) by gage
Increased cellpadding size in tables
--Mike

Revision 1433 - Directory Listing
Modified Fri Jul 25 12:38:17 2003 UTC (9 years, 10 months ago) by gage
Cosmetic modifications to the index pages of Stats and
the instructor pages
--MIke

Revision 1432 - Directory Listing
Modified Fri Jul 25 03:20:16 2003 UTC (9 years, 10 months ago) by gage
Added more capabilities to the stats module.

There is some overlapping code that needs to be factored out.
--Mike

Revision 1430 - Directory Listing
Modified Thu Jul 24 21:52:17 2003 UTC (9 years, 10 months ago) by gage
Added a module that shows the raw stats for a single set.
We need a better index page for this and other views of the
same statistics.
--Mike

Revision 1428 - Directory Listing
Modified Thu Jul 24 14:32:30 2003 UTC (9 years, 10 months ago) by gage
Added import from set definition file function and
export to set definition file function
--Mike

Revision 1427 - Directory Listing
Modified Wed Jul 23 20:19:42 2003 UTC (9 years, 10 months ago) by malsyned
Inconsequential changes

Revision 1416 - Directory Listing
Modified Tue Jul 22 20:45:12 2003 UTC (9 years, 11 months ago) by malsyned
Fixed a bug preventing scoring data from being generated for sets
assigned to less than all users.

Revision 1415 - Directory Listing
Modified Tue Jul 22 20:40:37 2003 UTC (9 years, 11 months ago) by malsyned
Removed a superfluous warning

Revision 1413 - Directory Listing
Modified Mon Jul 21 23:07:03 2003 UTC (9 years, 11 months ago) by malsyned
Now generates scoring data files in response to requests from the set
list.  There is no confirmation that this has been done, yet, though.
If it returns an "empty" page, it worked, and you can see the scoring
files.

Revision 1410 - Directory Listing
Modified Mon Jul 21 22:08:58 2003 UTC (9 years, 11 months ago) by malsyned
Redirect to the Scoring content generator if the scoreSelected button is
pressed

Revision 1404 - Directory Listing
Modified Fri Jul 18 21:42:14 2003 UTC (9 years, 11 months ago) by malsyned
Another button that doesn't do anything (yet)

Revision 1403 - Directory Listing
Modified Fri Jul 18 20:49:32 2003 UTC (9 years, 11 months ago) by malsyned
The set-scoring code generates all scoring file types available in WW1.9
(normal, full, total).

Revision 1402 - Directory Listing
Modified Thu Jul 17 20:28:31 2003 UTC (9 years, 11 months ago) by malsyned
Now the "totals" column is working.

Revision 1401 - Directory Listing
Modified Wed Jul 16 21:11:05 2003 UTC (9 years, 11 months ago) by malsyned
Generating a scoring file works except for totals, and it can be written
out to disk.  Still no UI.

Revision 1400 - Directory Listing
Modified Wed Jul 16 17:56:20 2003 UTC (9 years, 11 months ago) by gage
Added blank for entering the name of the imported set.
--Mike

Revision 1399 - Directory Listing
Modified Wed Jul 16 13:33:53 2003 UTC (9 years, 11 months ago) by gage
Added a pop menu that displays the set definition files that could be
imported.
--Mike

Revision 1397 - Directory Listing
Modified Wed Jul 16 12:58:29 2003 UTC (9 years, 11 months ago) by gage
Abstracted "read directory" functions in SendMail and moved them
to Instructor.  The instructor calls WeBWorK::Utils::readDirectory
and then filters the output according to a pattern match. Sorts as well.

Also move read_scoring_file to instructor since it will need to be used
in other scripts as well.
--Mike

Revision 1395 - Directory Listing
Modified Tue Jul 15 19:36:25 2003 UTC (9 years, 11 months ago) by gage
Added ShowAnswers.pm module which reads the log file of the students answers
Modifications to WeBWorK (dispatcher) and Problem (the Show Past Answer button
had to be redirected) were also made.
--Mike

Revision 1394 - Directory Listing
Modified Tue Jul 15 19:32:27 2003 UTC (9 years, 11 months ago) by malsyned
Still more bug fixing.  I think that should do it for the auxiliary
functions.

Revision 1393 - Directory Listing
Modified Tue Jul 15 19:08:18 2003 UTC (9 years, 11 months ago) by malsyned
Lots of bug-fixing to auxiliary routines

Revision 1391 - Directory Listing
Modified Tue Jul 15 17:58:48 2003 UTC (9 years, 11 months ago) by malsyned
Lots of bug-fixes
replaced all instances of "column" with the (much) more accurate "row"

Revision 1389 - Directory Listing
Modified Tue Jul 15 01:19:49 2003 UTC (9 years, 11 months ago) by malsyned
And then I wrote comments

Revision 1388 - Directory Listing
Modified Tue Jul 15 01:15:58 2003 UTC (9 years, 11 months ago) by malsyned
Finished the auxiliary functions.

Revision 1386 - Directory Listing
Modified Tue Jul 15 00:50:06 2003 UTC (9 years, 11 months ago) by malsyned
Initial commit, containing support methods.

Revision 1381 - Directory Listing
Modified Mon Jul 14 15:29:40 2003 UTC (9 years, 11 months ago) by gage
Changed error message for merge template display
--Mike

Revision 1376 - Directory Listing
Modified Sun Jul 13 19:22:50 2003 UTC (9 years, 11 months ago) by gage
Some more initialization fixes.  Still problems with the
best error reporting if merge file hasn't been found
or doesn't exist.
--Mike

Revision 1375 - Directory Listing
Modified Sun Jul 13 18:56:27 2003 UTC (9 years, 11 months ago) by gage
Fixed some bugs where defaults were not always initialized.
--Mike

Revision 1373 - Directory Listing
Modified Sun Jul 13 18:32:46 2003 UTC (9 years, 11 months ago) by gage
SendMail now works -- probably with lots of bugs and certainly
without enough features, particularly error checks.  It's ready
for bug reports.
--Mike

Revision 1372 - Directory Listing
Modified Sun Jul 13 17:08:49 2003 UTC (9 years, 11 months ago) by gage
Preview now works fairly well.  Only the actual send mail action
needs to be implemented
Followed by bug fixes and assignments.
--Mike

Revision 1371 - Directory Listing
Modified Sat Jul 12 21:31:03 2003 UTC (9 years, 11 months ago) by gage
backups work now.  The list of merge files can be found.
To do:
1.. Get better list of students (with entire names)
2.  Get view of merge file
3.  Get preview working
--Mike

Revision 1370 - Directory Listing
Modified Sat Jul 12 19:04:25 2003 UTC (9 years, 11 months ago) by gage
Save procedures are working pretty well although there
is no backup mechanism yet.
--Mike

Revision 1369 - Directory Listing
Modified Sat Jul 12 03:13:32 2003 UTC (9 years, 11 months ago) by gage
Massive changes -- formatting is now much better.
Functionality is not yet there.
--Mike

Revision 1368 - Directory Listing
Modified Fri Jul 11 21:40:38 2003 UTC (9 years, 11 months ago) by gage
First crack at writing a send mail script.  Not at all functional
--Mike

Revision 1363 - Directory Listing
Modified Fri Jul 11 19:52:42 2003 UTC (9 years, 11 months ago) by gage
Cosmetic changes to title
--Mike

Revision 1357 - Directory Listing
Modified Fri Jul 11 18:40:34 2003 UTC (9 years, 11 months ago) by gage
More graceful failure if permissionlevel record is not defined.
--Mike

Revision 1352 - Directory Listing
Modified Fri Jul 11 16:58:09 2003 UTC (9 years, 11 months ago) by gage
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 - Directory Listing
Modified Fri Jul 11 13:47:27 2003 UTC (9 years, 11 months ago) by gage
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 - Directory Listing
Modified Thu Jul 10 22:38:25 2003 UTC (9 years, 11 months ago) by gage
Added bread crumbs to Assigner.pm -- changed set:1 to just 1 in
ProblemSetEditor -- I think this looks cleaner.
--Mike

Revision 1340 - Directory Listing
Modified Thu Jul 10 19:08:39 2003 UTC (9 years, 11 months ago) by malsyned
You're not allowed to edit both the default and the user-specific fields
at the same time anymore.  It was just too hard to keep straight
efficiently.

Revision 1338 - Directory Listing
Modified Thu Jul 10 17:42:52 2003 UTC (9 years, 11 months ago) by malsyned
Fixed a bug in changing overrides

Revision 1324 - Directory Listing
Modified Tue Jul 8 22:39:15 2003 UTC (9 years, 11 months ago) by malsyned
Removed unecessary warning

Revision 1323 - Directory Listing
Modified Tue Jul 8 22:36:48 2003 UTC (9 years, 11 months ago) by malsyned
Fixed a bug in submitting changes to user-specific data.

Revision 1302 - Directory Listing
Modified Fri Jun 27 21:54:21 2003 UTC (9 years, 11 months ago) by malsyned
Added the ability to get from the assigner page to the UserSet editor,
and from the UserSet editor to the UserProblem editor.

Revision 1301 - Directory Listing
Modified Fri Jun 27 21:39:35 2003 UTC (9 years, 11 months ago) by malsyned
Added functionality to the assigner.  You can now assign a set to an
individual student.

Revision 1295 - Directory Listing
Modified Fri Jun 27 15:43:06 2003 UTC (9 years, 11 months ago) by gage
Added bread crumbs (path subroutine) along the top of each of these pages.
--Mike

Revision 1293 - Directory Listing
Modified Thu Jun 26 23:42:19 2003 UTC (9 years, 11 months ago) by malsyned
The classlist editor now provides links to become each user.

Revision 1289 - Directory Listing
Modified Thu Jun 26 21:56:36 2003 UTC (9 years, 11 months ago) by malsyned
You can now delete users

Revision 1261 - Directory Listing
Modified Tue Jun 24 00:55:28 2003 UTC (9 years, 11 months ago) by malsyned
It is now possible to provide synonyms to drop-down lists associated
with database fields for backwards compatability.

Revision 1233 - Directory Listing
Modified Fri Jun 20 01:23:03 2003 UTC (10 years ago) by malsyned
Move towards more intelligent formatting and editing in Professor Pages,
starting with the UserList.  The only current manefestation is that the
classlist fields are now formatted based on what they will contain.

Revision 1220 - Directory Listing
Modified Thu Jun 19 18:55:05 2003 UTC (10 years ago) by malsyned
Reworded the warning from the previous commit

Revision 1219 - Directory Listing
Modified Thu Jun 19 18:50:48 2003 UTC (10 years ago) by malsyned
Die if a user doesn't have a permission record (which should never
happen)

Revision 1218 - Directory Listing
Modified Thu Jun 19 18:39:02 2003 UTC (10 years ago) by malsyned
Hopefully a bugfix for an error Mike was getting with undefined values.

Revision 1214 - Directory Listing
Modified Thu Jun 19 00:15:31 2003 UTC (10 years ago) by malsyned
You can add new users.  (You still have to set their password on the
command line, and you can't delete them yet).

Revision 1213 - Directory Listing
Modified Wed Jun 18 23:24:45 2003 UTC (10 years ago) by malsyned
Getting prettier

Revision 1212 - Directory Listing
Modified Wed Jun 18 23:16:02 2003 UTC (10 years ago) by malsyned
Warn less, work more.

Revision 1211 - Directory Listing
Modified Wed Jun 18 23:08:18 2003 UTC (10 years ago) by malsyned
You can now edit existing student records.  Coming soon are a prettier
display, password resetting, and adding of new students.

Revision 1209 - Directory Listing
Modified Wed Jun 18 23:00:22 2003 UTC (10 years ago) by malsyned
Changed _s to .s

Revision 1198 - Directory Listing
Modified Wed Jun 18 16:35:53 2003 UTC (10 years ago) by sh002i
now sends editMode=savedFile if the "Save" button is pressed, and
doesn't send the "submit_button" parameter.

Revision 1186 - Directory Listing
Modified Tue Jun 17 19:28:04 2003 UTC (10 years ago) by gage
Added formatting
--Mike

Revision 1183 - Directory Listing
Modified Tue Jun 17 19:00:32 2003 UTC (10 years ago) by gage
Small modifications to correct warning messages when opening the temp
file.
-- Mike

Revision 1174 - Directory Listing
Modified Mon Jun 16 19:07:44 2003 UTC (10 years ago) by malsyned
This is the module for assigning sets to users.
-Dennis

Revision 1110 - Directory Listing
Modified Tue Jun 10 22:40:36 2003 UTC (10 years ago) by malsyned
Added the beginings of a classlist editor.  It currently
only displays the class list in a form.
-Dennis

Revision 1106 - Directory Listing
Modified Tue Jun 10 18:37:39 2003 UTC (10 years ago) by malsyned
Removed a warning in WW1Hash.
Renamed a function with a confusing name: assignProblemToAllUsers =>
assignProblemToAllSetUsers.
-Dennis

Revision 1105 - Directory Listing
Modified Tue Jun 10 17:29:27 2003 UTC (10 years ago) by gage
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 1044 - Directory Listing
Modified Fri Jun 6 19:03:14 2003 UTC (10 years ago) by gage
Replacing hard coding of /webwork/ with  $ce->{webworkURLs}->{root}
-- Mike

Revision 1027 - Directory Listing
Modified Thu Jun 5 19:34:38 2003 UTC (10 years ago) by malsyned
Now I'm exporting InitializeUserProblem
-Dennis

Revision 1023 - Directory Listing
Modified Thu Jun 5 14:39:49 2003 UTC (10 years ago) by gage
added =cut
near end of DB.pm file.
before
1;

(I thought I had already commited this????)
--Mike

Revision 1020 - Directory Listing
Modified Thu Jun 5 01:29:32 2003 UTC (10 years ago) by malsyned
Changed the way checking if a new set exists already happens.
-Dennis

Revision 1017 - Directory Listing
Modified Wed Jun 4 23:47:35 2003 UTC (10 years ago) by malsyned
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 1015 - Directory Listing
Modified Wed Jun 4 20:19:27 2003 UTC (10 years ago) by malsyned
The UserList module now has a single button, "Assign to all users", that
does what it says it does.  This should allow people to create new
problems and problem sets and edit them without ever needing the old
system, assuming that they are importing an existing course into
webwork2.
-Dennis

Revision 1014 - Directory Listing
Modified Wed Jun 4 18:41:51 2003 UTC (10 years ago) by malsyned
Fixed bugs.
-Dennis

Revision 1006 - Directory Listing
Modified Wed Jun 4 02:59:55 2003 UTC (10 years ago) by gage
Added ProblemList (from Dennis' folder) and committed it to CVS
--Mike

Revision 1005 - Directory Listing
Modified Wed Jun 4 00:34:56 2003 UTC (10 years ago) by malsyned
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 998 - Directory Listing
Modified Tue Jun 3 22:00:57 2003 UTC (10 years ago) by malsyned
really /really/ fixed the instructor pages to use the new URL scheme
-Dennis

Revision 996 - Directory Listing
Modified Tue Jun 3 21:59:25 2003 UTC (10 years ago) by malsyned
Really fixed the Instructor links to use the new URL scheme this time
-Dennis

Revision 995 - Directory Listing
Modified Tue Jun 3 21:07:37 2003 UTC (10 years ago) by malsyned
Efforts towards doing the Right Thing with the instructor URLs.
-Dennis

Revision 991 - Directory Listing
Modified Tue Jun 3 20:12:42 2003 UTC (10 years ago) by gage
The pgProblemEditor now looks for a global problem record if it cannot
find a global_user problem record.
-- Mike

Revision 983 - Directory Listing
Modified Tue Jun 3 17:48:35 2003 UTC (10 years ago) by malsyned
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 982 - Directory Listing
Modified Tue Jun 3 17:11:35 2003 UTC (10 years ago) by malsyned
Took out some hard-coded <tr>s.  Shame on me.
-Dennis

Revision 981 - Directory Listing
Modified Tue Jun 3 00:28:28 2003 UTC (10 years ago) by gage
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 - Directory Listing
Modified Mon Jun 2 23:10:59 2003 UTC (10 years ago) by malsyned
Rearranged the order of functions in PGProblemEditor.pm
Removed an extraneous warning from ProblemSetEditor.pm
-Dennis

Revision 979 - Directory Listing
Modified Mon Jun 2 22:28:08 2003 UTC (10 years ago) by malsyned
Fix max in Util.pm
did some UI refactoring.
-Dennis

Revision 978 - Directory Listing
Modified Mon Jun 2 22:07:05 2003 UTC (10 years ago) by malsyned
There's no longer a seperate "Add Set" content generator.  That form is
now right on the problem set list.
-Dennis

Revision 977 - Directory Listing
Modified Mon Jun 2 21:58:35 2003 UTC (10 years ago) by malsyned
Took out some unnecessary warns, both intentional and otherwise.
-Dennis

Revision 976 - Directory Listing
Modified Mon Jun 2 21:53:10 2003 UTC (10 years ago) by malsyned
You can now add new problems using a NeXT-style column view.  Advanced.
-Dennis

Revision 968 - Directory Listing
Modified Mon Jun 2 18:58:42 2003 UTC (10 years ago) by malsyned
Fix a stupid bug from the last commit.
-Dennis

Revision 967 - Directory Listing
Modified Mon Jun 2 18:40:29 2003 UTC (10 years ago) by malsyned
You can delete problems now.  Problem sets are the next thing.
Also, performed and apendectimy.
-Dennis

Revision 963 - Directory Listing
Modified Mon Jun 2 08:18:51 2003 UTC (10 years ago) by malsyned
Added the ability to add sets.
-Dennis

Revision 962 - Directory Listing
Modified Mon Jun 2 06:51:35 2003 UTC (10 years ago) by malsyned
Added problem editor links.
took out an unnecessary warning.
-Dennis

Revision 960 - Directory Listing
Modified Sat May 31 00:02:46 2003 UTC (10 years ago) by malsyned
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 - Directory Listing
Modified Fri May 30 23:59:35 2003 UTC (10 years ago) by malsyned
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 - Directory Listing
Modified Fri May 30 21:37:03 2003 UTC (10 years ago) by malsyned
Added columns for user-specific problem fields.  Saving back to the
database for user-specific data still doesn't happen yet.
-Dennis

Revision 955 - Directory Listing
Modified Fri May 30 18:52:48 2003 UTC (10 years ago) by malsyned
More speedup and consolidation.
-Dennis

Revision 954 - Directory Listing
Modified Fri May 30 18:17:06 2003 UTC (10 years ago) by malsyned
This time there aren't any of the bugs that there were before, and
probably not any new ones.
-Dennis

Revision 952 - Directory Listing
Modified Fri May 30 18:09:13 2003 UTC (10 years ago) by malsyned
Fixed a showstopping compile but that accidentally got into the last
commit.  and consolidated some code.
-Dennis

Revision 951 - Directory Listing
Modified Fri May 30 18:05:41 2003 UTC (10 years ago) by malsyned
More changes to prevent unneccesary database requests
-Dennis

Revision 950 - Directory Listing
Modified Fri May 30 17:50:57 2003 UTC (10 years ago) by malsyned
Took out many many unneccessary database accesses.
-Dennis

Revision 947 - Directory Listing
Modified Fri May 30 00:27:27 2003 UTC (10 years ago) by malsyned
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 936 - Directory Listing
Modified Thu May 29 00:08:23 2003 UTC (10 years ago) by malsyned
Now you can save changes to problems
-dennis

Revision 935 - Directory Listing
Modified Wed May 28 21:28:08 2003 UTC (10 years ago) by malsyned
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 930 - Directory Listing
Modified Wed May 28 17:46:00 2003 UTC (10 years ago) by malsyned
*** empty log message ***

Revision 929 - Directory Listing
Modified Wed May 28 12:46:12 2003 UTC (10 years ago) by gage
Commented out debugging code in pgProblemEditor
--Mike

Revision 928 - Directory Listing
Modified Wed May 28 12:45:03 2003 UTC (10 years ago) by gage
The pgProblemEditor module now handles the seed and displayMode correctly.
-- Mike

Revision 925 - Directory Listing
Modified Wed May 28 03:30:45 2003 UTC (10 years ago) by gage
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 924 - Directory Listing
Modified Wed May 28 01:38:55 2003 UTC (10 years ago) by malsyned
Added a helpful comment to Authz
Fixed bug #15 in hardcopy
Gave ProblemSetList the proper db calls, now that SQL databases are
working.
-Dennis

Revision 902 - Directory Listing
Modified Fri May 23 21:10:57 2003 UTC (10 years ago) by gage
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 - Directory Listing
Modified Fri May 23 13:14:51 2003 UTC (10 years, 1 month ago) by gage
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 891 - Directory Listing
Modified Thu May 22 21:53:36 2003 UTC (10 years, 1 month ago) by malsyned
Code cleanups
--Dennis

Revision 889 - Directory Listing
Modified Thu May 22 21:40:23 2003 UTC (10 years, 1 month ago) by gage
Stub for PGProblemEditor which edits a .pg file

-- Mike

Revision 888 - Directory Listing
Modified Thu May 22 20:46:06 2003 UTC (10 years, 1 month ago) by malsyned
More "fix me" -> "FIXME:" Changes.  It's what Sam + I grep for to see
what needs fixing.
-Dennis

Revision 887 - Directory Listing
Modified Thu May 22 20:44:03 2003 UTC (10 years, 1 month ago) by malsyned
Changed the string "fix me." in a comment to the industry standard
"FIXME:"
-Dennis

Revision 884 - Directory Listing
Modified Thu May 22 20:16:31 2003 UTC (10 years, 1 month ago) by gage
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 883 - Directory Listing
Modified Thu May 22 20:14:58 2003 UTC (10 years, 1 month ago) by malsyned
Added sorting capability.
Squashed a bug in bug-detection ;-)
-Dennis

Revision 877 - Directory Listing
Modified Wed May 21 21:37:33 2003 UTC (10 years, 1 month ago) by malsyned
The problem set list has it's basic functionality working.  It still
needs a lot of work, but it's usable as a gateway to the problem editor.
-Dennis

Revision 875 - Directory Listing
Modified Wed May 21 18:41:51 2003 UTC (10 years, 1 month ago) by gage
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 - Directory Listing
Modified Tue May 20 18:35:22 2003 UTC (10 years, 1 month ago) by gage
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 - Directory Listing
Modified Tue May 20 02:37:44 2003 UTC (10 years, 1 month ago) by gage
 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 - Directory Listing
Modified Mon May 19 21:02:19 2003 UTC (10 years, 1 month ago) by gage
 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 - Directory Listing
Modified Sun May 18 03:26:22 2003 UTC (10 years, 1 month ago) by gage
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

Revision 859 - Directory Listing
Modified Sun May 18 03:20:56 2003 UTC (10 years, 1 month ago) by gage
dded a link to the mock up of a problem set editor.

Revision 836 - Directory Listing
Modified Wed May 14 21:20:13 2003 UTC (10 years, 1 month ago) by malsyned
Removed the Professor content generator and link.
Made a little progress on ProblemSetList.
-Dennis

Revision 835 - Directory Listing
Modified Wed May 14 21:02:49 2003 UTC (10 years, 1 month ago) by malsyned
Fixed a typo
-Dennis

Revision 834 - Directory Listing
Modified Wed May 14 20:57:28 2003 UTC (10 years, 1 month ago) by malsyned
Added links to the old Professor pages.
-Dennis

Revision 832 - Directory Listing
Modified Wed May 14 20:28:18 2003 UTC (10 years, 1 month ago) by malsyned
Added shell code for the UserList and ProblemSetList
-Dennis

Revision 831 - Directory Listing
Added Wed May 14 18:44:54 2003 UTC (10 years, 1 month ago) by malsyned
Moved Instructor.pm to Instructor/Index.pm and made Instructor.pm an
abstract superclass of all the instructor pages.
-Dennis

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9