[system] / tags / rel-2-0-pr5 Repository:
ViewVC logotype

Log of /tags/rel-2-0-pr5

View Directory Listing Directory Listing


Sticky Revision:

Revision 2136 - Directory Listing
Modified Fri May 21 01:34:29 2004 UTC (9 years, 11 months ago) by
Copied from: trunk revision 2130
This commit was manufactured by cvs2svn to create tag 'rel-2-0-pr5'.

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

Revision 2129 - Directory Listing
Modified Tue May 18 18:51:05 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Hopefully moved published to the right place.

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

Revision 2127 - Directory Listing
Modified Tue May 18 18:22:25 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
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 2125 - Directory Listing
Modified Mon May 17 18:57:42 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Set the published field when faking a problem set.

Revision 2124 - Directory Listing
Modified Mon May 17 16:41:07 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Improved psvn kludge by using the full mysql statement from mksqldb.  Fixes
the original version of bug 495.

Revision 2123 - Directory Listing
Modified Mon May 17 15:39:35 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
If there is an admin course, make it appear only once.

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

Revision 2120 - Directory Listing
Modified Sun May 16 23:36:28 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
updated for PR4

Revision 2119 - Directory Listing
Modified Sun May 16 23:33:00 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
changed default courseURLroot to /webwork2_course_files

Revision 2118 - Directory Listing
Modified Sun May 16 23:31:11 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
removed unused code

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

Revision 2116 - Directory Listing
Modified Sat May 15 19:10:18 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
Reorganized to use addmessage for messages.  Also minor cleanups of
variable names, and better handling when there are no pg files under
templates.

Revision 2114 - Directory Listing
Modified Fri May 14 22:03:54 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
fixed error with problems that don't yet exist

Revision 2113 - Directory Listing
Modified Fri May 14 21:20:56 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
When a new set is created, it is automatically selected.  This partially
resolves bug 485.

Revision 2111 - Directory Listing
Modified Fri May 14 18:31:12 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
added siteDefaults hash to store other site specific information
includes a hash for several possible values of a users status field

Revision 2110 - Directory Listing
Modified Fri May 14 18:29:35 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
added div classes for Published, Unpublished, Audit, Drop, Enrolled

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

Revision 2108 - Directory Listing
Modified Fri May 14 18:23:21 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
changed assignSetToAllUsers to ignore users with dropped status

Revision 2107 - Directory Listing
Modified Thu May 13 21:35:48 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
added classlist file containing a single "admin" user

Revision 2106 - Directory Listing
Modified Thu May 13 21:14:56 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
removed sql exec warnings

Revision 2105 - Directory Listing
Modified Thu May 13 21:14:25 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
comments

Revision 2104 - Directory Listing
Modified Thu May 13 20:49:18 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
several changes towards closing bug #481. (1) removed database "multiple
source" warnings. (2) if sql database name is blank, "webwork_$courseID"
is used. (3) removed sql execution warnings. (4) allowed blank sql admin
password.

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

Revision 2102 - Directory Listing
Modified Thu May 13 20:39:19 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
create "psvn" field as "INT AUTO_INCREMENT"

Revision 2101 - Directory Listing
Modified Thu May 13 20:12:11 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
add global user record to new courses

Revision 2100 - Directory Listing
Modified Thu May 13 19:58:32 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
separate link for course management

Revision 2099 - Directory Listing
Modified Thu May 13 18:38:19 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
added "This problem does not count towards your grade." messages if
the weight of a problem has been set to 0.  Fixes #464.

Revision 2098 - Directory Listing
Modified Thu May 13 18:28:42 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Defined $WeBWorK:;timer again for use in debugging code
$timerON =0   by default in WeBWorK.pm
and
 the timing log $TIMING_LOG  is initially set to the empty string which
implies STDERR

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

Revision 2096 - Directory Listing
Modified Thu May 13 13:44:28 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
This checks for modules known to be needed by WeBWorK.
The list of modules is supplied in the DATA section of
the script.

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

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

Revision 2093 - Directory Listing
Modified Wed May 12 14:28:43 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
added processing of sucess/failure messages from PGProblemEditor.pm

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

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

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

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

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

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

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

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

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

Revision 2083 - Directory Listing
Modified Tue May 11 19:18:02 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
set lockdir

Revision 2082 - Directory Listing
Modified Tue May 11 19:07:54 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Added surePathToFile utility  called as
surePathToFile  start_directory   path

(the path can be the full path including the start_directory segment)
If the start_directory is the tmp directory then one has the effect of
surePathToTmpFile  defined in IO.pl

Revision 2081 - Directory Listing
Modified Tue May 11 19:06:23 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by toenail
Original Path: trunk
replaced error processing with call to addmessage()

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

Revision 2078 - Directory Listing
Modified Mon May 10 04:55:15 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
done with this

Revision 2077 - Directory Listing
Modified Mon May 10 04:52:51 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
test of activitymail diff functionality

Revision 2076 - Directory Listing
Modified Mon May 10 04:52:12 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
added diffs to cvs mails.

Revision 2075 - Directory Listing
Modified Mon May 10 04:51:12 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
another annoying text of the new cvs mail logging script. cool, the first
sentence of the log message becomes the subject of the email!

Revision 2074 - Directory Listing
Modified Mon May 10 04:50:11 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
added -p switch. ("add the name of the CVS module to the message subject")

Revision 2073 - Directory Listing
Modified Mon May 10 04:46:58 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
removed some text

Revision 2072 - Directory Listing
Modified Mon May 10 04:46:42 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
quoting...

Revision 2071 - Directory Listing
Modified Mon May 10 04:45:35 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
quoting issues

Revision 2070 - Directory Listing
Modified Mon May 10 04:44:54 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
more text

Revision 2069 - Directory Listing
Modified Mon May 10 04:44:40 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
added quoting

Revision 2068 - Directory Listing
Modified Mon May 10 04:40:54 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
added text

Revision 2067 - Directory Listing
Modified Mon May 10 04:40:43 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
fixed path to activitymail

Revision 2066 - Directory Listing
Modified Mon May 10 04:40:31 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
changed test-file

Revision 2065 - Directory Listing
Modified Mon May 10 04:39:55 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
added test_file.

Revision 2064 - Directory Listing
Modified Mon May 10 04:39:12 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
installed activitymail cvs logging

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

Revision 2062 - Directory Listing
Modified Sun May 9 17:47:35 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Formatted the "PREVIEW ONLY" and "Not Recorded" messages as
'ResultsWithError' to insure that students don't accidently think
they have submitted their answers.

Revision 2061 - Directory Listing
Modified Sun May 9 17:45:41 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Modifications to PGbasicmacros and PGanswermacros which check whether a function answer
is the same as the function answer submitted previously.  Gives warning message
if the same incorrect answers is submitted twice in a row.  The functions must
both compile in order to recognize that they are the same answer.  Two syntactically
incorrect entries will not be recognized as equivalent, even if they are in some sense.

Revision 2060 - Directory Listing
Modified Sun May 9 17:43:32 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Cosmetic fixes to code layout.

Revision 2059 - Directory Listing
Modified Sun May 9 14:52:21 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Fix bug: use of an undefined value.

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

Tweaked a few more user interface parameters.

Revision 2057 - Directory Listing
Modified Sat May 8 22:53:03 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Preliminary changes that may eventually allow us to solve the be_strict problem for 5.8.0

Revision 2056 - Directory Listing
Modified Sat May 8 22:51:38 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Updating answer evaluators in PGanswermacros.pl

Beginning to include code that will allow us to
check whether the current answer is the same
as the one submitted previously.

Revision 2055 - Directory Listing
Modified Sat May 8 20:31:28 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
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, 11 months ago) by gage
Original Path: trunk
Added safety switch for unassigning sets.  This closes bug number #403

Added some messages reporting action taken.

Revision 2052 - Directory Listing
Modified Sat May 8 18:02:21 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Added a message field at the bottom of the page.

This will catch result messages issued in the body of the page

It's not as quite as eye catching to have the message at the bottom, but it's better than nothing.

Errors issued during the initialization stage appear at both the top and the bottom of the screen.

--Mike

Revision 2051 - Directory Listing
Modified Sat May 8 17:59:13 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by gage
Original Path: trunk
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 2045 - Directory Listing
Modified Sat May 8 02:01:13 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Sort the courseIDs in the scrolling lists.

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

Revision 2043 - Directory Listing
Modified Fri May 7 23:13:44 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
ripped out the rest of the skeleton

Revision 2042 - Directory Listing
Modified Fri May 7 22:26:49 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Fixed typo where a hash was initialized using an anonymous hash reference.

Revision 2041 - Directory Listing
Modified Fri May 7 21:49:48 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
fixed bug #472

Revision 2040 - Directory Listing
Modified Fri May 7 21:04:07 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
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 2037 - Directory Listing
Modified Fri May 7 20:01:04 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
(1) listTables() reports names of supported tables. (2) dbExport() warns
when given invalid table names.

Revision 2036 - Directory Listing
Modified Fri May 7 19:05:45 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
usage message prints supported tables

Revision 2035 - Directory Listing
Modified Fri May 7 18:49:40 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
failure messages now given with addmessage() -- fixes bug #447 (sort of)

Revision 2034 - Directory Listing
Modified Fri May 7 18:47:23 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
changed name of self-field used to hold the text for the message()
escape to "status_message" to avoid collisions with existing use of
"message" in CGs.

We should consider forming some kind of policy for this stuff. Maybe all
the fields that WeBWorK::ContentGenerator uses should be prefixed with
"CG_" or something. Thoughts?

Perl 6 would make this much nicer.

Revision 2033 - Directory Listing
Modified Fri May 7 18:45:33 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
fixed some small formatting thingies

Revision 2032 - Directory Listing
Modified Fri May 7 18:27:50 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
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, 11 months ago) by sh002i
Original Path: trunk
use reply_with_file() instead of $self->{sendFile}

Revision 2030 - Directory Listing
Modified Fri May 7 18:21:19 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
(1) removed "sendFile" mechanism -- use reply_with_file() instead
(2) moved addmessage, reply_with_{file,redirect} to a separate section
in the file, for data modifiers.

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

Revision 2028 - Directory Listing
Modified Fri May 7 14:13:40 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Added message escape.

Revision 2027 - Directory Listing
Modified Fri May 7 14:13:03 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Added support for "create_and_delete_courses" privileges.  currently set to professor.

Revision 2026 - Directory Listing
Modified Fri May 7 14:12:20 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Only someone with professor privileges can use CourseAdministration.pm

Revision 2025 - Directory Listing
Modified Fri May 7 13:47:59 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
sort the courses before you print them.

Revision 2024 - Directory Listing
Modified Fri May 7 06:07:58 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
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 2023 - Directory Listing
Modified Fri May 7 04:28:54 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
If there is more than one mysql source (which there is now thanks to
ProblemLibrary), then we look for the most commonly used source.  Fixed
a bug in this counting part.

Revision 2022 - Directory Listing
Modified Fri May 7 00:55:08 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Removed debugging code

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

Revision 2020 - Directory Listing
Modified Thu May 6 22:46:13 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Added support for instructors to view/test problems which are not part
of any set.

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

Revision 2018 - Directory Listing
Modified Thu May 6 22:19:53 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Changed look of Instructor page

Revision 2017 - Directory Listing
Modified Thu May 6 22:17:36 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
Commented out features which are not used yet in the problem library.
Uncommented Try it and Edit it links.

Revision 2014 - Directory Listing
Modified Thu May 6 20:31:50 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
fixed bad links for invalid sets and problems

Revision 2013 - Directory Listing
Modified Thu May 6 20:21:48 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
added message() as a more general message handler than submiterror()
addmessage() helper method for concatenating messages

Revision 2012 - Directory Listing
Modified Thu May 6 20:20:00 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
added error checking for invalid set numbers

Revision 2011 - Directory Listing
Modified Thu May 6 20:19:39 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
added error checking for invalid set and problem numbers

Revision 2010 - Directory Listing
Modified Thu May 6 18:41:25 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
added height constraint to top panel so that it wouldn't extend down

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

Revision 2008 - Directory Listing
Modified Thu May 6 03:01:22 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Initial import.

Revision 2007 - Directory Listing
Modified Wed May 5 22:38:24 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
course deletion script

Revision 2006 - Directory Listing
Modified Wed May 5 22:02:50 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
now uses CoureManagement backend

Revision 2005 - Directory Listing
Modified Wed May 5 22:02:30 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
documentation fix

Revision 2004 - Directory Listing
Modified Wed May 5 22:02:12 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
globalUserID is actually used in addCourse

Revision 2003 - Directory Listing
Modified Wed May 5 22:01:48 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
runtime_use now gives an error message if it is passed an empty string
or an undefined value

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

Revision 2001 - Directory Listing
Modified Wed May 5 01:53:51 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by sh002i
Original Path: trunk
added support for upload/download/delete of scoring files

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

Revision 1998 - Directory Listing
Modified Tue May 4 16:03:09 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Add link to set maker in the instructor tools part of left panel.  Also
added hr above Instructor Tools.

Revision 1997 - Directory Listing
Modified Tue May 4 15:16:58 2004 UTC (9 years, 11 months ago) by toenail
Original Path: trunk
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, 11 months ago) by toenail
Original Path: trunk
cosmetic change to title to include user name

Revision 1995 - Directory Listing
Modified Mon May 3 20:56:06 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Added entries for SetMaker.

Revision 1994 - Directory Listing
Modified Mon May 3 20:47:23 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Initial import.

Revision 1993 - Directory Listing
Modified Mon May 3 20:44:24 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Initial import.  This may not be the right destination, especially as its
database methods become more integrated with the ones already in WeBWorK.

Revision 1992 - Directory Listing
Modified Mon May 3 20:39:16 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Added entries related to the problem library.

Revision 1990 - Directory Listing
Modified Mon May 3 18:01:35 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Provide a place to set the location of the top of the problem library.

Revision 1989 - Directory Listing
Modified Sun May 2 19:55:15 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Added new class for problems rendered out of context (i.e., away from Problem.pm).

Revision 1988 - Directory Listing
Modified Sun May 2 19:50:37 2004 UTC (9 years, 11 months ago) by jj
Original Path: trunk
Initial import.  Lets you render a problem which is not part of anything.

Revision 1987 - Directory Listing
Modified Thu Apr 29 23:33:36 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
removed debugging output

Revision 1986 - Directory Listing
Modified Thu Apr 29 23:33:26 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
cleaned up, added documentation, added "replace" functionality

Revision 1985 - Directory Listing
Modified Thu Apr 29 22:22:33 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
implemented import and export, fixed some bugs

Revision 1984 - Directory Listing
Modified Thu Apr 29 22:20:36 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
reply_with_file(): fixed bugs, added "delete_after" option

Revision 1983 - Directory Listing
Modified Thu Apr 29 16:29:30 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Added some code so that you don't get a warning message if the scoring
file doesn't exist.

Revision 1982 - Directory Listing
Modified Wed Apr 28 16:03:21 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
Removed warning messages.

Revision 1981 - Directory Listing
Modified Wed Apr 28 15:52:15 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
fixed error in ur.template (the submit error hook)

Revision 1980 - Directory Listing
Modified Wed Apr 28 15:51:25 2004 UTC (9 years, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
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, 11 months ago) by jj
Original Path: trunk
Removed implicit assumption that when exporting a set, a set definition file
for it already existed.

Revision 1977 - Directory Listing
Modified Tue Apr 27 03:38:15 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
database import and export support

Revision 1976 - Directory Listing
Modified Tue Apr 27 03:37:56 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
return auto-created permission level records

Revision 1975 - Directory Listing
Modified Tue Apr 27 03:37:33 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
import support, error reporting

Revision 1974 - Directory Listing
Modified Tue Apr 27 02:45:14 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
nbsp doesn't barf on undefined values anymore

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

Revision 1972 - Directory Listing
Modified Tue Apr 27 02:10:33 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
added idsToString to ouput a concise string identifier for a record

Revision 1971 - Directory Listing
Modified Sun Apr 25 16:27:15 2004 UTC (9 years, 11 months ago) by sh002i
Original Path: trunk
wwdb is now for database import and export

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

This squashes bug 460

Revision 1969 - Directory Listing
Modified Thu Apr 22 22:17:17 2004 UTC (10 years ago) by gage
Original Path: trunk
Making this header file more compatible as well.

Revision 1968 - Directory Listing
Modified Thu Apr 22 22:15:09 2004 UTC (10 years ago) by gage
Original Path: trunk
Further modifications for the header file.

Revision 1967 - Directory Listing
Modified Thu Apr 22 21:02:07 2004 UTC (10 years ago) by gage
Original Path: trunk
Limited size of info panel to 30% so that sets with long names
display better.

Revision 1966 - Directory Listing
Modified Thu Apr 22 20:47:24 2004 UTC (10 years ago) by gage
Original Path: trunk
I made modifications to these files so that they will work with both
hardcopy and on the screen.  (The two files are currently identical.)

I think they provide a better model than the previous versions.

Revision 1965 - Directory Listing
Modified Thu Apr 22 17:37:05 2004 UTC (10 years ago) by jj
Original Path: trunk
Added defaultDisplayMatrixStyle from webwork 1, which lets people control
if they have parens or square brackets on the outsides of their matricies.
It is not really an answer evaluator variable, but it is put there since
that works and putting it with options doesn't.

Revision 1964 - Directory Listing
Modified Thu Apr 22 14:39:28 2004 UTC (10 years ago) by jj
Original Path: trunk
Added convention to beginproblem that point value of "" means that we don't
print the point value at all.  It will also supress printing of the filename
if someone is supposed to have filenames printed, which is appropriate for
the one known time this convention is used.

Revision 1963 - Directory Listing
Modified Tue Apr 20 20:17:46 2004 UTC (10 years ago) by gage
Original Path: trunk
Made a small change to the subroutine problemListRow which now handles
the case where the problem status has not been defined as a number.

Revision 1962 - Directory Listing
Modified Tue Apr 13 14:36:40 2004 UTC (10 years ago) by sh002i
Original Path: trunk
quoted hash keys with colons in them.

Revision 1961 - Directory Listing
Modified Sat Apr 10 17:22:01 2004 UTC (10 years ago) by sh002i
Original Path: trunk
changed ServerName to devel.webwork...

Revision 1960 - Directory Listing
Modified Fri Apr 9 20:19:25 2004 UTC (10 years ago) by sh002i
Original Path: trunk
fixed interface to not be so sucky, added delete function.

Revision 1959 - Directory Listing
Modified Fri Apr 9 20:18:51 2004 UTC (10 years ago) by sh002i
Original Path: trunk
finished, deleteCourse, added listCourses.

Revision 1958 - Directory Listing
Modified Fri Apr 9 20:18:29 2004 UTC (10 years ago) by sh002i
Original Path: trunk
now uses listCourses

Revision 1957 - Directory Listing
Modified Fri Apr 9 20:18:01 2004 UTC (10 years ago) by sh002i
Original Path: trunk
added pg root directory variable.

Revision 1956 - Directory Listing
Modified Wed Apr 7 22:18:46 2004 UTC (10 years ago) by gage
Original Path: trunk
Corrected typo in defining
class.

Revision 1955 - Directory Listing
Modified Wed Apr 7 22:13:01 2004 UTC (10 years ago) by gage
Original Path: trunk
Added colors to the "answers correct" and "answers incorrect" statements.

They are assigned to the class div.ResultsWithError and div.ResultsWithoutError

Revision 1954 - Directory Listing
Modified Wed Apr 7 02:17:34 2004 UTC (10 years ago) by gage
Original Path: trunk
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 (10 years ago) by gage
Original Path: trunk
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 1952 - Directory Listing
Modified Wed Apr 7 00:13:37 2004 UTC (10 years ago) by gage
Original Path: trunk
Made changes in wording about open date.  This foxes bug 429
(assuming that it really needed to be fixed).

Revision 1951 - Directory Listing
Modified Tue Apr 6 01:58:25 2004 UTC (10 years ago) by gage
Original Path: trunk
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 (10 years ago) by gage
Original Path: trunk
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 1949 - Directory Listing
Modified Mon Apr 5 20:21:48 2004 UTC (10 years ago) by jj
Original Path: trunk
Siblings were mislabeled as "Problem Sets", when they are a list of
individual problems.

Revision 1948 - Directory Listing
Modified Mon Apr 5 20:16:41 2004 UTC (10 years ago) by gage
Original Path: trunk
Fixed spacing in preview of merge file data

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

Revision 1946 - Directory Listing
Modified Mon Apr 5 18:01:09 2004 UTC (10 years ago) by gage
Original Path: trunk
Added item for printing timestamp at the bottom of the page.

Revision 1945 - Directory Listing
Modified Mon Apr 5 03:58:30 2004 UTC (10 years ago) by sh002i
Original Path: trunk
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 (10 years ago) by sh002i
Original Path: trunk
css fix

Revision 1943 - Directory Listing
Modified Sun Apr 4 20:05:34 2004 UTC (10 years ago) by jj
Original Path: trunk
Synched with ASU version.  Defunct functions deleted, new functions added,
and documentation added.

Revision 1942 - Directory Listing
Modified Sun Apr 4 17:08:45 2004 UTC (10 years ago) by jj
Original Path: trunk
Added timestamp to contentgenerator.  The format string can be passed to
it by the style parameter.

Revision 1941 - Directory Listing
Modified Sun Apr 4 15:56:59 2004 UTC (10 years ago) by jj
Original Path: trunk
WW 2 didn't like the top line.  Inserting a comment seems to fix it.  Also
corrected a typo.

Revision 1940 - Directory Listing
Modified Sun Apr 4 15:19:57 2004 UTC (10 years ago) by jj
Original Path: trunk
Improved display of multiple checkbox answers when displayed on the web
page (replacing null characters with commas).

Revision 1939 - Directory Listing
Modified Sun Apr 4 15:18:25 2004 UTC (10 years ago) by jj
Original Path: trunk
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 (10 years ago) by gage
Original Path: trunk
More changes in construction of urls.

Changed parameter acquistion in ShowAnswers

Revision 1937 - Directory Listing
Modified Sun Apr 4 03:59:33 2004 UTC (10 years ago) by gage
Original Path: trunk
More changes in construction of urls.

Changed the form calling ShowAnswers

Revision 1935 - Directory Listing
Modified Sun Apr 4 03:58:47 2004 UTC (10 years ago) by gage
Original Path: trunk
Made more changes allowing the conversion of urls

Revision 1934 - Directory Listing
Modified Sat Apr 3 16:24:42 2004 UTC (10 years ago) by gage
Original Path: trunk
Updated these files to generate urls from urlpath.

Revision 1933 - Directory Listing
Modified Sat Apr 3 16:24:18 2004 UTC (10 years ago) by gage
Original Path: trunk
Updating cgs to use urlpath

Revision 1932 - Directory Listing
Modified Sat Apr 3 15:44:55 2004 UTC (10 years ago) by jj
Original Path: trunk
Added support for useBaseTenLog for ww2.

Revision 1931 - Directory Listing
Modified Sun Mar 28 04:46:30 2004 UTC (10 years ago) by gage
Original Path: trunk
Converting to using URLPath

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

Revision 1929 - Directory Listing
Modified Sun Mar 28 03:26:55 2004 UTC (10 years ago) by gage
Original Path: trunk
most files are now updated -- remains to use URLpath to construct paths in
the instructor files.

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

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

Revision 1927 - Directory Listing
Modified Thu Mar 25 00:28:04 2004 UTC (10 years ago) by sh002i
Original Path: trunk
Added a new numeric "published" field to Set and UserSet record classes,
WW1Hash (with field name "publ"), and mksqldb.

Modified WW1Hash to promote fields that did not exist in the database to
the empty string, to deal with sets that do not have a "published"
field.

Revision 1926 - Directory Listing
Modified Thu Mar 25 00:27:56 2004 UTC (10 years ago) by sh002i
Original Path: trunk
Added a new numeric "published" field to Set and UserSet record classes,
WW1Hash (with field name "publ"), and mksqldb.

Revision 1925 - Directory Listing
Modified Wed Mar 24 15:59:02 2004 UTC (10 years ago) by sh002i
Original Path: trunk
added this

Revision 1924 - Directory Listing
Modified Tue Mar 23 22:59:53 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
urlpath/systemlink upgrades
LOTS of cleanup (but it still needs more)

Revision 1923 - Directory Listing
Modified Tue Mar 23 22:59:21 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
support for previewing temp files

Revision 1922 - Directory Listing
Modified Tue Mar 23 22:58:10 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
title improvements

Revision 1921 - Directory Listing
Modified Tue Mar 23 04:20:56 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
added programmatic format support

Revision 1920 - Directory Listing
Modified Tue Mar 23 01:55:14 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
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 1919 - Directory Listing
Modified Tue Mar 23 01:48:27 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
removed test

Revision 1918 - Directory Listing
Modified Tue Mar 23 01:48:07 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
added "Add Users" and "Set Assigner" links

Revision 1917 - Directory Listing
Modified Tue Mar 23 01:15:58 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
urlpath/request/systemlink updates

Revision 1916 - Directory Listing
Modified Tue Mar 23 01:11:59 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
removed appendixes, deny access if not has permission

Revision 1915 - Directory Listing
Modified Tue Mar 23 01:11:18 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
now using new urlpath stuff, etc.

Revision 1914 - Directory Listing
Modified Tue Mar 23 01:10:51 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
new interface to systemLink

Revision 1913 - Directory Listing
Modified Tue Mar 23 01:10:14 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
removed appendix

Revision 1912 - Directory Listing
Modified Tue Mar 23 01:09:26 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
fixed hierarchy problems with statistics and user detail.

Revision 1911 - Directory Listing
Modified Tue Mar 23 01:08:41 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
* systemLink changes: params can either specify param names in a list
(in which case all param values will be taken from the request) or
specify param names and values in a hash (in which case only undefined
values will be taken from the request). multiple values can be specified
for the same param by using an arrayref.

* added $self->reply_with_file() and $self->reply_with_redirect: these
can be called from pre_header_initialize to direct the CG to either send
a file or a location header. $self->{sendFile} and $self->{noContent},
as well as sending your own redirect headers, are now deprecated!

Revision 1910 - Directory Listing
Modified Tue Mar 23 01:04:02 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
handle undef CG result

Revision 1909 - Directory Listing
Modified Tue Mar 23 01:03:40 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
added ButtonRow class, child of FormLayout -- appropriate for your
centered submit button!

Revision 1908 - Directory Listing
Modified Fri Mar 19 21:56:35 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
URLpath compliance, some cleaning up of code. much more cleanup remains.

Revision 1907 - Directory Listing
Modified Fri Mar 19 21:56:10 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
the info box is no longer floating,

Revision 1906 - Directory Listing
Modified Fri Mar 19 21:54:45 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
fixed stupid errors in generated course.conf file.

Revision 1905 - Directory Listing
Modified Thu Mar 18 21:08:04 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
if $field is undefined in sortByname, the items are treated as strings
instead of objects.

Revision 1904 - Directory Listing
Modified Wed Mar 17 08:18:29 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
fixed FormLayout style

Revision 1903 - Directory Listing
Modified Wed Mar 17 08:17:52 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
URLPath conversion, cosmetic changes, work on info box UI

Revision 1902 - Directory Listing
Modified Wed Mar 17 08:17:19 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
URLPath conversion

Revision 1901 - Directory Listing
Modified Wed Mar 17 08:16:35 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
URLPath conversion, cosmetic changes.

Revision 1900 - Directory Listing
Modified Wed Mar 17 08:16:13 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
added dequote() function from cookbook

Revision 1899 - Directory Listing
Modified Wed Mar 17 08:15:51 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
fixed a path

Revision 1898 - Directory Listing
Modified Wed Mar 17 08:15:31 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
added note to remind me to change the way systemLink() works

Revision 1897 - Directory Listing
Modified Wed Mar 17 03:38:29 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
tentative solution to two of Frank Wolf's problems:

On Tue, 16 Mar 2004, Frank Wolfs, Physics and Astronomy, U of R wrote:

> This one works for a pdf file that is based on a set without graphics,
> but it does not solve the problem with viewing the graphics in problem
> sets or making a pdf for a set with graphics.  For example viewing a set
> with a gif file gives me the following error:
>
> [Tue Mar 16 22:11:59 2004] [error] [client 208.186.61.178] File does not
> exist:
> /home/apache/htdocs/home/webwork/courses/phy121s04/html/CAPA_Graphics/Gtype20$
>
> When I try to make a pdf file I get the following error for the same
> problem:
>
> ! Could not open file
> /home/webwork/courses/phy121s04/htmlCAPA_Graphics/Gtype20
> /prob01.eps, ignoring it.
>
> Note: for the fig, the path is correct after /home/apache/htdocs, while
> for the pes file, there is a / missing between html and CAPA_Graphics.

Revision 1896 - Directory Listing
Modified Wed Mar 17 00:45:28 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Changed the naming of arrays from ArRaY[0,0,0] to ArRaY__0:0:0:__

This involved changes in PG.pl and PGmorematrixmacros (ans_array_filter)

Made other cosmetic fixes to code.  Added names to many filters to help with
debugging.  It seems to work for now.

Revision 1895 - Directory Listing
Modified Tue Mar 16 20:00:23 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
disabled param munging -- this will prevent destruction of params with
':' and ',' in their names. closes bug #431.

Revision 1894 - Directory Listing
Modified Mon Mar 15 23:04:00 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
updated for new request format and URLpath

Revision 1893 - Directory Listing
Modified Mon Mar 15 23:03:46 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
fix in systemLink logic

Revision 1892 - Directory Listing
Modified Mon Mar 15 22:33:22 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
upgraded request usage.
i'm delaying changing how paths are generated until i do something about
what a mess this module is in other ways.

Revision 1891 - Directory Listing
Modified Mon Mar 15 22:29:54 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
comments

Revision 1890 - Directory Listing
Modified Mon Mar 15 22:24:02 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
made hardcopy_preselect_set a child of hardcopy (as it should be)

Revision 1889 - Directory Listing
Modified Mon Mar 15 21:35:12 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
conformance with unified request object, etc.
SMALL formatting cleanups.
this module needs some work, and there is stuff to factor out -- there
is a lot of copy-n-paste from other modules.

Revision 1888 - Directory Listing
Modified Mon Mar 15 21:13:06 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
nothing

Revision 1887 - Directory Listing
Modified Mon Mar 15 21:12:48 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
Welcome to the ContentGenerator skeleton!

This module is designed to help you in creating subclasses of
WeBWorK::ContentGenerator. Follow the instructions marked "SKEL" below
to create your very own module.

When you've finished, I recommend you do some cleanup. These modules are
much easier to maintain if they doesn't contain "vestigal" garbage code.
Remove the "SKEL" comments and anything else that that you're not using
in your module.

Revision 1886 - Directory Listing
Modified Mon Mar 15 20:26:12 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
removed unused WeBWorK::Constants

Revision 1885 - Directory Listing
Modified Mon Mar 15 20:17:35 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
Authen and Authz are now passed only a WeBWorK::Request.

Revision 1884 - Directory Listing
Modified Mon Mar 15 20:17:14 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
disabled debugging output

Revision 1883 - Directory Listing
Modified Mon Mar 15 04:10:36 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
urls are now generated with URLpath and systemLink

Revision 1882 - Directory Listing
Modified Mon Mar 15 04:09:56 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
changed interface for systemLink to be more regular. you can now specify
a list of parameters to attach to the URL and a list of alternate values
for any parameter.

cosmetic changes.

Revision 1881 - Directory Listing
Modified Mon Mar 15 03:50:05 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
I have made changes to the list of problems that uses the full path
instead of the relative call used previously.  Hope this will fix
the error described below.   I don't know whether this is the proper
fix or whether something fancier using urlPath is appropriate.


