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

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

View Directory Listing Directory Listing


Sticky Revision:

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

Revision 1542 - Directory Listing
Modified Sat Sep 27 19:24:32 2003 UTC (9 years, 8 months ago) by gage
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 1539 - Directory Listing
Modified Sat Sep 27 16:44:53 2003 UTC (9 years, 8 months ago) by gage
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 1536 - Directory Listing
Modified Fri Sep 26 21:31:24 2003 UTC (9 years, 8 months ago) by sh002i
small cleanup
added "FIXME: this table is heinously out of date"

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

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

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

Revision 1507 - Directory Listing
Modified Fri Sep 19 02:17:48 2003 UTC (9 years, 9 months ago) by gage
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 1503 - Directory Listing
Modified Thu Sep 11 02:07:20 2003 UTC (9 years, 9 months ago) by gage
Fixed typo (set should have been self)

Revision 1502 - Directory Listing
Modified Thu Sep 11 02:03:06 2003 UTC (9 years, 9 months ago) by gage
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 (9 years, 9 months ago) by gage
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 (9 years, 9 months ago) by gage
Fixed bug in feeback button.

Revision 1499 - Directory Listing
Modified Thu Sep 11 00:05:25 2003 UTC (9 years, 9 months ago) by gage
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 1497 - Directory Listing
Modified Tue Sep 9 03:54:43 2003 UTC (9 years, 9 months ago) by gage
Rounded of score, made link to act as student in the display of
statistics for a given user.  This retires bugs:
203 and #206.

Revision 1496 - Directory Listing
Modified Tue Sep 9 03:51:12 2003 UTC (9 years, 9 months ago) by gage
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 (9 years, 9 months ago) by gage
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 1489 - Directory Listing
Modified Sun Sep 7 00:12:55 2003 UTC (9 years, 9 months ago) by gage
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 (9 years, 9 months ago) by gage
Added "set " before
listing the set number.
--Mike

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

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

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

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

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

Revision 1480 - Directory Listing
Modified Fri Sep 5 03:25:29 2003 UTC (9 years, 9 months ago) by gage
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 (9 years, 9 months ago) by gage
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 (9 years, 9 months ago) by gage
Changed subject heading so that it includes the user,
the set and problem (if both are defined).
--Mike

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

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

Revision 1472 - Directory Listing
Modified Sat Aug 16 02:26:49 2003 UTC (9 years, 10 months ago) by gage
One more fix to constructing the returnURL
--Mike

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

Revision 1470 - Directory Listing
Modified Sat Aug 16 02:15:47 2003 UTC (9 years, 10 months ago) by gage
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 (9 years, 10 months ago) by gage
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 1467 - Directory Listing
Modified Sat Aug 16 00:48:12 2003 UTC (9 years, 10 months ago) by gage
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 (9 years, 10 months ago) by gage
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 (9 years, 10 months ago) by gage
Switched preview answers button to be first.

Revision 1464 - Directory Listing
Modified Fri Aug 15 18:12:32 2003 UTC (9 years, 10 months ago) by gage
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 1461 - Directory Listing
Modified Thu Aug 14 21:33:37 2003 UTC (9 years, 10 months ago) by malsyned
Actually added the printing of assignment counts and user-specific
identification.

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

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

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

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

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

Revision 1440 - Directory Listing
Modified Fri Jul 25 20:47:22 2003 UTC (9 years, 10 months ago) by gage
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 1438 - Directory Listing
Modified Fri Jul 25 14:31:41 2003 UTC (9 years, 10 months ago) by gage
Corrected spelling on button
--Mike

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Revision 1387 - Directory Listing
Modified Tue Jul 15 00:56:50 2003 UTC (9 years, 11 months ago) by gage
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 (9 years, 11 months ago) by malsyned
Initial commit, containing support methods.

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

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

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

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

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

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

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

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

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

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

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

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

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

Revision 1361 - Directory Listing
Modified Fri Jul 11 19:20:59 2003 UTC (9 years, 11 months ago) by gage
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 (9 years, 11 months ago) by gage
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 1357 - Directory Listing
Modified Fri Jul 11 18:40:34 2003 UTC (9 years, 11 months ago) by gage
More graceful failure if permissionlevel record is not defined.
--Mike

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

Revision 1352 - Directory Listing
Modified Fri Jul 11 16:58:09 2003 UTC (9 years, 11 months ago) by gage
When editing a set header one can not save to a temporary file, (the
refresh button is gone) however you can make a permanent change and the
result is viewed from the ProblemSet.pm page listing the problems from
the set, together with the screen version of the set header.
--Mike

Revision 1348 - Directory Listing
Modified Fri Jul 11 13:47:27 2003 UTC (9 years, 11 months ago) by gage
Added a link which allows editing of the setHeader
Refresh and Save don't yet work because they try to
access the set header as problem 0.  One fix would
be to have Problem.pm display the setHeader whenever
it was asked to show problem 0.  This involves a fair
amount of special case code. Is there are better way?
--Mike