There is an error with the links for Set 7.
Clicking on problems in the
problem set will not link to the selected problem- it will link to the
problem set of the same number. (i.e. Selecting problem #2 will link
me to
Homework set #2 instead)


--Mike

Revision 1880 - Directory Listing
Modified Mon Mar 15 03:18:15 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
all template escapes now use CGI::Pretty for better readability. (feel
free to convert other content generators -- replace "use CGI" with "use
CGI::Pretty.

all template escapes now print output directly instead of returning
things. (good for pipelining!)

Revision 1879 - Directory Listing
Modified Mon Mar 15 02:25:11 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
removed old dispatch() function, renamed dispatch_new() -> dispatch(),
added upload handling code (from old dispatch function).

Revision 1878 - Directory Listing
Modified Sat Mar 13 05:09:20 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Temporary fix for problem with hardcopy.

	#my $singleSet = $r->urlpath->args("setID");
	my $singleSet;  #FIXME trace down how sets are being passed to hardcopy.


$singleSet was receiving  the notion 1/8
@sets was getting the correct value of the number of the set.
Looks like $singleSet is receivinv a hash??

The calling code needs to be checked over and reconciled with the responding code.

Revision 1877 - Directory Listing
Modified Thu Mar 11 03:27:11 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
updated to use the "unified request" object.
this file needs quite a bit of refactoring (along with Problem.pm).

Revision 1876 - Directory Listing
Modified Thu Mar 11 03:19:34 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
updated to use the "unified request" object.
removed unused variables and subroutines.
fixed some style problems.

Revision 1875 - Directory Listing
Modified Thu Mar 11 03:15:03 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
updated to use the "unified request" object.
removed unused variables and subroutines.

Revision 1874 - Directory Listing
Modified Thu Mar 11 03:10:06 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
removed incorrect code from Feedback.pm, as well as several unused
variables, closing Bug #427. updated to use the "unified request"
object.

Revision 1873 - Directory Listing
Modified Thu Mar 11 03:07:46 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
finished extensive documentation and reorganzied file. this should be
much more usable now. also, the templater is now called from the new
content() method (instead of having special logic in go()).

Revision 1872 - Directory Listing
Modified Wed Mar 10 16:00:16 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
removed outdated documentation about manually creating course.conf file.

Revision 1871 - Directory Listing
Modified Wed Mar 10 02:51:57 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
i hate it when i think i've tested something, and it turns out i didn't.

Revision 1870 - Directory Listing
Modified Wed Mar 10 02:31:05 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
templating code from ContentGenerator.pm is now here.

Revision 1869 - Directory Listing
Modified Wed Mar 10 02:30:32 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
removed templating code. (it's now in lib/WeBWorK/Template.pm.)
small fixes in links().
$ce/$db/$authz now taken from $r instead of from $self in many methods.
loginstatus() now uses urlpath.
CSS-ization.

Revision 1868 - Directory Listing
Modified Wed Mar 10 02:26:26 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
formatting improvements: template now uses tabs, just like everything
else. should be easier to edit in the future.

Revision 1867 - Directory Listing
Modified Tue Mar 9 15:50:03 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
disabled path() and title() so implementations in superclass will be
used instead.

Revision 1866 - Directory Listing
Modified Tue Mar 9 15:49:28 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
Added systemLink() method to take a URLPath and tack on the location
prefix and the authen args (if desired). Allows one to override any of
the authen args with new values (i.e. for changing effectiveUser).

Reimplemented links() using URLPaths and calls to systemLink() as a
test. Also, the output is now styled as nested unordered lists in the
class LinkMenu (see stylesheet).

Revision 1865 - Directory Listing
Modified Tue Mar 9 15:42:37 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
put "grades" in alphabetical order. added newFromModule for creating a
URLPath to a particular module with particular args. reorganized the
code somewhat. constructors now throw an exception if they can't find an
appropriate path type.

Revision 1864 - Directory Listing
Modified Tue Mar 9 15:40:18 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
more work on stylesheet

Revision 1863 - Directory Listing
Modified Sun Mar 7 02:29:25 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Added a primitive file reading capability to Grader.pm.

Now you can attach the message from an email file
called   report_grades.msg   in the email directory which is  merged with the
file report_grades_data.csv  in the scoring directory.

there is a lot of code borrowed from SendMail and from Instructor which can be factored out.

It provides a primitive version of a feature that has been requested --
to report exam scores as well as webwork scores.

Revision 1862 - Directory Listing
Modified Sat Mar 6 21:49:48 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
disabled path and title methods.

Revision 1861 - Directory Listing
Modified Sat Mar 6 21:49:32 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
added documentation, added support for a new "textonly" argument to the
"path" macro.

Revision 1860 - Directory Listing
Modified Sat Mar 6 21:47:05 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
the document title is now calculated using the "path" macro

Revision 1859 - Directory Listing
Modified Sat Mar 6 21:41:44 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
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 1858 - Directory Listing
Modified Sat Mar 6 18:50:31 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Added support for the new module Grades.pm which supports student grades

Also changed ProblemSets.pm so that it welcomes the effectiveUser rather than the user.

Revision 1857 - Directory Listing
Modified Sat Mar 6 18:50:00 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Added support for the new module Grades.pm which supports student grades

Revision 1856 - Directory Listing
Modified Sat Mar 6 17:36:29 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
*** empty log message ***

Revision 1855 - Directory Listing
Modified Sat Mar 6 17:35:27 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Allow at most two digit
numbers

Revision 1854 - Directory Listing
Modified Sat Mar 6 17:32:36 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Removed unneeded
formatting code

Revision 1853 - Directory Listing
Modified Sat Mar 6 17:29:07 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
another typo

Revision 1852 - Directory Listing
Modified Sat Mar 6 17:25:32 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Fixed threeSpaceFill
routine to work with
strings.

Revision 1851 - Directory Listing
Modified Sat Mar 6 17:21:22 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
typo

Revision 1850 - Directory Listing
Modified Sat Mar 6 17:16:00 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
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 (10 years, 1 month ago) by gage
Original Path: trunk
need to calculate this
value as well.  oops.

Revision 1848 - Directory Listing
Modified Sat Mar 6 16:02:17 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Added 0 bracket to
number of attempts.

Revision 1847 - Directory Listing
Modified Sat Mar 6 15:55:07 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
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 1846 - Directory Listing
Modified Sat Mar 6 00:48:16 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Changes to the ways links are constructed on this, the front page,
of WeBWorK.  I believe this is where links missing webwork2 or missing
the course name started to appear.  In fact I'm surprised it worked at
all.

the current patches are hacks.  This page needs to be adapted to
URLpath.
It would be a good script to do next.

--Mike

Revision 1845 - Directory Listing
Modified Fri Mar 5 05:43:09 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Added timing
y

Revision 1844 - Directory Listing
Modified Fri Mar 5 05:03:44 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Has only one subroutine at the moment
update_global_user   creates a global user if none existed before and assigns
all existing sets to the global user.

Revision 1843 - Directory Listing
Modified Fri Mar 5 05:01:37 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
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 1842 - Directory Listing
Modified Fri Mar 5 04:16:19 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
added URLPath and Request, for dispatch_new

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

Revision 1840 - Directory Listing
Modified Thu Mar 4 21:05:04 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
removed debugging warning, added class="ScrollingRecordList"

Revision 1839 - Directory Listing
Modified Thu Mar 4 21:04:02 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
assignment functions now return a list of errors that occured during
assignment. these are, for example, used in Assigner.pm to display
errors.

Revision 1838 - Directory Listing
Modified Thu Mar 4 21:03:04 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
changed constructor to work with dispatch_new

Revision 1837 - Directory Listing
Modified Thu Mar 4 21:02:27 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
calls dispatch_new instead of dispatch. removed entire "Call Stack" from
error output, since it doesn't work right.

Revision 1836 - Directory Listing
Modified Thu Mar 4 21:00:51 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
added dispatch_new function. w00t!

Revision 1835 - Directory Listing
Modified Thu Mar 4 21:00:21 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
fixed some indentation problems (oddly, this file is indented with
spaces, one space per indent level) and reformatted some of the shorter
CSS rules to fit on one line.

added styles for "new standard classes" FormLayout, ResultsWithError,
and ResultsWithoutError.

added styles for ScrollingListRecord widget.

Revision 1834 - Directory Listing
Modified Thu Mar 4 17:41:06 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Added comments

Revision 1833 - Directory Listing
Modified Thu Mar 4 17:40:04 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Rolled back previous addition of the due date.

The due date can be specified in the setHeader message.  It does not
need to be hard coded into ProblemSet.pm

--Mike

Revision 1832 - Directory Listing
Modified Thu Mar 4 17:34:00 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Make sure that screenSetHeader.pg will work with both html and hardcopy
output.

This fixes bug #426

Revision 1831 - Directory Listing
Modified Thu Mar 4 13:06:32 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Changed documentation spacing

Revision 1830 - Directory Listing
Modified Thu Mar 4 04:43:44 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Changed the text of this file so that it doesn't bomb when used with hard copy

Revision 1829 - Directory Listing
Modified Thu Mar 4 04:36:08 2004 UTC (10 years, 1 month ago) by gage
Original Path: trunk
Cleaning up commented out code.

Added a "due date is...." message to the top of the ProblemSet page.

Revision 1828 - Directory Listing
Modified Wed Mar 3 20:16:35 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
UI cleanup

Revision 1827 - Directory Listing
Modified Mon Mar 1 06:35:00 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
WeBWorK::HTML::ScrollingRecordList - HTML widget for a scrolling list of
records. uses FormatRecords and SortRecords. see sample usage in
Assigner.pm.

Revision 1826 - Directory Listing
Modified Mon Mar 1 06:33:45 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
refinements

Revision 1825 - Directory Listing
Modified Mon Mar 1 06:33:34 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
implemented UI using ScrollingRecordList

Revision 1824 - Directory Listing
Modified Mon Mar 1 03:52:43 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
added documentation

Revision 1823 - Directory Listing
Modified Mon Mar 1 00:49:25 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
Added utility modules for sorting lists of records and formatting
records as strings (WeBWorK::Utils::SortRecords and ::FormatRecords,
respectively).

These modules are important because they not only know how to sort or
format records, they can also be queried for a list of sorts or formats
suitable for display, i.e. in popup menus near the list of records.

These modules are being used as the basis for a module which
encapsulates a "record list" widget.

Revision 1822 - Directory Listing
Modified Fri Feb 27 19:01:40 2004 UTC (10 years, 1 month ago) by sh002i
Original Path: trunk
changed default courseURLRoot to /webwork2_courses/$courseName to
correspond to the latest ApacheSetup instructions.

Revision 1821 - Directory Listing
Modified Sat Feb 21 10:15:58 2004 UTC (10 years, 2 months ago) by toenail
Original Path: trunk
Changed parameter calls to Error.pm, now sent using $r

Revision 1820 - Directory Listing
Modified Sat Feb 21 10:13:23 2004 UTC (10 years, 2 months ago) by toenail
Original Path: trunk
Eliminated direct parameter calls, error message now passed through $r

Revision 1819 - Directory Listing
Modified Thu Feb 19 22:47:02 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
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 (10 years, 2 months ago) by gage
Original Path: trunk
Added user_id (the login id) to the list in scoring.

Revision 1817 - Directory Listing
Modified Wed Feb 18 18:25:25 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
removed local copy of ImageGenerator -- the system now uses the one from
PG.

Revision 1815 - Directory Listing
Modified Wed Feb 18 05:47:33 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
added $Global::equationURL and $Global::equationCacheDirectory settings

Revision 1814 - Directory Listing
Modified Wed Feb 18 05:47:19 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
use new $Global::equationURL and $Global::equationCacheDirectory
settings instead of hardcoding "equations/"

Revision 1813 - Directory Listing
Modified Wed Feb 18 05:35:46 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
removed code that monkeys with the pg directory. It is a SHARED resource
and should not be modified by the likes of WW1.

Revision 1812 - Directory Listing
Modified Mon Feb 16 20:34:01 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
This is a new attempt to fix the problem that there was no
preview string if the units were incorrect.  The previous fix
caused difficulties if strings were entered for numerical answers.

The new code has been added to the subroutine fix_answers_for_display
which already performed answer cleanup of various kinds.

Revision 1811 - Directory Listing
Modified Mon Feb 16 03:37:02 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Added nbsp method to
ContentGenerator.pm

Revision 1810 - Directory Listing
Modified Mon Feb 16 03:16:50 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
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 (10 years, 2 months ago) by gage
Original Path: trunk
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 1807 - Directory Listing
Modified Sat Feb 14 04:24:16 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
release notes updated

Revision 1806 - Directory Listing
Modified Sat Feb 14 04:07:37 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
a few more fixes

Revision 1805 - Directory Listing
Modified Sat Feb 14 00:56:00 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
addcourse improvements:

FIXED: we should create a stub course.conf with dbLayout set and "other things
FIXED: you might want to change" commented out. then we can kill the "don't
FIXED: forget to set dbLayout to "sql" in course.conf!" message.

FIXED: setting global user ID in new courses:

FIXED: add a --global-user switch to addcourse to override that value
FIXED: (and add the override to course.conf)
FIXED: warn if the file specified by --users doesn't contain a user with the global user ID

Revision 1804 - Directory Listing
Modified Sat Feb 14 00:55:17 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
added slowness warning

Revision 1803 - Directory Listing
Modified Sat Feb 14 00:54:56 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
added "Home" content generator to give a list of courses

Revision 1802 - Directory Listing
Modified Sat Feb 14 00:54:13 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
added global_user

Revision 1801 - Directory Listing
Modified Sat Feb 14 00:54:02 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
clarity changes, changed default oldProf URL, added $dbLayoutName
setting for addcourse, default dbLayout is gdbm

Revision 1800 - Directory Listing
Modified Sat Feb 14 00:53:17 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
improved documentation on globalUserID, changed default to "global_user"

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

Revision 1798 - Directory Listing
Modified Thu Feb 12 20:55:10 2004 UTC (10 years, 2 months ago) by toenail
Original Path: trunk
added <pre> tags so the viewed message is the same as in the submitted email

Revision 1797 - Directory Listing
Modified Thu Feb 12 20:26:26 2004 UTC (10 years, 2 months ago) by toenail
Original Path: trunk
Reordered pre-filters in NUM_CMP to allow for latex previews of answers with no units

Revision 1796 - Directory Listing
Modified Thu Feb 12 19:23:43 2004 UTC (10 years, 2 months ago) by toenail
Original Path: trunk
fixed incorrect error message parsing by Instructor/Index.pm

Revision 1795 - Directory Listing
Modified Thu Feb 12 19:22:50 2004 UTC (10 years, 2 months ago) by toenail
Original Path: trunk
fixed incorrect error handling by Instructor/Index.pm

Revision 1794 - Directory Listing
Modified Thu Feb 12 14:36:56 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
replaced previous file which had a gremlin somewhere

Revision 1793 - Directory Listing
Modified Thu Feb 12 14:33:07 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Changed addresses to login_info.txt and course_info.txt

These files must be in the template directory.

Revision 1792 - Directory Listing
Modified Thu Feb 12 14:26:18 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Commented out extra brace which kept this from compiling. :-)
--Mike

Revision 1791 - Directory Listing
Modified Thu Feb 12 14:23:36 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Added RECORD_FORM_DATA for making sticky form data which
is not specifically related to answers.

Revision 1790 - Directory Listing
Modified Thu Feb 12 04:26:51 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
added timing code

Revision 1789 - Directory Listing
Modified Thu Feb 12 04:26:17 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
removed /test

Revision 1788 - Directory Listing
Modified Thu Feb 12 04:26:04 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
better placeholder page

Revision 1787 - Directory Listing
Modified Thu Feb 12 04:25:47 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
strings containing email addresses are now single-quoted
globalUserID is now "globaluser"

Revision 1786 - Directory Listing
Modified Mon Feb 9 18:59:32 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
Removed changes made in last revision. (whoops)

Revision 1785 - Directory Listing
Modified Mon Feb 9 17:18:39 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Modifications to checkbox_cmp to include preview_latex_string.

this completes the squashing of bug #400

Revision 1784 - Directory Listing
Modified Mon Feb 9 17:09:06 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Made changes to the check box macros so that they will remain
sticky when more than one check box is checked.
Involves splitting a null separated string ( or perhaps converting
a reference to an array).  uses a new subroutine contained_in(elem,
array_or_arrray_ref_or_null_separated_string)

this resolves part of bug #400

--Mike

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

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

Revision 1781 - Directory Listing
Modified Fri Feb 6 17:27:07 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
dispatcher can now handle multiple slashes.

Revision 1780 - Directory Listing
Modified Fri Feb 6 02:55:55 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Corrected format of one line.

--Mike

Revision 1779 - Directory Listing
Modified Fri Feb 6 02:52:42 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Allow a 256 error from dvipng.  This seems to be necessary on webwork.math.rochester.edu, so I'm commiting
it to the CVS as well to keep the two systems in sync.

--Mike

Revision 1778 - Directory Listing
Modified Thu Feb 5 19:15:16 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
added unrestricted_load() for IO.pl, bringing compatibility with the
PG system in CVS.

Revision 1777 - Directory Listing
Modified Thu Feb 5 00:05:11 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
Closes bugs #345 and #293. From bugzilla: "This should work now. The
docs for Apache::Cookie claim that the module will accept relative
expiration dates such as "+30D" and "+1H", but apparently, this causes
the expiration date to be set to "now", which Galeon apparently didn't
mind but caused Safari and MSIE to throw the cookie away."

Revision 1776 - Directory Listing
Modified Wed Feb 4 13:22:56 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Fixed flaw in the previous correction meant to protect against
undefined student answers.

Revision 1775 - Directory Listing
Modified Wed Feb 4 00:32:12 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Made changes at line 552 which check that the original student answer has actually been
defined.  This should be guaranteed by the answer evaluators but ........

Revision 1774 - Directory Listing
Modified Tue Feb 3 01:22:00 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
A method for displaying equations using dvipng which
can be used by students to enter symbolic data in
answers.  This is very much experimental still.

--Mike

Revision 1773 - Directory Listing
Modified Tue Feb 3 00:53:31 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
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 1772 - Directory Listing
Modified Tue Feb 3 00:49:19 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
getAll works for problem as well as problem_user

Revision 1771 - Directory Listing
Modified Mon Feb 2 23:12:06 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
Implemented the getAll method, to allow fast access to all problems in a
set. This speeds up Stats immensely.

Revision 1770 - Directory Listing
Modified Mon Feb 2 23:11:13 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
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 (10 years, 2 months ago) by gage
Original Path: trunk
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 (10 years, 2 months ago) by gage
Original Path: trunk
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 (10 years, 2 months ago) by gage
Original Path: trunk
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 (10 years, 2 months ago) by gage
Original Path: trunk
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 1765 - Directory Listing
Modified Fri Jan 30 18:04:37 2004 UTC (10 years, 2 months ago) by jj
Original Path: trunk
Fix bug from last fix, and a second bug caused by $Global::htmlModeDefault
being accidentally called $Global::htmldisplayModeDefault in this file.

Revision 1764 - Directory Listing
Modified Fri Jan 30 15:28:46 2004 UTC (10 years, 2 months ago) by jj
Original Path: trunk
Some sites use only one display mode.  In that case, the "choice of one"
display mode should not be displayed.

Revision 1763 - Directory Listing
Modified Wed Jan 28 21:56:26 2004 UTC (10 years, 2 months ago) by toenail
Original Path: trunk
Content Generator to create an error message while still logging the user in.

Revision 1762 - Directory Listing
Modified Wed Jan 28 04:04:47 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
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 (10 years, 2 months ago) by gage
Original Path: trunk
Added the due date when the problem has been assigned.

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

Revision 1759 - Directory Listing
Modified Mon Jan 26 16:59:30 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Minor change to the definition of the timer

Revision 1758 - Directory Listing
Modified Mon Jan 26 16:36:29 2004 UTC (10 years, 2 months ago) by jj
Original Path: trunk
If LaTeX formula ends in a backslash after removing training spaces,
then we removed too much space, so we add a space to the end of it so
it ends '\ \)'.

Revision 1757 - Directory Listing
Modified Sun Jan 25 20:04:20 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Checked to make sure parameter is
defined before using it.

Revision 1756 - Directory Listing
Modified Sun Jan 25 20:00:14 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Removed extraneous warning message

Revision 1755 - Directory Listing
Modified Sun Jan 25 19:56:09 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Check that arguments have been
defined at line 417

Revision 1754 - Directory Listing
Modified Sun Jan 25 19:46:54 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
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 (10 years, 2 months ago) by gage
Original Path: trunk
Cosmetic modification changed "edit set" to "edit sets"

Revision 1752 - Directory Listing
Modified Sun Jan 25 18:46:56 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Changed parsehilight to put
colored box around error.

Revision 1751 - Directory Listing
Modified Sun Jan 25 18:46:29 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
course_info and login_info paths
are now defined relative to the
templates directory for safety.

Revision 1750 - Directory Listing
Modified Sun Jan 25 18:20:14 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
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 (10 years, 2 months ago) by gage
Original Path: trunk
Cosmetic change   changed "edit" to "edit sets" for clarity in link name.

Revision 1748 - Directory Listing
Modified Sun Jan 25 18:16:27 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Cosmetic change textfield to text to correct an error in html output.

Revision 1747 - Directory Listing
Modified Sun Jan 25 15:53:23 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
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 (10 years, 2 months ago) by sh002i
Original Path: trunk
Only collect nonempty user IDs for assigning. Closes bug #373

Revision 1745 - Directory Listing
Modified Fri Jan 23 22:04:20 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Removed warning if a single tie fails.  If many ties fail
then the processes dies with a message of how many ties
were attempted.
--Mike

Revision 1744 - Directory Listing
Modified Fri Jan 23 21:46:37 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Make sure that if one message is reported for answers then all
messages are reported (even if some of the messages are blank).
This was clearly a typo in the original code where a decision was
made on $answerMessages instead of $showAnswers.

This fixes bug #370

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

Revision 1742 - Directory Listing
Modified Fri Jan 23 21:03:08 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
fixed a bug in assignSetsToUsers

Revision 1741 - Directory Listing
Modified Fri Jan 23 21:02:22 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
moved logout button to be in loginstatus escape.

Revision 1740 - Directory Listing
Modified Fri Jan 23 20:23:37 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Changed orange hilighting to a yellow box by replacing
color : by background-color:

Revision 1739 - Directory Listing
Modified Fri Jan 23 16:49:09 2004 UTC (10 years, 2 months ago) by sh002i
Original Path: trunk
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 1738 - Directory Listing
Modified Fri Jan 23 13:13:53 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Problem marked correct only if score is 1.  Previously any
score above 0 was marked correct.

Revision 1737 - Directory Listing
Modified Fri Jan 23 13:12:45 2004 UTC (10 years, 2 months ago) by gage
Original Path: trunk
Added CSS class parsehighlite to mark the error
in a string.

Revision 1736 - Directory Listing
Modified Thu Jan 22 00:25:17 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
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 (10 years, 3 months ago) by sh002i
Original Path: trunk
added more timing messages.

Revision 1734 - Directory Listing
Modified Wed Jan 21 20:53:18 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
Cleaned up, documented, and optimized assignment methods.
Added assignSetsToUsers() and unassignSetsFromUsers() methods.

Revision 1733 - Directory Listing
Modified Wed Jan 21 19:57:05 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
added some timing code

Revision 1732 - Directory Listing
Modified Wed Jan 21 19:55:54 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
changed text of link to instructor tools. (it is considered bad style to
label links "Link to ...")

Revision 1731 - Directory Listing
Modified Wed Jan 21 19:47:38 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
improved the formatting of error messages slightly.

Revision 1730 - Directory Listing
Modified Wed Jan 21 01:16:15 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
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 (10 years, 3 months ago) by gage
Original Path: trunk
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 (10 years, 3 months ago) by gage
Original Path: trunk
Corrected link to file transfer page.  This squashes bug #346

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

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

Revision 1725 - Directory Listing
Modified Mon Jan 19 04:23:42 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Put "guest user" button in a separate form.

Despite the fact that it was the second button
a return (in most browsers) would trigger
the practice login rather than the standard one,
much to the users surprise.
--Mike

Revision 1724 - Directory Listing
Modified Sun Jan 18 03:39:06 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Fixed some errors in my first fix for Authen.pm
The goal is to make sure that the existance of a users
record and of a users status is checked before it is used.

Authen.pm could use some cleaning up.  Probably best to do this
when thinking about how one would plug this into LDAP or to
moodle's authenticator.

Revision 1723 - Directory Listing
Modified Sun Jan 18 00:12:30 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
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 1722 - Directory Listing
Modified Sun Jan 18 00:11:13 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
A link to the instructor tools is placed prominately at the top of the page.
It is identical to the link to instructor tools on the left.
This responds to bug #325, but may not close it completely.

Revision 1721 - Directory Listing
Modified Sun Jan 18 00:04:59 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
If the users status has not been defined it is set to 'C'.
I'm not sure why the status might be undefined, but this seems
to be the least damaging assumption.

A warning is issued.

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

Revision 1719 - Directory Listing
Modified Sat Jan 17 17:05:53 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Users who have been dropped from the course can not login with a password.

this addresses bug: 301

Revision 1718 - Directory Listing
Modified Sat Jan 17 16:38:40 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Colorized responses to changing passwords.  Red for things which don't work
and green for those that did.
--Mike

Revision 1717 - Directory Listing
Modified Sat Jan 17 16:29:52 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Cosmetic modifications to the user interface.  Made "instructor tools" and
"problem sets" larger in the left margin.

This addressed bug 323 but may not solve it.

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

Revision 1715 - Directory Listing
Modified Fri Jan 16 01:14:49 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Cosmetic tweak to title.  Added the course name.

Revision 1714 - Directory Listing
Modified Fri Jan 16 00:43:06 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Added a larger title to this page.

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

Revision 1712 - Directory Listing
Modified Thu Jan 15 22:45:34 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
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 (10 years, 3 months ago) by gage
Original Path: trunk
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 1710 - Directory Listing
Modified Tue Jan 6 14:04:34 2004 UTC (10 years, 3 months ago) by apizer
Original Path: trunk
fixed bug in call to Romberg routine.  Romberg now requires parameters
of the form "level => 8".  This was fixed previously I thought. Not sure
how the fix was lost.

Arnie

Revision 1708 - Directory Listing
Modified Mon Jan 5 13:51:51 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
removed <xml? line from the top of the file that is giving
the newest msie headaches.  The line is from bbedit and gives
info on the character set begin used.  msie tries to interpret
it as xml and gets confused.  Other browsers, including msie on
the mac ignore it.

--Mike

Revision 1707 - Directory Listing
Modified Mon Jan 5 06:56:45 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
fixed a mispelling

Revision 1706 - Directory Listing
Modified Mon Jan 5 06:55:38 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
changed copyright dates to 2000-2004

Revision 1705 - Directory Listing
Modified Mon Jan 5 01:40:43 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
dumped from wiki

Revision 1704 - Directory Listing
Modified Mon Jan 5 01:06:06 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
removed some rochester-specific stuff. in particular, this should
prevent our SMTP server from getting hammered by lazy sites.

Revision 1703 - Directory Listing
Modified Mon Jan 5 01:02:41 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
removed lingering references to "webwork-modperl", since we're calling
this product "webwork2" now. soon we should change the name of the CVS
module to "webwork2" as well.

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

Revision 1701 - Directory Listing
Modified Mon Jan 5 00:11:07 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
removed junk

Revision 1700 - Directory Listing
Modified Mon Jan 5 00:10:18 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
fixed a syntax error

Revision 1699 - Directory Listing
Modified Sun Jan 4 08:18:20 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
added default classlist file

Revision 1698 - Directory Listing
Modified Sun Jan 4 07:20:33 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
improved documentation in database.conf.dist and addcourse. added
mksqldb utility.

Revision 1697 - Directory Listing
Modified Sat Jan 3 21:00:28 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
changed calls to WeBWorK::DB::new, removed obsolete config files

Revision 1696 - Directory Listing
Modified Sat Jan 3 20:07:03 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
UPDATE YOUR CONFIG FILES! (global.conf.dist, database.conf.dist)

Made changes to support the storage of multiple database layouts in a
single course environment. Database layouts are now stored in a hash
named %dbLayouts in database.conf, and the default layout is aliased to
*dbLayout (see comments in database.conf.dist and global.conf.dist)
sql.conf and gdbm.conf are no longer used.

Support the selection of a specific database layout when instantiating
WeBWorK::DB. WeBWorK::DB now takes a reference to a database layout
rather than an entire course environment.

All calls to WeBWorK::DB::new were updated to pass the correct argument.

Revision 1695 - Directory Listing
Modified Sat Jan 3 19:58:15 2004 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
cleaned up error reporting in the include() function. sadly, it still
doesn't work as expected (see FIXME in the source)

Revision 1694 - Directory Listing
Modified Sat Jan 3 17:12:55 2004 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Modified line at 344 to check whether $key is defined.
If $key was not defined then there was a reported error
in defining $unusedCookieMatched.

--Mike

Revision 1693 - Directory Listing
Modified Wed Dec 31 03:28:13 2003 UTC (10 years, 3 months ago) by gage
Original Path: trunk
made changes in checking for permissionLevel so that zero
was recognized as a legitimate level.
--Mike

Revision 1692 - Directory Listing
Modified Sun Dec 28 22:33:33 2003 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Added AliasMatch redirect for webwork2_files so that it doesn't have to be
configured separately.

--Mike

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

--Mike

Revision 1690 - Directory Listing
Modified Sun Dec 28 19:46:57 2003 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Zeroed the variable storing the responses to questionnaires.  Should
fix the error on questionnaires revealed by the persistance of mod_perl
modules.

Changed warning message in dangerousMacros.pl to more accurately describe
what is wrong when the gif2eps script cannot be executed.  (Based on actual
experience running a course on webwork.math.rochester.edu -- I couldn't remember
what my own warning message implied.)
--Mike

Revision 1689 - Directory Listing
Modified Sat Dec 27 21:41:56 2003 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
added missing POD =back directive

Revision 1688 - Directory Listing
Modified Sat Dec 27 21:34:04 2003 UTC (10 years, 3 months ago) by gage
Original Path: trunk
Added error messages that should make it easier to tell if
certain directories have not been created. Also checks that
files are actually created and written at each step of the process.
--Mike

Revision 1687 - Directory Listing
Modified Fri Dec 26 15:00:02 2003 UTC (10 years, 3 months ago) by gage
Original Path: trunk
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 (10 years, 3 months ago) by gage
Original Path: trunk
Added error checking to insure that the open_date, due_date and answer_date
are in correct order.

This closes bug #73
--Mike

Revision 1685 - Directory Listing
Modified Thu Dec 25 04:17:18 2003 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
We now send a cookie if any of these conditions are met:
(a) a cookie was used for authentication
(b) a cookie was sent but not used for authentication, and the credentials
used for authentication were the same as those in the cookie
(c) the user asked to have a cookie sent and is not a guest user.

Now whenever we're not sending a "real" cookie, we send a cookie
with no user or key data that expires "one day ago".

Revision 1684 - Directory Listing
Modified Wed Dec 24 00:59:25 2003 UTC (10 years, 3 months ago) by sh002i
Original Path: trunk
added automatic guest logins:

With the presence of a "login_practice_user" paramter, Authen.pm will
log the user in using the first unused practice user account. Login.pm
now displays a "Guest Login" button that sends the above parameter, but
only when the course has practice users. Currently, cookies are not sent
for practice users.

Revision 1683 - Directory Listing
Modified Tue Dec 23 06:03:33 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
added cookie support for authenticaion. the "WeBWorKAuthentication"
cookie is used to retrieve the "user" and "key" parameters. the cookie
is sent if a "send_cookie" parameter is present, and persists for 30
days unless canceled by an explicit "logout".

Revision 1682 - Directory Listing
Modified Tue Dec 23 05:25:09 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
small amount of cleanup (to prepare for cookie patch)

Revision 1681 - Directory Listing
Modified Thu Dec 18 23:15:34 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
- 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 (10 years, 4 months ago) by sh002i
Original Path: trunk
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 (10 years, 4 months ago) by sh002i
Original Path: trunk
add explicit "view" and "edit" links, closing bug #275

Revision 1678 - Directory Listing
Modified Thu Dec 18 02:35:29 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
(possible) fix for bug #286

Revision 1677 - Directory Listing
Modified Thu Dec 18 02:18:37 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
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 (10 years, 4 months ago) by sh002i
Original Path: trunk
moved a comment

Revision 1675 - Directory Listing
Modified Wed Dec 17 21:45:17 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
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 1674 - Directory Listing
Modified Wed Dec 17 21:24:38 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
additional comments in source code

Revision 1673 - Directory Listing
Modified Wed Dec 17 21:24:06 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
getAll() now returns problems in the order that they are specified in
the database, instead of in order by problem ID. This is the behavior of
gets() as well.

Revision 1672 - Directory Listing
Modified Wed Dec 17 20:21:15 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
added "getAllGlobalProblems", similar to "getAllUserProblems".

Revision 1671 - Directory Listing
Modified Wed Dec 17 19:04:58 2003 UTC (10 years, 4 months ago) by apizer
Original Path: trunk
scoreMessaage no longer prints to STDERR, only to log file.  For some reason
printing to STDERR really slowed things down on some systems.

Arnie

Revision 1670 - Directory Listing
Modified Sat Dec 13 01:44:48 2003 UTC (10 years, 4 months ago) by gage
Original Path: trunk
Fixing cosmetic error at line 68 -- replaced @result[0] by
$result[0];
--Mike

Revision 1669 - Directory Listing
Modified Sat Dec 13 01:30:20 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
fixed stupid bug (#292)

Revision 1668 - Directory Listing
Modified Fri Dec 12 20:23:27 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
Added DB: getAllUserProblems; WW1Hash: getAll, getAllNoFilter;
GlobalTableEmulator: getAll.

Together, these functions allow efficient access to all problems in a
given set.

Revision 1667 - Directory Listing
Modified Fri Dec 12 02:24:30 2003 UTC (10 years, 4 months ago) by gage
Original Path: trunk
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 1666 - Directory Listing
Modified Thu Dec 11 22:04:08 2003 UTC (10 years, 4 months ago) by gage
Original Path: trunk
removed <?xml   header from template which was confusing IE6 (but not
IE on the mac or mozilla etc.  apparently they ignore
<?xml version="1.0" encoding="utf-8"?>
at the beginning of a file.

--Mike

Revision 1665 - Directory Listing
Modified Wed Dec 10 18:50:36 2003 UTC (10 years, 4 months ago) by gage
Original Path: trunk
Changed the way timing marks are implemented.  They are made if a
timer has been defined for the file.
--Mike

Revision 1664 - Directory Listing
Modified Tue Dec 9 02:42:28 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
added "count" methods to the rest of the schemas. updated documentation.

Revision 1663 - Directory Listing
Modified Tue Dec 9 01:12:32 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
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 1662 - Directory Listing
Modified Mon Dec 8 23:45:07 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
playing with header formats

Revision 1661 - Directory Listing
Modified Mon Dec 8 23:07:46 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
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 (10 years, 4 months ago) by sh002i
Original Path: trunk
implemented an "Import Multiple Sets" feature.

Revision 1659 - Directory Listing
Modified Thu Dec 4 20:23:51 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
typo

Revision 1658 - Directory Listing
Modified Thu Dec 4 20:23:25 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
squashed some instances of the "0 is not a true value" bug that keeps
creeping in.

Revision 1657 - Directory Listing
Modified Thu Dec 4 18:31:55 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
removed debugging statements

Revision 1656 - Directory Listing
Modified Thu Dec 4 06:19:17 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
reduced number of return points

Revision 1655 - Directory Listing
Modified Thu Dec 4 06:17:32 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
databases are not created on first read

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

Revision 1653 - Directory Listing
Modified Thu Dec 4 06:03:25 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
addcourse - add a course

addcourse [--users=FILE [--professors=USERID[,USERID]...] ]
[--templates=DIR] COURSEID

Add a course to the courses directory. The required directories will be
created. Optionally, a database can be populated with users and the
F<templates> directory can be populated with the contents of another
directory. Also, one or more users can be granted professor privileges.

Revision 1652 - Directory Listing
Modified Wed Dec 3 20:32:50 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
added getsNoFilter, which will return a list of set or problem records
without filtering out global data first. (used by getMergedSets)

Revision 1651 - Directory Listing
Modified Wed Dec 3 20:31:49 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
fixed timers

Revision 1650 - Directory Listing
Modified Wed Dec 3 20:31:30 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
cleanup

Revision 1649 - Directory Listing
Modified Wed Dec 3 20:30:31 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
finally committing "terrible GDBM hack": if WW1Hash and
GlobalTableEmuator are being used, a schema-specific optimization is
enabled in getMergedSets.

Revision 1648 - Directory Listing
Modified Wed Dec 3 20:27:02 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
formatting

Revision 1647 - Directory Listing
Modified Tue Dec 2 16:42:53 2003 UTC (10 years, 4 months ago) by sh002i
Original Path: trunk
removed old version of module from beneath __END__.

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

Revision 1645 - Directory Listing
Modified Fri Nov 21 03:59:27 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
complains about there being a user-specific record but no global record,
but returns the user record unmodified instead if failing.

Revision 1644 - Directory Listing
Modified Thu Nov 20 02:28:25 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
http-wwmp.conf.dist no longer includes
/usr/local/etc/apache/httpd-wwmp-header.conf, but includes instead each
user's copy.

Revision 1643 - Directory Listing
Modified Thu Nov 20 01:38:46 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
this file has been superceded by information in the WeBWorK Wiki:
http://devel.webwork.rochester.edu/twiki/bin/view/Webwork/ApacheSetup

Revision 1642 - Directory Listing
Modified Wed Nov 19 23:08:02 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
implemented assignAllSetsToUser and unassignAllSetsFromUser

Revision 1641 - Directory Listing
Modified Wed Nov 19 22:55:58 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
plural get methods no longer require an argument. that way, one can pass
an empty list to them and get an empty list back.

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

Revision 1639 - Directory Listing
Modified Wed Nov 19 18:48:57 2003 UTC (10 years, 5 months ago) by gage
Original Path: trunk
Made minor modifications so that GatewayQuiz would run again.  It hadn't
been tested for months and other parts of the system had moved on.
This is still very much a mockup for delivering gateway quizzes.
--Mike

Revision 1638 - Directory Listing
Modified Wed Nov 19 18:46:53 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
added script to generate HTML documentation from library POD

Revision 1637 - Directory Listing
Modified Wed Nov 19 18:45:12 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
added documentation for "gets"

Revision 1636 - Directory Listing
Modified Wed Nov 19 18:44:47 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
added code to check for undef return values from DB "get" calls.

Revision 1635 - Directory Listing
Modified Wed Nov 19 18:42:42 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
getPassword[s] and getPermissionLevel[s] now auto-create missing
records.

Revision 1634 - Directory Listing
Modified Wed Nov 19 18:41:51 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
fixed some formatting and #if nesting.

Revision 1633 - Directory Listing
Modified Mon Nov 10 05:05:21 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
changed defualt globalUserID to "professor". See bug #273.

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

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

Revision 1630 - Directory Listing
Modified Sun Nov 9 23:21:24 2003 UTC (10 years, 5 months ago) by gage
Original Path: trunk
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 (10 years, 5 months ago) by gage
Original Path: trunk
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 (10 years, 5 months ago) by gage
Original Path: trunk
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 (10 years, 5 months ago) by sh002i
Original Path: trunk
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 (10 years, 5 months ago) by sh002i
Original Path: trunk
changed the name of the module in the path.

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

Revision 1624 - Directory Listing
Modified Sat Nov 8 02:52:35 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
I wasn't using WeBWorK::PG here, but it was getting loaded anyway
before I changed the way the dispatcher loads things.

Revision 1623 - Directory Listing
Modified Sat Nov 8 02:51:34 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
changed some variable names to make them more readable.

I've been calling variables that contain the names of courses, users,
sets, or problems things like "$courseID", "$userID", "$setID", and
"$problemID", and lists of said names "@courseIDs", "@userIDs",
"@setIDs", and "@problemIDs".

On the other hand, I call variables that contain ACTUAL RECORD OBJECTS
things like "$User", "$Set", and "$Problem", and lists of them "@Users",
"@Sets", and "@Problems". (Note the capitalization!)

This makes it totally clear whether we're talking about an OBJECT or and
ID. This is a Good Thing.

Revision 1622 - Directory Listing
Modified Sat Nov 8 02:47:23 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
removed old timer.

Revision 1621 - Directory Listing
Modified Sat Nov 8 02:47:00 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
(1) only the content generator needed for this request is loaded, and it
is done at runtime. this is good for speed and error reporting.

(2) actually instantiating CGs and running their "go" methods is defered
until the end of the handler routine. this means there is only ONE place
where this is being done.

(3) documentation has been improved.

(4) added support for UserDetail (not yet written) and
SetsAssignedToUser (written, but not yet reachable) in the UI.

Revision 1620 - Directory Listing
Modified Fri Nov 7 14:55:12 2003 UTC (10 years, 5 months ago) by apizer
Original Path: trunk
fixed a bug in line 2469 replacing \npsvnNumber by \n$psvnNumber

Arnie

Revision 1619 - Directory Listing
Modified Tue Nov 4 23:18:40 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
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 1618 - Directory Listing
Modified Tue Nov 4 02:29:28 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
revisions

Revision 1617 - Directory Listing
Modified Tue Nov 4 02:29:23 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
support for FileXfer and Upload.

Revision 1616 - Directory Listing
Modified Tue Nov 4 02:29:01 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
support for FileXfer and Upload

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

Revision 1614 - Directory Listing
Modified Tue Nov 4 02:23:57 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
Added routines to list classlist files and set definitions files.

Revision 1613 - Directory Listing
Modified Tue Nov 4 02:23:07 2003 UTC (10 years, 5 months ago) by sh002i
Original Path: trunk
Finished Upload module. See POD.

Added sendFile routine to ContentGenerator. To use, store a hash
reference in $self->{sendFile} containing keys:
	source: full path to file to send
	type: content type of file to send
	name: file name to suggest to client
This must be done BEFORE the HTTP header is sent, i.e. in
pre_header_initialize. It will not work is &go or &header is overridden.

Revision 1612 - Directory Listing
Modified Mon Oct 27 13:06:32 2003 UTC (10 years, 5 months ago) by gage
Original Path: trunk
Turned timing off for the CVS copy of WeBWorK.pm
--Mike

Revision 1611 - Directory Listing
Modified Mon Oct 27 13:04:09 2003 UTC (10 years, 5 months ago) by gage
Original Path: trunk
Modified the way timers were controlled.  Timers must now be defined
before they will be called in this script.  This fixes a bug that
appeared only on webwork.math.rochester.edu where the timers were
turned off.
--Mike

Revision 1610 - Directory Listing
Modified Mon Oct 27 13:02:44 2003 UTC (10 years, 5 months ago) by gage
Original Path: trunk
Modified the way the timing mechanisms are controlled so that a timer
must be defined before it is called.  Fixed a bug appearing on
webwork.math.rochester.edu where the timers were turned off.

--Mike

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

Revision 1608 - Directory Listing
Modified Fri Oct 24 00:33:11 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
the timing switch is now turned off by default.

--Mike

Revision 1607 - Directory Listing
Modified Fri Oct 24 00:31:47 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Added lines that allow you to turn the timing statements off with one
switch.

Revision 1606 - Directory Listing
Modified Fri Oct 24 00:22:05 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
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 (10 years, 6 months ago) by sh002i
Original Path: trunk
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 (10 years, 6 months ago) by sh002i
Original Path: trunk
cvs-log test

Revision 1603 - Directory Listing
Modified Tue Oct 21 20:26:59 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
foo

Revision 1602 - Directory Listing
Modified Tue Oct 21 20:26:26 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
comments

Revision 1601 - Directory Listing
Modified Tue Oct 21 20:19:46 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
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 1600 - Directory Listing
Modified Tue Oct 21 20:18:31 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
cosmetic changes to instructor_links method

Revision 1597 - Directory Listing
Modified Mon Oct 20 22:15:59 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added export functionality.

Revision 1596 - Directory Listing
Modified Mon Oct 20 18:59:58 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
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 (10 years, 6 months ago) by gage
Original Path: trunk
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 (10 years, 6 months ago) by sh002i
Original Path: trunk
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 1593 - Directory Listing
Modified Sun Oct 19 21:24:26 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Added note to title of scrolling lists which indicates  the initial
number of users or sets which have been selected.  This is useful
since the initial selections are often hidden on the list.

Updating this number would require javaScript, which we would prefer to
avoid.  This closes bug #257

--Mike

Revision 1592 - Directory Listing
Modified Sat Oct 18 23:15:59 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Modified the way the editor link is prepared and when it is shown --
particularly if there are errors.  This fixes bug #122

Revision 1591 - Directory Listing
Modified Sat Oct 18 20:46:01 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
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 (10 years, 6 months ago) by gage
Original Path: trunk
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 1589 - Directory Listing
Modified Thu Oct 16 03:12:44 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
fixed the problem where all user values appear to be overridden. no bug
for this is bugzilla though.

Revision 1588 - Directory Listing
Modified Thu Oct 16 02:28:28 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Changed code to call getMergedSets instead of calling getMergedSet
repeatedly.  No noticable speed up in this case, but it works correctly.
--Mike

Revision 1587 - Directory Listing
Modified Wed Oct 15 19:36:13 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
fixed how "gets" was being called. It has to be called with a list of
array references. fixed several implementations of "gets".
closes bug #252.

Revision 1586 - Directory Listing
Modified Wed Oct 15 17:09:41 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
fixed some typos re: calls to get vs. gets
closes bug #259
closes bug #250

Revision 1585 - Directory Listing
Modified Wed Oct 15 17:08:31 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
changes to the diabled stack trace code

Revision 1584 - Directory Listing
Modified Tue Oct 14 19:12:07 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
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 1583 - Directory Listing
Modified Tue Oct 14 18:02:39 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
closes bug #251: getMergedSets and getMergedProblems now call
getGlobalSets/getUserSets and getGlobalProblems/getUserProblems.

The algorithm used to merge fields is also more efficient now, and
getMergedSet/getMergedProblem have been reimplemented to call
getMergedSets/getMergedProblems.

Revision 1582 - Directory Listing
Modified Sun Oct 12 19:31:36 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Fixes bug #254.  The showHints check box will not be shown unless
the number of incorrect attempts is greater than or equal to the
value of showHints.

The showHints checkbox now appears in red (and in a new <div> which
means a new paragraph on some browsers)  This helps alert a student that
a hint is now available.
--Mike

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

Removed some debugging warning messages.

--Mike

Revision 1580 - Directory Listing
Modified Sun Oct 12 04:10:17 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Changed dispatcher to allow access to Instructor::AddUser module.

Removed references to Index2.pm

--Mike

Revision 1579 - Directory Listing
Modified Sun Oct 12 04:09:14 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
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 (10 years, 6 months ago) by gage
Original Path: trunk
This will be removed soon.
--Mike

Revision 1577 - Directory Listing
Modified Sun Oct 12 04:03:08 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
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 (10 years, 6 months ago) by gage
Original Path: trunk
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 1575 - Directory Listing
Modified Fri Oct 10 19:12:32 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
updates

Revision 1571 - Directory Listing
Modified Tue Oct 7 03:15:34 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
updates

Revision 1570 - Directory Listing
Modified Tue Oct 7 01:51:45 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added some notes about refactoring content generators.

Revision 1569 - Directory Listing
Modified Tue Oct 7 00:27:00 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
fixed new implementations of "get" -- they need to return a single item,
not a list of items!

Revision 1568 - Directory Listing
Modified Mon Oct 6 23:50:58 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added optimized implementations for DB getOBJECTs functions.

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

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

Revision 1565 - Directory Listing
Modified Mon Oct 6 22:35:56 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
docs

Revision 1564 - Directory Listing
Modified Mon Oct 6 22:35:16 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
now can take commands from ARGV intead of interactively

Revision 1563 - Directory Listing
Modified Sun Oct 5 22:45:38 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Fixed a reference to the nullSafety filter
--Mike

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

Revision 1561 - Directory Listing
Modified Wed Oct 1 04:07:46 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
port defaults to 20000 + $>, override with -p PORT or --port=PORT
no longer hardcodes pg lib location
(call with "perl -I/path/to/pg/lib renderd" instead)

Revision 1560 - Directory Listing
Modified Wed Oct 1 03:35:02 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
updated for remote renderer

Revision 1559 - Directory Listing
Modified Wed Oct 1 03:20:43 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
new render daemon

Revision 1558 - Directory Listing
Modified Wed Oct 1 02:57:55 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
1. moved common functions from PG::Local and PG::Remote to PG and made
them methods so that inheritence would work.
2. made some changes to PG::Remote to make it work with renderd

Revision 1557 - Directory Listing
Modified Wed Oct 1 02:57:32 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
1. moved common functions from PG::Local and PG::Remote to PG and made
them methods so that inheritence would work.

Revision 1556 - Directory Listing
Modified Wed Oct 1 02:40:09 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
changed the way the IO modules work: shared subroutines are in IO now,
and IO has a hash %WeBWorK::PG::IO::SHARE which can be added to
Translator's %shared_subroutine_hash directly.

Revision 1555 - Directory Listing
Modified Wed Oct 1 02:31:54 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
changed documentation to reflect the fact that reh refresh and mtime
flags are no longer used

Revision 1554 - Directory Listing
Modified Tue Sep 30 01:32:53 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
moved to pg

Revision 1553 - Directory Listing
Modified Tue Sep 30 01:20:55 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added files from WW2

Revision 1552 - Directory Listing
Modified Tue Sep 30 01:19:51 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
replaced with a stub that allows the calling of macro loading functions
without an instance

Revision 1551 - Directory Listing
Modified Tue Sep 30 01:19:12 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
use WeBWorK::PG::Translator instead of PGtranslator

Revision 1550 - Directory Listing
Modified Tue Sep 30 01:18:25 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
check to see if $envir->{texDisposition} is defined before trying to
access it.

Revision 1549 - Directory Listing
Modified Tue Sep 30 01:13:18 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
preserve permissions when copying

Revision 1548 - Directory Listing
Modified Tue Sep 30 01:12:42 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added $VERSION variable

Revision 1547 - Directory Listing
Modified Mon Sep 29 16:33:32 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
no, it's actually "perl MAKEDEBUG"

Revision 1546 - Directory Listing
Modified Mon Sep 29 16:33:01 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
advise users to run "sh MAKEDEBUG", not "./MAKEDEBUG"

Revision 1545 - Directory Listing
Modified Mon Sep 29 16:31:56 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
set $main::VERSION in BEGIN block.

Revision 1544 - Directory Listing
Modified Mon Sep 29 16:31:02 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
Since the CGI debug scripts are programmatically generated, they have
been removed from the distribution. To re-create them, run the script
MAKEDEBUG from this directory:

	$ cd webwork/system/cgi
	$ ./MAKEDEBUG

This will create a wrapper script for each perl script in the enclosed
cgi-bin directory.

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

Revision 1542 - Directory Listing
Modified Sat Sep 27 19:24:32 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Replaced table and check box display of sets and users with scrolling list
display of sets and users.

Used the new getObjects  commands whenever possible.
--Mike

Revision 1541 - Directory Listing
Modified Sat Sep 27 19:23:27 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Fixed spelling on "getMergedSets"
--Mike

Revision 1540 - Directory Listing
Modified Sat Sep 27 16:47:34 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
When displaying a raw student answer, nulls are converted to \0 so that they
can be seen.  This is probably redundant since strings with multiple values
separated by nulls are supposed to be converted to references to arrays before
they reach this point.
--Mike

Revision 1539 - Directory Listing
Modified Sat Sep 27 16:44:53 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
When recording answers the answer strings are now obtained directly from the original
formField entries, rather than from the processed version in the answer hashes.
This insures that the memorized answers will be identical with the ones that would
have been submitted from the form.

This is important for answers with multiple values which are represented by
null separated strings.  The answer evaluation process converts these strings
to references to arrays, and -- in order to have good display properties -- the
original_student_answer slot in the AnswerHash contains a representation such as
( 4, 5, 6).

This is NOT suitable for resubmitting as an answer in a form field and is therefore not the
right thing to store in the data base when saving answers.

--MIke

Revision 1538 - Directory Listing
Modified Sat Sep 27 16:34:45 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Modified process_answers so that each student answer is modified in this way:
(1) if the answer is undefined, then it is replaced by an empty answer
(2) if the answer contains null spaces then the answer string is split along the nulls (\0)
and the answer variable is replaced by a reference to this array.

A few clauses in filter_answers and in AnswerEvaluator::get_student_answer are now redundant
but I've left them in for now.  The filter_answer subroutine was replacing all nulls by
blanks, which caused the difficulty with handling vectors.

--Mike

Revision 1537 - Directory Listing
Modified Fri Sep 26 21:31:59 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
now install nullSafetyFilter, which does nothing (hence the name).

Revision 1536 - Directory Listing
Modified Fri Sep 26 21:31:24 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
small cleanup
added "FIXME: this table is heinously out of date"

Revision 1535 - Directory Listing
Modified Fri Sep 26 21:16:18 2003 UTC (10 years, 6 months ago) by gage
Original Path: trunk
Added line which prints out the raw student answer when the debug
flag is on.
--Mike

Revision 1534 - Directory Listing
Modified Thu Sep 25 05:42:31 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
removed unneeded #! line

Revision 1533 - Directory Listing
Modified Thu Sep 25 05:41:22 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
changed #! lines to /usr/bin/env perl
THIS SHOULD BE THE LAST TIME #! LINES ARE CHANGED!!!!!!!

Revision 1532 - Directory Listing
Modified Thu Sep 25 05:37:00 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
1. better guess for system HTML dir.
2. default perl path is now "/usr/bin/env perl".
3. a warning is given directing users with commit privs to refrain from
   changing the perl path.

Revision 1531 - Directory Listing
Modified Thu Sep 25 02:21:53 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added tip about "permission denied" errors

Revision 1530 - Directory Listing
Modified Thu Sep 25 02:03:43 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
removed unneeded arguments from calls to ImageGenerator

Revision 1529 - Directory Listing
Modified Thu Sep 25 02:02:19 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
removed overly chatty error message: instead, we should add this sort of
thing to the generic "software error" message.

Revision 1528 - Directory Listing
Modified Thu Sep 25 01:29:21 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
fixed #! line

Revision 1527 - Directory Listing
Modified Thu Sep 25 01:28:23 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
using new WeBWorK::PG::ImageGenerator

Revision 1526 - Directory Listing
Modified Thu Sep 25 01:28:02 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
#! replacement now replaces the whole line (so you can say
"#!/usr/bin/env perl")

Revision 1525 - Directory Listing
Modified Thu Sep 25 00:29:59 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
removed unneeded #! lines

Revision 1524 - Directory Listing
Modified Thu Sep 25 00:28:15 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added image generation modules from WW2

Revision 1523 - Directory Listing
Modified Wed Sep 24 23:57:36 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
fixed #! line

Revision 1522 - Directory Listing
Modified Wed Sep 24 23:48:21 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added several variables to Global.pm to support a global, web-accessible
temp directory, a global non-web-accessible temp directory, and a global
DATA directory.

Revision 1521 - Directory Listing
Modified Wed Sep 24 23:48:14 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added a question to system_webwork_setup.pl for the path to the
system HTML directory.

Revision 1520 - Directory Listing
Modified Wed Sep 24 23:42:07 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
Removed leftover PGanswermacros.pl.original

Removed MAKELINKS.PL and MAKELINKS.pl, and replaced them with a script
called MAKELINKS, which can take the path to the PG directory on the
command line:

NAME
    MAKELINKS - create symlinks pointing to the contents of the pg/lib and
    pg/macros directories for use in the WeBWorK 1.x courseScripts
    directory.

SYNOPSIS
     ./MAKELINKS [pg_dir]

DESCRIPTION
    MAKELINKS takes a single argument, the path to a pg directory,
    containing lib and macros directories. If no arguments are given, a
    default of ../../../pg is used.

    Given this inforamtion, it creates symlinks in the current directory
    pointing to each "*.pl" file in the macros directory and each "*.pm"
    file and directory in the lib directory.

Revision 1519 - Directory Listing
Modified Tue Sep 23 21:19:29 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
added values necessary for supporting EquationCache.

Revision 1518 - Directory Listing
Modified Tue Sep 23 21:13:47 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
moved it out of PG::

Revision 1517 - Directory Listing
Modified Tue Sep 23 21:12:36 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
equationcache module was moved.

Revision 1516 - Directory Listing
Modified Tue Sep 23 21:12:00 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
Added EquationCache module, which interfaces with the imagecache
database.

Revision 1515 - Directory Listing
Modified Tue Sep 23 21:09:58 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
Modified ImageGenerator to use new EquationImage module.
Added arguments to ImageGenerator call to support global image cache.

Revision 1514 - Directory Listing
Modified Tue Sep 23 21:09:24 2003 UTC (10 years, 6 months ago) by sh002i
Original Path: trunk
Added arguments to ImageGenerator call to support global image cache.

Revision 1513 - Directory Listing
Modified Mon Sep 22 18:30:30 2003 UTC (10 years, 7 months ago) by sh002i
Original Path: trunk
fixed some typos

Revision 1512 - Directory Listing
Modified Mon Sep 22 17:37:12 2003 UTC (10 years, 7 months ago) by sh002i
Original Path: trunk
added getOBJECTs functions (with pod!)
-sam

Revision 1511 - Directory Listing
Modified Mon Sep 22 14:30:07 2003 UTC (10 years, 7 months ago) by sh002i
Original Path: trunk
use !WEBWORK_ROOT!/conf/htpasswd instead of
/home/!WEBWORK_USER!/webwork-modperl/conf/htpasswd

Revision 1510 - Directory Listing
Modified Mon Sep 22 13:28:40 2003 UTC (10 years, 7 months ago) by sh002i
Original Path: trunk
added this file (created a long time ago)

Revision 1509 - Directory Listing
Modified Fri Sep 19 02:28:28 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Provides link to Instructor2 alternate interface for instructors.
--Mike

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

Revision 1507 - Directory Listing
Modified Fri Sep 19 02:17:48 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Changed logic of what is shown about answers when
"submit Answers" and "check Answers" are clicked.
In particular you can't see the answers responses at
all unless one of these two or "preview answers" is cliced.

Hopefully this will not upset preflight uses.

-- Mike

Revision 1506 - Directory Listing
Modified Fri Sep 19 01:30:13 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Fixed check_string filter so that it places a
value in preivew_text_string and in preview_latex_string
in the answer hash.  For example entering DNE did not
show up in answer preview, which bothered some students.

--Mike

Revision 1505 - Directory Listing
Modified Mon Sep 15 05:47:38 2003 UTC (10 years, 7 months ago) by lr003k
Original Path: trunk
It seems as though the way I tried to fix long decimals isn't working the way I wanted it too, so I've commented it out for now.

~Liam

Revision 1504 - Directory Listing
Modified Fri Sep 12 18:39:11 2003 UTC (10 years, 7 months ago) by jj
Original Path: trunk
Fixed spelling buttom->button .

Revision 1503 - Directory Listing
Modified Thu Sep 11 02:07:20 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Fixed typo (set should have been self)

Revision 1502 - Directory Listing
Modified Thu Sep 11 02:03:06 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Made changes to ProblemSet.pm that replace the feedback button
which did not work with the "email instructor" button.

Also changed some probable typos in Feedback.pm which
was trying to find set_id from problem rather than from set.

This doesn't work when problem is not defined.

--Mike

Revision 1501 - Directory Listing
Modified Thu Sep 11 01:13:05 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Blank messages are not submitted and give a warning.  I also fixed
a hidden bug in which the arguments to feebackForm were switched.

--Mike

Revision 1500 - Directory Listing
Modified Thu Sep 11 00:31:19 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Fixed bug in feeback button.

Revision 1499 - Directory Listing
Modified Thu Sep 11 00:05:25 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Submit answer button is now hidden when you are acting to prevent
accidental submission of data for a student.  The checkAnswer button
is still active.
--Mike

Revision 1498 - Directory Listing
Modified Tue Sep 9 14:12:33 2003 UTC (10 years, 7 months ago) by apizer
Original Path: trunk
Get permission (nominally 0660) from $Global::tmp_file_permission

Arnie

Revision 1497 - Directory Listing
Modified Tue Sep 9 03:54:43 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
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 1496 - Directory Listing
Modified Tue Sep 9 03:51:12 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Added warning message about updating the preview answer using
shift refresh.  Best I can do for now.
--Mike

Revision 1495 - Directory Listing
Modified Tue Sep 9 02:56:49 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Added logic to show the checkAnswer button when you are
a professor or TA acting as a student.  This allows you
to check the answer without recording results. (I think)

--MIke

Revision 1494 - Directory Listing
Modified Tue Sep 9 02:06:31 2003 UTC (10 years, 7 months ago) by jj
Original Path: trunk
Put mbox around entries of a matrix in TeX-based modes to protect
math inside of them.

Revision 1493 - Directory Listing
Modified Tue Sep 9 02:01:51 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Modified parseDateTime  so that it handles time strings of the form
01/03/03 at 06:00am.  The " at " retains compatibility with webwork 1.9
which is important for import and export.  This fixes a bug introduced
when changing formatDateTime.  #204 and #203  should be fixed by this.

In this file I added warning messages in distGlobalValues() which
check to make sure fields are defined.  Hopefyully this is not
a huge time sync, but will help with debugging.
--Mike

Revision 1492 - Directory Listing
Modified Tue Sep 9 02:00:07 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Modified parseDateTime  so that it handles time strings of the form
01/03/03 at 06:00am.  The " at " retains compatibility with webwork 1.9
which is important for import and export.  This fixes a bug introduced
when changing formatDateTime.  #204 and #203  should be fixed by this.

--Mike

Revision 1491 - Directory Listing
Modified Tue Sep 9 01:36:47 2003 UTC (10 years, 7 months ago) by jj
Original Path: trunk
Set the permissions and group for images from dvipng.

Revision 1490 - Directory Listing
Modified Sun Sep 7 17:40:54 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Corrected a typo in EV4
--Mike

Revision 1489 - Directory Listing
Modified Sun Sep 7 00:12:55 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Squashed a bug in
adding the title "sets
" in listing the sets
on the first page.

--Mike

Revision 1488 - Directory Listing
Modified Sat Sep 6 17:07:19 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Added "set " before
listing the set number.
--Mike

Revision 1487 - Directory Listing
Modified Sat Sep 6 16:24:48 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
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 (10 years, 7 months ago) by gage
Original Path: trunk
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 1485 - Directory Listing
Modified Fri Sep 5 17:16:36 2003 UTC (10 years, 7 months ago) by apizer
Original Path: trunk
rename backup() to back_up() to remove conflict with another backup routine.

Arnie

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

Revision 1483 - Directory Listing
Modified Fri Sep 5 13:19:45 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Added EV4 routine supplied by Zig Fiedorowicz
--Mike

Revision 1482 - Directory Listing
Modified Fri Sep 5 03:48:43 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Added warning message if the password record can't be found
Helps with debuggin.
--MIke

Revision 1481 - Directory Listing
Modified Fri Sep 5 03:39:15 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Added " at " in formatDateTime function.  This makes it compatible with webwork1.9
which is important when we export  set definition files.  this may ruin
some earlier aesthetic considerations (Dennis?) but the compatibility
is more important than that in this case.
--Mike

Revision 1480 - Directory Listing
Modified Fri Sep 5 03:25:29 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Added a kludge which, if $showPartialCorrectAnswers is negative, will not show
the answer field at all until the "showCorrectanswers" button is checked.
For students this also must be after the due date.
--Mike

Revision 1479 - Directory Listing
Modified Fri Sep 5 03:09:14 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Fixed messages after the answer box so that it doesn't give away
how many answers were correct. Fixes bug #176.

Removed some hidden inputs from the main form that were making it
impossible to uncheck "show correct answers"  (and probably doing
the same for show hints and show solutions.)
--Mike

Revision 1478 - Directory Listing
Modified Thu Sep 4 13:20:00 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Changed subject heading so that it includes the user,
the set and problem (if both are defined).
--Mike

Revision 1477 - Directory Listing
Modified Wed Sep 3 21:21:19 2003 UTC (10 years, 7 months ago) by apizer
Original Path: trunk
Can now handle the case when the list contaims complete email addresses.

Arnie

Revision 1476 - Directory Listing
Modified Wed Sep 3 20:50:40 2003 UTC (10 years, 7 months ago) by apizer
Original Path: trunk
Add Global:: to the two called to scriptDirectory on lines 241-2

Arnie

Revision 1475 - Directory Listing
Modified Thu Aug 28 23:24:21 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
Added scoring to the instructor links.
--Mike

Revision 1474 - Directory Listing
Modified Thu Aug 28 15:00:12 2003 UTC (10 years, 7 months ago) by gage
Original Path: trunk
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 (10 years, 7 months ago) by gage
Original Path: trunk
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 1472 - Directory Listing
Modified Sat Aug 16 02:26:49 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
One more fix to constructing the returnURL
--Mike

Revision 1471 - Directory Listing
Modified Sat Aug 16 02:16:28 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Changed "contact instructor" ot "email
instructor" on button.
--Mike

Revision 1470 - Directory Listing
Modified Sat Aug 16 02:15:47 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Fixed bug #171 -- bad link in feedback
address. There was also a bad link
in cancel feedback link.
-- Mike

Revision 1469 - Directory Listing
Modified Sat Aug 16 01:32:10 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Login reads material from
login_info(.txt) in the top
directory of the course and places
on the right side of the page.

ProblemSets does the same from
a file called course_info.txt
--Mike

Revision 1468 - Directory Listing
Modified Sat Aug 16 01:30:46 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Added course_info whose material will appear
on the right side of the problem sets page

and login_info whose material will appear
on the right side of the login page.
--Mike

Revision 1467 - Directory Listing
Modified Sat Aug 16 00:48:12 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Moved show hints and show solutions to
spots just above the submit buttons.  This
is closer to the old webwork style and I
think it is more appropriate.  Particularly
since these options are sticky only as long
as you stay on the same problem

Revision 1466 - Directory Listing
Modified Fri Aug 15 19:07:32 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Added an obvious warning when using preview only mode so that
user is aware that the answer was not recorded.
--Mike

Revision 1465 - Directory Listing
Modified Fri Aug 15 18:56:04 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Switched preview answers button to be first.

Revision 1464 - Directory Listing
Modified Fri Aug 15 18:12:32 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Added a note alerting the login user to the existence of practice1,
practice2 accounts.  This is a temporary fix for the bug report asking
for a login_info.txt window.
--Mike

Revision 1463 - Directory Listing
Modified Fri Aug 15 16:51:09 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Changes to mail that make it work properly with ALLOW_MAIL_TO
--Mike

Revision 1462 - Directory Listing
Modified Fri Aug 15 16:49:42 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Made changes to rh_sticky_answers so that they
are addressed correctly.

Long term I would like to remove all
references to main:: except for those
in the init routines.  The references
can be replaced by a locally defined
pointer to the  value in the current safe
compartment.

This procedure should make it easier to
maintain the macros.  All references to
global variables will occur in the init
routine.

--Mike

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

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

Revision 1459 - Directory Listing
Modified Thu Aug 14 20:10:01 2003 UTC (10 years, 8 months ago) by malsyned
Original Path: trunk
Fixed bug 143
Implemented temporary solution suggested in bug 110
  (I think this could be the permanent solution)
Fixed bug 53

Revision 1458 - Directory Listing
Modified Thu Aug 14 19:59:20 2003 UTC (10 years, 8 months ago) by malsyned
Original Path: trunk
Changed text of instructor links

Revision 1457 - Directory Listing
Modified Thu Aug 14 19:07:03 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Modifications so that the operations mask is restored
after reading PG.pl, IO.pl and dangerousMacros.pl
--Mike

Revision 1456 - Directory Listing
Modified Thu Aug 14 16:10:01 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
At least a temporary fix for mail_answers_to2

These evaluators are run in the grader and the
environment variables have disappeared??  I can't find
them at any rate.

this is at best a temporary fix until we get the global
variable situation under control when using cached code.
--Mike

Revision 1455 - Directory Listing
Modified Thu Aug 14 13:27:54 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Made changes to anstext and a few
other answer evaluators so that they
evaluated "main::" correctly.

Still need to fix install problem
grader
--Mike

Revision 1454 - Directory Listing
Modified Tue Aug 12 16:43:36 2003 UTC (10 years, 8 months ago) by jj
Original Path: trunk
Redoing fix to random so that random(2,7,3) won't produce 8.  The original
fix was lost in the merger with mod-perl version.

Revision 1453 - Directory Listing
Modified Wed Aug 6 18:59:26 2003 UTC (10 years, 8 months ago) by jj
Original Path: trunk
New file with linear programming simplex method related macros.

Revision 1452 - Directory Listing
Modified Tue Aug 5 16:37:10 2003 UTC (10 years, 8 months ago) by jj
Original Path: trunk
Revised documentation for test_points.

Revision 1451 - Directory Listing
Modified Tue Aug 5 16:34:38 2003 UTC (10 years, 8 months ago) by jj
Original Path: trunk
Added some documentation for test_points.

Revision 1450 - Directory Listing
Modified Tue Aug 5 16:24:48 2003 UTC (10 years, 8 months ago) by jj
Original Path: trunk
Added option of test_points to fun_cmp.

Revision 1449 - Directory Listing
Modified Mon Aug 4 20:49:29 2003 UTC (10 years, 8 months ago) by malsyned
Original Path: trunk
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 (10 years, 8 months ago) by malsyned
Original Path: trunk
Added the scoringDownload module for downloading scoring data

Revision 1447 - Directory Listing
Modified Mon Aug 4 08:06:10 2003 UTC (10 years, 8 months ago) by malsyned
Original Path: trunk
Added scoreDownload URL for ScoreDownload.pm module

Revision 1446 - Directory Listing
Modified Mon Aug 4 08:05:50 2003 UTC (10 years, 8 months ago) by malsyned
Original Path: trunk
Added the score_sets permission

Revision 1445 - Directory Listing
Modified Thu Jul 31 01:39:22 2003 UTC (10 years, 8 months ago) by apizer
Original Path: trunk
comment out voffset

Arnie

Revision 1444 - Directory Listing
Modified Wed Jul 30 22:59:21 2003 UTC (10 years, 8 months ago) by apizer
Original Path: trunk
back off of Davide's chnages which caused a bug when downloading multiple sets.

Arnie

Revision 1442 - Directory Listing
Modified Mon Jul 28 14:02:19 2003 UTC (10 years, 8 months ago) by apizer
Original Path: trunk
Change instructions.  cgiWebworkURL is now found in the webworkConfig.pm
file and not in Global.pm.

Arnie

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

Revision 1440 - Directory Listing
Modified Fri Jul 25 20:47:22 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Don't show both check answers and submit answers button at the same time.
If the submit answers button can be shown then the check answers button
is not shown.
--Mike

Revision 1439 - Directory Listing
Modified Fri Jul 25 19:22:17 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Fixed glitch in links involving effective user
--Mike

Revision 1438 - Directory Listing
Modified Fri Jul 25 14:31:41 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Corrected spelling on button
--Mike

Revision 1437 - Directory Listing
Modified Fri Jul 25 14:08:57 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Tweaked the look slightly.  Corrected reference to webwork_files
to webwork2_files
--Mike

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

Revision 1435 - Directory Listing
Modified Fri Jul 25 12:44:03 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
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 (10 years, 8 months ago) by gage
Original Path: trunk
Increased cellpadding size in tables
--Mike

Revision 1433 - Directory Listing
Modified Fri Jul 25 12:38:17 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
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 (10 years, 8 months ago) by gage
Original Path: trunk
Added more capabilities to the stats module.

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

Revision 1431 - Directory Listing
Modified Thu Jul 24 21:58:06 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
Minor bug fix in links subroutine
--Mike

Revision 1430 - Directory Listing
Modified Thu Jul 24 21:52:17 2003 UTC (10 years, 8 months ago) by gage
Original Path: trunk
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 1429 - Directory Listing
Modified Thu Jul 24 18:47:32 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
new version for WW1.9

Arnie

Revision 1428 - Directory Listing
Modified Thu Jul 24 14:32:30 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
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 (10 years, 9 months ago) by malsyned
Original Path: trunk
Inconsequential changes

Revision 1426 - Directory Listing
Modified Wed Jul 23 20:19:33 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Problem now asks to use the "problem" template if specified, before
falling back to the "system" template

Revision 1425 - Directory Listing
Modified Wed Jul 23 20:19:12 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Added the ability for content generators to specify names for themselves
for the purpose of custom templates

Revision 1424 - Directory Listing
Modified Wed Jul 23 18:38:37 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
modified for WeBWorK 1.9

Arnie

Revision 1423 - Directory Listing
Modified Wed Jul 23 18:37:40 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
initial version

Arnie

Revision 1421 - Directory Listing
Modified Wed Jul 23 17:01:24 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
added comment concerning $main::timingON

Arnie

Revision 1420 - Directory Listing
Modified Wed Jul 23 16:45:25 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
create answer_log file with correct group and permissions so that
profs and edit or remove it.

Arnie

Revision 1419 - Directory Listing
Modified Wed Jul 23 16:43:47 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
add a log_permission variable to be used for answer_log.
also set psvn digits to 6

Arnie

Revision 1418 - Directory Listing
Modified Wed Jul 23 16:01:06 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Fixed bug in filehandles for output.  Why this worked on freeBSD I don't
know but it hung jobs on Red Hat.  By default output still goes to STDERR.
I don't know a good way to send to a set file independent of how the system
is set up since relative paths don't work (they send output to 2 files).

Arnie

Revision 1417 - Directory Listing
Modified Wed Jul 23 14:38:21 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
1. Fix bug in line 547 (added: if $main::timingON) so that script runs even
if $main::timingON is set to 0.

2. Set $main::timingON=0; in distributed script

3. Bugs remain (at least in Red Hat). If the error.log file is not specified,
getting hard copy just hangs. If it is specified, hardcopy works but the timing info
is not entered into the log file.

Arnie

Revision 1416 - Directory Listing
Modified Tue Jul 22 20:45:12 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
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 (10 years, 9 months ago) by malsyned
Original Path: trunk
Removed a superfluous warning

Revision 1414 - Directory Listing
Modified Tue Jul 22 15:27:35 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Change default path to perl to '/usr/bin/perl';

Arnie

Revision 1413 - Directory Listing
Modified Mon Jul 21 23:07:03 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
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 1412 - Directory Listing
Modified Mon Jul 21 23:06:25 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Fixed a bug in url_args preventing it from properly representing
one-to-many params.

Revision 1411 - Directory Listing
Modified Mon Jul 21 23:06:02 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Added course/instructor/scoring => Scoring.pm

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

Revision 1409 - Directory Listing
Modified Mon Jul 21 22:08:04 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Refactored the code to take advantage to recent changes in
ContentGenerator with respect to REDIRECTs.

Revision 1408 - Directory Listing
Modified Mon Jul 21 22:07:46 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Added the capability for content generators to return an HTTP response
type other than OK.
Added the capability for content generators to bypass the template
processing (by providing a "content" subroutine)

Revision 1406 - Directory Listing
Modified Mon Jul 21 17:27:39 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
use verbatim for displaying correct answers in hardcopy.

Arnie

Revision 1405 - Directory Listing
Modified Mon Jul 21 15:23:55 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
added new tip.

Arnie

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

Revision 1403 - Directory Listing
Modified Fri Jul 18 20:49:32 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
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 (10 years, 9 months ago) by malsyned
Original Path: trunk
Now the "totals" column is working.

Revision 1401 - Directory Listing
Modified Wed Jul 16 21:11:05 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
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 (10 years, 9 months ago) by gage
Original Path: trunk
Added blank for entering the name of the imported set.
--Mike

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

Revision 1398 - Directory Listing
Modified Wed Jul 16 13:33:10 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Corrected a typo that used TIMING_LOG instead of TIMING for a file
handle.  TIMING_LOG is a file variable that specifies an output
other than STDERR
--Mike

Revision 1397 - Directory Listing
Modified Wed Jul 16 12:58:29 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
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 1396 - Directory Listing
Modified Tue Jul 15 20:42:46 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Duplicate version for use by WW1.9

Arnie

Revision 1395 - Directory Listing
Modified Tue Jul 15 19:36:25 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
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 (10 years, 9 months ago) by malsyned
Original Path: trunk
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 (10 years, 9 months ago) by malsyned
Original Path: trunk
Lots of bug-fixing to auxiliary routines

Revision 1392 - Directory Listing
Modified Tue Jul 15 18:23:25 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Added Davide's changes in commented out code.

Arnie

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

Revision 1390 - Directory Listing
Modified Tue Jul 15 17:55:32 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Back off from Cervone's new definition of BR

Arnie

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

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

Revision 1387 - Directory Listing
Modified Tue Jul 15 00:56:50 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Changes made to make show Past answers work.  Basically I duplicated
writeLog with writeCourseLog which writes to the courses log directory.
I also defined answer_log in that directory.

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

Revision 1385 - Directory Listing
Modified Mon Jul 14 20:22:19 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Fixed a bug in Davide Cervone's changes

Arnie

Revision 1384 - Directory Listing
Modified Mon Jul 14 19:30:19 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Cosmetic tweak to links

Revision 1383 - Directory Listing
Modified Mon Jul 14 18:44:27 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Tweaked the links section a bit.  Moved instructor links
into their own submethod, since they were getting complicated.
--Mike

Revision 1382 - Directory Listing
Modified Mon Jul 14 18:43:23 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Commented out the fork statement.  Fixes the blocker bug #142
--Mike

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

Revision 1380 - Directory Listing
Modified Mon Jul 14 15:21:52 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Updates for sendMail as well as PG/Local renderer and so forth
--Mike

Revision 1379 - Directory Listing
Modified Mon Jul 14 15:16:30 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Incorporated Davide Cervone's improvements and bug fixes.  This mostly
involved removing unwanted spaces, etc.

Arnie

Revision 1378 - Directory Listing
Modified Mon Jul 14 15:14:14 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Fixed problem with displaying complex numbers in answers (with nbsp() )
--Mike

Revision 1377 - Directory Listing
Modified Mon Jul 14 15:13:12 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Added dispatching for send_mail
--Mike

Revision 1376 - Directory Listing
Modified Sun Jul 13 19:22:50 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
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 (10 years, 9 months ago) by gage
Original Path: trunk
Fixed some bugs where defaults were not always initialized.
--Mike

Revision 1374 - Directory Listing
Modified Sun Jul 13 18:55:56 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Added link to "Send Email" for instructors
--Mike

Revision 1373 - Directory Listing
Modified Sun Jul 13 18:32:46 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
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 (10 years, 9 months ago) by gage
Original Path: trunk
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 (10 years, 9 months ago) by gage
Original Path: trunk
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 (10 years, 9 months ago) by gage
Original Path: trunk
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 (10 years, 9 months ago) by gage
Original Path: trunk
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 (10 years, 9 months ago) by gage
Original Path: trunk
First crack at writing a send mail script.  Not at all functional
--Mike

Revision 1367 - Directory Listing
Modified Fri Jul 11 21:19:52 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Removed spurious warning message

Revision 1366 - Directory Listing
Modified Fri Jul 11 20:30:31 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
In order to make ans_array entries "sticky" I've had to change some stuff.
The answer labels for these entries are now put into
$main::PG_FLAGS{ANSWER_ENTRY_ORDER} as an array reference in PG.pl.
In processProblem8.pl the labels are caught again in the subroutines
logCourseData and encode_submitted_answers. It is important that
they're caught there rather than earlier because then the translator would
think that every entry was it's own answer.
Professor Gage says that processProblem8.pl is no longer used in webwork2, and
he says he'll fix this there.

Revision 1365 - Directory Listing
Modified Fri Jul 11 20:18:57 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
In order to make ans_array entries "sticky" I've had to change some stuff.
The answer labels for these entries are now put into $main::PG_FLAGS{ANSWER_ENTRY_ORDER} as an array reference in PG.pl.
In processProblem8.pl the labels are caught again in the subroutines logCourseData and encode_submitted_answers. It is important that
they're caught there rather than earlier because then the translator would think that every entry was it's own answer.
Professor Gage says that processProblem8.pl is no longer used in webwork2, and he says he'll fix this there.

Revision 1364 - Directory Listing
Modified Fri Jul 11 20:01:56 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
More cosmetic tweaks to the siblings macro
--Mike

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

Revision 1362 - Directory Listing
Modified Fri Jul 11 19:21:32 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
added FIXME

Revision 1361 - Directory Listing
Modified Fri Jul 11 19:20:59 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Cosmetic improvements to the links macro.  Instructor.pm
no longer needs a links macro, but I've left it there
temporarily
--Mike

Revision 1360 - Directory Listing
Modified Fri Jul 11 19:20:52 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Cosmetic improvements to the links macro.  Instructor.pm
no longer needs a links macro, but I've left it there
temporarily
--Mike

Revision 1359 - Directory Listing
Modified Fri Jul 11 19:02:23 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
I've trade speed for usefulness and convenience.  The sibling links are
now sorted by name and all links are active.  On webwork3 this cuts the
loading time for the page by a factor of 5 (11 seconds to 2)

We can reverse this when the process of collecting all of the relevant
sets is faster (this process took 8 seconds).
--Mike

Revision 1358 - Directory Listing
Modified Fri Jul 11 18:41:22 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Links now include direct access to Class list and to Set list
--Mike

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

Revision 1356 - Directory Listing
Modified Fri Jul 11 18:06:27 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Accept all of Davide Cervone's additions.

Arnie

Revision 1355 - Directory Listing
Modified Fri Jul 11 17:42:02 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
All the changes were not in the previous commit

Arnie

Revision 1354 - Directory Listing
Modified Fri Jul 11 17:26:32 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Added link to edit set header.  Available only to instructors
--Mike

Revision 1353 - Directory Listing
Modified Fri Jul 11 17:14:48 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Added a startShowingRemainingTime parameter.

Arnie

Revision 1352 - Directory Listing
Modified Fri Jul 11 16:58:09 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
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 1351 - Directory Listing
Modified Fri Jul 11 16:30:04 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
incorporate some of davide Cervone'e changes

Arnie

Revision 1350 - Directory Listing
Modified Fri Jul 11 15:04:16 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Cosmetic fix

Revision 1349 - Directory Listing
Modified Fri Jul 11 15:03:40 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
This set header can be used for both presentation on the screen
and on paper.
--Mike

Revision 1348 - Directory Listing
Modified Fri Jul 11 13:47:27 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
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 1347 - Directory Listing
Modified Fri Jul 11 13:11:26 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Changed the variable pointing to  the text accompanying the list of
problems from problem_header to set_header.  I believe this is what was
intended originally, since the default is snippets/setHeader.pg
I don't believe we have a use for problem header yet.
--Mike

Revision 1346 - Directory Listing
Modified Thu Jul 10 22:38:25 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Added bread crumbs to Assigner.pm -- changed set:1 to just 1 in
ProblemSetEditor -- I think this looks cleaner.
--Mike

Revision 1345 - Directory Listing
Modified Thu Jul 10 21:53:16 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Removed a spurious warning

Revision 1344 - Directory Listing
Modified Thu Jul 10 20:18:25 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Implemented Davide Cervone's time remaining notice in a different manner.

Arnie

Revision 1343 - Directory Listing
Modified Thu Jul 10 19:51:33 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
added phrase "Reload page to update times"

Arnie

Revision 1342 - Directory Listing
Modified Thu Jul 10 19:23:42 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Fixed some bugs that would have made Sam's hair straighten.

Revision 1341 - Directory Listing
Modified Thu Jul 10 19:11:20 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Disting of global values to each user now works.  This fixes bug #123

Revision 1340 - Directory Listing
Modified Thu Jul 10 19:08:39 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
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 1339 - Directory Listing
Modified Thu Jul 10 17:42:53 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
removed call to ppmtopgm so that now the default is to get color images.

Arnie

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

Revision 1337 - Directory Listing
Modified Thu Jul 10 16:26:59 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Resurected and updated this script which Davide Cervone found useful

Arnie

Revision 1336 - Directory Listing
Modified Thu Jul 10 16:04:38 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Make a few of the minor chnages suggested by Davide Cervone

Arnie

Revision 1335 - Directory Listing
Modified Thu Jul 10 16:03:57 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Added variable to handle checkbox default (checked or unchecked) on
add student page as suggested by Andy Knightly.

Arnie

Revision 1334 - Directory Listing
Modified Wed Jul 9 23:39:40 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Finally squashed that pesky undefined fields bug that's been plaguing my
GDBM efforts. Next!

Revision 1333 - Directory Listing
Modified Wed Jul 9 23:20:23 2003 UTC (10 years, 9 months ago) by jj
Original Path: trunk
Fixed new bug introduced by, er, my previous bug fix.

Revision 1332 - Directory Listing
Modified Wed Jul 9 20:29:04 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
Fixed a rounding problem.

Revision 1331 - Directory Listing
Modified Wed Jul 9 20:28:40 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
Removed the last change, it's now handled in display_matrix.

Revision 1330 - Directory Listing
Modified Wed Jul 9 20:21:02 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Make several changes suggested by Davide Cervone

Arnie

Revision 1329 - Directory Listing
Modified Wed Jul 9 20:20:03 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Added a time-remaining and leeway option as suggested by Davide Cervone

Arnie

Revision 1328 - Directory Listing
Modified Wed Jul 9 19:45:40 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Added $ to PG_random_generator in the subroutine SRAND.  Why it worked
before as a bare word is anyone's guess. Now that $PG_random_generator
is a local variable the bareword no longer works properly.
--Mike

Revision 1327 - Directory Listing
Modified Wed Jul 9 18:06:52 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
Added a pretty_matrix sub routine to fix some rounding problems.

Revision 1326 - Directory Listing
Modified Wed Jul 9 01:54:31 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Check for empty string instead of truth when inserting &nbsp; in
answer table.  This fixes bug #86
--Mike

Revision 1325 - Directory Listing
Modified Wed Jul 9 01:36:01 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Fixed error in finding the default set Header.pg file when the set
header was not defined.  This squashes bug #125.
--Mike

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

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

Revision 1322 - Directory Listing
Modified Tue Jul 8 19:26:36 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Use a drop down list rather than pattern matching to select sections.

Arnie

Revision 1321 - Directory Listing
Modified Mon Jul 7 15:12:57 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
More modifications in format for Hardcopy errors.
--Mike

Revision 1320 - Directory Listing
Modified Mon Jul 7 14:29:50 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Cleaning up the format of error reporting in hardcopy.
--Mike

Revision 1319 - Directory Listing
Modified Mon Jul 7 02:27:15 2003 UTC (10 years, 9 months ago) by jj
Original Path: trunk
Made box option functional for display_matrix.  It lets you specify an
element to be boxed.

Revision 1318 - Directory Listing
Modified Mon Jul 7 01:34:38 2003 UTC (10 years, 9 months ago) by jj
Original Path: trunk
Fixed bugs in matrix display when top_labels are present.

Revision 1317 - Directory Listing
Modified Fri Jul 4 05:08:37 2003 UTC (10 years, 9 months ago) by jj
Original Path: trunk
Fixed tick marks for graphs - x/y values were reversed.

Revision 1316 - Directory Listing
Modified Wed Jul 2 19:09:21 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Added Davide Cevones functionality of allowing the prof to change dates
for all students in a particular section.

Arnie

Revision 1315 - Directory Listing
Modified Wed Jul 2 18:27:11 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Incorporated Davide Cervones idea of a logout button

Arnie

Revision 1314 - Directory Listing
Modified Wed Jul 2 15:27:59 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Add backslash to list of characters filtered out of sticky answers

Arnie

Revision 1313 - Directory Listing
Modified Tue Jul 1 18:33:37 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
Changed default viewing mode from html to Global default as suggested by Davide P. Cervone

Arnie

Revision 1312 - Directory Listing
Modified Tue Jul 1 17:55:12 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Fixed error in sourceAlias.  The variable is %main::envir not
$main::envir !!!
--Mike

Revision 1311 - Directory Listing
Modified Tue Jul 1 15:36:43 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Changed the defintion of *i to be inside the Complex package.
this and the change to dangerousMacros seems to have cured bug #116

In dangerousMacros, I've added sub i {Complex::i}; after sub i;

--Mike

Revision 1310 - Directory Listing
Modified Tue Jul 1 15:35:51 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Changed the defintion of *i to be inside the Complex package.
this and the change to dangerousMacros seems to have cured bug #116
--Mike

Revision 1309 - Directory Listing
Modified Tue Jul 1 14:29:02 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Small error recovery corrections added to Hardcopy
--Mike

Revision 1308 - Directory Listing
Modified Tue Jul 1 14:28:37 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Added hooks for printing timing to a different log.  The log
must be hard coded into this file.
--Mike

Revision 1307 - Directory Listing
Modified Tue Jul 1 14:23:28 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Added timing code for hardcopy output
--Mike

Revision 1306 - Directory Listing
Modified Tue Jul 1 00:49:34 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
added warning message to preload macros call
--Mike

Revision 1305 - Directory Listing
Modified Tue Jul 1 00:48:01 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Latest attempt to get a version of dangerousMacros.pl that will
work with both 5.6.1 adn 5.6.0
--Mike

Revision 1304 - Directory Listing
Modified Mon Jun 30 23:24:29 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
removed unnecessary "no strict, use strict" pair
--Mike

Revision 1303 - Directory Listing
Modified Mon Jun 30 20:36:57 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
added missing hyperbolic, inverse trig, and inverse hyperbolic functions
cintributed by Davide Cervone

Arnie

Revision 1302 - Directory Listing
Modified Fri Jun 27 21:54:21 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
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 (10 years, 9 months ago) by malsyned
Original Path: trunk
Added functionality to the assigner.  You can now assign a set to an
individual student.

Revision 1300 - Directory Listing
Modified Fri Jun 27 21:38:22 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Made sure that only important db warnings get sent by the assign*
functions.

Revision 1299 - Directory Listing
Modified Fri Jun 27 20:42:22 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Added '-' to the list of valid characters in identifiers.  This
addresses bug #115

Revision 1298 - Directory Listing
Modified Fri Jun 27 19:53:50 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Fixed typo in beginproblem
--Mike

Revision 1297 - Directory Listing
Modified Fri Jun 27 17:09:06 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Cosmetic modifcations to links
--Mike

Revision 1296 - Directory Listing
Modified Fri Jun 27 17:02:46 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Changes in links subroutine.  Only
need class editor and problem list
for now

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

Revision 1294 - Directory Listing
Modified Fri Jun 27 13:57:09 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
Added a vec_solution_cmp. Used for problems where the answer
needs to be v1_s*v2+t*v3 where v1,v2,and v3 are vectors. v1 has
to be a linear combination of the professors answer where the
first one has a nonzero coefficient. The others are a basis, and
are compared with compare_basis.

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

Revision 1292 - Directory Listing
Modified Thu Jun 26 23:13:33 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Removed a warning

Revision 1291 - Directory Listing
Modified Thu Jun 26 23:13:14 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Fixed a bug in new password crypting.

Revision 1290 - Directory Listing
Modified Thu Jun 26 22:43:15 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Merge the time optimized branch and the main branch.  I forgot one subroutine
--Mike

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

Revision 1288 - Directory Listing
Modified Thu Jun 26 21:56:29 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Fixed the password changing functionality of this screen

Revision 1287 - Directory Listing
Modified Thu Jun 26 21:56:17 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Added the function "cryptPassword" which encrypts a plaintext password
using a random salt.

Revision 1286 - Directory Listing
Modified Thu Jun 26 21:08:47 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Make sure that the local my variables are updated in PGbasicmacros
as well as the variables in main::.

--Mike

Revision 1285 - Directory Listing
Modified Thu Jun 26 21:04:09 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Adding preliminary ability to decompose non-square matrices.  Won't work
if a permutation is required (i.e. a pivot)
--Mike

Revision 1281 - Directory Listing
Modified Thu Jun 26 19:06:52 2003 UTC (10 years, 9 months ago) by apizer
Original Path: trunk
The totals file is now updated if a new classlist is imported

Arnie

Revision 1280 - Directory Listing
Modified Thu Jun 26 17:42:18 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Merged the changes needed to work with the new WW2 translator
optimizations into the main pg branch.

Revision 1279 - Directory Listing
Modified Thu Jun 26 17:40:52 2003 UTC (10 years, 9 months ago) by malsyned
Original Path: trunk
Merged the translation optimization branch into the main branch

Revision 1278 - Directory Listing
Modified Thu Jun 26 13:55:43 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
Matrices now displayed in previewer.

Revision 1276 - Directory Listing
Modified Wed Jun 25 16:26:42 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
committed the wrong thing

Revision 1274 - Directory Listing
Modified Wed Jun 25 15:43:03 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
fixed a bug

Revision 1268 - Directory Listing
Modified Tue Jun 24 15:31:05 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Uncommented the caching code
--Mike

Revision 1267 - Directory Listing
Modified Tue Jun 24 15:25:58 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Changes that allow these files to work with caching version
of Webwork2.0 -- optimized for speed
--Mike

Revision 1266 - Directory Listing
Modified Tue Jun 24 15:24:09 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Changes that allow these files to work with optimized
version of WeBWorK2.0 which uses caching of macro files.
--Mike

Revision 1265 - Directory Listing
Modified Tue Jun 24 14:58:03 2003 UTC (10 years, 9 months ago) by lr003k
Original Path: trunk
Made the code more object-oriented

Revision 1262 - Directory Listing
Modified Tue Jun 24 14:51:42 2003 UTC (10 years, 9 months ago) by gage
Original Path: trunk
Changes made to insure that WeBWorK2.0 will run when it is
not optimized for time.  I'm planning to commit a "stable" version,
not feature complete, from which optimization branches can be derived.
--Mike

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

Revision 1260 - Directory Listing
Modified Tue Jun 24 00:54:51 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Added information about the synonyms system

Revision 1258 - Directory Listing
Modified Mon Jun 23 20:24:53 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
Now the totals file is edited to reflect any changes in student classlist data.

Arnie

Revision 1257 - Directory Listing
Modified Mon Jun 23 19:57:59 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
disabled &backtrace, which depends on Apache::DB. DB has been causing
segfaults with some modules (like File::Temp, XMLRPC::Lite...)

Revision 1256 - Directory Listing
Modified Mon Jun 23 18:59:13 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
Replace "Part Corr" by "Frac Corr"

Arnie

Revision 1255 - Directory Listing
Modified Mon Jun 23 18:57:59 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
Replace "PART CORR" by "FRAC CORR"

Arnie

Revision 1254 - Directory Listing
Modified Mon Jun 23 18:36:42 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
Rename Status (as in problem status) "Part Corr"

Arnie

Revision 1253 - Directory Listing
Modified Mon Jun 23 18:34:44 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
More changes to make these files compatible
with WeBWorK2.0 and cached compartments
-- Mike

Revision 1252 - Directory Listing
Modified Mon Jun 23 18:28:59 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
Add Enrollment Status to scoring files

Arnie

Revision 1251 - Directory Listing
Modified Mon Jun 23 16:24:32 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Changes made to PGbasicmacros so that it can be cached.
Changes should be compatible with webwork1.8
--MIke

Revision 1250 - Directory Listing
Modified Mon Jun 23 15:43:11 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Made changes required to allow caching of these files.
My tests indicate that these changes are compatible with webwork1.8
One possible problem might be the mail-to answer macros
which access the environement variable directly
I think I have this properly patched, but it has not been
tested yet.
--Mike

Revision 1249 - Directory Listing
Modified Mon Jun 23 14:24:13 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added caching code for reading PGbascimacros and PGanswermacros as well
as PG.pl, dangerousMacros and IO.pl into a cached safe compartment and
sharing the subroutines with the current safe compartment
It speeds up each problem significantly (about .2 seconds on webwork3).

Changes are required in PGbasicmacros and PGanswermacros to fix
assumptions that are not met when a file is compiled and run in
different name spaces.

The caching code is turned off by default.  It must be turned on by
by changing commenting in lines 133 to 147 in WeBWorK::PG:Local.pm
--Mike

Revision 1248 - Directory Listing
Modified Sat Jun 21 02:34:10 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
changed value of PRINT_FILE_NAMES_FOR
from array (back) to a reference to an array
--Mike

Revision 1247 - Directory Listing
Modified Sat Jun 21 02:32:33 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added PG:Local and PG:Remote  (from Sam's directory)
Complete updated system now works.
--Mike

Revision 1246 - Directory Listing
Modified Sat Jun 21 02:21:02 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Turned timers on for now..
--Mike

Revision 1245 - Directory Listing
Modified Sat Jun 21 02:19:14 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Timers turned on for now.
--Mike

Revision 1244 - Directory Listing
Modified Sat Jun 21 00:53:45 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
PG now serves as a factory, consulting $ce->{pg}->{renderer} for the
module to actually create.

Revision 1243 - Directory Listing
Modified Sat Jun 21 00:53:19 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
commented out debugging code

Revision 1242 - Directory Listing
Modified Sat Jun 21 00:53:09 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed the renderer from WeBWorK::PG to WeBWorK::PG::Local

Revision 1241 - Directory Listing
Modified Sat Jun 21 00:37:52 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Added instructions and sample configs for limiting access to the
development servers.

Revision 1240 - Directory Listing
Modified Fri Jun 20 23:08:39 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed $webworkDirs{macros}, added $pg{renderer} (currently selected
macros) and $pg{renderers} (renderer-specific options).

Revision 1239 - Directory Listing
Modified Fri Jun 20 23:06:17 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed occurences of $courseEnv to $ce. uses
$ce->{pg}->{directories}->{macros} instead of the (now removed)
$ce->{webworkDirs}->{macros}.

Revision 1238 - Directory Listing
Modified Fri Jun 20 19:05:38 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
Matrices now take math constants.

Revision 1237 - Directory Listing
Modified Fri Jun 20 18:59:44 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
Student answer now displayed in a html table given by jones's
display matrix method in PGmatrixmacros. The braces were giving
me headaches so I set the option to none, at least for now.

Revision 1236 - Directory Listing
Modified Fri Jun 20 17:04:03 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
new{Password,PermissionLevel,Key,User,GlobalSet,UserSet,...} now pass an
optional prototype object to the record class's constructor. this allows
you to use these methods in place of global2user and user2global (which
you should):

	my $userSet = $db->getUserSet($userID, $setID);
	my $gloalSet = $db->newGlobalSet($userSet);

You can even do weird things like:

	my $gloalSet = $db->newGlobalSet($userProblem);

The WeBWorK::DB::Record class just copies the values of ANY matching
fields from the old object to the new object.

Revision 1235 - Directory Listing
Modified Fri Jun 20 16:38:52 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
fixed logic error for setting refresh flag

Revision 1234 - Directory Listing
Modified Fri Jun 20 16:38:32 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
now uses imagegenerator instead of calling dvipng directly.

Revision 1233 - Directory Listing
Modified Fri Jun 20 01:23:03 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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 1232 - Directory Listing
Modified Fri Jun 20 01:21:57 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
More notes

Revision 1231 - Directory Listing
Modified Fri Jun 20 01:21:15 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
optimizations.

Revision 1230 - Directory Listing
Modified Fri Jun 20 01:20:59 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed unneeded info for deprecated hash2records/records2hash
functions -- these are not used by WW1Hash anymore, but they are used by
Classlist1Hash. Fix that.

Revision 1229 - Directory Listing
Modified Fri Jun 20 01:20:01 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
housekeeping

Revision 1228 - Directory Listing
Modified Fri Jun 20 01:19:00 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
housekeeping in siblings()

Revision 1227 - Directory Listing
Modified Fri Jun 20 01:18:33 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
misc warning elimination, added message to tell you if your score was
recorded.

Revision 1226 - Directory Listing
Modified Fri Jun 20 01:17:45 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added (commented-out) timing code, checkFields now requires ^\d*$ in
problem_id field and assers that ID fields not be undef or blank.

Revision 1225 - Directory Listing
Modified Fri Jun 20 01:16:22 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
housekeeping.

Revision 1224 - Directory Listing
Modified Fri Jun 20 01:16:09 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
commented out timing code

Revision 1223 - Directory Listing
Modified Fri Jun 20 00:36:47 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
nav() now uses problem IDs instead of getting a the whole problem.

Revision 1222 - Directory Listing
Modified Thu Jun 19 19:23:50 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
updated calls to CE constructor

Revision 1221 - Directory Listing
Modified Thu Jun 19 19:09:43 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
if permission level does not exist in database, has_permissions will
return a false value.

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

Revision 1219 - Directory Listing
Modified Thu Jun 19 18:50:48 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
Hopefully a bugfix for an error Mike was getting with undefined values.

Revision 1217 - Directory Listing
Modified Thu Jun 19 18:37:57 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
More notes

Revision 1216 - Directory Listing
Modified Thu Jun 19 16:28:18 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
Change classlist importation so that (1) prof's can not be droped or removed
and (2) students with existing sets can only be removed with conformation.

Arnie

Revision 1215 - Directory Listing
Modified Thu Jun 19 00:19:49 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Changed PGtranslator to Translator in warning messages.
--Mike

Revision 1214 - Directory Listing
Modified Thu Jun 19 00:15:31 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
Getting prettier

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

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

Revision 1210 - Directory Listing
Modified Wed Jun 18 23:04:51 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Added a new permission level.

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

Revision 1208 - Directory Listing
Modified Wed Jun 18 22:40:24 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed useless prototypes.

Revision 1207 - Directory Listing
Modified Wed Jun 18 22:40:09 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added NONKEYFIELDS function

Revision 1206 - Directory Listing
Modified Wed Jun 18 21:00:40 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed unused code

Revision 1205 - Directory Listing
Modified Wed Jun 18 21:00:15 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed unused TABLES constant

Revision 1204 - Directory Listing
Modified Wed Jun 18 20:03:03 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Oops.  Removed the remaining conflict line.
--Mike

Revision 1203 - Directory Listing
Modified Wed Jun 18 20:00:41 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Included timing code.
--Mike

Revision 1202 - Directory Listing
Modified Wed Jun 18 19:58:18 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
These files have timing code in them.  You have to change
the variable  $timer* from 0 to 1 in order to have the times
reported.
--Mike

Revision 1201 - Directory Listing
Modified Wed Jun 18 19:13:53 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added methods to create new instances of record classes.

Revision 1200 - Directory Listing
Modified Wed Jun 18 18:21:40 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed default name of error log to error.log (better for tab
completion!)

Revision 1199 - Directory Listing
Modified Wed Jun 18 18:20:17 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
small fix to Timing.pm.
key fields are now checked to match m/^\w*$/.

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

Revision 1197 - Directory Listing
Modified Wed Jun 18 16:35:22 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
cleaned up mike's editor support functionality. it now stores the source
file override and seed override in the $problem object. this eliminates
special logic further down the line. (eventually, i would like to have a
separate frontend to PG for the editor, like Instructor::PGPreview.pm)

Revision 1196 - Directory Listing
Modified Wed Jun 18 16:33:47 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
PG again gets source file and seed from $problem object,
unconditionally.

Revision 1195 - Directory Listing
Modified Wed Jun 18 16:33:12 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Worked on timing system.

Revision 1194 - Directory Listing
Modified Wed Jun 18 00:07:18 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
These ideas, soon to be implemented once the wrinkles are gone, will
greatly simplify the writing of professor pages, and avoid the immense
duplication of code and scatter-shot logic that currently characterizes
the system.

Revision 1193 - Directory Listing
Modified Tue Jun 17 22:16:57 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
(.*)GlobalUser(.*) replaced with \1Merged\2.
-Dennis

Revision 1192 - Directory Listing
Modified Tue Jun 17 22:07:59 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added a field for elapsed time ($diff).  Changed how the
fields are concatenated (for now).
--Mike

Revision 1191 - Directory Listing
Modified Tue Jun 17 21:40:31 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added an elapsed time field.
--Mike

Revision 1190 - Directory Listing
Modified Tue Jun 17 21:39:56 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Improved sorting speed for siblings.
--Mike

Revision 1189 - Directory Listing
Modified Tue Jun 17 21:37:23 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Changed the format of some messages, added docs.
-sam

Revision 1188 - Directory Listing
Modified Tue Jun 17 21:36:34 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
cleanup.
-sam

Revision 1187 - Directory Listing
Modified Tue Jun 17 19:59:59 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Removed an error in this file that caused the message
"Answer evaluators must be subroutines."

This is the default set header file if none is specified.

--Mike

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

Revision 1185 - Directory Listing
Modified Tue Jun 17 19:26:23 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
"That's what happens when you put in error checking code, is that your
error checking code is full of errors" --Sam Hathaway
-Dennis

Revision 1184 - Directory Listing
Modified Tue Jun 17 19:06:33 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added navUp.gif.
-sam

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

Revision 1182 - Directory Listing
Modified Tue Jun 17 18:30:42 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
documentation.

Revision 1181 - Directory Listing
Modified Tue Jun 17 16:17:07 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
This fragmented should be edited and then inserted in an existing
httpd.conf file to enable WeBWorK2.0

-Mike

Revision 1180 - Directory Listing
Modified Tue Jun 17 02:20:15 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Hardcopy now moves the pdf file to the tempDir/hardcopy
and sends the browser a redirect to pick it up.

Cleaned up the logic of latex2pdf and generateHardcopy to
some extent.  More remains to be done.  In particular
tempDir can be generated within latex2pdf.  Possibly
it could be passed a file name as well, rather than a tex
string.

this process is a good candidate for testing the timing
mechanisms once they are done.  How much faster is
redirect?  How much faster is passing a long tex string
rather than a pointer?   etc.

--Mike

Revision 1179 - Directory Listing
Modified Mon Jun 16 23:58:55 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added WeBWorK::Timing timer/logger and "timing" script to analyze timing
logs.
-sam

Revision 1178 - Directory Listing
Modified Mon Jun 16 23:58:04 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
wwapachectl now checks for existence of httpd.pid file.
-sam

Revision 1177 - Directory Listing
Modified Mon Jun 16 23:57:28 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed "webwork" to "webwork2" in comments
-sam

Revision 1176 - Directory Listing
Modified Mon Jun 16 22:23:29 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
permission level must be greater than 0 in order to
choose to download TeX.
--Mike

Revision 1175 - Directory Listing
Modified Mon Jun 16 21:51:59 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added ability to get TeX output .

Still to do.
(1) Make tex output only available to instructors and TA's
(2) Streamline some code
(3) Store pdf code and redirect instead of outputting the pdf
code directly -- hopefully this will speed up the output?
--Mike

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

Revision 1173 - Directory Listing
Modified Mon Jun 16 19:05:01 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Rearranged the URL to ContentGenerator mappings for user-specific data
editors.
-Dennis

Revision 1172 - Directory Listing
Modified Mon Jun 16 18:28:43 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
do not out webworkInit.pm in courseScripts
set permission on subdirectories of pg directory

Arnie

Revision 1171 - Directory Listing
Modified Mon Jun 16 18:18:02 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added Driver.pm, a superclass for all DB drivers.
-sam

Revision 1170 - Directory Listing
Modified Mon Jun 16 18:11:51 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
An index file used for testing and for requests to
/webwork2  which don't specify a course name.
--Mike

Revision 1169 - Directory Listing
Modified Sat Jun 14 06:03:15 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
fixed Bug #92 and problem with equations with \n in them.
-sam

Revision 1168 - Directory Listing
Modified Sat Jun 14 06:01:19 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed outdated warning.
-sam

Revision 1167 - Directory Listing
Modified Fri Jun 13 23:35:54 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Several changes to the DB system:

Made all schemas subclasses of WeBWorK::DB::Schema, factored common
constructor code out into Schema.pm. Made all drivers subclasses of
WeBWorK::DB::Schema, factored common constructor code out into
Driver.pm.

Removed superfluous style() and tables() functions from schemas and
drivers. (You can treat the constants in which these are defined as
functions, and call them like $object->STYLE or $object->STYLE().)

WeBWorK::DB now tries to build all tables defined in %dbLayout, instead
of using its own internal list. (TODO: add warnings if known tables are
not built or unknown tables are built.)

Made the error messages given during DB instantiation a little more
intelligent.

Changed the behavior of the exists() and delete() schema methods in all
schemas (and updated the docs) s.t. not all elements of @keyparts have
to be defined.

Changed WeBWorK::DB to allow undefined values to be passed instead of
IDs in delete* method calls, but only if the call was made from
WeBWorK::DB itself (to protect you from accidentally passing an
undefined value and clobbering your whole database).

Changed delete functions to be more efficient. For example,
deleteGlobalSet no longer has to say:

	$self->deleteUserSet($_, $setID)
		foreach $self->listSetUsers($setID);
	$self->deleteGlobalProblem($setID, $_)
		foreach $self->listGlobalProblems($setID);

Instead it says:

	$self->deleteUserSet(undef, $setID);
	$self->deleteGlobalProblem($setID, undef);

This is somewhat more efficient with hash-style schemas, and MUCH more
efficient with the SQL schema.

As usual, be wary of lingering bugs. w00t!
-sam

Revision 1166 - Directory Listing
Modified Fri Jun 13 20:15:55 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Trying to find the best way to shut down a server.
--Mike

Revision 1165 - Directory Listing
Modified Fri Jun 13 19:36:22 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Final tweaks to get processProblem8.pl, ImageGenerator cooperating
--Mike

Revision 1164 - Directory Listing
Modified Fri Jun 13 18:53:21 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Rolled back some changes to make everything compatible between webwork2 and webwork1.
The ImageGenerators used by the two systems (as well as the Translator files) are still different.
We'll try to mrege them later.

--Mike

Revision 1163 - Directory Listing
Modified Fri Jun 13 18:07:54 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed some documentation.
-sam

Revision 1162 - Directory Listing
Modified Fri Jun 13 17:39:36 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Fix handling of dvipng error codes.

Revision 1161 - Directory Listing
Modified Fri Jun 13 17:36:10 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
Was not accepting negative answers, the sign problem is fixed now.

Revision 1160 - Directory Listing
Modified Fri Jun 13 17:35:35 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Changes to make processProblem8 work with new version of ImageGenerator
--Mike

Revision 1159 - Directory Listing
Modified Fri Jun 13 17:26:40 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed unneeded code from WeBWorK::PG, WeBWorK::PG::ImageGenerator::add
now supports both add($in_delim) and add($in, $mode).
-sam

Revision 1158 - Directory Listing
Modified Fri Jun 13 17:12:18 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
rollback change to the way ImageGenerator::add is called.
-sam

Revision 1157 - Directory Listing
Modified Fri Jun 13 14:26:10 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Hardcopy now appends a copy of the tex output to error message.
Clean up of temp files is pretty good.
The output needs some cosmetic work.
It still seems a little slow to me.
This answers the bulk of bug #82.  Resubmit cosmetic details,
feature requests, etc. as new bug.
--Mike

Revision 1156 - Directory Listing
Modified Fri Jun 13 13:53:19 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
This is a fairly stable version of Hardcopy.  It reports
part of the TeX log errors along with whater pdf was
produced.  This partially satisfies the requests in
bug #82
--Mike

Revision 1155 - Directory Listing
Modified Fri Jun 13 02:33:56 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changes to the math_ev3 functions in PGbasicmacros.pl to support new
interface to ImageGenerator and some cleanup.
-sam

Revision 1154 - Directory Listing
Modified Fri Jun 13 02:30:45 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Rewrote ImageGenerator to work with WeBWorK2. Its arguments are now
passed in via an options hash instead of getting a whole %envir. Also,
the options are passed to the constructor and there is no initialize()
method. add() has the same interface, and render() has been changed
slightly. (This closes Bug #80!)

To make this work with 1.8, take a look at how I'm creating
ImageGenerator in &WeBWorK::PG::defineProblemEnvironment and make the
necessary modifications to processProblem8.pl.

I made changes to WeBWorK::PG to have "images" mode trigger HTML_dpng
rather than HTML_img, and also to create an ImageGenerator before
initializing and call render() after translation.

Also in PG, I shortened the names of the equation image files. They're
now "equation-$PSVN-$probnum-$seed.png". This has the added benefit of
forcing image regeneration if the problem seed changes, closing Bug
#70.

Equation files are now dumped directly into the $courseDirs{HTML_temp}
directory. This means that no one has to worry about whether "m2i"
exists any more.

global.conf.dist was changed to not include the switches to dvipng on
the command line (they're currently hardcoded into ImageGenerator).

I still have to get this to work with dvipng 0.3. I should also take
advantages of 0.3's new features, like pipelining (using the -follow
switch) and specifying the output file name (to avoid the "move" of
resulting images).

This is MUCH FASTER than the way I was calling dvipng, and I think it's
safe to say that it's a better method. Thanks JJ!
-sam

Revision 1153 - Directory Listing
Modified Fri Jun 13 02:20:06 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Hardcopy now does a reasonable job of reading the TeX log file, cutting
off the initial errors.

If there are tex errors then these are reported and one can optionally
download a pdf file if this was created.

Have not yet added the TeX file output -- Need to see how this is
handled in 1.8 first.

Good stopping point.  Good night.

--Mike

Revision 1152 - Directory Listing
Modified Fri Jun 13 02:17:32 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Changed some error H2 headings to H3 -- it wastes less space.
--Mike

Revision 1151 - Directory Listing
Modified Fri Jun 13 02:14:13 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
profiler debugging.
-sam

Revision 1150 - Directory Listing
Modified Fri Jun 13 02:13:35 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added removeTempDirectory() routine. instead of calling rmtree($dir, 0,
0) directly, you should use this :)
-sam

Revision 1149 - Directory Listing
Modified Thu Jun 12 20:06:20 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
replaced tempdir() with makeTempDirectory()
-sam

Revision 1148 - Directory Listing
Modified Thu Jun 12 19:35:56 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed debugging output -sam

Revision 1147 - Directory Listing
Modified Thu Jun 12 19:34:18 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed calls to tempdir to calls to makeTempDirectory
-sam

Revision 1146 - Directory Listing
Modified Thu Jun 12 19:33:28 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
made some small improvements in error handling. changed calls to tempdir
to calls to makeTempDirectory
-sam

Revision 1145 - Directory Listing
Modified Thu Jun 12 19:32:51 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added makeTempDirectory function.
-sam

Revision 1144 - Directory Listing
Modified Thu Jun 12 19:31:44 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
replaced call to tempdir with call to makeTempDirectory
-sam

Revision 1143 - Directory Listing
Modified Thu Jun 12 19:31:16 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
commented out backtrace call (still causing problems).
-sam

Revision 1142 - Directory Listing
Modified Thu Jun 12 19:30:37 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Changed error and warning output to replace <pre> with <p><tt>.
Error/warning text now wraps!
-sam

Revision 1141 - Directory Listing
Modified Thu Jun 12 19:27:36 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed calls to Apache::DB::backtrace with calls to
Apache::DB->backtrace to eliminate warning about that.
-sam

Revision 1140 - Directory Listing
Modified Thu Jun 12 19:14:38 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Answer labels are now prefixed by a Quiz prefix which allows more
than one problem to appear on the same page.
-- Mike

Revision 1139 - Directory Listing
Modified Thu Jun 12 19:12:53 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Changed recognition of failed dvipng exit code to match version 0.3.

Revision 1138 - Directory Listing
Modified Thu Jun 12 19:02:59 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
The GatewayQuiz can be reached by using the url

courseName/quiz_mod/setNumber

It will produce the entire set as a quiz.  Recording functions, and the
ability to limit the number of entries have not yet been implemented.

--Mike

Revision 1137 - Directory Listing
Modified Thu Jun 12 18:13:04 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added pretty_print_rh utility function for printing warnings lines from
a hash.
-- Mike

Revision 1136 - Directory Listing
Modified Thu Jun 12 14:01:40 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Removed warning message used in debugging.
--Mike

Revision 1135 - Directory Listing
Modified Thu Jun 12 12:53:36 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Quizzes are now called using quiz_mode instead of quiz

Revision 1134 - Directory Listing
Modified Wed Jun 11 22:23:34 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Added global matrix style to environment when hard copy is produced so that
it is respected.

Revision 1133 - Directory Listing
Modified Wed Jun 11 20:41:56 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Fixed a bug in ordering the siblings. (again :-) )
--Mike

Revision 1132 - Directory Listing
Modified Wed Jun 11 20:40:56 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
turned off PG warning catching in conf/global.conf.dist
-sam

Revision 1131 - Directory Listing
Modified Wed Jun 11 20:40:11 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Made many changes:

- turned off PG warning catching in conf/global.conf.dist
- added warning reporting to conf/templates/ur.template (but not to
  other templates!)
- modified a couple of error messages in WeBWorK.pm
- made failure to create course environment and failure to find course
  directory fatal errors in WeBWorK.pm
- added warning queueing and call stack storing to Apache::WeBWorK
- added "warnings" and "if_warnings" template escapes to
  WeBWorK::ContentGenerator
- removed warning handling from WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::PG::ImageGenerator

-sam

Revision 1130 - Directory Listing
Modified Wed Jun 11 19:32:31 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added GatewayQuiz.pm module.  It can be accessed by courseName/quiz/setNumber
--Mike

Revision 1129 - Directory Listing
Modified Wed Jun 11 19:30:51 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
This presents an entire set as a quiz.  to be done:
(1) The answer presentation has to be filled in.
(2) Changes to PG.pl and the environment variables have to be made so that different
answers don't collide. The idea is to prefix all answers with something indicating the
problem number e.g.  pRoBlEm04-AnSwEr05  I think it better to pass in an explicit
variable rather than rely on problem numbers.
(3) should this work automatically for NAMED_ANS as well?  Pro: --it's done for you.
  Con: You can't refer to answers in other parts of the quiz. (Put perhaps you
shouldn't to promote atomic behavior.)
--Mike

Revision 1128 - Directory Listing
Modified Wed Jun 11 19:24:38 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Use &nbsp; instead of blanks inside tables.
This squashes bug #72 (which Sam thinks is beter unsquashed.  What do you think?)
--Mike

Revision 1127 - Directory Listing
Modified Wed Jun 11 19:18:19 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
Was working from an older copy before my last update, sorry.

Revision 1126 - Directory Listing
Modified Wed Jun 11 18:34:40 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Fixed isPrime, which had said that 4 was prime, and shortened its loop.

Revision 1125 - Directory Listing
Modified Wed Jun 11 17:48:16 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
took out old code.
-sam

Revision 1124 - Directory Listing
Modified Wed Jun 11 16:13:09 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
added a ans_label to the hash

Revision 1123 - Directory Listing
Modified Wed Jun 11 15:28:47 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
Ok, there is the ans_array_filter added which allows for the answer to be coming from the ans_array.

Revision 1122 - Directory Listing
Modified Wed Jun 11 14:54:27 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
Added two methods for naming the blanks in ans_array. The names now have the format ArRaY3[1,0,2] (this would be the name of
the 3rd answer (it's taken from main::answer_count which is then incremented so the answer before it is AnSwEr2 and the
answer after it is AnSwEr4) and it would be the second matrix or vector in the answer ( I need to take multiple vectors for
things like basis cmp, so ans_array_extension puts the vectors in different locations) and the 0 and 2 are row and column in
that matrix or vector.

Revision 1121 - Directory Listing
Modified Wed Jun 11 14:47:59 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
I removed the subroutine answer_matrix since it really belongs in basic macros with the other answer blank methods.

Revision 1120 - Directory Listing
Modified Wed Jun 11 14:46:35 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
I've added ans_array and ans_array extension and moved answer_matrix here since this is probably where it should be with all
the other answer blank methods. I still have to comment the code.

Revision 1119 - Directory Listing
Modified Wed Jun 11 14:11:41 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Fixed error in match pattern in include
routine (the ..  should be \.\.)

Added some error messages (sent only to the
log unfortunately) if the config file can't
be evaluated.

One problem with do is that it does not
return error messages. eval does.  I don't
know if it takes more time.
--Mike

Revision 1118 - Directory Listing
Modified Wed Jun 11 14:09:39 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Set the default globalUserID to "practice1"
to promote least hassle for "out of the
box" users migrating from WeBWorK1.8.
--Mike

Revision 1117 - Directory Listing
Modified Wed Jun 11 04:00:37 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added a feature to correspond to a change made in process_answers in Translator.pm.

 Each answer
evaluator is given the
answer AND the answer label (e.g. AnSWer1) of the answer.  The label
is placed in the answer hash at $hash{ans_label} for use by filters
that need to know the label of the answer they are evaluating.

--Mike

Revision 1116 - Directory Listing
Modified Wed Jun 11 03:59:00 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added a feature to process_answers.  Each answer evaluator is given the
answer AND the answer label (e.g. AnSWer1) of the answer.  The label
is placed in the answer hash at $hash{ans_label} for use by filters
that need to know the label of the answer they are evaluating.

A corresponding change has been made in AnswerEvaluator in AnswerHash.pm

--Mike

Revision 1115 - Directory Listing
Modified Wed Jun 11 02:43:42 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
Fixed error concerning variable $string.
Cleaned up how polynomials are displayed.

Arnie

Revision 1114 - Directory Listing
Modified Wed Jun 11 02:18:04 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added  a "snippets" entry for hardcopyUerDivider.tex file
--Mike

Revision 1113 - Directory Listing
Modified Wed Jun 11 02:04:13 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
(1) Moved order in which snippets are assembled.  Only one preamble and one postamble are used
for a single download (also a single run of TeX). The postamble ends the document and nothing
else in the file will be read by TeX.
(2) Modified the getSetTeX and getProblemTeX subroutines to include a username (for sets)
and a user object (for problems) so that problems and sets can be made for different students.
The new identifier is the first arguement.
$self->getSetTeX($effectiveUserName, $setName);

and

$self->getProblemTeX($effectiveUser,$setName, 0, $setHeader);

It seems to work pretty well, but perhaps a bit slow still.

--Mike

Revision 1112 - Directory Listing
Modified Wed Jun 11 01:58:43 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Modified these tex files so that the \newpage command does not occur in the middle
of a column environment where it does no good.  In other words use
\end{multicols}
\newpage
\begin{\multicols}
etc.  This fixes part of bug #13
--Mike

Revision 1111 - Directory Listing
Modified Tue Jun 10 23:05:57 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Added sortByName($field, @items) to WeBWorK::Utils. It uses the method
named $field to sort the objects in @items. Modified ProblemSets to call
it.
-sam

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

Revision 1109 - Directory Listing
Modified Tue Jun 10 20:34:08 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Fixed bug in sorting in siblings subroutine
--Mike

Revision 1108 - Directory Listing
Modified Tue Jun 10 19:58:28 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed global.conf.dist to include one of sql.conf or gdbm.conf. added
sql.conf.dist and gdbm.conf.dist. continuted documenting WeBWorK::DB
-sam

Revision 1107 - Directory Listing
Modified Tue Jun 10 19:40:45 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Siblings for problem set are sorted by date.   Those sets which
are still open are listed first, followed by sets which are now
closed.  Within each group the problems are sorted by due date in
increasing order.
This responds to bug #57bis (request for ordering by due-date)
--Mike

Revision 1106 - Directory Listing
Modified Tue Jun 10 18:37:39 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by gage
Original Path: trunk
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 1104 - Directory Listing
Modified Tue Jun 10 17:25:26 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Fixed a bug in error reporting that was preventing answer submission.
Say your final goodbyes to bug #69
-Dennis

Revision 1103 - Directory Listing
Modified Tue Jun 10 16:27:26 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Some cleanups to global.conf.dist
-Dennis

Revision 1102 - Directory Listing
Modified Tue Jun 10 16:23:47 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
ok, I'm pretty sure that this one is the one we want. Unfortunately the other one was an old one, that cmpl_cmp4 was not used
anywhere and I had removed it later, and this one has multi_cmp. Sorry for all the confusion.

Revision 1101 - Directory Listing
Modified Tue Jun 10 00:52:00 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
*** empty log message ***

Revision 1100 - Directory Listing
Modified Tue Jun 10 00:18:14 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
in the interest of alleviating crowding:
moved snippets to conf/snippets.
moved templates to conf/templates.
updated global.conf.dist to match.
-sam

Revision 1099 - Directory Listing
Modified Mon Jun 9 23:41:43 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added a section for special variables to be passed to the safe
environment:
%pg=(....
specialPGEnvironmentVars => {
		PRINT_FILE_NAMES_FOR      =>
['gage','apizer','voloshin','lr003k','professor'],
		CAPA_Tools                =>
"$courseDirs{macros}/CAPA_Tools/",
		CAPA_MCTools              =>
"$courseDirs{macros}/CAPA_MCTools/",
		CAPA_Graphics_URL         =>
"$courseDirs{html}/CAPA_Graphics/",
		CAPA_GraphicsDirectory    =>
"$courseDirs{html}CAPA_Graphics/",
    },
...
);

this fixes bug #66 (actually a feature request).

It allows professors to see the file names of the problems they
are looking at.  It allows the interpretation of CAPA problems as well.
-- MIke

Revision 1098 - Directory Listing
Modified Mon Jun 9 23:32:25 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Environment variables added for
PRINT_FILE_NAMES_FOR
CAPA_Tools
CAPA_MCTools
CAPA_Graphics_URL
CAPA_GraphicsDirectory

These are all set in the anonymous hash
$pg{specialPGEnvironmentVars} = {
		PRINT_FILE_NAMES_FOR      =>
['gage','apizer','voloshin','lr003k','professor'],
		CAPA_Tools                =>
"$courseDirs{macros}/CAPA_Tools/",
		CAPA_MCTools              =>
"$courseDirs{macros}/CAPA_MCTools/",
		CAPA_Graphics_URL         =>
"$courseDirs{html}/CAPA_Graphics/",
		CAPA_GraphicsDirectory    =>
"$courseDirs{html}CAPA_Graphics/",
    };

set in global.conf or in course.conf

--Mike

Revision 1097 - Directory Listing
Modified Mon Jun 9 23:26:19 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Slightly better handling of top_labels in tth mode when force_tex is set; namely
it ignores the labels instead of letting the TeX code confuse tth so badly that
the matrix is basically lost.

Revision 1096 - Directory Listing
Modified Mon Jun 9 23:25:09 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
*** empty log message ***

Revision 1095 - Directory Listing
Modified Mon Jun 9 23:24:37 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
fixed encodeAnswer to never allow the last character to be a backslash.
closes bug #67.
-sam

Revision 1094 - Directory Listing
Modified Mon Jun 9 22:46:25 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Fixed bug when the function is sampled at a point where it is not defined.

Revision 1093 - Directory Listing
Modified Mon Jun 9 22:08:57 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
&include code now prettier.
-Dennis

Revision 1092 - Directory Listing
Modified Mon Jun 9 22:05:01 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
&include now works like it's supposed to in the course environment
config files.  Sam will be happy.
-Dennis

Revision 1091 - Directory Listing
Modified Mon Jun 9 21:53:11 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added > /dev/null tags to the commands which run tex and dvi for
HTML_img mode.  These will probably work now for the most part.
I don't know how well this will work if there is an error in
getting either tex or dvips to run.

For many problems using WeBWorK1.8 and typeset3 mode  thing work fine.
Please submit example problems where the images don't show up or some
other image related error occurs as bugs to
http://webwork3.math.rochester.edu/bugzilla
--Mike

Revision 1090 - Directory Listing
Modified Mon Jun 9 21:24:08 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Fixed a patch to round (and Round) originally due to Mark Schmitt
which didn't get included in the latest updates and transfer to pg
--Mike

Revision 1089 - Directory Listing
Modified Mon Jun 9 21:10:03 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Modified directory so that
lib => $webworkroot/lib

becomes
lib => $pgRoot/lib   since this is where the *.pm macro files for the pg language go.

Should this lib be changed to pglib? (there might have to be a lot of changes to make this work.)

-- Mike

Revision 1088 - Directory Listing
Modified Mon Jun 9 21:05:11 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Commented out code  that is not used (I believe)

comp_cplx4 and cplx_cmp4

-- Mike

Revision 1087 - Directory Listing
Modified Mon Jun 9 20:42:45 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added some lines to the defineProblemEnv routine.  The variables used by HTML_img and HTML_dpng are too
close for comfort. But it works for now.  What doesn't work is that when tex is called it produces
output which spills over and is returned to the CGI call -- leading to an internal error.  The forking
code in welcomeAction.pl fixes this problem.  Perhaps there is a simpler way.
--Mike

Revision 1086 - Directory Listing
Modified Mon Jun 9 20:40:00 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added a variable to set the environment variable
use by HTML_img.  This is too close to one used by HTML_dpng but we can use it for now:

	$envir{'externalLatexPath'}   		=	$Global::externalLaTeX2HTMLPath;

	$envir{'externalLaTeXPath'}   		=	$Global::externalLatexPath;  #used by HTML_img
(note capitalizations of T's FIXME


--Mike

Revision 1085 - Directory Listing
Modified Mon Jun 9 18:28:46 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
I made an &include subroutine available to the global.conf and
course.conf evaluation environments.  It allows the inclusion of files
within the webworkRoot.
-Dennis

Revision 1084 - Directory Listing
Modified Mon Jun 9 18:26:11 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
These files have been moved to the webwork/pg/macros directory
--Mike

Revision 1083 - Directory Listing
Modified Mon Jun 9 18:24:20 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
These files have been moved to the webwork/pg directory
--Mike

Revision 1082 - Directory Listing
Modified Mon Jun 9 18:19:09 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
setup script now changes group and permission for pg directory and its contents.

Arnie

Revision 1081 - Directory Listing
Modified Mon Jun 9 17:59:16 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Allow commas, [ ] and | in answers
(changes to Safety filter.)
--MIke

Revision 1080 - Directory Listing
Modified Mon Jun 9 17:49:36 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
remove unneccsary shebang lines

Arnie

Revision 1079 - Directory Listing
Modified Mon Jun 9 17:36:12 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
removed unneccesary shebang lines

Revision 1078 - Directory Listing
Modified Mon Jun 9 17:26:29 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
use /usr/local/bin/perl ib shebang line

Revision 1077 - Directory Listing
Modified Mon Jun 9 13:56:36 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added this file which won't get erases if you do rm *.pl.  It is
identical to MAKEFILE.PL
--Mike

Revision 1076 - Directory Listing
Modified Mon Jun 9 13:50:16 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Explains that all of the files have been moved to pg
--Mike

Revision 1075 - Directory Listing
Modified Mon Jun 9 13:49:37 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
These files are now maintained in pg/macros. Assuming that pg and system
are sibling files you can run MAKELINKS.pl in system/courseScripts to
create links from system/courseScripts to these files in pg/macros.

pg can be downloaded from the cvs:
cvs -d :pserver:anonymous@webwork-db.math.rochester.edu:/var/cvs/system
checkout pg

-Mike

Revision 1074 - Directory Listing
Modified Mon Jun 9 13:46:11 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
These files are now maintained in pg/lib. Assuming that pg and system
are sibling files you can run MAKELINKS.pl in system/courseScripts to
create links from system/courseScripts to these files in pg/lib.

pg can be downloaded from the cvs:
cvs -d :pserver:anonymous@webwork-db.math.rochester.edu:/var/cvs/system
checkout pg

-Mike

Revision 1073 - Directory Listing
Modified Mon Jun 9 13:30:46 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
This module contains IO used in saving an answer to a file.
--Mike

Revision 1072 - Directory Listing
Modified Mon Jun 9 02:27:04 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
The file PGcomplexmacros.pl is partially in sync with the version in
courseScripts.  I need advice on the latest versions of some of the
subroutines from Liam.
--Mike

Revision 1071 - Directory Listing
Modified Mon Jun 9 02:26:17 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Bringing these files in sync with the latest versions in the
courseScripts CVS
--Mike

Revision 1070 - Directory Listing
Modified Mon Jun 9 02:02:20 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Bringing this version of Matrix.pm up to date with the latest in
courseScripts.
--Mike

Revision 1069 - Directory Listing
Modified Mon Jun 9 02:01:41 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Bringing this version into sync with the latest version in
courseScripts.
In particular dvipng is active in this script to make HTML_img
useable in WeBWorK2.0.  Not yet finished with this.
--Mike

Revision 1068 - Directory Listing
Modified Mon Jun 9 01:59:37 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Updating the copy of PGchoicemacros.pl to the latest version available
in courseScripts
--Mike

Revision 1067 - Directory Listing
Modified Mon Jun 9 01:44:46 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added dvipng subroutine.  Corrected some errors in math2image.  dvipng
is still not being called correctly -- I think math2image needs more
updates.

dvipng is also in IO.pm, but making this available to WeBWorK1.8 seems
like a lot of work, hence I've only made a copy of the dvipng subroutine
from IO.pm.  With luck this will not interfere with WeBWork2.0.  I'm
open to suggestions for a better way to make both dvipng methods
available to both WeBWorK2.0 and WeBWorK 1.8
--Mike

Revision 1066 - Directory Listing
Modified Mon Jun 9 00:54:33 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Adding a newer version of PGmatrixmacros.pl
--Mike

Revision 1065 - Directory Listing
Modified Mon Jun 9 00:43:39 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added typeset3 mode (HTML_img), Sam Hathaway's version of dvipng mode.
--Mike

Revision 1064 - Directory Listing
Modified Mon Jun 9 00:34:51 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Adding recent macro files to the pg collection
--Mike

Revision 1063 - Directory Listing
Modified Sun Jun 8 21:15:30 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Modified sibiling macro to sort alphabetically by name of the set.
(this may not be the best permanet solution but itis useful
for those editing this summer.)
--Mike

Revision 1062 - Directory Listing
Modified Sun Jun 8 19:02:48 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
This file constructs links from the courseScripts directory to the
pg/lib and pg/macros directories
--Mike

Revision 1061 - Directory Listing
Modified Sat Jun 7 05:11:28 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
A module that supports the "save answer on disk" answer evaluator (similar to the mail_to evaluator)
--Mike

Revision 1060 - Directory Listing
Modified Sat Jun 7 04:39:24 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Resetting # of ties back to 30
--Mike

Revision 1059 - Directory Listing
Modified Sat Jun 7 04:30:31 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Restoring header #!/usr/local/bin/webwork-perl line
--Mike

Revision 1058 - Directory Listing
Modified Sat Jun 7 04:15:46 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Restoring these files so that the #! header is correct
--Mike

Revision 1057 - Directory Listing
Modified Sat Jun 7 03:35:43 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Fixing a mistake I made a few minutes ago.  I didn't mean to change these files.
--Mike

Revision 1056 - Directory Listing
Modified Sat Jun 7 03:24:30 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Creating directories which contain just .pl files (macros directory) and just .pm files (pglib).
These files are loaded differently into the safe compartment, and it helps to keep them
separated, particularly for WeBWork2.0.  In order to be backward compatable with WeBWorK1.8
I'll put symlinks in courseScripts to the files in the other directories.
--Mike

Revision 1055 - Directory Listing
Modified Sat Jun 7 03:21:22 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Creating directories which contain just .pl files (macros directory) and just .pm files (pglib).
These files are loaded differently into the safe compartment, and it helps to keep them
separated, particularly for WeBWork2.0.  In order to be backward compatable with WeBWorK1.8
I'll put symlinks in courseScripts to the files in the other directories.

Revision 1054 - Directory Listing
Modified Fri Jun 6 23:52:13 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Added params required for global table emulation.
-Dennis

Revision 1053 - Directory Listing
Modified Fri Jun 6 22:17:45 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Add support for hline in matricies, and fixed vertical spacing problem in pdf
output when top_labels are used.  tth mode still cannot handle top_labels.

Revision 1052 - Directory Listing
Modified Fri Jun 6 22:03:20 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Fixed a typo
-Dennis

Revision 1051 - Directory Listing
Modified Fri Jun 6 21:47:51 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
moved PG modules and macro files from webwork-modperl to pg
-sam

Revision 1050 - Directory Listing
Modified Fri Jun 6 21:39:42 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
moved PG modules and macro files from webwork-modperl to pg
-sam

Revision 1049 - Directory Listing
Modified Fri Jun 6 21:21:28 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Calculate percent correct the same everywhere.
fixes bug 60

Revision 1048 - Directory Listing
Modified Fri Jun 6 21:16:09 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Fixed a bug that I just introduced that was corrupting
$ce->{webworkURLs}->{root};
-Dennis

Revision 1047 - Directory Listing
Modified Fri Jun 6 20:36:44 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Multiple forward slashes in URLs are now collapsed into one before being
examined, so that we follow the usual Apache behavior of accepting paths
with // in them.
-Dennis

Revision 1046 - Directory Listing
Modified Fri Jun 6 19:32:53 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Fixed bug in pdf output with top_labels in a display_matrix.

Revision 1045 - Directory Listing
Modified Fri Jun 6 19:13:51 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Took out the redundant "confirm email address" from user options.
Also, added a Util function "backtrace", which can be passed one of
"die", "warn", "print", or "return".  I'm just showing off, but it might
prove useful in debugging.
-Dennis

Revision 1044 - Directory Listing
Modified Fri Jun 6 19:03:14 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Replacing hard coding of /webwork/ with  $ce->{webworkURLs}->{root}
-- Mike

Revision 1043 - Directory Listing
Modified Fri Jun 6 18:01:32 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Features added (and code cleanup) for display_matrix.  Matricies can
now have "top labels".  If the matrix has "Fraction" objects, it detects that
and prints the fraction.

Revision 1042 - Directory Listing
Modified Fri Jun 6 17:48:11 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Template escapes can return a list again, and now it's a sanctioned
activity.
-Dennis

Revision 1041 - Directory Listing
Modified Fri Jun 6 16:14:38 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Replaced the hardcoded path /webwork with $ce->{webworkURLs}->{root} in
the link from Problem.pm to PGProblemEditor.pm.  This fixes bug 52.
-Dennis

Revision 1040 - Directory Listing
Modified Fri Jun 6 12:54:41 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added a CGI::end_form() to the options section of Problem.pm.

I believe this is is the root cause of the multiple key parameters. I
haven't done all of the testing needed to verify this for sure.
Bug #50 is probably comotose, but needs to be watched.
--Mike

Revision 1039 - Directory Listing
Modified Fri Jun 6 02:28:13 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
replaced $r->param('key') with my $key = $r->param('key'); and then used $key in call
to PG.  $r->param('key') was returning a two item list in list context.  I don't know
where the extra entry into the key param was coming from.

This stuns bug #50, but doesn't kill it.

-- Mike

Revision 1038 - Directory Listing
Modified Fri Jun 6 02:24:42 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
*** empty log message ***

Revision 1037 - Directory Listing
Modified Fri Jun 6 01:13:18 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added HTML_img tags
-- Mike

Revision 1036 - Directory Listing
Modified Fri Jun 6 00:10:57 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Removed the subroutine dvipng (which is now defined elsewhere and with
4 calling arguments.

--Mike

Revision 1035 - Directory Listing
Modified Thu Jun 5 22:58:42 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Fixed (again) the GlobalTableEmulator.
-sam

Revision 1034 - Directory Listing
Modified Thu Jun 5 22:41:47 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
the % done status indicators now round to the nearest whole percent.
Fixes Bug #47
-Dennis

Revision 1033 - Directory Listing
Modified Thu Jun 5 21:54:22 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added HTML_img mode to PGmatrixmacros.pl display commands.
--Mike

Revision 1032 - Directory Listing
Modified Thu Jun 5 20:48:39 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed per-course logs from the initial definition of the
$webworkFiles{logs} hash, and put them below, where the
$courseDirs{logs} variable is defined.

(This is sort of an issue -- I want only files/dirs/URLs that are
necessarily tied to a course to be "course" files/dirs/URLs. The
transaction log (for example) could be in a location that wasn't
course-dependant just as easily. Perhaps this whole business of
"webwork" versus "course" locations is arbitrary? Should it be
rethought?)

Also fixed some formatting problems. (Mike -- I would LOVE it if you
would use spaces for aligning your equals signs, instead of tabs!)
-sam

Revision 1031 - Directory Listing
Modified Thu Jun 5 20:29:50 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
contains pod docs.
-sam

Revision 1030 - Directory Listing
Modified Thu Jun 5 19:52:39 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added Liam's code for entering a matrix column by column
--Mike

Revision 1029 - Directory Listing
Modified Thu Jun 5 19:47:38 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Changed another occurence of /webwork to /webwork2
-Dennis

Revision 1028 - Directory Listing
Modified Thu Jun 5 19:43:43 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Changed all relavent occurences of /webwork* in default URLs to
/webwork2*
-Dennis

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

Revision 1026 - Directory Listing
Modified Thu Jun 5 19:26:31 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Added a function "initializeUserProblem" to WeBWorK::DB::Utils and
changed my code to use it.
-Dennis

Revision 1025 - Directory Listing
Modified Thu Jun 5 15:37:54 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Modified the address to the webwork image
(used webwork2_files instead of webwork_files)
--Mike

Revision 1024 - Directory Listing
Modified Thu Jun 5 15:26:59 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Fixed bug in navMacro and a bug in path.
This squashes bug #46.

The problem was a comma in the return, instead of a period.
return "foo"."\n";
returns foo with a return after it
return "foo","\n";
returns just the \n probably because the comma operation comes into
play and only the result of the last operation is returned.

Apparently return doesn't grab everything to the right of it in the same
way that print does.
I'd bet that
return("foo","\n") would return a list however.

--Mike

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

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

Revision 1022 - Directory Listing
Modified Thu Jun 5 14:06:10 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added ImageGenerator to CVS to help with compatibility
with WeBWorK1.8
-- Mike

Revision 1021 - Directory Listing
Modified Thu Jun 5 11:48:23 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Updated global.conf.dist so that it will work out of the box
on webwork1.8 courses using GDBM.

The urls
http://machine/webwork2_files  will point to the webwork-modperl/htdocs

http://machine/webwork2_courses should be redirected by apache to
a folder containing links the the html directories of each course.
In other words apache directs .../webwork2_courses to the folder
/ww/htdocs/ which should contain links of the form
gage_course@ -> ../webwork/courses/gage_course/html

--Mike

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

Revision 1019 - Directory Listing
Modified Thu Jun 5 00:18:21 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Commiting IO.pl, a webwork2 file, in order to bring the macros for webwork1 and webwork2 into sync
with each other.
--Mike

Revision 1018 - Directory Listing
Modified Thu Jun 5 00:02:24 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Removed warnings.  woops.
-Dennis

Revision 1017 - Directory Listing
Modified Wed Jun 4 23:47:35 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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 1016 - Directory Listing
Modified Wed Jun 4 21:04:15 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
preview equation images now go in the m2i directory (in the
$courseDirs{HTML_tmp} directory) instead of the png directory.
-sam

Revision 1015 - Directory Listing
Modified Wed Jun 4 20:19:27 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
Fixed bugs.
-Dennis

Revision 1013 - Directory Listing
Modified Wed Jun 4 18:36:23 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
I wrote functions to facilitate the assignment of problems to students.
-Dennis

Revision 1012 - Directory Listing
Modified Wed Jun 4 18:36:17 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
began to document and add sanity checks.
-sam

Revision 1011 - Directory Listing
Modified Wed Jun 4 18:35:59 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
wrote a bunch of notes about the URL issues.

	!!!!! READ THIS - doc/devel/URL-notes !!!!!

-sam

Revision 1010 - Directory Listing
Modified Wed Jun 4 15:26:27 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
webwork 1.9 gif

Arnie

Revision 1009 - Directory Listing
Modified Wed Jun 4 15:25:58 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
webwork 1.8 gif

Arnie

Revision 1008 - Directory Listing
Modified Wed Jun 4 15:25:16 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
Changed to webwork 1.9

Arnie

Revision 1007 - Directory Listing
Modified Wed Jun 4 03:04:07 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added a section to handle the case where the problem has not yet been
assigned to a user.  This might occur when the problem template is
called form the problem editor before the sets have been assigned
to students.  The problem is obtained as a global problem
then converted to a user_problem with default values.  The problem
is not saved.  This code should be reviewed to make sure there are no
hidden behaviors.  Perhaps a group reading is in order once things
settle down.  This squashes bug #34.
--Mike

Revision 1006 - Directory Listing
Modified Wed Jun 4 02:59:55 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
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 1004 - Directory Listing
Modified Wed Jun 4 00:25:04 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added some notes on the URL organization.
-sam

Revision 1003 - Directory Listing
Modified Wed Jun 4 00:23:40 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
finished moving doc/headers-footers, added the GPL and Artistic license.
-sam

Revision 1002 - Directory Listing
Modified Wed Jun 4 00:21:49 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Added a license file and readme skeleton.
-sam

Revision 1001 - Directory Listing
Modified Wed Jun 4 00:19:38 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Fixed (again) error handling. Now we're simply catching any uncaught
exceptions and emitting an HTML error message.
(also, added a "my" in Problem.pm)
-sam

Revision 1000 - Directory Listing
Modified Tue Jun 3 22:27:16 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
The conversion of set and problem from global to global-user now works.
You will get "pink screen" errors for now because not all of the vaules
in problem have been given correct defaults.
I'll do that next.

--Mike

Revision 999 - Directory Listing
Modified Tue Jun 3 22:14:23 2003 UTC (10 years, 10 months ago) by jj
Original Path: trunk
Modified pc_evaluator to make extra brackets optional, comments optional, and
scores of 1 optional.

Revision 998 - Directory Listing
Modified Tue Jun 3 22:00:57 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
really /really/ fixed the instructor pages to use the new URL scheme
-Dennis

Revision 997 - Directory Listing
Modified Tue Jun 3 21:59:49 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Beginning to add defaults to problem class (when it is constructed
from a global problem instance).
--Mike

Revision 996 - Directory Listing
Modified Tue Jun 3 21:59:25 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
Efforts towards doing the Right Thing with the instructor URLs.
-Dennis

Revision 994 - Directory Listing
Modified Tue Jun 3 20:49:10 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added example Set->UserSet conversion.
-sam

Revision 993 - Directory Listing
Modified Tue Jun 3 20:20:16 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Made small modifications to allow Problem.pm to read a problem that has
not yet been assigned.

 TO DO (and I'll need help with this)
Convert a global set to a global user set (and the global problem to a
global user problem).  I need to know how to specify the appropriate
classes.

Once we are guaranteed a record of the type returned by getGlobalUser
....

stuff missing defaults (e.g. psvn for set, and num_correct (answers) for
problem) in the newly created global_user record objects.(this part I
can do.)

At that point the rest of Problem.pm should be able to proceed as before
without any changes.

--Mike

Revision 992 - Directory Listing
Modified Tue Jun 3 20:17:33 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
*** empty log message ***

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

Revision 990 - Directory Listing
Modified Tue Jun 3 19:32:29 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
moved doc/template-escapes to doc/devel/template-escapes
-sam

Revision 989 - Directory Listing
Modified Tue Jun 3 19:27:21 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
moved more docs into doc/devel/
-sam

Revision 988 - Directory Listing
Modified Tue Jun 3 19:23:03 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
moved doc/TODO -> doc/devel/pre-bugzilla-TODO-file
-sam

Revision 987 - Directory Listing
Modified Tue Jun 3 19:22:01 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
moved development documentation into doc/devel/
-sam

Revision 986 - Directory Listing
Modified Tue Jun 3 18:25:00 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Created the top-level module WeBWorK, which now contains the dispatch
code. Apache::WeBWorK now only contains the installation of the error
handling code and a call to WeBWorK::dispatch(). This error handling
code is installed before the WeBWorK module is compiled.
-sam

Revision 985 - Directory Listing
Modified Tue Jun 3 18:19:12 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed some old, commented out code.
-sam

Revision 984 - Directory Listing
Modified Tue Jun 3 18:18:38 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
improved the implementation of refBaseType.
-sam

Revision 983 - Directory Listing
Modified Tue Jun 3 17:48:35 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by gage
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
You can now add new problems using a NeXT-style column view.  Advanced.
-Dennis

Revision 975 - Directory Listing
Modified Mon Jun 2 20:48:22 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
Add new warning pages if an atempt is made to drop or remove a professor
with special warnings if an attempt is made to drop yourself.

Arnie

Revision 974 - Directory Listing
Modified Mon Jun 2 20:22:23 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
added readDirectory
-Dennis

Revision 973 - Directory Listing
Modified Mon Jun 2 20:17:19 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed annoying debug output.
-sam

Revision 972 - Directory Listing
Modified Mon Jun 2 20:08:53 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
The delete() method now uniformly returns a false value (instead of
dying) if no matching record exists.
-sam

Revision 971 - Directory Listing
Modified Mon Jun 2 20:03:04 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Added CGI::Carp error reporting.
-sam

Revision 970 - Directory Listing
Modified Mon Jun 2 20:01:59 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Added two functions, list2hash and max.
-Dennis

Revision 969 - Directory Listing
Modified Mon Jun 2 19:57:17 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
took out some debugging output.
-sam

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

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

Revision 966 - Directory Listing
Modified Mon Jun 2 17:44:21 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
added a new_from_col_vecs method

Revision 965 - Directory Listing
Modified Mon Jun 2 15:51:01 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
fixed an error

Revision 964 - Directory Listing
Modified Mon Jun 2 15:06:58 2003 UTC (10 years, 10 months ago) by lr003k
Original Path: trunk
I have added a basis_cmp and a number of other methods necessary for
this answer evaluator to work.

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

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

Revision 961 - Directory Listing
Modified Sun Jun 1 13:36:55 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Made changes trying to allow the daemon to be restarted.  Still no
luck.

Allow | [ ] and , in answers.

Revision 960 - Directory Listing
Modified Sat May 31 00:02:46 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
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 958 - Directory Listing
Modified Fri May 30 21:37:15 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
fixed several stupid errors.
-sam

Revision 957 - Directory Listing
Modified Fri May 30 21:37:03 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Added columns for user-specific problem fields.  Saving back to the
database for user-specific data still doesn't happen yet.
-Dennis

Revision 956 - Directory Listing
Modified Fri May 30 21:09:19 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Added the capability to the GlobalTableEmulator to designate a user
whose records will be used as global records. To specify this, set the
globalUserID param for the tables using the GlobalTableEmulator (in
%dbLayout). It's probably good to do this on a per-course basis. Put the
following in your course.conf:

	$dbLayout{set}->{params}->{globalUserID} = "professor";
	$dbLayout{problem}->{params}->{globalUserID} = "professor";

If globalUserID is not present, GlobalTableEmulator will use consensus
(which is very slow!).
-sam

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

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

Revision 953 - Directory Listing
Modified Fri May 30 18:14:14 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
Made listGlobalProblems more efficient. (I have to go back and look at
the rest of DB and see if there are any more optimizations that can be
made.)
-sam

Revision 952 - Directory Listing
Modified Fri May 30 18:09:13 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
More changes to prevent unneccesary database requests
-Dennis

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

Revision 949 - Directory Listing
Modified Fri May 30 17:45:52 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed some debugging output.
-sam

Revision 948 - Directory Listing
Modified Fri May 30 17:44:04 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed </hr /> to <hr /> (after the bugzilla link)
-sam

Revision 947 - Directory Listing
Modified Fri May 30 00:27:27 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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 946 - Directory Listing
Modified Fri May 30 00:27:02 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
now supports NULL as undef.
FIXME: update the docs.
-sam

Revision 945 - Directory Listing
Modified Fri May 30 00:04:23 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
psvn is now auto-increment, for real.
-sam

Revision 944 - Directory Listing
Modified Thu May 29 23:42:24 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added GlobalTableEmulator.pm
added global2user and user2global to Utils.pm
small changes to WW1Hash.pm
-sam

Revision 943 - Directory Listing
Modified Thu May 29 23:25:53 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
made psvn auto-increment, restored !!COURSENAME!!
-sam

Revision 942 - Directory Listing
Modified Thu May 29 20:30:56 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Display options are now sticky (they are repeated as hidden options in the main problem body).
Changed name of submit button from redisplay  to "save options"
fixes bug #27 at least to some extent.
these saved options may not persist from one problem to another.  In order to solve that problem
we need a storage place for user options, or else many more hidden inputs to save state as one
moves from one request to another.

this fix will work for now.
-- Mike

Revision 941 - Directory Listing
Modified Thu May 29 20:03:12 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Modified ur.template to use the "options" link for display options.
--Mike

Revision 940 - Directory Listing
Modified Thu May 29 20:02:35 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added a new template hook "options" which allows one to reset the display options.

Modified viewOptions to conform to a "vertical" look for the radio buttons in the redisplay options.
Modified some of the labels for the same reason.
The horizontal spacing is a bit of kludge (I can't guarantee no line breaks for each of the radio button
labels).  Using underbars instead of spaces in the labels would fix this, but...

--Mike

Revision 939 - Directory Listing
Modified Thu May 29 19:02:44 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Turned on answer previewing every time an answer is submitted
(either answer check or answer submit or preview answer)

Revision 938 - Directory Listing
Modified Thu May 29 17:58:43 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
More tweaks to insure shutdown of the connection.

Revision 937 - Directory Listing
Modified Thu May 29 17:49:32 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Hope this works for shutting down connections.

Revision 936 - Directory Listing
Modified Thu May 29 00:08:23 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
Now you can save changes to problems
-dennis

Revision 935 - Directory Listing
Modified Wed May 28 21:28:08 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
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 934 - Directory Listing
Modified Wed May 28 20:02:56 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
add original_correct_ans as a hash key bringing the set of defined keys to 9

Revision 933 - Directory Listing
Modified Wed May 28 19:53:14 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Here are some default images for previous, next and problem list
buttons, taken from the WeBWorK1.8 images file.  They help prevent
some browser anomolies (particularly in Safari) which accompany
missing images.
--Mike

Revision 932 - Directory Listing
Modified Wed May 28 19:26:10 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Changed the link to bugzilla to bring you directly to the page for
reporting a webwork2.0 bug.  No url is entered automatically -- that
would require, I believe, implementing this link inside a link method
in content generator.  We'll see if that is needed.
-- Mike

Revision 931 - Directory Listing
Modified Wed May 28 19:21:04 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed the Schema interface (to include a reference to $db) and changed
DBI connect to connect_cached.
-sam

Revision 930 - Directory Listing
Modified Wed May 28 17:46:00 2003 UTC (10 years, 10 months ago) by malsyned
Original Path: trunk
*** empty log message ***

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

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

Revision 927 - Directory Listing
Modified Wed May 28 03:31:28 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
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 926 - Directory Listing
Modified Wed May 28 03:31:07 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
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 925 - Directory Listing
Modified Wed May 28 03:30:45 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
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, 10 months ago) by malsyned
Original Path: trunk
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 923 - Directory Listing
Modified Wed May 28 01:27:38 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
additional work on DB system and SQL backend.
Record:: classes now support a can() method.
fixed some other stuff.
-sam

Revision 922 - Directory Listing
Modified Wed May 28 01:18:11 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added hash2sql conversion script.
-sam

Revision 921 - Directory Listing
Modified Wed May 28 00:45:40 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
problem.problem_id is no longer a PRIMARY KEY.
-sam

Revision 920 - Directory Listing
Modified Wed May 28 00:26:27 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
fixed stupid thing on line 690.
-sam

Revision 919 - Directory Listing
Modified Wed May 28 00:24:27 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
changed ->id to ->whatever_id
-sam

Revision 918 - Directory Listing
Modified Tue May 27 23:57:40 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed old record classes.
-sam

Revision 917 - Directory Listing
Modified Tue May 27 23:56:57 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed old database system.
-sam

Revision 916 - Directory Listing
Modified Tue May 27 23:43:47 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
fixed call to get() on line 281.
-sam

Revision 915 - Directory Listing
Modified Tue May 27 23:42:23 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
croak instead of die.
-sam

Revision 914 - Directory Listing
Modified Tue May 27 23:37:57 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
fixed a logic error in addUserProblem
-sam

Revision 913 - Directory Listing
Modified Tue May 27 23:05:09 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
removed unused problem_order field.
-sam

Revision 912 - Directory Listing
Modified Tue May 27 23:00:06 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
authen now eats "key not found" errors when deleting keys.
-sam

Revision 911 - Directory Listing
Modified Tue May 27 22:54:09 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
s/new/add/
-sam

Revision 910 - Directory Listing
Modified Tue May 27 21:31:37 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
stuff.
-sam

Revision 909 - Directory Listing
Modified Tue May 27 20:11:18 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
added:
* listSetUsers($setID) - lists users to whom a set has been assigned
* listProblemUsers($setID, $problemID) - lists users to whom a problem
                                         has been assigned
Both return userIDs.
-sam

Revision 908 - Directory Listing
Modified Tue May 27 15:56:11 2003 UTC (10 years, 10 months ago) by apizer
Original Path: trunk
display original_correct_ans as correct answer unless original_correct_ans is not defined

Revision 907 - Directory Listing
Modified Tue May 27 00:41:43 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added target window "_bugzilla" to the links in these two templates

Revision 906 - Directory Listing
Modified Tue May 27 00:31:32 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
The "edit this problem" link now appears only if you have a
permission level greater than or equal to 10 (instructor)

--Mike

Revision 905 - Directory Listing
Modified Tue May 27 00:30:06 2003 UTC (10 years, 10 months ago) by gage
Original Path: trunk
Added "Report bugs" link to these two templates.  These link
to webwork3.math.rochester.edu

-- Mike

Revision 904 - Directory Listing
Modified Mon May 26 22:13:34 2003 UTC (10 years, 10 months ago) by sh002i
Original Path: trunk
More SQL work. Appears to be working, after very limited testing. See
forthcoming email for details.
-sam

Revision 903 - Directory Listing
Modified Fri May 23 21:36:35 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Added a link to the editor.

This link always prints, (at the moment) even if the
user doesn't have instructor permissions. (FIXME)
-- Mike

Revision 902 - Directory Listing
Modified Fri May 23 21:10:57 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
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 901 - Directory Listing
Modified Fri May 23 17:45:30 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
Fix typo.

Revision 900 - Directory Listing
Modified Fri May 23 17:13:35 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Fixed addressing to the tmp location of the pdf file so that
it never uses //.  That was causing trouble on webwork-db although
it seemed to work on webwork.
--Mike

Revision 899 - Directory Listing
Modified Fri May 23 17:02:37 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
In simple editing of tables, entry boxes now have a minimal size of 3

Revision 898 - Directory Listing
Modified Fri May 23 16:01:27 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Fixed bug/typo in trace.

Revision 897 - Directory Listing
Modified Fri May 23 15:57:12 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
print current pid to pid.txt

Revision 896 - Directory Listing
Modified Fri May 23 15:06:58 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
Add message about adding problems

Revision 895 - Directory Listing
Modified Fri May 23 14:48:03 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
Change verbiage to math new "Due date has passed" message.

Revision 894 - Directory Listing
Modified Fri May 23 14:38:06 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
remove message about backing up database

Revision 893 - Directory Listing
Modified Fri May 23 14:34:42 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
Cahnge button names

Revision 892 - Directory Listing
Modified Fri May 23 13:14:51 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by malsyned
Original Path: trunk
Code cleanups
--Dennis

Revision 890 - Directory Listing
Modified Thu May 22 21:43:27 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Added the case where instructor/pgProblemEditor/ is dispatched to
an Instructor/ PGProblemEditor.pm object.

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

-- Mike

Revision 888 - Directory Listing
Modified Thu May 22 20:46:06 2003 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk
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, 11 months ago) by malsyned
Original Path: trunk
Changed the string "fix me." in a comment to the industry standard
"FIXME:"
-Dennis

Revision 886 - Directory Listing
Modified Thu May 22 20:40:38 2003 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk
Changed the "probset editor" link to "probset list"
-Dennis

Revision 885 - Directory Listing
Modified Thu May 22 20:38:57 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
cosmetic changed based in part on Bill Ziemer's work.

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

Revision 882 - Directory Listing
Modified Thu May 22 17:09:06 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
rename course access log and associated variables to answer log.

Revision 881 - Directory Listing
Modified Thu May 22 16:21:19 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
Rename course access_log ans associated variables to answer_log, etc.

Revision 880 - Directory Listing
Modified Thu May 22 16:19:49 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
rename course access_log to answer_log so that it will not be confused with the system access log.

Revision 879 - Directory Listing
Modified Thu May 22 04:16:00 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
This has the file access code used by save_answer_to_file

It only recognizes the fileID 'preflight' at the moment.

A list of the allowable fileID's and their corresponding addresses
should be placed in Global.

-- Mike

Revision 878 - Directory Listing
Modified Thu May 22 04:14:26 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Added   save_answer_to_file  to the answer macros. Useage:
TEXT(ans_box(5,80) );
ANS(save_answer_to_file('preflight'));

Saves the answer entered into the answerbox to a file preflight.log
in the logs directory of the course.

The actual writing mechanism is contained in the file AnswerIO.pm

Revision 877 - Directory Listing
Modified Wed May 21 21:37:33 2003 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk
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 876 - Directory Listing
Modified Wed May 21 20:35:28 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
Finished writin this.

Revision 875 - Directory Listing
Modified Wed May 21 18:41:51 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
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 874 - Directory Listing
Modified Tue May 20 23:08:03 2003 UTC (10 years, 11 months ago) by sh002i
Original Path: trunk
initial work on SQL backend. untested.
-sam

Revision 873 - Directory Listing
Modified Tue May 20 20:34:10 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Make buttons have matching widths.

Revision 872 - Directory Listing
Modified Tue May 20 18:35:22 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
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 871 - Directory Listing
Modified Tue May 20 16:02:35 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
Have help pages come up in a separate window

Revision 870 - Directory Listing
Modified Tue May 20 04:41:11 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Fixed local variable problem in Perm and Comb; made them less succeptable
to overflow problems, and reorganized calling dependencies.  Also added
aliases P and C.

Revision 869 - Directory Listing
Modified Tue May 20 02:37:44 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
 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, 11 months ago) by gage
Original Path: trunk
 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 867 - Directory Listing
Modified Mon May 19 18:30:03 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Make some buttons have matching widths.

Revision 866 - Directory Listing
Modified Mon May 19 18:19:04 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Make some buttons have the same width.

Revision 865 - Directory Listing
Modified Mon May 19 18:15:02 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Make some submit buttons have matching widths.

Revision 864 - Directory Listing
Modified Mon May 19 16:51:57 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Reduced blank space on left side of matrix delimiter images.

Revision 863 - Directory Listing
Modified Mon May 19 14:17:24 2003 UTC (10 years, 11 months ago) by lr003k
Original Path: trunk
I was working on an older version, 1.10 changes now included.

Revision 862 - Directory Listing
Modified Mon May 19 13:33:05 2003 UTC (10 years, 11 months ago) by lr003k
Original Path: trunk
added a subrouting (answer_matrix) to create an m by n matrix of
ans_rule's

Revision 861 - Directory Listing
Modified Sun May 18 03:28:05 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Added an entry for problemSetEditor pointing to
Instructor::ProblemSetEditor

Revision 860 - Directory Listing
Modified Sun May 18 03:26:22 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
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, 11 months ago) by gage
Original Path: trunk
dded a link to the mock up of a problem set editor.

Revision 858 - Directory Listing
Modified Sat May 17 18:39:52 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Made modifications to the tth subroutine that make it work
seomewhat better with matrices.  There is a filter, which
changes the  characters used by tth  that only works properly
with iCAB (not much use).  I have also added the -u switch
to tth which makes the symbols work well with
MSIE, OmniWeb, iCab, and Safari on the Mac.  It does not work
with Camino on the mac, but it does work with Mozilla.

How does it work in your browser?

-- Mike (gage@math.rochester.edu)

Revision 857 - Directory Listing
Modified Fri May 16 23:33:53 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Make the value of new global variable $defaultDisplayMatrixStyle known to the problem.

Revision 856 - Directory Listing
Modified Fri May 16 23:30:46 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Added global variable for default delimiters/vertical lines in display_matrix.

Revision 855 - Directory Listing
Modified Fri May 16 22:56:55 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Added documentation for display_matrix and mbox.

Revision 854 - Directory Listing
Modified Fri May 16 21:27:33 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Vertical solid and dashed lines should now work in display_matrix in all modes.

Revision 853 - Directory Listing
Modified Fri May 16 16:20:37 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
*** empty log message ***

Revision 852 - Directory Listing
Modified Fri May 16 16:19:06 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
rearrange page, add helpfile, slight chnagees to verbiage

Revision 851 - Directory Listing
Modified Fri May 16 15:10:32 2003 UTC (10 years, 11 months ago) by apizer
Original Path: trunk
Fixed small typo.

Revision 850 - Directory Listing
Modified Fri May 16 05:27:21 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Replaced a use of uc (upper case) with tr/a-z/A-Z

For some reason uc stopped working on webwork although it worked other
places.  Very puzzling.

Revision 849 - Directory Listing
Modified Fri May 16 05:11:49 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Commented out subroutines which are not being used (to the best
of my knowledge)  For the most part these are subroutines which were
originally designed to help clean up the instructors answers.  This
turned out to be a rather idiosyncratic process, and the standard
subroutines didn't seem to be that useful.

We might want to return to this problem later.

Revision 848 - Directory Listing
Modified Fri May 16 05:04:51 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Added a new subroutine for constructing filters

Revision 847 - Directory Listing
Modified Fri May 16 03:59:56 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
fixed a bug in which teh library list was not joined by \n

Revision 846 - Directory Listing
Modified Thu May 15 23:42:24 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Bug fix in mbox for l2h mode, vertical bars in matricies starting to work in
all modes.

Revision 845 - Directory Listing
Modified Thu May 15 22:28:36 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Added initial version of mbox command.

Revision 844 - Directory Listing
Modified Thu May 15 19:18:46 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Add support for |,[,],{,} as delimeters to matricies in display_matrix

Revision 843 - Directory Listing
Modified Thu May 15 00:58:44 2003 UTC (10 years, 11 months ago) by sh002i
Original Path: trunk
bin/authedit is no longer useful, now that we have bin/wwdb

Revision 842 - Directory Listing
Modified Thu May 15 00:57:38 2003 UTC (10 years, 11 months ago) by sh002i
Original Path: trunk
cleanup.
-sam

Revision 841 - Directory Listing
Modified Thu May 15 00:56:27 2003 UTC (10 years, 11 months ago) by sh002i
Original Path: trunk
added SQL.pm driver module.
-sam

Revision 840 - Directory Listing
Modified Thu May 15 00:56:02 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Cosmetic fixes for the link section.

Revision 839 - Directory Listing
Modified Thu May 15 00:55:49 2003 UTC (10 years, 11 months ago) by sh002i
Original Path: trunk
cruft removal.
-sam

Revision 838 - Directory Listing
Modified Thu May 15 00:55:27 2003 UTC (10 years, 11 months ago) by sh002i
Original Path: trunk
added keyfield information.
-sam

Revision 837 - Directory Listing
Modified Thu May 15 00:54:54 2003 UTC (10 years, 11 months ago) by sh002i
Original Path: trunk
database doc updates.
-sam

Revision 836 - Directory Listing
Modified Wed May 14 21:20:13 2003 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk
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, 11 months ago) by malsyned
Original Path: trunk
Fixed a typo
-Dennis

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

Revision 833 - Directory Listing
Modified Wed May 14 20:55:07 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
Modified links subroutine so that it returns a string rather than an
array.

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

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

Revision 830 - Directory Listing
Modified Wed May 14 18:44:25 2003 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk
Progress towards making the feedback system work more cleanly and
allowing a back-link. Except now it's broken.
-Dennis

Revision 829 - Directory Listing
Modified Wed May 14 18:11:45 2003 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk
Added the beginnings of the instructor pages.
--Dennis

Revision 828 - Directory Listing
Modified Wed May 14 18:05:13 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk
A design for the template used at UR.

Revision 827 - Directory Listing
Modified Tue May 13 18:14:27 2003 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk
Made the key expiration error message more user-friendly
--Dennis

Revision 826 - Directory Listing
Modified Tue May 13 16:12:41 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Changed display_matrix to display_matrix_mm, added display_matrix_math_mode, and changed displaymat to display_matrix.

Revision 825 - Directory Listing
Modified Mon May 12 23:49:50 2003 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk
Fixed BUG #16:
"Logging out from a practice user and logging back in doesn't work
right"
http://webwork3/bugzilla/show_bug.cgi?id=16
--Dennis

Revision 824 - Directory Listing
Modified Mon May 12 22:19:01 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Introduction of displaymat, and related functions.  This is just a preliminary
addition to be refined shortly.

Revision 823 - Directory Listing
Modified Mon May 12 00:40:13 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Make buttons the same width.

Revision 822 - Directory Listing
Modified Fri May 9 17:07:30 2003 UTC (10 years, 11 months ago) by jj
Original Path: trunk
Initial code for displaymat.

Revision 821 - Directory Listing
Modified Thu May 1 02:10:09 2003 UTC (10 years, 11 months ago) by gage
Original Path: trunk

Modified the search pattern for  analyzing each line so that it
matched the time stamp on webwork3.
This may require some tweaking on different systems.

Revision 820 - Directory Listing
Modified Fri Apr 25 05:10:08 2003 UTC (10 years, 11 months ago) by malsyned
Original Path: trunk
Added the instructor URL dispatching.
-dennis

Revision 819 - Directory Listing
Modified Fri Apr 25 05:07:59 2003 UTC (10 years, 11 months ago) by sh002i
Original Path: trunk
$db gets passed into the ContentGenerator constructor (rather than being
needlessly recreated inside).
-sam

Revision 818 - Directory Listing
Modified Fri Apr 25 04:51:37 2003 UTC (10 years, 11 months ago) by sh002i
Original Path: trunk
modev more content generators over to the new WWDBv2 API. fixed some
bugs.
-sam

Revision 817 - Directory Listing
Modified Wed Apr 23 06:39:03 2003 UTC (11 years ago) by sh002i
Original Path: trunk
rewrote these modules to use the WWDBv2 library. rewrote the Authen.pm
verify function to (hopefully) be more readable.
-sam

Revision 816 - Directory Listing
Modified Wed Apr 23 06:38:12 2003 UTC (11 years ago) by sh002i
Original Path: trunk
misc fixes.
-sam

Revision 815 - Directory Listing
Modified Wed Apr 23 06:37:42 2003 UTC (11 years ago) by sh002i
Original Path: trunk
removed unused references to WWDBv1 libraries.
-sam

Revision 814 - Directory Listing
Modified Wed Apr 23 06:37:19 2003 UTC (11 years ago) by sh002i
Original Path: trunk
implemented getGlobalUser{Set,Problem}.
-sam

Revision 813 - Directory Listing
Modified Wed Apr 23 06:36:55 2003 UTC (11 years ago) by sh002i
Original Path: trunk
removed unused WEBWORK_HOME variable.
-sam

Revision 812 - Directory Listing
Modified Wed Apr 23 06:36:30 2003 UTC (11 years ago) by sh002i
Original Path: trunk
* changed $course_env to $ce
* added code to instantiate database and pass it to Authen and Authz.
-sam

Revision 811 - Directory Listing
Modified Wed Apr 23 06:35:06 2003 UTC (11 years ago) by sh002i
Original Path: trunk
Added $sessionKeyLength and @sessionKeyChars variables (for Authen.pm).
-sam

Revision 810 - Directory Listing
Modified Tue Apr 22 20:49:31 2003 UTC (11 years ago) by sh002i
Original Path: trunk
added bin/wwsh - a rudimentary webwork shell which (currently) allows
access to CourseEnvironment and DB objects. This could be extended to
provide a full shell for the WeBWorK system. (Uses PSH.pm.)
-sam

Revision 809 - Directory Listing
Modified Thu Apr 17 21:30:57 2003 UTC (11 years ago) by sh002i
Original Path: trunk
changed the name of the "courseEnvironment" field in the
ContentGenerator object to "ce", to match the style and conciesness of
the existing "r" and new "db" fields.
-sam

Revision 808 - Directory Listing
Modified Thu Apr 17 21:01:17 2003 UTC (11 years ago) by sh002i
Original Path: trunk
Lots of work on WWDBv2... WW1Hash is done! A complete dbLayout (as
detailed on global.conf.dist) works now.
-sam

Revision 807 - Directory Listing
Modified Wed Apr 16 06:32:36 2003 UTC (11 years ago) by sh002i
Original Path: trunk
now supports sparse problem IDs.
-sam

Revision 806 - Directory Listing
Modified Wed Apr 16 04:43:40 2003 UTC (11 years ago) by sh002i
Original Path: trunk
added a dummy driver and schema.
-sam

Revision 805 - Directory Listing
Modified Fri Apr 11 22:25:10 2003 UTC (11 years ago) by malsyned
Original Path: trunk
Added Instructor.pm, the main menu for the instructor pages.
-dennis

Revision 804 - Directory Listing
Modified Fri Apr 4 01:42:54 2003 UTC (11 years ago) by gage
Original Path: trunk
replaced PGtranslator5 by PGtranslator in error message

Revision 803 - Directory Listing
Modified Fri Apr 4 01:37:48 2003 UTC (11 years ago) by gage
Original Path: trunk
Added path :externalLaTeX2HTMLSupportPath

Revision 802 - Directory Listing
Modified Tue Apr 1 22:14:27 2003 UTC (11 years ago) by apizer
Original Path: trunk
allow problems to have decimal values in the set definition file

Revision 801 - Directory Listing
Modified Thu Mar 27 15:49:12 2003 UTC (11 years ago) by jj
Original Path: trunk
Modified random so that random(a,b,c) always produces values between a and b.

Revision 800 - Directory Listing
Modified Tue Mar 25 20:16:26 2003 UTC (11 years ago) by sh002i
Original Path: trunk
updated usage() to reflect actual accepted syntax.
-sam

Revision 799 - Directory Listing
Modified Mon Mar 24 23:11:44 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
TMP directory variables are now initiated from WW.conf.

Revision 798 - Directory Listing
Modified Fri Mar 21 23:30:16 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
initial support for WWDBv2:
        - DB.pm finished (except for getGlobalUser{Set,Problem} methods)
        - schema modules for password, permission, key, and user with
          WWDBv1 hash-bashed backends
        - GDBM driver
        - wwdb command-line frontend
-sam

Revision 797 - Directory Listing
Modified Fri Mar 21 21:43:04 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
renamed Permission.pm to PermissionLevel.pm.
because i am stupid.
-sam

Revision 796 - Directory Listing
Modified Fri Mar 21 21:41:31 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
renamed PermissionLevel.pm to Permission.pm
-sam

Revision 795 - Directory Listing
Modified Fri Mar 21 21:40:01 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
Hit the #nav macro with a cluebat
RE: webworkURLs->htdocs vs. imageprefix=""
-Dennis

Revision 794 - Directory Listing
Modified Wed Mar 19 15:07:16 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Added code for logging student answers and allowing instructors to inspect previous
answers from students.

Revision 793 - Directory Listing
Modified Sat Mar 8 12:36:34 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Set names are included when listing a problem.

This works better on the webpage because this way the entire
path to the problem file (from the library on down)
can be selected and copied from a webpage into something
like a set definition file.  For the previous version the
set would have to be added in by hand at each stage.

Revision 792 - Directory Listing
Modified Sat Mar 8 04:17:56 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Removed debugging print statement

Revision 791 - Directory Listing
Modified Sat Mar 8 04:14:15 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Modified Fetch so that it did not include the set name when fetching
the problems in a set.

Revision 790 - Directory Listing
Modified Sat Mar 8 03:08:15 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Turned debugging off

Revision 789 - Directory Listing
Modified Sat Mar 8 03:06:12 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Fixed spaces

Revision 788 - Directory Listing
Modified Sat Mar 8 01:08:09 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
New initializations added

Revision 787 - Directory Listing
Modified Sat Mar 8 00:59:11 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Moved more initialization code to WW.config

Revision 786 - Directory Listing
Modified Fri Mar 7 21:50:31 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Modified to work with WW.config

Revision 785 - Directory Listing
Modified Fri Mar 7 21:49:39 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Model for configuration file

Revision 784 - Directory Listing
Modified Fri Mar 7 21:48:51 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Modified files to use WW.config

Revision 783 - Directory Listing
Modified Fri Mar 7 21:30:10 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
dded Record modules for the new database. these replace the
WeBWorK::{User,Set,Problem} modules currently used.
-sam

Revision 782 - Directory Listing
Modified Fri Mar 7 21:04:09 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
This file contains information learned after the release of
webwork-2.0pr1 that is necessary in order to get a webwork-2.0pr1 system
up and running.
--Dennis

Revision 781 - Directory Listing
Modified Fri Mar 7 20:32:40 2003 UTC (11 years, 1 month ago) by jj
Original Path: trunk
list_random has been moved elsewhere, and bug was fixed in nicestring

Revision 780 - Directory Listing
Modified Fri Mar 7 19:44:39 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Fixed some compile errors in this file.

Revision 779 - Directory Listing
Modified Fri Mar 7 19:44:14 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
added the GDBM driver.
some changes to doc/new-DB-*
-sam

Revision 778 - Directory Listing
Modified Fri Mar 7 19:10:46 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Added code to allow publication of pdf copies of library problems.

Revision 777 - Directory Listing
Modified Fri Mar 7 15:06:53 2003 UTC (11 years, 1 month ago) by apizer
Original Path: trunk
new entires

Revision 776 - Directory Listing
Modified Fri Mar 7 15:05:33 2003 UTC (11 years, 1 month ago) by apizer
Original Path: trunk
Added Mark Schmitt's changes

Revision 775 - Directory Listing
Modified Fri Mar 7 07:03:57 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
added DB.pm -- DB API implemented.
(however, no Schema or Driver modules have been written!)
-sam

Revision 774 - Directory Listing
Modified Fri Mar 7 02:22:41 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
conf/global.conf.dist: fixed %dbLayout
doc/new-DB-architecture: removed a meta-note.
-sam

Revision 773 - Directory Listing
Modified Fri Mar 7 02:20:45 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
updated new-DB-notes, finished new-DB-architecture.
-sam

Revision 772 - Directory Listing
Modified Fri Mar 7 01:58:50 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
renamed schema-mod_perl to new-DB-notes.
-sam

Revision 771 - Directory Listing
Modified Fri Mar 7 01:57:39 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
added a couple database notes files.
-sam

Revision 770 - Directory Listing
Modified Thu Mar 6 20:35:51 2003 UTC (11 years, 1 month ago) by apizer
Original Path: trunk
Allow classlist operations when WW database does not exist

Revision 769 - Directory Listing
Modified Thu Mar 6 20:35:28 2003 UTC (11 years, 1 month ago) by apizer
Original Path: trunk
Allow classlist operations when WW database does not exist

Revision 768 - Directory Listing
Modified Thu Mar 6 19:12:38 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
1. added %dbLayout (for the new DB.pm database system)
2. moved some stuff around
-sam

Revision 767 - Directory Listing
Modified Sun Mar 2 21:07:24 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Added the preprocessing facility.

The current default preprocessor is a filter which takes the initial PG problem
and handles the BEGIN_TEXT/END_TEXT blocks as well as escaping backslashes and
replacing ~~ by backslash.

Other preprocessors can be installed to effect different behavior.

At present there is only one preprocessor.  The behavior of the method
preprocess could be modified to allow a chain of preprocessing filters
if that becomes desirable.

The barest bones of a postprocessing facility is also in place.  The
current default postprocessor does nothing.  This could be implemented
to create sticky answers.

Revision 766 - Directory Listing
Modified Fri Feb 28 23:56:55 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
more database schema notes *sigh*
-sam

Revision 765 - Directory Listing
Modified Fri Feb 28 23:56:35 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
removed "nowrap" from barebones.template because it wasn't doing
anything anyway, and every byte counts ;-)

Changed "Logged in as:" to "User:" in ContentGenerator and killed the
CGI::br calls in that message and the "Acting as:" message

Added more context to the context URL in Feedback, and properly
obfuscated some code.

--Dennis

Revision 764 - Directory Listing
Modified Fri Feb 28 23:26:29 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
fixed a small bug in the prototype of deletePSVN().
-sam

Revision 763 - Directory Listing
Modified Fri Feb 28 23:06:15 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
removed stupid functions
-sam

Revision 762 - Directory Listing
Modified Fri Feb 28 21:33:09 2003 UTC (11 years, 1 month ago) by apizer
Original Path: trunk
Added a switch which allows editing of the webworkCourse.ph file over the web
as per Zig's suggestion.

Revision 761 - Directory Listing
Modified Fri Feb 28 21:26:54 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
I made a few cosmetic changes to classic.template and reworked
barebones.template to reduce the amount of vertical screen real-estate
used by the header information.
-Dennis

Revision 760 - Directory Listing
Modified Fri Feb 28 20:46:44 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
Added CSS rules to arrange the answer result feedback so as to reduce
vertical screen space usage
-Dennis

Revision 759 - Directory Listing
Modified Fri Feb 28 20:37:04 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
I made a special template that is very similar to the look of WeBWorK
1.8
-Dennis

Revision 758 - Directory Listing
Modified Fri Feb 28 20:32:25 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
Matched the calling semantics for navMacro
-dennis

Revision 757 - Directory Listing
Modified Fri Feb 28 20:29:56 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
Changed the calling semantics to navMacro
-dennis

Revision 756 - Directory Listing
Modified Fri Feb 28 20:27:19 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
changed the way canCheckAnswer() is calculated
-sam

Revision 755 - Directory Listing
Modified Fri Feb 28 20:02:29 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
Began adding CSS escapes to some generated HTML structures.
Addressed some bug reports that came in from the mailing list.
 -Dennis

Revision 754 - Directory Listing
Modified Fri Feb 28 16:35:44 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Wrapping script for showPastAnswers.pl script

Revision 753 - Directory Listing
Modified Fri Feb 28 16:35:05 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
This CGI scripts allows an instructor to inspect the complete answer
history for a given student and problem.  The
$Global::logCourseAccessData variable must be set to one
for this data to be collected.

Revision 752 - Directory Listing
Modified Fri Feb 28 16:33:25 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Added code for logging course access data.  This logs the students
answers in a way that can be easily parsed and reported to the
instructor.  The code is adapted (slightly) from code written
by Davide Cervone at Union College.

Revision 751 - Directory Listing
Modified Fri Feb 28 16:32:13 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Added controls for logging course Access data.  This logs the students
answers in a way that can be easily parsed and reported to the
instructor.

Revision 750 - Directory Listing
Modified Thu Feb 27 12:31:06 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
Added the <!--#nav--> macro to ProblemSet.pm.  When I made a template
that didn't include the <!--#path--> macro to satisfy some old timers on
the mailing list, I noticed that there was no other way to get back to
the problem sets page from a problem set.
-Dennis

Revision 749 - Directory Listing
Modified Wed Feb 26 20:17:49 2003 UTC (11 years, 1 month ago) by gage
Original Path: trunk
Corrected a bug in checkbox_cmp.  If the answer had more than one
boxed checked the student's answer could be passed to this subroutine
either as a \0 delimited string  or as an array reference.  The
subroutine couldn't handle the array reference.  Now it can.

Revision 748 - Directory Listing
Modified Wed Feb 26 18:39:07 2003 UTC (11 years, 1 month ago) by malsyned
Original Path: trunk
Added the <!--#if loggedin="1"--> template escape.  It evaluates to true
on every content generator except Login.pm and Logout.pm.  Used it to
make the barebones template look cleaner on the login page.
-Dennis

Revision 747 - Directory Listing
Modified Wed Feb 26 18:00:25 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
enabled "check answers" button after the answerdate.
(see http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$1416)
-sam

Revision 746 - Directory Listing
Modified Wed Feb 26 17:58:16 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
updated httpd.conf snippet quoted in WeBWorK.pm
-sam

Revision 745 - Directory Listing
Modified Mon Feb 24 20:34:09 2003 UTC (11 years, 1 month ago) by apizer
Original Path: trunk
commented out uneccessary require DGglue.pl

Revision 744 - Directory Listing
Modified Mon Feb 24 11:19:42 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
added a file that has been in doc/ for a while.
-sam

Revision 743 - Directory Listing
Modified Mon Feb 24 11:17:24 2003 UTC (11 years, 1 month ago) by sh002i
Original Path: trunk
Documented the new database schema and API to be written for the
professor pages.
-sam

Revision 742 - Directory Listing
Modified Sat Feb 22 01:32:35 2003 UTC (11 years, 2 months ago) by sh002i
Original Path: trunk
added some notes to doc/
-sam

Revision 741 - Directory Listing
Modified Fri Feb 21 21:24:41 2003 UTC (11 years, 2 months ago) by malsyned
Original Path: trunk
I made profLogin even more compact.  The main table can now fit in a
single 800x600 browser window.  The top banner has been replaced by a
more compact version a-la the welcomeAction page.  the anchor links have
been removed, since they were no longer needed.  There aren't column
headings anymore, but I've tried to order the items so that they would
minimize space while still making some kind of organizational sense.
There are no longer any "blue box" headings, becuase the buttons serve
as sufficient description of the functionality.
--Dennis

Revision 740 - Directory Listing
Modified Fri Feb 21 21:16:48 2003 UTC (11 years, 2 months ago) by sh002i
Original Path: trunk
1. the new global.conf key {mail}->{feedbackVerbosity} controls the
verbosity level of Feedback.pm messages.
2. Feedback includes a URL when ever the user is logged in.
-sam

Revision 739 - Directory Listing
Modified Fri Feb 21 20:49:49 2003 UTC (11 years, 2 months ago) by sh002i
Original Path: trunk
1. fixed some formatting in Problem
2. hardcopy allows correct answers, hints, solutions to be shown
3. privileged users are allowed to view/download "not yet open" sets
-sam

Revision 738 - Directory Listing
Modified Fri Feb 21 19:09:28 2003 UTC (11 years, 2 months ago) by sh002i
Original Path: trunk
ProblemSet and Problem no longer allow problem sets that are "not yet
open" to be viewed. oopsies.
-sam

Revision 737 - Directory Listing
Modified Tue Feb 18 07:04:13 2003 UTC (11 years, 2 months ago) by sh002i
Original Path: trunk
merged changes from rel-2-0-pr1-hardcopy-changes
-sam

Revision 734 - Directory Listing
Modified Mon Feb 17 16:14:03 2003 UTC (11 years, 2 months ago) by malsyned
Original Path: trunk
Converted to a table-based layout for the professor login page.  Moved
"Edit by PSVN" to housekeeping.
-Dennis

Revision 732 - Directory Listing
Modified Fri Feb 14 15:04:02 2003 UTC (11 years, 2 months ago) by apizer
Original Path: trunk
added a paste answers option to the preview page

Revision 731 - Directory Listing
Modified Fri Feb 7 20:53:14 2003 UTC (11 years, 2 months ago) by jj
Original Path: trunk
Fixed up button on this page.

Revision 730 - Directory Listing
Modified Fri Feb 7 20:38:53 2003 UTC (11 years, 2 months ago) by jj
Original Path: trunk
Corrected spelling of recitation.

Revision 729 - Directory Listing
Modified Fri Feb 7 18:17:13 2003 UTC (11 years, 2 months ago) by apizer
Original Path: trunk
fixed call to romberg which now requires "level => 8"

Revision 728 - Directory Listing
Modified Tue Feb 4 18:37:56 2003 UTC (11 years, 2 months ago) by jj
Original Path: trunk
Don't bother running latex/dvipng in cases where there are no images.

Revision 727 - Directory Listing
Modified Tue Feb 4 18:27:46 2003 UTC (11 years, 2 months ago) by jj
Original Path: trunk
Took it out of debugging mode (where cached images are always ignored).

Revision 726 - Directory Listing
Modified Tue Feb 4 16:51:56 2003 UTC (11 years, 2 months ago) by jj
Original Path: trunk
Fixed typo which kept dvi files from being cleaned up when downloading
problem sets.  (Note, it is still left when imagedebug mode is on.)

Revision 723 - Directory Listing
Modified Fri Jan 31 22:30:41 2003 UTC (11 years, 2 months ago) by sh002i
Original Path: trunk
updated todo.
-sam

Revision 722 - Directory Listing
Modified Fri Jan 31 22:29:19 2003 UTC (11 years, 2 months ago) by malsyned
Original Path: trunk
effectiveUser audit complete on Hardcopy.pm.  That means all the
ContentGenerators are all checked and clear.
-Dennis

Revision 721 - Directory Listing
Modified Fri Jan 31 22:28:37 2003 UTC (11 years, 2 months ago) by sh002i
Original Path: trunk
motd is only read if defined and true.
-sam

Revision 720 - Directory Listing
Modified Fri Jan 31 20:38:44 2003 UTC (11 years, 2 months ago) by malsyned
Original Path: trunk
effectiveUser audit complete on all the content generators except
Hardcopy
-Dennis

Revision 719 - Directory Listing
Modified Fri Jan 31 20:36:38 2003 UTC (11 years, 2 months ago) by sh002i
Original Path: trunk
added a "check answers" button if the user has the apropriate permissions
-sam

Revision 718 - Directory Listing
Modified Fri Jan 31 20:02:46 2003 UTC (11 years, 2 months ago) by malsyned
Original Path: trunk
Fixed soem ugliness I introduced into the formatting.  Nothing major.
-Dennis

Revision 717 - Directory Listing
Modified Fri Jan 31 20:00:47 2003 UTC (11 years, 2 months ago) by malsyned
Original Path: trunk
There was one more spot that needed effectiveUser fixing.  I did it.
-Dennis

Revision 716 - Directory Listing
Modified Fri Jan 24 22:38:52 2003 UTC (11 years, 2 months ago) by sh002i
Original Path: trunk
hardcopy new respects effectiveUser
-sam

Revision 715 - Directory Listing
Modified Thu Jan 23 23:05:16 2003 UTC (11 years, 2 months ago) by jj
Original Path: trunk
Made web output from this file a little nicer by replacing underscores
with spaces.

Revision 714 - Directory Listing
Modified Thu Jan 23 21:45:20 2003 UTC (11 years, 2 months ago) by jj
Original Path: trunk
Fix From and Reply-To fields for new outgoing e-mail when there is
no default.msg.

Revision 713 - Directory Listing
Modified Thu Jan 23 01:53:08 2003 UTC (11 years, 3 months ago) by jj
Original Path: trunk
Replacing _ with space on web pages to make them look nicer.

Revision 712 - Directory Listing
Modified Thu Jan 23 01:50:06 2003 UTC (11 years, 3 months ago) by jj
Original Path: trunk
Making web pages from this page nicer with _ to space replacements.

Revision 711 - Directory Listing
Modified Thu Jan 23 01:48:06 2003 UTC (11 years, 3 months ago) by jj
Original Path: trunk
Beautification - replacing _ with spaces in course name and set names
when printing on web pages.

Revision 710 - Directory Listing
Modified Wed Jan 22 23:46:18 2003 UTC (11 years, 3 months ago) by jj
Original Path: trunk
Changed name of a variable to be consistent with other files (related to
_ to space switch when printing the course name on a web page).

Revision 709 - Directory Listing
Modified Wed Jan 22 23:44:31 2003 UTC (11 years, 3 months ago) by jj
Original Path: trunk
Change _ to spaces when listing problem set names on the web page.

Revision 708 - Directory Listing
Modified Wed Jan 22 23:42:24 2003 UTC (11 years, 3 months ago) by jj
Original Path: trunk
Three beautification fixes.  Course and problem sets have _ replaced
with spaces when printing on the web page; tiny window listing problem
sets is taller; things like --- OPEN-- made symmetric (e.g., to be
--- OPEN ---).

Revision 707 - Directory Listing
Modified Wed Jan 22 23:33:30 2003 UTC (11 years, 3 months ago) by jj
Original Path: trunk
Convert underscores to spaces in set and course names when displaying
them on web pages.

Revision 706 - Directory Listing
Modified Tue Jan 21 20:25:51 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
commented out allowedRecipients -- this should probably be set in
course.conf.
-sam

Revision 705 - Directory Listing
Modified Tue Jan 21 20:24:03 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
added stuff that had been previously added to global.conf
-sam

Revision 704 - Directory Listing
Modified Mon Jan 13 19:44:20 2003 UTC (11 years, 3 months ago) by malsyned
Original Path: trunk
Finally committing a clean version of my mostly-done Problem.pm
effectiveUser audit.
-Dennis

Revision 703 - Directory Listing
Modified Mon Jan 13 18:34:56 2003 UTC (11 years, 3 months ago) by apizer
Original Path: trunk
fixed bug in line 700 having to do with YK 2000

Revision 702 - Directory Listing
Modified Mon Jan 13 18:24:50 2003 UTC (11 years, 3 months ago) by apizer
Original Path: trunk
bug fix (added missing $)

Revision 701 - Directory Listing
Modified Fri Jan 10 21:39:29 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
An MOTD can be displayed on the problem sets page. Define
$courseFiles{motd} to point to a file containing the message.
-sam

Revision 700 - Directory Listing
Modified Fri Jan 10 17:28:21 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
"Home" (i.e. no course specified) now redirects to %webworkURLs{home}
-sam

Revision 699 - Directory Listing
Modified Thu Jan 9 19:03:54 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
send_mail_to now works.
-sam

Revision 698 - Directory Listing
Modified Thu Jan 9 16:41:54 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
took out some old commented out lines in PG.pm.
-sam

Revision 697 - Directory Listing
Modified Wed Jan 8 19:03:30 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
added ALLOW_MAIL_TO to the environment.
-sam

Revision 696 - Directory Listing
Modified Wed Jan 8 16:36:43 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
added $formatedDueDate variable (spelled wrong in many header files)
-sam

Revision 695 - Directory Listing
Modified Wed Jan 8 16:23:52 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
$webworkURLRoot is now taken from Apache::WeBWorK instead of being
specified in global.conf.
-sam

Revision 694 - Directory Listing
Modified Wed Jan 8 15:48:24 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
added gif2png script to the repository.
-sam

Revision 693 - Directory Listing
Modified Wed Jan 8 15:41:39 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
&info now respects screen set header file in database.
-sam

Revision 692 - Directory Listing
Modified Tue Jan 7 21:19:38 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
DONE	effectiveUser for at least Problem.pm
DONE	write a template escape for printing $user, $effectiveUser, &c. nicely

also added additional timing log points: timing is now logged:

	1. when WeBWorK::PG::new starts
	2. after all the initialization-type stuff happens
	3. when WeBWorK::PG::new ends

Getting it to log the entire request time might be a little harder.
-sam

Revision 691 - Directory Listing
Modified Tue Jan 7 16:30:40 2003 UTC (11 years, 3 months ago) by gage
Original Path: trunk
Fixed the listSet routine so that it handles recursion better, particularly if the file name
is different from the set name above it.

Bollixed up the references to libraries again. We'll put those in a config file soon.

Revision 690 - Directory Listing
Modified Mon Jan 6 21:06:27 2003 UTC (11 years, 3 months ago) by gage
Original Path: trunk
Bringing the macros files in line with the macros files in webwork-modperl

Revision 689 - Directory Listing
Modified Mon Jan 6 20:26:43 2003 UTC (11 years, 3 months ago) by gage
Original Path: trunk
corrected typo in documentation.

Revision 688 - Directory Listing
Modified Mon Jan 6 20:25:17 2003 UTC (11 years, 3 months ago) by gage
Original Path: trunk
Small modification to createDirectory which makes this file works on macs.  (If directory name has trailing / it is deleted before calling the perl command to create the directory)

Revision 687 - Directory Listing
Modified Mon Jan 6 20:04:45 2003 UTC (11 years, 3 months ago) by gage
Original Path: trunk
Removed references to Global.  Updated some of the warning mechanisms.

Revision 686 - Directory Listing
Modified Mon Jan 6 19:56:08 2003 UTC (11 years, 3 months ago) by gage
Original Path: trunk
Removed most, if not all references to Global.  The necessary global variables are now defined at the top of the file (and written in all caps).

Revision 685 - Directory Listing
Modified Mon Jan 6 19:41:44 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
DONE	results table
		part(or blank)/entered/preview/result/messages
		don't show messages unless there are some
-sam

Revision 684 - Directory Listing
Modified Mon Jan 6 19:34:36 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
removed user name propogation from Logout -> Login
disabled "show hint/solution" when there's no hint/solution

Revision 683 - Directory Listing
Modified Mon Jan 6 19:17:28 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
fixed formatting in &tth (dangerousMacros.pl)
ProblemSets.pm allows sorting by Name or Status (due date)
-sam

Revision 682 - Directory Listing
Modified Mon Jan 6 18:10:47 2003 UTC (11 years, 3 months ago) by sh002i
Original Path: trunk
make answer previews use $displayMode
write a template escape for printing $user, $effectiveUser, &c. nicely
-sam

Revision 681 - Directory Listing
Modified Tue Dec 31 21:07:59 2002 UTC (11 years, 3 months ago) by gage
Original Path: trunk
*** empty log message ***

Revision 680 - Directory Listing
Modified Wed Dec 18 20:07:48 2002 UTC (11 years, 4 months ago) by jj
Original Path: trunk
Modified OL so that entries have an extra line break when images are produced
by dvipng.

Revision 679 - Directory Listing
Modified Wed Dec 18 20:05:08 2002 UTC (11 years, 4 months ago) by jj
Original Path: trunk
Added vertical space for entries produced by match_questions_list when
using dvipng.

Revision 678 - Directory Listing
Modified Wed Dec 18 18:46:22 2002 UTC (11 years, 4 months ago) by apizer
Original Path: trunk
Had to also fix delete_key

Revision 677 - Directory Listing
Modified Wed Dec 18 17:05:29 2002 UTC (11 years, 4 months ago) by apizer
Original Path: trunk
Now the keys file will always be created with the permssion given by $Global::restricted_tie_permission

Revision 676 - Directory Listing
Modified Fri Dec 13 21:49:58 2002 UTC (11 years, 4 months ago) by malsyned
Original Path: trunk
Added an informative comment
-dennis

Revision 675 - Directory Listing
Modified Fri Dec 13 21:14:54 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
made some improvements to Feedback, added loginStatus escape.
-sam

Revision 674 - Directory Listing
Modified Wed Dec 11 18:47:45 2002 UTC (11 years, 4 months ago) by apizer
Original Path: trunk
add documentation

Revision 673 - Directory Listing
Modified Wed Dec 11 18:42:05 2002 UTC (11 years, 4 months ago) by apizer
Original Path: trunk
allow strings like "-INF" to be valid in the strings options

Revision 672 - Directory Listing
Modified Mon Dec 9 19:57:33 2002 UTC (11 years, 4 months ago) by malsyned
Original Path: trunk
Added two new tasks to the TODO list for the December prerelease
-Dennis

Revision 671 - Directory Listing
Modified Mon Dec 9 18:40:04 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
did some work on Feedback, etc. Added mike and arnie's comments to TODO.
-sam

Revision 670 - Directory Listing
Modified Fri Dec 6 17:50:24 2002 UTC (11 years, 4 months ago) by malsyned
Original Path: trunk
Added a Professor Tools stub module that provides redirection links to
the WeBWorK 1.8 system
-Dennis

Revision 669 - Directory Listing
Modified Fri Dec 6 17:42:02 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
added feedback links to a bunch of modules.
-sam

Revision 668 - Directory Listing
Modified Wed Dec 4 19:08:10 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
okay, added Feedback.pm this time.
-sam

Revision 667 - Directory Listing
Modified Wed Dec 4 19:07:12 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
added a bunch of "***" comments.
implemented Feedback module.
-sam

Revision 666 - Directory Listing
Modified Mon Dec 2 21:02:36 2002 UTC (11 years, 4 months ago) by apizer
Original Path: trunk
Added back in the changed from versions 1.44 and 1.45

Revision 665 - Directory Listing
Modified Mon Dec 2 20:52:10 2002 UTC (11 years, 4 months ago) by apizer
Original Path: trunk
reverting to version 1.42.  Version 1.43 is buggy.

Revision 664 - Directory Listing
Modified Mon Dec 2 19:42:48 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
added stuff.
-sam

Revision 663 - Directory Listing
Modified Tue Nov 26 21:49:51 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
reoranized file.
-sam

Revision 662 - Directory Listing
Modified Mon Nov 25 23:53:30 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
fixed dvipng (again!)
-sam

Revision 661 - Directory Listing
Modified Mon Nov 25 22:37:55 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
removed unused WEBWORKUSER variable
-sam

Revision 660 - Directory Listing
Modified Mon Nov 25 19:18:28 2002 UTC (11 years, 4 months ago) by malsyned
Original Path: trunk
Changed the naming of the per-user config file
-dennis

Revision 659 - Directory Listing
Modified Mon Nov 25 18:50:06 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
updated todo
-sam

Revision 658 - Directory Listing
Modified Mon Nov 25 08:39:38 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
renamed wwapachectl.sample -> wwapachectl.dist
-sam

Revision 657 - Directory Listing
Modified Mon Nov 25 08:32:36 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
removed unused $path_translated variable, had $path_info set to "" by
default instead of undef, added some warnings.
-sam

Revision 656 - Directory Listing
Modified Mon Nov 25 08:31:11 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
renamed httpd-wwmp-header.conf -> httpd-wwmp-header.conf.dist
-sam

Revision 655 - Directory Listing
Modified Mon Nov 25 08:29:55 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
renamed httpd-wwmp-sample.conf -> httpd-wwmp.conf.dist
fixed a value in global.conf.dist
-sam

Revision 654 - Directory Listing
Modified Mon Nov 25 08:23:29 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
renamed global.conf -> global.conf.dist
-sam

Revision 653 - Directory Listing
Modified Sun Nov 24 07:34:01 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
DocumentRoot has to be an absolute path.
-sam

Revision 652 - Directory Listing
Modified Sun Nov 24 03:44:22 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
whoops.
-sam

Revision 651 - Directory Listing
Modified Sun Nov 24 03:21:47 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
added $WEBWORKUSER variable
-sam

Revision 650 - Directory Listing
Modified Sun Nov 24 03:21:12 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
added !WEBWORK_PORT! -- use 10000 + your UID!
-sam

Revision 649 - Directory Listing
Modified Sun Nov 24 03:10:54 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
replaced instances of "malsyned" with !WEBWORK_USER! and documented it
at the top of the file.
-sam

Revision 648 - Directory Listing
Modified Sun Nov 24 03:08:02 2002 UTC (11 years, 4 months ago) by sh002i
Original Path: trunk
moved a comment that was at the end of a line (comments have to be on
their own lines in httpd config files.)
-sam

Revision 647 - Directory Listing
Modified Sat Nov 23 00:30:55 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
removed annoying comment.
-sam

Revision 646 - Directory Listing
Modified Sat Nov 23 00:25:40 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
added REAL logout support. keys now get invalidated at logout.
also, fixed a bug in classlist (see the diff).
also, added a sub to Utils (see the diff).
-sam

Revision 645 - Directory Listing
Modified Sat Nov 23 00:15:15 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
finished this module.
-sam

Revision 644 - Directory Listing
Modified Fri Nov 22 20:30:20 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
Added "Options" handler, modified the dispatcher to support it, fixed
the link to it in the &links routine.
-sam

Revision 643 - Directory Listing
Modified Fri Nov 22 20:26:26 2002 UTC (11 years, 5 months ago) by malsyned
Original Path: trunk
Removed some debugging code
-dennis

Revision 642 - Directory Listing
Modified Wed Nov 20 21:48:01 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
updated TODO.
-sam

Revision 641 - Directory Listing
Modified Wed Nov 20 21:47:25 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
fixed hardcopy generation for sets named "0" (a false, but defined value)
added error and warning reporting.
-sam

Revision 640 - Directory Listing
Modified Wed Nov 20 21:46:37 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
fixed the "Download Hardcopy for Selected Sets" button
-sam

Revision 639 - Directory Listing
Modified Wed Nov 20 20:26:27 2002 UTC (11 years, 5 months ago) by malsyned
Original Path: trunk
Added configuration files for apache that will allow each user to control
his own seperate Apache process with a different webwork-modperl installation
-Dennis

Revision 638 - Directory Listing
Modified Wed Nov 20 20:22:08 2002 UTC (11 years, 5 months ago) by malsyned
Original Path: trunk
Added a template for controlling the per-user apache process
-Dennis

Revision 637 - Directory Listing
Modified Wed Nov 20 20:02:55 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
moved PG modules from lib/WeBWorK/PG/ to pglib/
-sam

Revision 636 - Directory Listing
Modified Wed Nov 20 19:22:01 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
fixed test for hardcopy argument to not throw away "0".
0sam

Revision 635 - Directory Listing
Modified Wed Nov 20 19:13:25 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
fixed __WARN__ handler. somehow it broke itself and needed some
massaging.
-sam

Revision 634 - Directory Listing
Modified Wed Nov 20 19:12:44 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
removed old comment.
-sam

Revision 633 - Directory Listing
Modified Wed Nov 20 19:11:55 2002 UTC (11 years, 5 months ago) by malsyned
Original Path: trunk
Added some debugging code

Revision 632 - Directory Listing
Modified Sat Nov 16 04:40:26 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
Added warning if one cannot change the permissions on latexfilenamebase

Revision 631 - Directory Listing
Modified Fri Nov 15 20:51:06 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
added some docs to Utils
-sam

Revision 630 - Directory Listing
Modified Sat Nov 9 19:41:17 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
Added more warning code for when image generation fails.

Also added code that keeps files from being removed when the global
imageDebug switch is turned on.

Revision 629 - Directory Listing
Modified Sat Nov 9 19:39:49 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
Added some code setting METAFONT_DPI=180 to remove a division by zero
error.  It's possible that this should be set somewhere else higher up
the chain of initializations, but if that change is made make sure there
is a note in this file specifying how to make sure that METAFONT_DPI is
set correctly

Revision 628 - Directory Listing
Modified Sat Nov 9 19:37:59 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
Added paths to Latex2HTML to make these files compatible with the macro
files used jointly by webwork and webwork-modperl

Revision 627 - Directory Listing
Modified Sat Nov 9 16:42:04 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
Revised warnings on Latex2HTML code so that more information is passed
back to the user via the webpage.  The main change was to replace the
wwerror calls with warns.

wwerror hasn't been updated in some time.  I suspect that all of these
calls can be replaced by warn calls or perhaps, in some cases, die
calls.

Revision 626 - Directory Listing
Modified Sat Nov 9 16:38:28 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
No changes (except for spaces)

Revision 625 - Directory Listing
Modified Sat Nov 9 16:37:58 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
Format changes, which make dangerousMacros more readable were added to
the standard webwork courseScripts folder

Revision 624 - Directory Listing
Modified Sat Nov 9 15:50:38 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
Changed warning messages when dvipng doesn't work from die to warn.
This gives more infformation back to the webbrowser and still prints the
same information to the log.

Removed the workaround for dvipng's problems with labeling its dvi
output.  This problem was fixed in the latest version of dvipng which is
now being used on webwork-db and webwork.

There is still a problem that dvipng is being used to display answers at
all times (even if the mode switch is set to tth mode )

Revision 623 - Directory Listing
Modified Fri Nov 8 22:14:18 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
yo shout! answer previewing is working.
-sam

Revision 622 - Directory Listing
Modified Fri Nov 8 19:54:43 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
Added code to use the external paths to gif2eps and png2eps when defined

Revision 621 - Directory Listing
Modified Fri Nov 8 19:52:20 2002 UTC (11 years, 5 months ago) by gage
Original Path: trunk
Added environment variables for the paths to the gif2eps and png2eps
scripts.

This increases compatibility with the modperl version of WeBWorK.

Revision 620 - Directory Listing
Modified Fri Nov 1 22:57:25 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
fixed up IO.pm and IO.pl so that only the necessary functions are in
IO.pl.
-sam

Revision 619 - Directory Listing
Modified Fri Nov 1 20:44:13 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
turned on catchWarnings.
-sam

Revision 618 - Directory Listing
Modified Fri Nov 1 20:40:49 2002 UTC (11 years, 5 months ago) by malsyned
Original Path: trunk
Fixed a syntax error
--dennis

Revision 617 - Directory Listing
Modified Wed Oct 30 22:09:54 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
fixed a logic error in Problem.pm affecting $can{submitAnswers}
-sam

Revision 616 - Directory Listing
Modified Wed Oct 30 20:16:56 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
finished some stuff up. hardcopy deletes its temp files.
-sam

Revision 615 - Directory Listing
Modified Wed Oct 30 19:50:54 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
fixed pdf images.
-sam

Revision 614 - Directory Listing
Modified Mon Oct 28 21:26:35 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
small changes to support hardcopy work.
-sam

Revision 613 - Directory Listing
Modified Mon Oct 28 21:22:11 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
getImageDimmensions now uses GD instead of Image::Info.
-sam

Revision 612 - Directory Listing
Modified Mon Oct 28 21:21:26 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
added texDisposition problem environment variable -- always set to "pdf"
cleaned up unrestricted_load code, made IO.pl get loaded first
-sam

Revision 611 - Directory Listing
Modified Mon Oct 28 21:20:06 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
specified 'pdftex' option to graphicx
-sam

Revision 610 - Directory Listing
Modified Mon Oct 28 21:19:25 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
added gif2png external program path.
-sam

Revision 609 - Directory Listing
Modified Fri Oct 25 22:25:34 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
fixed a little problem with the warning control.
-sam

Revision 608 - Directory Listing
Modified Fri Oct 25 22:16:01 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
added $courseEnv->{pg}->{options}->{catchWarnings} to control if PG
warnings are caught and stored in the self hash, or uncaught and
spit out on stderr (or error_log or whatever).
-sam

Revision 607 - Directory Listing
Modified Fri Oct 25 20:56:49 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
re-formatted &alias (in dangerousMacros) so that it's more readable.
mostly just made sure indentations where correct and tabs and spaces
were used where apprropriate.
-sam

Revision 606 - Directory Listing
Modified Fri Oct 25 20:14:28 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
turned logging back on.
-sam

Revision 605 - Directory Listing
Modified Fri Oct 25 19:59:14 2002 UTC (11 years, 5 months ago) by jj
Original Path: trunk
Changed CLOSED message to Past Due Date.

Revision 604 - Directory Listing
Modified Fri Oct 25 19:56:26 2002 UTC (11 years, 5 months ago) by jj
Original Path: trunk
Changed CLOSED to Due date has passed.

Revision 603 - Directory Listing
Modified Fri Oct 25 17:19:04 2002 UTC (11 years, 5 months ago) by sh002i
Original Path: trunk
added screen set header file.
-sam

Revision 602 - Directory Listing
Modified Thu Oct 24 20:14:14 2002 UTC (11 years, 5 months ago) by apizer
Original Path: trunk
define envir{fileName}

Revision 601 - Directory Listing
Modified Thu Oct 24 18:31:21 2002 UTC (11 years, 5 months ago) by jj
Original Path: trunk
Fixed png creation from screen header file.

Revision 600 - Directory Listing
Modified Tue Oct 22 13:35:06 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
ass ` to the list of characters ($ and @) filtered out of sticky answers

Revision 599 - Directory Listing
Modified Tue Oct 22 13:20:36 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
fixed other variants of tex_ans_rule

Revision 598 - Directory Listing
Modified Tue Oct 22 13:15:02 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
answer rules can not be placed within equations in dvipng mode

Revision 597 - Directory Listing
Modified Mon Oct 21 19:28:27 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
entered Mark's bug fix for floor()

Revision 596 - Directory Listing
Modified Fri Oct 18 19:09:53 2002 UTC (11 years, 6 months ago) by malsyned
Original Path: trunk
Added some ifs to the barebones template to prevent it from drawing the hard rule unless necessary.

Removed init.pl.  It is no longer used.

--Dennis

Revision 595 - Directory Listing
Modified Fri Oct 18 14:23:32 2002 UTC (11 years, 6 months ago) by gage
Original Path: trunk
modified reference to library

Revision 594 - Directory Listing
Modified Fri Oct 18 13:50:48 2002 UTC (11 years, 6 months ago) by gage
Original Path: trunk
Added two new files

Revision 593 - Directory Listing
Modified Fri Oct 18 13:49:02 2002 UTC (11 years, 6 months ago) by gage
Original Path: trunk
Split webwork.pm into webwork.pm, FetchLbiraryProblems.pm and
MathTranslators.pm

Began to add dvipng capabilities to the webservice daemon.

Revision 592 - Directory Listing
Modified Wed Oct 16 16:16:14 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
very minor change

Revision 591 - Directory Listing
Modified Wed Oct 16 15:32:58 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
rearrange

Revision 589 - Directory Listing
Modified Wed Oct 16 14:36:44 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
minor changes

Revision 588 - Directory Listing
Modified Wed Oct 16 13:51:04 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
minor changes

Revision 587 - Directory Listing
Modified Wed Oct 16 13:06:36 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
force scoring of sets with corrupted data

Revision 586 - Directory Listing
Modified Tue Oct 15 13:17:31 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
minor chages to comments

Revision 585 - Directory Listing
Modified Mon Oct 14 16:29:10 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
change copyright date

Revision 584 - Directory Listing
Modified Mon Oct 14 16:26:23 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
add comment about noserpage switch

Revision 583 - Directory Listing
Modified Mon Oct 14 16:20:15 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
add comment on nosetpage switch

Revision 582 - Directory Listing
Modified Mon Oct 14 16:15:58 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
add comment about nosetpage

Revision 581 - Directory Listing
Modified Mon Oct 14 12:53:41 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
mention the three palces the init files resides in.

Revision 580 - Directory Listing
Modified Fri Oct 11 16:28:10 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
Change how debugging output works

Revision 579 - Directory Listing
Modified Fri Oct 11 00:55:04 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
use quiet switch. Still get a timing message in error log

Revision 578 - Directory Listing
Modified Thu Oct 10 23:58:53 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
send fewer messages to error_log

Revision 577 - Directory Listing
Modified Thu Oct 10 23:56:01 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
send fewer messages to error log.  Still too many

Revision 576 - Directory Listing
Modified Thu Oct 10 15:53:20 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
add remark about webworkInit.pm

Revision 575 - Directory Listing
Modified Tue Oct 8 20:35:31 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
minor changes

Revision 574 - Directory Listing
Modified Tue Oct 8 20:27:19 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
trivial change

Revision 573 - Directory Listing
Modified Tue Oct 8 16:14:00 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
changes for version 1.8

Revision 572 - Directory Listing
Modified Tue Oct 8 00:32:55 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
have to load FILE.pl in order for htmlbottom to print date

Revision 571 - Directory Listing
Modified Mon Oct 7 23:35:09 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
fix spelling errors

Revision 570 - Directory Listing
Modified Mon Oct 7 21:33:00 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
give correct path to blue sqaure gif

Revision 569 - Directory Listing
Modified Mon Oct 7 19:06:02 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
documentation for webwork 1.8

Revision 568 - Directory Listing
Modified Mon Oct 7 16:49:57 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
minor changes

Revision 567 - Directory Listing
Modified Mon Oct 7 14:33:24 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
rewriten allowing png mode and error checking

Revision 566 - Directory Listing
Modified Thu Oct 3 20:20:18 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
set $extendedPath = ':/usr/bin:/usr/local/bin';

Revision 565 - Directory Listing
Modified Thu Oct 3 17:44:32 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
append (error) messages to error_log rather than overwrite error_log

Revision 564 - Directory Listing
Modified Thu Oct 3 17:32:44 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
append messages to error_log rather than overwrite error_log

Revision 563 - Directory Listing
Modified Tue Oct 1 13:21:28 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
ahh -nosetpage switch

Revision 562 - Directory Listing
Modified Fri Sep 27 23:53:42 2002 UTC (11 years, 6 months ago) by sh002i
Original Path: trunk
- created macros/IO.pl, which is loaded with no opmask by PG.pm. It is a copy
  of WeBWorK::PG::IO.pm, with some changes to make it work as a macro package.
  The translator no longer shares IO.pm's functions with the safe compartment.
  This is a BAD THING, and should be reconsidered when the Translator is
  revised.
- Changed many (but not all) checks for HTML or HTML_tth modes to match /^HTML/
  in the macros.
- changed &header to &head in Problem.pm
- Added problem environment variables for gif2eps and png2eps and modified
  &dangerousMacros::alias to use them
- fixed MOST of the harmless warnings in the system. there's still the "Use
  of uninitialized value in null operation" warning in template(), tho.

Still to come:

- make images in PDFs work
- fix TTH mode character encodings on mac (maybe)
- have logout button invalidate key
- Pretty die messages (from outside of the translator)
- Feedback - need nice modular way of sending email
- Options - email address and password

Revision 561 - Directory Listing
Modified Fri Sep 27 20:23:48 2002 UTC (11 years, 6 months ago) by sh002i
Original Path: trunk
removed deprecated stuff from the bin directory.
added gif2eps and png2eps from the old system.
-sam

Revision 560 - Directory Listing
Modified Tue Sep 24 17:11:20 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
go back to old version while I think about the changes

Revision 559 - Directory Listing
Modified Tue Sep 24 13:47:15 2002 UTC (11 years, 6 months ago) by apizer
Original Path: trunk
changed the way the user is determined in access_link

Revision 558 - Directory Listing
Modified Fri Sep 20 22:47:22 2002 UTC (11 years, 7 months ago) by sh002i
Original Path: trunk
* fixed multiple-calls-to-&handler problem
* fixed if-else-endif code in &template
* added code to catch warnings in PG evaluation
* added "pink screen" and warning reporting
* started work on logging code (see Utils.pm, commented out)
-sam & dennis

Revision 557 - Directory Listing
Modified Fri Sep 20 18:32:04 2002 UTC (11 years, 7 months ago) by gage
Original Path: trunk
changed copyright date

Revision 556 - Directory Listing
Modified Wed Sep 18 20:49:42 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
allow easy use of original open and due dates

Revision 555 - Directory Listing
Modified Wed Sep 18 19:25:42 2002 UTC (11 years, 7 months ago) by sh002i
Original Path: trunk
fixed image centering, added head escape.
-sam

Revision 554 - Directory Listing
Modified Mon Sep 16 20:56:27 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Moves warning about number of attempts remaining to be above submit
button, and makes it bold face instead of italic.

Revision 553 - Directory Listing
Modified Mon Sep 16 20:45:09 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Corrected image name bluesq.gif to ww_bluesq.gif.

Revision 552 - Directory Listing
Modified Mon Sep 16 19:13:43 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Put the current date/time on the login valid screen too.

Revision 551 - Directory Listing
Modified Mon Sep 16 18:53:24 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Change standard bottom of screen to show current time/date, except
for welcome.pl which already has the information higher up.

Revision 550 - Directory Listing
Modified Fri Sep 13 23:25:08 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Adjust for new location of dvipng images.

Revision 549 - Directory Listing
Modified Fri Sep 13 23:18:38 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Adjust deletion of dvipng images to new location for them.

Revision 548 - Directory Listing
Modified Fri Sep 13 23:17:16 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Dvipng images now subdivided further into png/setname/psvn/ to avoid having
too many files in the same directory.

Revision 547 - Directory Listing
Modified Fri Sep 13 20:54:59 2002 UTC (11 years, 7 months ago) by sh002i
Original Path: trunk
fixed hardcopy generation (errors in EV3_math_general and the
hardcopySetHeader.
-sam

Revision 546 - Directory Listing
Modified Fri Sep 13 20:26:52 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Remove unneeded underscores from button names.

Revision 545 - Directory Listing
Modified Fri Sep 13 17:27:11 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Initial import.

Revision 544 - Directory Listing
Modified Fri Sep 13 14:45:44 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
vwesion 1.8

Revision 543 - Directory Listing
Modified Fri Sep 13 13:22:29 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
long answers are now truncated and stored in the database

Revision 542 - Directory Listing
Modified Thu Sep 12 20:03:21 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
initial deposit

Revision 541 - Directory Listing
Modified Mon Sep 9 21:20:00 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
Select available modes in Global.pm per John Jones suggestion

Revision 540 - Directory Listing
Modified Mon Sep 9 19:05:55 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
use the new variable extendedPath

Revision 539 - Directory Listing
Modified Mon Sep 9 15:47:22 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
send messages to error_log rather than to null

Revision 538 - Directory Listing
Modified Mon Sep 9 15:09:52 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
show real student names in addition to login names.

Revision 537 - Directory Listing
Modified Fri Sep 6 20:02:17 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Remove cached dvipng images when a student is removed from the database.

Revision 536 - Directory Listing
Modified Fri Sep 6 19:48:37 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Clean out cached dvipng images when deleting a problem set.

Revision 535 - Directory Listing
Modified Fri Sep 6 19:34:54 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Added code to clean out dvipng images when needed.

Revision 534 - Directory Listing
Modified Fri Sep 6 19:26:09 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Added removed of cached dvipng images when executing a destroy and rebuild.

Revision 533 - Directory Listing
Modified Fri Sep 6 19:04:19 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Added code to clean out cached dvipng images when dataMunging.

Revision 532 - Directory Listing
Modified Fri Sep 6 15:34:29 2002 UTC (11 years, 7 months ago) by jj
Original Path: trunk
Modified path to temporary png files to make it easier to kill whole
problem sets.

Revision 531 - Directory Listing
Modified Fri Sep 6 14:24:20 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
rename refreshLatex2HTML to refreshCachedImages

Revision 530 - Directory Listing
Modified Wed Sep 4 19:36:01 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
*** empty log message ***

Revision 529 - Directory Listing
Modified Tue Sep 3 03:29:55 2002 UTC (11 years, 7 months ago) by gage
Original Path: trunk
*** empty log message ***

Revision 528 - Directory Listing
Modified Mon Sep 2 05:41:23 2002 UTC (11 years, 7 months ago) by gage
Original Path: trunk
*** empty log message ***

Revision 527 - Directory Listing
Modified Thu Aug 29 20:46:54 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
set ENV{PATH} in Global.pm

Revision 526 - Directory Listing
Modified Thu Aug 29 19:56:24 2002 UTC (11 years, 7 months ago) by sh002i
Original Path: trunk
HTML_img mode ("images" mode in the HTML interface) now uses dvipng to
generate images. ProblemSet now has a link to Hardcopy.
-sam

Revision 525 - Directory Listing
Modified Thu Aug 29 19:45:18 2002 UTC (11 years, 7 months ago) by malsyned
Original Path: trunk
Added the new &if_$key infrastructure
-dennis

Revision 524 - Directory Listing
Modified Thu Aug 29 19:04:20 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
variable for error_log

Revision 523 - Directory Listing
Modified Thu Aug 29 18:20:19 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
Set ENV{'PATH'} in Global.pm

Revision 522 - Directory Listing
Modified Thu Aug 29 17:42:39 2002 UTC (11 years, 7 months ago) by malsyned
Original Path: trunk
Debugging of the templating system and some other misc. changes.
--dennis

Revision 519 - Directory Listing
Modified Thu Aug 29 03:50:08 2002 UTC (11 years, 7 months ago) by gage
Original Path: trunk
moved library directory initializations to start_daemon

Revision 518 - Directory Listing
Modified Thu Aug 29 03:45:38 2002 UTC (11 years, 7 months ago) by gage
Original Path: trunk
Moved some initialization (of library directories in particular) to
start_daemon.

Revision 517 - Directory Listing
Modified Thu Aug 29 03:15:16 2002 UTC (11 years, 7 months ago) by gage
Original Path: trunk
The file Utils.pm is used by Translator.pm

Revision 516 - Directory Listing
Modified Wed Aug 28 19:56:46 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
added extendedPath variable

Revision 515 - Directory Listing
Modified Wed Aug 28 18:39:42 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
log dvips and latex system erors rather then sending them to dev/null

Revision 514 - Directory Listing
Modified Wed Aug 28 17:40:07 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
fixed typo in spelling of wwerror

Revision 513 - Directory Listing
Modified Tue Aug 27 16:24:33 2002 UTC (11 years, 7 months ago) by apizer
Original Path: trunk
enter a  C  if the student's status (Drop, C, etc) is blank on Registrar's list

Revision 512 - Directory Listing
Modified Fri Aug 23 22:19:51 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
Added the <!--#if--> escape and the can="" clause, to hide features of the
page if the escape they contain is invalid in the current content generator.
Other things can be added to the &if later (such as checking if warnings have
occurred and changing the background color accordingly).
--Dennis

Revision 511 - Directory Listing
Modified Fri Aug 23 18:45:22 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Initial import.  Allows making links which log students in as a randomly
choosen (available) practice user.

Revision 510 - Directory Listing
Modified Fri Aug 23 18:41:21 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Initial import of new file.  Debug wrapper for randPracticeLogin.pl.

Revision 509 - Directory Listing
Modified Fri Aug 23 18:30:03 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
added more hardship to our lives.
-sam

Revision 508 - Directory Listing
Modified Fri Aug 23 00:12:52 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
HAHAHA!!!!  I finally figured out a good way to do quoted strings with
backslash-escapes!  Had to draw a damn Deterministic Finite-state Automaton on
the chalkboard, but it's all in the name of science, right?
--Dennis

Revision 507 - Directory Listing
Modified Thu Aug 22 23:32:08 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
more shit to do.
-sam

Revision 506 - Directory Listing
Modified Thu Aug 22 22:04:07 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
Matches the template escapes again
-dennis`

Revision 505 - Directory Listing
Modified Thu Aug 22 22:02:39 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
quicklinks -> links
-sam

Revision 504 - Directory Listing
Modified Thu Aug 22 21:15:12 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
Added that file that it says I added
-dennis

Revision 503 - Directory Listing
Modified Thu Aug 22 21:13:53 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
updates.
-sam

Revision 502 - Directory Listing
Modified Thu Aug 22 21:11:53 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
continuing work on hardcopy generation. changed interface to PG.pm to
take user, problem, and set objects instead of names.
-sam

Revision 501 - Directory Listing
Modified Thu Aug 22 04:32:00 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
Bringing IO.pm and IOglue.pl (in xmlrpc webwork) in line with each
other.

Revision 500 - Directory Listing
Modified Thu Aug 22 04:30:46 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
Bringing IOglue.pl and IO.pm in line with each other (xmlrpc and
modperl)

Eventually we'll be able to merge some of the code and subclass the
differences.

Revision 499 - Directory Listing
Modified Wed Aug 21 23:43:17 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
Modifying files to allow xmlrpc and webwork-modperl to share the same code
base

Revision 498 - Directory Listing
Modified Wed Aug 21 23:35:31 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
Modifying files to conform to the webwork-modperl code base

Revision 497 - Directory Listing
Modified Wed Aug 21 23:33:22 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
Modifying files to make them more compatible with the webwork-modperl
code base

Revision 496 - Directory Listing
Modified Wed Aug 21 22:54:48 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Changed radio buttons for delete/reseed to checkboxes.

Revision 495 - Directory Listing
Modified Wed Aug 21 20:09:38 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Added support for HTML_dpng (dvipng) mode.

Revision 494 - Directory Listing
Modified Wed Aug 21 18:31:20 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
updated copyright header.
-sam

Revision 493 - Directory Listing
Modified Wed Aug 21 16:32:11 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
Beginning the process of combining the various versions of
PG translator.

Revision 492 - Directory Listing
Modified Wed Aug 21 15:34:35 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
made progress towards working hardcopy generation. next, i have to fix
the call to pdflatex. screw pip. it's not working right, and it doesn't
give me any speed gain, since latex has to goofily write the WHOLE DAMN
FILE in whatever order it pleases before letting me have it.
-sam

Revision 491 - Directory Listing
Modified Wed Aug 21 15:30:34 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
added erroniously even though it was a zero-length file.
-sam

Revision 490 - Directory Listing
Modified Wed Aug 21 15:28:06 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
added TeX/PG snippets for hardcopy generation.
-sam

Revision 489 - Directory Listing
Modified Wed Aug 21 15:27:07 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
paper* files are getting their names changed (to protect the guilty?)
-sam

Revision 488 - Directory Listing
Modified Wed Aug 21 15:26:03 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
adapted pdf_latex to work with pdflatex. call it pip_pdflatex. it
doesn't exactly work yet. it might not be worth it.
-sam

Revision 487 - Directory Listing
Modified Wed Aug 21 15:08:54 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
Fixed #! line

Revision 486 - Directory Listing
Modified Wed Aug 21 15:08:22 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
fixed #!/usr/local/bin/webwork-perl   line

Revision 485 - Directory Listing
Modified Wed Aug 21 05:00:51 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Documentation and comment changes.

Revision 484 - Directory Listing
Modified Tue Aug 20 20:53:04 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Added support for HTML_dpng (dvipng rendering).  Mostly, this amounts to
adding global variables to configure options to dvipng.

Revision 483 - Directory Listing
Modified Tue Aug 20 20:49:41 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Added support for HTML_dpng mode (dvipng rendering).

Revision 482 - Directory Listing
Modified Tue Aug 20 20:47:22 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Added support for HTML_dpng (dvipng) rendering, and Sam's ev3_math abstraction.

Revision 481 - Directory Listing
Modified Tue Aug 20 20:43:46 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Added code for HTML_dpng (dvipng) mode.

Revision 480 - Directory Listing
Modified Tue Aug 20 20:39:46 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Initial import.  Used for dvipng image generation.

Revision 479 - Directory Listing
Modified Tue Aug 20 20:38:06 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Added dpng code.  Main intrusion is requirement of ImageGenerator near the top.

Revision 478 - Directory Listing
Modified Tue Aug 20 01:10:31 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
added Hardcopy.
TODO:
	&getMultiSetTeX
	figure out what to do about making several sets into 1 TeX \doc
	make PDF generation code (minimize temp file use!)
		(to this end, module-ize pip? haha.)
-sam

Revision 477 - Directory Listing
Modified Tue Aug 20 01:07:53 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
added square image :)
-sam