Revision 1347 - Directory Listing
Modified Fri Jul 11 13:11:26 2003 UTC (9 years, 11 months ago) by gage
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 (9 years, 11 months ago) by gage
Added bread crumbs to Assigner.pm -- changed set:1 to just 1 in
ProblemSetEditor -- I think this looks cleaner.
--Mike

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

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

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

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

Revision 1325 - Directory Listing
Modified Wed Jul 9 01:36:01 2003 UTC (9 years, 11 months ago) by gage
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 (9 years, 11 months ago) by malsyned
Removed unecessary warning

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

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

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

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

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

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

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

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

Revision 1296 - Directory Listing
Modified Fri Jun 27 17:02:46 2003 UTC (9 years, 11 months ago) by gage
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 (9 years, 11 months ago) by gage
Added bread crumbs (path subroutine) along the top of each of these pages.
--Mike

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

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

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

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

Revision 1288 - Directory Listing
Modified Thu Jun 26 21:56:29 2003 UTC (9 years, 11 months ago) by malsyned
Fixed the password changing functionality of this screen

Revision 1279 - Directory Listing
Modified Thu Jun 26 17:40:52 2003 UTC (9 years, 11 months ago) by malsyned
Merged the translation optimization branch into the main branch

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

Revision 1246 - Directory Listing
Modified Sat Jun 21 02:21:02 2003 UTC (10 years ago) by gage
Turned timers on for now..
--Mike

Revision 1234 - Directory Listing
Modified Fri Jun 20 16:38:32 2003 UTC (10 years ago) by sh002i
now uses imagegenerator instead of calling dvipng directly.

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

Revision 1229 - Directory Listing
Modified Fri Jun 20 01:20:01 2003 UTC (10 years ago) by sh002i
housekeeping

Revision 1228 - Directory Listing
Modified Fri Jun 20 01:19:00 2003 UTC (10 years ago) by sh002i
housekeeping in siblings()

Revision 1227 - Directory Listing
Modified Fri Jun 20 01:18:33 2003 UTC (10 years ago) by sh002i
misc warning elimination, added message to tell you if your score was
recorded.

Revision 1223 - Directory Listing
Modified Fri Jun 20 00:36:47 2003 UTC (10 years ago) by sh002i
nav() now uses problem IDs instead of getting a the whole problem.

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

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

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

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

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

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

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

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

Revision 1202 - Directory Listing
Modified Wed Jun 18 19:58:18 2003 UTC (10 years ago) by gage
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 1198 - Directory Listing
Modified Wed Jun 18 16:35:53 2003 UTC (10 years ago) by sh002i
now sends editMode=savedFile if the "Save" button is pressed, and
doesn't send the "submit_button" parameter.

Revision 1197 - Directory Listing
Modified Wed Jun 18 16:35:22 2003 UTC (10 years ago) by sh002i
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 1193 - Directory Listing
Modified Tue Jun 17 22:16:57 2003 UTC (10 years ago) by malsyned
(.*)GlobalUser(.*) replaced with \1Merged\2.
-Dennis

Revision 1190 - Directory Listing
Modified Tue Jun 17 21:39:56 2003 UTC (10 years ago) by gage
Improved sorting speed for siblings.
--Mike

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

Revision 1185 - Directory Listing
Modified Tue Jun 17 19:26:23 2003 UTC (10 years ago) by malsyned
"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 1183 - Directory Listing
Modified Tue Jun 17 19:00:32 2003 UTC (10 years ago) by gage
Small modifications to correct warning messages when opening the temp
file.
-- Mike

Revision 1180 - Directory Listing
Modified Tue Jun 17 02:20:15 2003 UTC (10 years ago) by gage
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 1176 - Directory Listing
Modified Mon Jun 16 22:23:29 2003 UTC (10 years ago) by gage
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 ago) by gage
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 ago) by malsyned
This is the module for assigning sets to users.
-Dennis

Revision 1157 - Directory Listing
Modified Fri Jun 13 14:26:10 2003 UTC (10 years ago) by gage
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 ago) by gage
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 1153 - Directory Listing
Modified Fri Jun 13 02:20:06 2003 UTC (10 years ago) by gage
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 1149 - Directory Listing
Modified Thu Jun 12 20:06:20 2003 UTC (10 years ago) by sh002i
replaced tempdir() with makeTempDirectory()
-sam

Revision 1148 - Directory Listing
Modified Thu Jun 12 19:35:56 2003 UTC (10 years ago) by sh002i
removed debugging output -sam

Revision 1147 - Directory Listing
Modified Thu Jun 12 19:34:18 2003 UTC (10 years ago) by sh002i
changed calls to tempdir to calls to makeTempDirectory
-sam