Revision 476 - Directory Listing
Modified Tue Aug 20 01:07:18 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
fixed problem with deciding when to generate images in math2img mode
finished adding template escapes to ProblemSets, ProblemSet, and Problem

fixed a problem where modules were removed from the courseEnv while
being loaded (whups.)
-sam

Revision 475 - Directory Listing
Modified Tue Aug 20 01:04:57 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
added information about PG/TeX snippet naming
update TODO
-sam

Revision 474 - Directory Listing
Modified Tue Aug 20 01:04:25 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
added PG/TeX snippets and corresponding lines in global.conf
added a new template -- barebones.template
-sam

Revision 473 - Directory Listing
Modified Mon Aug 19 19:32:34 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
No functional change, but made it easier to add/subtract modes.

Revision 472 - Directory Listing
Modified Mon Aug 19 19:27:44 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Not functionally different, but made it easier to add/subtract display modes.

Revision 471 - Directory Listing
Modified Fri Aug 16 21:40:22 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
pd2webwork now checks for pod documents in webwork-modperl   as well

Revision 470 - Directory Listing
Modified Fri Aug 16 21:01:39 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
blah

Revision 469 - Directory Listing
Modified Fri Aug 16 20:43:38 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
pretty much implemented the whole thing.

yeah.
-sam