Revision 1146 - Directory Listing
Modified Thu Jun 12 19:33:28 2003 UTC (10 years ago) by sh002i
made some small improvements in error handling. changed calls to tempdir
to calls to makeTempDirectory
-sam

Revision 1138 - Directory Listing
Modified Thu Jun 12 19:02:59 2003 UTC (10 years ago) by gage
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 1133 - Directory Listing
Modified Wed Jun 11 20:41:56 2003 UTC (10 years ago) by gage
Fixed a bug in ordering the siblings. (again :-) )
--Mike

Revision 1131 - Directory Listing
Modified Wed Jun 11 20:40:11 2003 UTC (10 years ago) by sh002i
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 1129 - Directory Listing
Modified Wed Jun 11 19:30:51 2003 UTC (10 years ago) by gage
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 ago) by gage
Use   instead of blanks inside tables.
This squashes bug #72 (which Sam thinks is beter unsquashed.  What do you think?)
--Mike

Revision 1113 - Directory Listing
Modified Wed Jun 11 02:04:13 2003 UTC (10 years ago) by gage
(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 1111 - Directory Listing
Modified Tue Jun 10 23:05:57 2003 UTC (10 years ago) by sh002i
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 ago) by malsyned
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 ago) by gage
Fixed bug in sorting in siblings subroutine
--Mike

Revision 1107 - Directory Listing
Modified Tue Jun 10 19:40:45 2003 UTC (10 years ago) by gage
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 ago) by malsyned
Removed a warning in WW1Hash.
Renamed a function with a confusing name: assignProblemToAllUsers =>
assignProblemToAllSetUsers.
-Dennis

Revision 1105 - Directory Listing
Modified Tue Jun 10 17:29:27 2003 UTC (10 years ago) by gage
Filter problem contents before saving to disk to handle line ending problems.
All occurences of \r\n and \r    are replaced by \n.

Began improving the error messages if files cannot not be read.

Revision 1096 - Directory Listing
Modified Mon Jun 9 23:25:09 2003 UTC (10 years ago) by sh002i
*** empty log message ***

Revision 1063 - Directory Listing
Modified Sun Jun 8 21:15:30 2003 UTC (10 years ago) by gage
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 1049 - Directory Listing
Modified Fri Jun 6 21:21:28 2003 UTC (10 years ago) by malsyned
Calculate percent correct the same everywhere.
fixes bug 60

Revision 1045 - Directory Listing
Modified Fri Jun 6 19:13:51 2003 UTC (10 years ago) by malsyned
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 ago) by gage
Replacing hard coding of /webwork/ with  $ce->{webworkURLs}->{root}
-- Mike

Revision 1041 - Directory Listing
Modified Fri Jun 6 16:14:38 2003 UTC (10 years ago) by malsyned
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 ago) by gage
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 ago) by gage
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 ago) by gage
*** empty log message ***

Revision 1034 - Directory Listing
Modified Thu Jun 5 22:41:47 2003 UTC (10 years ago) by malsyned
the % done status indicators now round to the nearest whole percent.
Fixes Bug #47
-Dennis

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

Revision 1026 - Directory Listing
Modified Thu Jun 5 19:26:31 2003 UTC (10 years ago) by malsyned
Added a function "initializeUserProblem" to WeBWorK::DB::Utils and
changed my code to use it.
-Dennis

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

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

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

Revision 1017 - Directory Listing
Modified Wed Jun 4 23:47:35 2003 UTC (10 years ago) by malsyned
Instructor pages now only let instructors view and edit the database.
phew.

NOTE that there are new directives in global.conf.dist.  You won't be
able to use the professor pages until you've made that change.

Also, I added new template escapes and updated the barebones and ur
templates.
-Dennis

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

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

Revision 1013 - Directory Listing
Modified Wed Jun 4 18:36:23 2003 UTC (10 years ago) by malsyned
I wrote functions to facilitate the assignment of problems to students.
-Dennis

Revision 1007 - Directory Listing
Modified Wed Jun 4 03:04:07 2003 UTC (10 years ago) by gage
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 ago) by gage
Added ProblemList (from Dennis' folder) and committed it to CVS
--Mike

Revision 1005 - Directory Listing
Modified Wed Jun 4 00:34:56 2003 UTC (10 years ago) by malsyned
I split the instructor's Problem List editor off into a seperate page,
and added links to that page from a few others.
-Dennis

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

Revision 997 - Directory Listing
Modified Tue Jun 3 21:59:49 2003 UTC (10 years ago) by gage
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 ago) by malsyned
Really fixed the Instructor links to use the new URL scheme this time
-Dennis

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

Revision 994 - Directory Listing
Modified Tue Jun 3 20:49:10 2003 UTC (10 years ago) by sh002i
added example Set->UserSet conversion.
-sam

Revision 993 - Directory Listing
Modified Tue Jun 3 20:20:16 2003 UTC (10 years ago) by gage
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 ago) by gage
*** empty log message ***

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

Revision 983 - Directory Listing
Modified Tue Jun 3 17:48:35 2003 UTC (10 years ago) by malsyned
Changed explicit references to "/webwork" to the abstract
$ce->{webworkURLs}->{root}.  If you've been hardcoding "/webwork" into
your URLs, you should take a look at the diff to this update to learn
the prefered method.
-Dennis

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

Revision 981 - Directory Listing
Modified Tue Jun 3 00:28:28 2003 UTC (10 years ago) by gage
Replaced temporary values placed in $self->{ce}->{foo}
by $self->{foo} in order to avoid editing the course environment
unnecessarily.  Fixes bug #35
--Mike

Revision 980 - Directory Listing
Modified Mon Jun 2 23:10:59 2003 UTC (10 years ago) by malsyned
Rearranged the order of functions in PGProblemEditor.pm
Removed an extraneous warning from ProblemSetEditor.pm
-Dennis

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

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

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

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

Revision 973 - Directory Listing
Modified Mon Jun 2 20:17:19 2003 UTC (10 years ago) by sh002i
removed annoying debug output.
-sam

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

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

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

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

Revision 960 - Directory Listing
Modified Sat May 31 00:02:46 2003 UTC (10 years ago) by malsyned
A bug fix: the "attempted" record for a UserProblem is now calculated
from the num_correct and num_incorrect fields.

Send me feedback: should it be displayed in the table anyway, and just
not editable?

-Dennis

Revision 959 - Directory Listing
Modified Fri May 30 23:59:35 2003 UTC (10 years ago) by malsyned
The problem set editor now works for 0 users (global only) or 1 user.
Multi-user functionality is coming over the weekend.

To cause the editor to give you the ability to edit a student's record,
add editForStudent=name (where name is the student's login) to the
parameters sent to the ProblemSetEditor content generator.

Note that if you are using the GDBM backend, editing the "default"
professor records is the same as editing the global values, which can
surprise you if you're not ready for it.
-Dennis

Revision 957 - Directory Listing
Modified Fri May 30 21:37:03 2003 UTC (10 years ago) by malsyned
Added columns for user-specific problem fields.  Saving back to the
database for user-specific data still doesn't happen yet.
-Dennis

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

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

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

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

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

Revision 947 - Directory Listing
Modified Fri May 30 00:27:27 2003 UTC (10 years ago) by malsyned
The set-specific data now displays the per-user override if the
editForUser param is set.  It does not yet save changes back to the
database.
-Dennis

Revision 942 - Directory Listing
Modified Thu May 29 20:30:56 2003 UTC (10 years ago) by gage
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 940 - Directory Listing
Modified Thu May 29 20:02:35 2003 UTC (10 years ago) by gage
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 ago) by gage
Turned on answer previewing every time an answer is submitted
(either answer check or answer submit or preview answer)

Revision 936 - Directory Listing
Modified Thu May 29 00:08:23 2003 UTC (10 years ago) by malsyned
Now you can save changes to problems
-dennis

Revision 935 - Directory Listing
Modified Wed May 28 21:28:08 2003 UTC (10 years ago) by malsyned
A start on the final version of the problem set editor.  The code from
the previous version is still in the file as mike_body, becuase it will
be added in (with modifications) as the file progresses.
-Dennis

Revision 930 - Directory Listing
Modified Wed May 28 17:46:00 2003 UTC (10 years ago) by malsyned
*** empty log message ***

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

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

Revision 926 - Directory Listing
Modified Wed May 28 03:31:07 2003 UTC (10 years ago) by gage
Problem Editor now creates a temporary file to edit (
adding .tmp to the file name)
Refresh causes a redirect to the Problem.pm with a GET command.
Some of the arguments are unnecessary and need to be cleaned up.

The seed and display mode in the problem editor are not properly
initialized from the problem set.

Problem.pm has been modified to check for these arguments and to read
the temporary source file, seed and displayMode.  These are passed
through to a PG.pm object.

PG also needed to be modified so that the source_file and seed values
are overridden.

Revision 925 - Directory Listing
Modified Wed May 28 03:30:45 2003 UTC (10 years ago) by gage
Problem Editor now creates a temporary file to edit (
adding .tmp to the file name)
Refresh causes a redirect to the Problem.pm with a GET command.
Some of the arguments are unnecessary and need to be cleaned up.

The seed and display mode in the problem editor are not properly
initialized from the problem set.

Problem.pm has been modified to check for these arguments and to read
the temporary source file, seed and displayMode.  These are passed
through to a PG.pm object.

PG also needed to be modified so that the source_file and seed values
are overridden

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