Revision 468 - Directory Listing
Modified Fri Aug 16 20:16:55 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
The directory courseScripts is no longer created inside the course directory by the
course_webwork_setup.pl script.  This directory has not ever been used to my knowledge.

Revision 467 - Directory Listing
Modified Fri Aug 16 20:12:30 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
A sample email message

Revision 466 - Directory Listing
Modified Fri Aug 16 20:10:58 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
More files for demoCourse

Revision 465 - Directory Listing
Modified Fri Aug 16 20:09:03 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
More files for the demoCourse

Revision 464 - Directory Listing
Modified Fri Aug 16 20:07:47 2002 UTC (11 years, 8 months ago) by gage
Original Path: trunk
This is a good starter course for setting up webwork.  The script course_webwork_setup.pl must be
run to setup additional directories.

Revision 463 - Directory Listing
Modified Wed Aug 14 23:06:00 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Added new randomization function, list_random, which takes a list of values
and picks one from the list.

Revision 462 - Directory Listing
Modified Wed Aug 14 22:45:11 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Allow $useBaseTenLog=1 to make log act as base 10 in student answers.
Can be set system/course wide, and overriden on a problem by problem basis.

Revision 461 - Directory Listing
Modified Wed Aug 14 22:34:56 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Allow setting $useBaseTenLog in problems for log to mean base 10 log
in student answers.