Revision 920 - Directory Listing
Modified Wed May 28 00:26:27 2003 UTC (10 years ago) by sh002i
fixed stupid thing on line 690.
-sam

Revision 919 - Directory Listing
Modified Wed May 28 00:24:27 2003 UTC (10 years ago) by sh002i
changed ->id to ->whatever_id
-sam

Revision 906 - Directory Listing
Modified Tue May 27 00:31:32 2003 UTC (10 years ago) by gage
The "edit this problem" link now appears only if you have a
permission level greater than or equal to 10 (instructor)

--Mike

Revision 903 - Directory Listing
Modified Fri May 23 21:36:35 2003 UTC (10 years ago) by gage
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 ago) by gage
The problem editor will now edit existing problems in place.  You invoke it with

http://webwork3.math.rochester.edu:1102/webwork/mth143/instructor/pgProblemEditor/0/2/
and it will edit problem 2 in set 0.

It can't edit files directly or create new files.

The problems are CHANGED!!! there is no editing in a temporary file-- the problems
are changed at every step.  BEWARE

--Mike

Revision 892 - Directory Listing
Modified Fri May 23 13:14:51 2003 UTC (10 years ago) by gage
The script now reads takes the form data in problemContents
and displays it in a textarea form.  If there is no problemContents
it reads from the file in template directory.
The script is called with .../instructor/pgProblemEditor/set10/prob1
 I'm using the
current convention for labeling files in the template directory.
Using '10' for set10 will not work right at the moment.  .pg
and the course template directory are combined with the path components
to determine the path to the file.

It remains to add the rest of the editing buttons and provide a method
for saving to the template file.

-- Mike

Revision 891 - Directory Listing
Modified Thu May 22 21:53:36 2003 UTC (10 years ago) by malsyned
Code cleanups
--Dennis

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

-- Mike

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

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

Revision 886 - Directory Listing
Modified Thu May 22 20:40:38 2003 UTC (10 years, 1 month ago) by malsyned
Changed the "probset editor" link to "probset list"
-Dennis

Revision 884 - Directory Listing
Modified Thu May 22 20:16:31 2003 UTC (10 years, 1 month ago) by gage
Editor now  fills a blank textarea from the named problem set if
it exists.

There are a number of user interface issues to be tackled here.
The behavior is: if the textarea is empty and a setName is defined
then the textarea is filled from the setNAme.def file (eventually
it will be filled from the database )  This behavior will probably
not be transparent to the user.

Revision 883 - Directory Listing
Modified Thu May 22 20:14:58 2003 UTC (10 years, 1 month ago) by malsyned
Added sorting capability.
Squashed a bug in bug-detection ;-)
-Dennis

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

Revision 875 - Directory Listing
Modified Wed May 21 18:41:51 2003 UTC (10 years, 1 month ago) by gage
Factored some code  into gatherInfo() method.
The three dates are now sticky
a problem address of the form  /prob1.pg  won't enter into the set def textarea
This solves the problem that the directory might not yet be defined (but not elegantly).
-- Mike

Revision 872 - Directory Listing
Modified Tue May 20 18:35:22 2003 UTC (10 years, 1 month ago) by gage
Added comments.  There is still an annoying problem
that it is possible for the user to insert a problem
that has an empty directory address (e.g /prob3.pg, 1)
if they use "Choose problem" before ever using "Select set"

Viewing the entire set, saving the set and viewing individual problems from the local library (as opposed to the problem library on webhost) remain to be implemented.

-- Mike

Revision 869 - Directory Listing
Modified Tue May 20 02:37:44 2003 UTC (10 years, 1 month ago) by gage
 The select set and the choose problem button now work fairly well.
There is a static link allowing you to view the last chosen problem
via the problem library at webhost.  This works for now, but will break
if the class template file is out of sync with the template file used
by the "problem library" program at webhost.

The save button, which involves checking the syntax of the problem list has not been implemented. (There is code in profBuildProbSets to help with this.)

The view entire problem set (in pdf form) is not been implemented.
It should be possible to redirect this to the hardcopy feature somehow?
or to the PDF feature of the "problem library".

Other aspects of the user inface are still problematic.  We'll need to
play with it for awhile to see which behaviors must be changed.

--Mike

Revision 868 - Directory Listing
Modified Mon May 19 21:02:19 2003 UTC (10 years, 1 month ago) by gage
 Considerable progress has been made.  The select definition button and
choose problem  buttons work now, although the code needs to be de-crufted.
For some reason Safari will not recognize \r\n (newlines) in the textarea
although iCab does.  What is the accepted way to enter text with newlines into
the data for a textarea?

The view problem button doesn't work yet.  i want this to come up in a new window.
Must I use javaScript for this or is there another way to force a new target window
for the result of pusing the view problem button?  How can one redirect to a particular
problem?

There is still considerable debugging code in this file.

--Mike

CVe: ----------------------------------------------------------------------

Revision 860 - Directory Listing
Modified Sun May 18 03:26:22 2003 UTC (10 years, 1 month ago) by gage
This is the shell of an editor which will construct a "set definition file".
It shows a list of the problems which are available in the templates
directory.

To do: 1 - Detect the selected setDirectory and display its problems. Currently
the setDirectory is permanently set to setAlgebra10Intervals.
2 - Implement the problem viewing action of the form
3 - Implement the save definition action of the form.

-- MIke

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

Revision 842 - Directory Listing
Modified Thu May 15 00:57:38 2003 UTC (10 years, 1 month ago) by sh002i
cleanup.
-sam

Revision 840 - Directory Listing
Modified Thu May 15 00:56:02 2003 UTC (10 years, 1 month ago) by gage
Cosmetic fixes for the link section.

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

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

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

Revision 833 - Directory Listing
Modified Wed May 14 20:55:07 2003 UTC (10 years, 1 month ago) by gage
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, 1 month ago) by malsyned
Added shell code for the UserList and ProblemSetList
-Dennis

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

Revision 830 - Directory Listing
Modified Wed May 14 18:44:25 2003 UTC (10 years, 1 month ago) by malsyned
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, 1 month ago) by malsyned
Added the beginnings of the instructor pages.
--Dennis

Revision 825 - Directory Listing
Modified Mon May 12 23:49:50 2003 UTC (10 years, 1 month ago) by malsyned
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 818 - Directory Listing
Modified Fri Apr 25 04:51:37 2003 UTC (10 years, 1 month ago) by sh002i
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 (10 years, 1 month ago) by sh002i
rewrote these modules to use the WWDBv2 library. rewrote the Authen.pm
verify function to (hopefully) be more readable.
-sam

Revision 809 - Directory Listing
Modified Thu Apr 17 21:30:57 2003 UTC (10 years, 2 months ago) by sh002i
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 805 - Directory Listing
Modified Fri Apr 11 22:25:10 2003 UTC (10 years, 2 months ago) by malsyned
Added Instructor.pm, the main menu for the instructor pages.
-dennis

Revision 795 - Directory Listing
Modified Fri Mar 21 21:40:01 2003 UTC (10 years, 3 months ago) by malsyned
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 (10 years, 3 months ago) by gage
Added code for logging student answers and allowing instructors to inspect previous
answers from students.

Revision 765 - Directory Listing
Modified Fri Feb 28 23:56:35 2003 UTC (10 years, 3 months ago) by malsyned
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 758 - Directory Listing
Modified Fri Feb 28 20:32:25 2003 UTC (10 years, 3 months ago) by malsyned
Matched the calling semantics for navMacro
-dennis

Revision 756 - Directory Listing
Modified Fri Feb 28 20:27:19 2003 UTC (10 years, 3 months ago) by sh002i
changed the way canCheckAnswer() is calculated
-sam

Revision 755 - Directory Listing
Modified Fri Feb 28 20:02:29 2003 UTC (10 years, 3 months ago) by malsyned
Began adding CSS escapes to some generated HTML structures.
Addressed some bug reports that came in from the mailing list.
 -Dennis

Revision 750 - Directory Listing
Modified Thu Feb 27 12:31:06 2003 UTC (10 years, 3 months ago) by malsyned
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 748 - Directory Listing
Modified Wed Feb 26 18:39:07 2003 UTC (10 years, 3 months ago) by malsyned
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 (10 years, 3 months ago) by sh002i
enabled "check answers" button after the answerdate.
(see http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$1416)
-sam

Revision 740 - Directory Listing
Modified Fri Feb 21 21:16:48 2003 UTC (10 years, 3 months ago) by sh002i
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 (10 years, 3 months ago) by sh002i
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 (10 years, 3 months ago) by sh002i
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 (10 years, 4 months ago) by sh002i
merged changes from rel-2-0-pr1-hardcopy-changes
-sam

Revision 722 - Directory Listing
Modified Fri Jan 31 22:29:19 2003 UTC (10 years, 4 months ago) by malsyned
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 (10 years, 4 months ago) by sh002i
motd is only read if defined and true.
-sam

Revision 720 - Directory Listing
Modified Fri Jan 31 20:38:44 2003 UTC (10 years, 4 months ago) by malsyned
effectiveUser audit complete on all the content generators except
Hardcopy
-Dennis

Revision 719 - Directory Listing
Modified Fri Jan 31 20:36:38 2003 UTC (10 years, 4 months ago) by sh002i
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 (10 years, 4 months ago) by malsyned
Fixed soem ugliness I introduced into the formatting.  Nothing major.
-Dennis