Revision 460 - Directory Listing
Modified Wed Aug 14 22:30:44 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Allow setting $useBaseTenLog to 1, to mean that log in student answers is
log base 10.  Default is still that log means log base e.

Revision 459 - Directory Listing
Modified Wed Aug 14 22:17:11 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Changed string checking option to num_cmp.
Now num_cmp("-I", strings=>["I", "-I"]) works.

Revision 458 - Directory Listing
Modified Wed Aug 14 16:59:35 2002 UTC (11 years, 8 months ago) by jj
Original Path: trunk
Changed CARET so it would display better in TeX and Latex2HTML modes.

Revision 457 - Directory Listing
Modified Mon Aug 12 14:43:40 2002 UTC (11 years, 8 months ago) by lr003k
Original Path: trunk
multi_cmp doesn't seem to be working

Revision 456 - Directory Listing
Modified Mon Aug 5 21:50:53 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
strict/warnings/=head1 NAME
-sam

Revision 455 - Directory Listing
Modified Mon Aug 5 21:34:18 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
"normalized" files:
- (c) header on all files
- standard order of preamble lines:
	1. (c) header
	2. package PACKAGENAME;
	3. short summary of the package (pod's NAME section)
	4. use - pragmatic modules
	5. use - standard perl modules
	6. use - CPAN modules
	7. use - webwork modules
- ALWAYS use strict and use warnings
- use "use base" rather than "our @ISA"
so now we can be happy.
-sam

Revision 454 - Directory Listing
Modified Mon Aug 5 20:29:00 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
use base
-dennis

Revision 453 - Directory Listing
Modified Mon Aug 5 20:20:32 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
Added a bunch of the final escapes that will be a part of the templating system
-dennis

Revision 452 - Directory Listing
Modified Thu Aug 1 23:56:29 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
dont-forget: a bunch of development issues to think about.
TODO for the rest of the summer.
-sam

Revision 451 - Directory Listing
Modified Thu Aug 1 22:26:55 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
Made great progress towards a final template
-dennis

Revision 450 - Directory Listing
Modified Thu Aug 1 22:05:55 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
list of standard template escapes.
-sam

Revision 449 - Directory Listing
Modified Thu Aug 1 20:23:22 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
more CGI fixes, started playing around with ProblemSets.
-sam

Revision 448 - Directory Listing
Modified Thu Aug 1 20:22:22 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
added (c) header.
-sam

Revision 447 - Directory Listing
Modified Wed Jul 31 19:51:20 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
Various cleanups
-dennis

Revision 446 - Directory Listing
Modified Wed Jul 31 19:50:53 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
CGI.pm cleanups
-dennis

Revision 445 - Directory Listing
Modified Wed Jul 31 19:33:46 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
fixed "odd number of elements in hash" problem when decoding form
fields.
-sam

Revision 444 - Directory Listing
Modified Wed Jul 31 19:32:00 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
fixed some cgi stuff. apparently, it doesn't like the "CGI->" style very
much (it prints "CGI" all over the place), so i switched to "CGI::"
style.
-sam

Revision 443 - Directory Listing
Modified Wed Jul 31 18:14:05 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
converted CGI calls to "CGI->" style to avoid import conflicts with
&title and &body.
-sam

Revision 442 - Directory Listing
Modified Mon Jul 29 18:20:02 2002 UTC (11 years, 8 months ago) by apizer
Original Path: trunk
Deleted the line
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"  "http://www.w3.org/TR/REC-html40/strict.dtd">
from the sub processProblem_htmlTOP.  The required line is added bt the start_html command
from CGI.pm.  Having two DOCTYPE lines is invalid xml and caused a failure when used with
CGI.pm ver 2.81 which outputs xhtml.

Revision 441 - Directory Listing
Modified Thu Jul 25 21:58:22 2002 UTC (11 years, 8 months ago) by malsyned
Original Path: trunk
Added use strict and use warnings, then cleaned up much of the mess that
revealed.
--Dennis

Revision 440 - Directory Listing
Modified Thu Jul 25 21:45:29 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
cleanup?
-sam

Revision 439 - Directory Listing
Modified Thu Jul 25 21:21:13 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
rewrote in a newer style.
switched to use CGI qw() / CGI->function() syntax.
-sam

Revision 438 - Directory Listing
Modified Thu Jul 25 19:49:46 2002 UTC (11 years, 8 months ago) by sh002i
Original Path: trunk
*** empty log message ***

Revision 437 - Directory Listing
Modified Wed Jul 24 20:46:35 2002 UTC (11 years, 8 months ago) by apizer
Original Path: trunk
Allow setting refreshLatex2HTML = 1 in a problem to force L2H to be run.
That is, the cached image will never be used.

Revision 436 - Directory Listing
Modified Tue Jul 23 14:58:00 2002 UTC (11 years, 9 months ago) by apizer
Original Path: trunk
Added Dennis's relogin patch

Revision 435 - Directory Listing
Modified Fri Jul 19 17:30:32 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
turned off debugging in Problem.pm
-sam

Revision 434 - Directory Listing
Modified Fri Jul 19 06:19:34 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
added refreshMath2img to the problem environment (PG.pm) and modified
Problem.pm to set it when showHints or showSolutions is on. THIS IS NOT
THE BEST THING TO DO -- we only need to refresh when the value of
showHints or showSolutions CHANGES. Also, we should be refreshing if the
problem seed changes. So, we need somewhere to store those three values
between invocations of the script. HHHHHMMMMMMMM......... &math2img in
dangerousMacros.pl has been modified to respect refreshMath2img and also
refresh if the image file is older than the PG source file.
-sam

Revision 433 - Directory Listing
Modified Fri Jul 19 02:41:25 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
added HTML_img display mode. it currently generates image files using
math2img (which in turn uses latex, dvips and pstoimg (which in turn
uses gs, netpbm, and possibly otheres)). doesn't do any cacheing...
which means it's s--l--o--w. but it works.
-sam

Revision 432 - Directory Listing
Modified Fri Jul 19 02:39:16 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
added: math2img and support files... probably shouldn't distribute pip
with WeBWorK, but no one's going to complain, since it's in the public
domain (and that's one less dependancy ;)
-sam

Revision 431 - Directory Listing
Modified Thu Jul 18 20:12:02 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
finished initial version of PG.pm and Problem.pm
-sam

Revision 430 - Directory Listing
Modified Thu Jul 18 19:02:10 2002 UTC (11 years, 9 months ago) by malsyned
Original Path: trunk
Changed a comment to be a little more accurate
--Dennis

Revision 429 - Directory Listing
Modified Fri Jul 12 22:28:26 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
sticky answers work. ha HA!
-sam

Revision 428 - Directory Listing
Modified Fri Jul 12 19:02:14 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
removed &encode and &decode. replaced calls with those to
WeBWorK::Utils's &dbDecode and &dbEncode
-sam

Revision 427 - Directory Listing
Modified Fri Jul 12 19:01:28 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
moved &encode and &decode from WW.pm and Classlist.pm. Renamed to
&dbEncode and &dbDecode.
-sam

Revision 426 - Directory Listing
Modified Fri Jul 12 18:48:47 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
added 'g' to the s/// expressions that escape/unescape & and =

Revision 425 - Directory Listing
Modified Thu Jul 11 23:27:10 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
continued to work on Problem.pm. see diffs.
-sam

Revision 424 - Directory Listing
Modified Thu Jul 11 19:09:08 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
Problem.pm/PG.pm/Translator.pm now compile and work (to some degree)
changed the format of pg/modules in global.conf
diddled with the format of system.template (i believe i moved an <HR>)
added ref2string function to Utils.pm, removed hash2string/array2string
fixed a package name in IO.pm

Revision 423 - Directory Listing
Modified Wed Jul 3 23:24:26 2002 UTC (11 years, 9 months ago) by malsyned
Original Path: trunk
Fixed the hash2string call to use the new WeBWorK::Utils interface

Revision 422 - Directory Listing
Modified Wed Jul 3 23:22:29 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
moved hash2string and array2string from CourseEnvironment to Utils.
-sam

Revision 421 - Directory Listing
Modified Wed Jul 3 23:10:46 2002 UTC (11 years, 9 months ago) by malsyned
Original Path: trunk
Removed some stuff that's better off in WeBWorK::Upload, fixed some comments,
cleaned up some code

Revision 420 - Directory Listing
Modified Wed Jul 3 23:09:28 2002 UTC (11 years, 9 months ago) by malsyned
Original Path: trunk
ContentGenerator.pm: Changed names based on new course environment keys
Form.pm: New addition, handles anything param-able
Upload.pm: Will eventually make file uploads nice and easy vis-a-vis the
  transparent relogin functionality
--Dennis

Revision 419 - Directory Listing
Modified Wed Jul 3 22:33:55 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
moved pg/displayMode and pg/grader into pg/options
-sam

Revision 418 - Directory Listing
Modified Wed Jul 3 22:12:25 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
added pg/displayMode
-sam

Revision 417 - Directory Listing
Modified Fri Jun 28 18:48:35 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
Fixed a recursive condition in the group selection code (patch from
Steve Lidie <sol0@lehigh.edu>. Added more descriptive error messages.
-sam

Revision 416 - Directory Listing
Modified Thu Jun 27 15:22:26 2002 UTC (11 years, 9 months ago) by apizer
Original Path: trunk
Change call to readSetDef to reflect new parameter.  Fixed a few other things.

Revision 415 - Directory Listing
Modified Wed Jun 26 13:33:59 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
stuff i've been working on.
-sam

Revision 414 - Directory Listing
Modified Tue Jun 25 20:33:13 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
created PG::init_translator, which takes care of bootstrapping a
PG::Translator object. It is very sexy on the outside, and very hairy on
the inside.
-sam

Revision 413 - Directory Listing
Modified Tue Jun 25 20:31:41 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
Copied PG modules over from old system.
-sam

Revision 412 - Directory Listing
Modified Tue Jun 25 20:29:22 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
global: added some new hashes. learn how to use diff.
CourseEnv: new uses WeBWorK::Utils
WW: commented out a silly debugging function
IO: fixed package name
Translator: changed behavior of evaluate_modules and
load_extra_packages: they now update the instance variable directly to
avoid sharing modules that weren't asked for "this time".
-sam

Revision 411 - Directory Listing
Modified Tue Jun 25 20:17:24 2002 UTC (11 years, 9 months ago) by apizer
Original Path: trunk
When totaling scores, list the maximun possible total

Revision 410 - Directory Listing
Modified Tue Jun 25 16:49:11 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
Utils.pm now contains &runtime_use (from RuntimeUse.pm) and &readFile
(from CourseEnvironment.pm).
-sam

Revision 409 - Directory Listing
Modified Mon Jun 24 19:20:49 2002 UTC (11 years, 9 months ago) by apizer
Original Path: trunk
Incorporate Gavin's changes enabling linked problems

Revision 408 - Directory Listing
Modified Mon Jun 24 18:42:20 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
implements a runtime "use"-- require ; import
-sam

Revision 407 - Directory Listing
Modified Mon Jun 24 18:32:49 2002 UTC (11 years, 9 months ago) by gage
Original Path: trunk
Commented out the debugging messages again.

Revision 406 - Directory Listing
Modified Mon Jun 24 18:32:11 2002 UTC (11 years, 9 months ago) by lr003k
Original Path: trunk
added some commenting to the code I've been working on
~Liam

Revision 405 - Directory Listing
Modified Mon Jun 24 18:31:25 2002 UTC (11 years, 9 months ago) by lr003k
Original Path: trunk
added a comment to a prefilter I had created earlier
~Liam

Revision 404 - Directory Listing
Modified Mon Jun 24 17:05:13 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
Renamed files to reflect their package prefix:
IOGlue.pm -> IO.pm (WeBWorK::PG::IO)
PGtranslator.pm -> Translator.pm (WeBWorK::PG::Translator)
-sam

Revision 403 - Directory Listing
Modified Mon Jun 24 16:34:30 2002 UTC (11 years, 9 months ago) by malsyned
Original Path: trunk
Removed the CARP code (for now?), and made sure that an actual problem was
reachable (even though PG evaluation is commented out in the dispatcher
right now)

Revision 402 - Directory Listing
Modified Mon Jun 24 16:32:30 2002 UTC (11 years, 9 months ago) by malsyned
Original Path: trunk
Moved PGTranslator and IOGlue into WeBWorK::PG

Revision 401 - Directory Listing
Modified Mon Jun 24 15:46:36 2002 UTC (11 years, 9 months ago) by sh002i
Original Path: trunk
for now, readFile returns false on failure to open file. this is to get
around the $SIG{__DIE__} interception problem.
-sam

Revision 400 - Directory Listing
Modified Fri Jun 21 01:17:18 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
I've uncommented a debugging statement that prints the progress in evaluating
and loading the extra modules.  In the past this has failed silently (if for example if there is a syntax error in the module) at least as far as the HTML interface
is concerned.  )  If the new error mechanism does the right thing for errors in modules then we can take this out entirely.

Revision 399 - Directory Listing
Modified Thu Jun 20 21:26:16 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
Copied in a version of safety_filter subroutine from
PGtranslator5.pm in order to quite an "undefined" message.

-- Mike

Revision 398 - Directory Listing
Modified Thu Jun 20 21:22:31 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
*** empty log message ***

Revision 397 - Directory Listing
Modified Thu Jun 20 21:18:37 2002 UTC (11 years, 10 months ago) by malsyned
Original Path: trunk
fixed interface to template() function.
-"dennis"

Revision 396 - Directory Listing
Modified Thu Jun 20 20:43:39 2002 UTC (11 years, 10 months ago) by malsyned
Original Path: trunk
Some edits to make it work on my system, and some code cleanups.  You'll
probably have to edit it on the top (right now) to get it to work on your
system.  /this will change/ in the future.  But it's nice to have a working
demo.
--Dennis

Revision 395 - Directory Listing
Modified Thu Jun 20 16:41:17 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
removed the "die" in readFile()
-sam

Revision 394 - Directory Listing
Modified Thu Jun 20 16:37:59 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
fixing eval thingies.
-sam

Revision 393 - Directory Listing
Modified Thu Jun 20 16:02:12 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
removed PerlModule line -- unnecessary.
-sam

Revision 392 - Directory Listing
Modified Thu Jun 20 13:46:05 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
Problem.pm now works (kindof) to serve PG problems.  There are configuration
variables at the top that have to be customized to an individuals directory.
(They could be placed in a config file to avoid having to update them constantly,
but soon these values should be set by information from the course and
problem environments.)

The code is still rather delicate.  It seems to work with some problems and not
with others.  I suspect that the macro files are not being properly read in
and that perhaps the warning mechanisms are not yet working properly.

Also beware the line ending problem.  Some of these files were created on a
mac (using unix).  I've had completely  mysterious errors that were fixed
by checking the line endings.

There is also a lot of code, particulary the error reporting code which should be put
in its own module.

Revision 391 - Directory Listing
Modified Thu Jun 20 13:37:40 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
Temporarily turned on some debugging print outs (to STDERR) which
should help tell us which modules and macro packages are loaded.

Revision 390 - Directory Listing
Modified Wed Jun 19 22:45:47 2002 UTC (11 years, 10 months ago) by malsyned
Original Path: trunk
This commit brings several packages up to date and working.  I wish I could
be more specific, but it's been a while since I've committed.  You'll have
to check the CVS diffs for more info.
--Dennis

Revision 389 - Directory Listing
Modified Wed Jun 19 21:46:03 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
Finished debugging. This might be somewhere near working order. The API
won't change from now on, so go ahead and start using it.
-sam

Revision 388 - Directory Listing
Modified Wed Jun 19 20:03:53 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
I've added code for defining the problemEnvironment, at least for now.
Many of the values which will be pulled from the database have simply
been hardcoded into the subroutine.

There is also code to pretty print these values to aid in debugging.

Revision 387 - Directory Listing
Modified Wed Jun 19 13:54:23 2002 UTC (11 years, 10 months ago) by lr003k
Original Path: trunk
added a multiple method, still a little buggy, but it currently works, I still need to document it as well

Revision 386 - Directory Listing
Modified Wed Jun 19 03:27:44 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
Now the daemon server is working again.
This file needs some serious work so that it
is easier to connect up to other parts of webwork

Revision 385 - Directory Listing
Modified Wed Jun 19 02:36:03 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
Moved where the my variables *-format are defined.

Revision 384 - Directory Listing
Modified Wed Jun 19 01:34:24 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
Added my ($rformat,$theta_format); to the polar subroutine

Revision 383 - Directory Listing
Modified Tue Jun 18 22:47:05 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
removed by accident.
-sam

Revision 382 - Directory Listing
Modified Tue Jun 18 22:20:55 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
This has been replaced by the file ww_daemon.pl

Revision 381 - Directory Listing
Modified Tue Jun 18 22:20:07 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
omitted a $ from $out. (Sorry)

Revision 380 - Directory Listing
Modified Tue Jun 18 21:06:45 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
....
.

Revision 379 - Directory Listing
Modified Tue Jun 18 20:16:18 2002 UTC (11 years, 10 months ago) by apizer
Original Path: trunk
make sure all naked (non CGI.pm) <p> and <br> tags are ended

Revision 378 - Directory Listing
Modified Tue Jun 18 20:06:15 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
added dbInfo{psvn_digits} = 5
-sam

Revision 377 - Directory Listing
Modified Tue Jun 18 19:25:08 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
promote undef to "" in encode()
-sam

Revision 376 - Directory Listing
Modified Tue Jun 18 19:24:38 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
small changes.
-sam

Revision 375 - Directory Listing
Modified Tue Jun 18 18:10:41 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
Deleted some debugging statements
Moving some of the directory specifications to the top so that
the files are more portable.

Revision 374 - Directory Listing
Modified Tue Jun 18 17:55:20 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
Deleted some debugging statements
Added a check to make sure that a macro file has actually been loaded, by checking that _$macrofile_init  has been defined.

Revision 373 - Directory Listing
Modified Tue Jun 18 17:46:08 2002 UTC (11 years, 10 months ago) by gage
Original Path: trunk
this log file does not need to be kept in the CVS

Revision 372 - Directory Listing
Modified Tue Jun 18 17:43:35 2002 UTC (11 years, 10 months ago) by apizer
Original Path: trunk
Cleaning up html code. E.g. replcing naked <BR>'s by CGI.pm's br's

Revision 371 - Directory Listing
Modified Tue Jun 18 17:17:46 2002 UTC (11 years, 10 months ago) by apizer
Original Path: trunk
replace long "a"."b"."c" constructions with join(...)

Revision 370 - Directory Listing
Modified Tue Jun 18 16:46:20 2002 UTC (11 years, 10 months ago) by apizer
Original Path: trunk
use CGI.pm for htmlBOTTOM

Revision 369 - Directory Listing
Modified Tue Jun 18 16:17:15 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
renamed Webwork.pm to WW.pm
-sam

Revision 368 - Directory Listing
Modified Mon Jun 17 23:16:21 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
added login_id field. silly me.

Revision 367 - Directory Listing
Modified Mon Jun 17 23:09:08 2002 UTC (11 years, 10 months ago) by sh002i
Original Path: trunk
writing DB::Webwork.pm ...

R