Revision 717 - Directory Listing
Modified Fri Jan 31 20:00:47 2003 UTC (10 years, 4 months ago) by malsyned
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 (10 years, 4 months ago) by sh002i
hardcopy new respects effectiveUser
-sam

Revision 704 - Directory Listing
Modified Mon Jan 13 19:44:20 2003 UTC (10 years, 5 months ago) by malsyned
Finally committing a clean version of my mostly-done Problem.pm
effectiveUser audit.
-Dennis

Revision 701 - Directory Listing
Modified Fri Jan 10 21:39:29 2003 UTC (10 years, 5 months ago) by sh002i
An MOTD can be displayed on the problem sets page. Define
$courseFiles{motd} to point to a file containing the message.
-sam

Revision 693 - Directory Listing
Modified Wed Jan 8 15:41:39 2003 UTC (10 years, 5 months ago) by sh002i
&info now respects screen set header file in database.
-sam

Revision 692 - Directory Listing
Modified Tue Jan 7 21:19:38 2003 UTC (10 years, 5 months ago) by sh002i
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 685 - Directory Listing
Modified Mon Jan 6 19:41:44 2003 UTC (10 years, 5 months ago) by sh002i
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 (10 years, 5 months ago) by sh002i
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 (10 years, 5 months ago) by sh002i
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 (10 years, 5 months ago) by sh002i
make answer previews use $displayMode
write a template escape for printing $user, $effectiveUser, &c. nicely
-sam

Revision 675 - Directory Listing
Modified Fri Dec 13 21:14:54 2002 UTC (10 years, 6 months ago) by sh002i
made some improvements to Feedback, added loginStatus escape.
-sam

Revision 671 - Directory Listing
Modified Mon Dec 9 18:40:04 2002 UTC (10 years, 6 months ago) by sh002i
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 (10 years, 6 months ago) by malsyned
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 (10 years, 6 months ago) by sh002i
added feedback links to a bunch of modules.
-sam

Revision 668 - Directory Listing
Modified Wed Dec 4 19:08:10 2002 UTC (10 years, 6 months ago) by sh002i
okay, added Feedback.pm this time.
-sam

Revision 667 - Directory Listing
Modified Wed Dec 4 19:07:12 2002 UTC (10 years, 6 months ago) by sh002i
added a bunch of "***" comments.
implemented Feedback module.
-sam

Revision 646 - Directory Listing
Modified Sat Nov 23 00:25:40 2002 UTC (10 years, 6 months ago) by sh002i
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 (10 years, 6 months ago) by sh002i
finished this module.
-sam

Revision 644 - Directory Listing
Modified Fri Nov 22 20:30:20 2002 UTC (10 years, 6 months ago) by sh002i
Added "Options" handler, modified the dispatcher to support it, fixed
the link to it in the &links routine.
-sam

Revision 641 - Directory Listing
Modified Wed Nov 20 21:47:25 2002 UTC (10 years, 7 months ago) by sh002i
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 (10 years, 7 months ago) by sh002i
fixed the "Download Hardcopy for Selected Sets" button
-sam

Revision 634 - Directory Listing
Modified Wed Nov 20 19:12:44 2002 UTC (10 years, 7 months ago) by sh002i
removed old comment.
-sam

Revision 623 - Directory Listing
Modified Fri Nov 8 22:14:18 2002 UTC (10 years, 7 months ago) by sh002i
yo shout! answer previewing is working.
-sam

Revision 617 - Directory Listing
Modified Wed Oct 30 22:09:54 2002 UTC (10 years, 7 months ago) by sh002i
fixed a logic error in Problem.pm affecting $can{submitAnswers}
-sam

Revision 616 - Directory Listing
Modified Wed Oct 30 20:16:56 2002 UTC (10 years, 7 months ago) by sh002i
finished some stuff up. hardcopy deletes its temp files.
-sam

Revision 614 - Directory Listing
Modified Mon Oct 28 21:26:35 2002 UTC (10 years, 7 months ago) by sh002i
small changes to support hardcopy work.
-sam

Revision 607 - Directory Listing
Modified Fri Oct 25 20:56:49 2002 UTC (10 years, 7 months ago) by sh002i
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 562 - Directory Listing
Modified Fri Sep 27 23:53:42 2002 UTC (10 years, 8 months ago) by sh002i
- 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 558 - Directory Listing
Modified Fri Sep 20 22:47:22 2002 UTC (10 years, 9 months ago) by sh002i
* 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 555 - Directory Listing
Modified Wed Sep 18 19:25:42 2002 UTC (10 years, 9 months ago) by sh002i
fixed image centering, added head escape.
-sam

Revision 547 - Directory Listing
Modified Fri Sep 13 20:54:59 2002 UTC (10 years, 9 months ago) by sh002i
fixed hardcopy generation (errors in EV3_math_general and the
hardcopySetHeader.
-sam

Revision 526 - Directory Listing
Modified Thu Aug 29 19:56:24 2002 UTC (10 years, 9 months ago) by sh002i
HTML_img mode ("images" mode in the HTML interface) now uses dvipng to
generate images. ProblemSet now has a link to Hardcopy.
-sam

Revision 502 - Directory Listing
Modified Thu Aug 22 21:11:53 2002 UTC (10 years, 9 months ago) by sh002i
continuing work on hardcopy generation. changed interface to PG.pm to
take user, problem, and set objects instead of names.
-sam

Revision 494 - Directory Listing
Modified Wed Aug 21 18:31:20 2002 UTC (10 years, 10 months ago) by sh002i
updated copyright header.
-sam

Revision 492 - Directory Listing
Modified Wed Aug 21 15:34:35 2002 UTC (10 years, 10 months ago) by sh002i
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 478 - Directory Listing
Modified Tue Aug 20 01:10:31 2002 UTC (10 years, 10 months ago) by sh002i
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 476 - Directory Listing
Modified Tue Aug 20 01:07:18 2002 UTC (10 years, 10 months ago) by sh002i
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 469 - Directory Listing
Modified Fri Aug 16 20:43:38 2002 UTC (10 years, 10 months ago) by sh002i
pretty much implemented the whole thing.

yeah.
-sam

Revision 455 - Directory Listing
Modified Mon Aug 5 21:34:18 2002 UTC (10 years, 10 months ago) by sh002i
"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 449 - Directory Listing
Modified Thu Aug 1 20:23:22 2002 UTC (10 years, 10 months ago) by sh002i
more CGI fixes, started playing around with ProblemSets.
-sam

Revision 444 - Directory Listing
Modified Wed Jul 31 19:32:00 2002 UTC (10 years, 10 months ago) by sh002i
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 (10 years, 10 months ago) by sh002i
converted CGI calls to "CGI->" style to avoid import conflicts with
&title and &body.
-sam

Revision 441 - Directory Listing
Modified Thu Jul 25 21:58:22 2002 UTC (10 years, 10 months ago) by malsyned
Added use strict and use warnings, then cleaned up much of the mess that
revealed.
--Dennis

Revision 439 - Directory Listing
Modified Thu Jul 25 21:21:13 2002 UTC (10 years, 10 months ago) by sh002i
rewrote in a newer style.
switched to use CGI qw() / CGI->function() syntax.
-sam

Revision 435 - Directory Listing
Modified Fri Jul 19 17:30:32 2002 UTC (10 years, 11 months ago) by sh002i
turned off debugging in Problem.pm
-sam

Revision 434 - Directory Listing
Modified Fri Jul 19 06:19:34 2002 UTC (10 years, 11 months ago) by sh002i
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 431 - Directory Listing
Modified Thu Jul 18 20:12:02 2002 UTC (10 years, 11 months ago) by sh002i
finished initial version of PG.pm and Problem.pm
-sam

Revision 429 - Directory Listing
Modified Fri Jul 12 22:28:26 2002 UTC (10 years, 11 months ago) by sh002i
sticky answers work. ha HA!
-sam

Revision 425 - Directory Listing
Modified Thu Jul 11 23:27:10 2002 UTC (10 years, 11 months ago) by sh002i
continued to work on Problem.pm. see diffs.
-sam

Revision 424 - Directory Listing
Modified Thu Jul 11 19:09:08 2002 UTC (10 years, 11 months ago) by sh002i
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 (10 years, 11 months ago) by malsyned
Fixed the hash2string call to use the new WeBWorK::Utils interface

Revision 415 - Directory Listing
Modified Wed Jun 26 13:33:59 2002 UTC (10 years, 11 months ago) by sh002i
stuff i've been working on.
-sam

Revision 403 - Directory Listing
Modified Mon Jun 24 16:34:30 2002 UTC (10 years, 11 months ago) by malsyned
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 399 - Directory Listing
Modified Thu Jun 20 21:26:16 2002 UTC (11 years ago) by gage
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 ago) by gage
*** empty log message ***

Revision 396 - Directory Listing
Modified Thu Jun 20 20:43:39 2002 UTC (11 years ago) by malsyned
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 392 - Directory Listing
Modified Thu Jun 20 13:46:05 2002 UTC (11 years ago) by gage
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 390 - Directory Listing
Modified Wed Jun 19 22:45:47 2002 UTC (11 years ago) by malsyned
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 388 - Directory Listing
Modified Wed Jun 19 20:03:53 2002 UTC (11 years ago) by gage
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 353 - Directory Listing
Added Fri Jun 7 23:35:59 2002 UTC (11 years ago) by malsyned
All of the content generators now work with the template system
Moved the content generators into the WeBWorK::ContentGenerator namespace
Added the default template and a few global.conf entries

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9