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

Log of /trunk/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 1466 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 15 19:07:32 2003 UTC (9 years, 9 months ago) by gage
File length: 31326 byte(s)
Diff to previous 1465
Added an obvious warning when using preview only mode so that
user is aware that the answer was not recorded.
--Mike

Revision 1465 - (view) (download) (as text) (annotate) - [selected]
Modified Fri Aug 15 18:56:04 2003 UTC (9 years, 9 months ago) by gage
File length: 31285 byte(s)
Diff to previous 1459
Switched preview answers button to be first.

Revision 1459 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 14 20:10:01 2003 UTC (9 years, 9 months ago) by malsyned
File length: 31285 byte(s)
Diff to previous 1440 , to selected 1465
Fixed bug 143
Implemented temporary solution suggested in bug 110
  (I think this could be the permanent solution)
Fixed bug 53

Revision 1440 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 20:47:22 2003 UTC (9 years, 10 months ago) by gage
File length: 31291 byte(s)
Diff to previous 1426 , to selected 1465
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 1426 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 23 20:19:33 2003 UTC (9 years, 10 months ago) by malsyned
File length: 31260 byte(s)
Diff to previous 1395 , to selected 1465
Problem now asks to use the "problem" template if specified, before
falling back to the "system" template

Revision 1395 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 15 19:36:25 2003 UTC (9 years, 10 months ago) by gage
File length: 31226 byte(s)
Diff to previous 1387 , to selected 1465
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 1387 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 15 00:56:50 2003 UTC (9 years, 10 months ago) by gage
File length: 31145 byte(s)
Diff to previous 1378 , to selected 1465
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 1378 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 14 15:14:14 2003 UTC (9 years, 10 months ago) by gage
File length: 31182 byte(s)
Diff to previous 1364 , to selected 1465
Fixed problem with displaying complex numbers in answers (with nbsp() )
--Mike

Revision 1364 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 20:01:56 2003 UTC (9 years, 10 months ago) by gage
File length: 31052 byte(s)
Diff to previous 1326 , to selected 1465
More cosmetic tweaks to the siblings macro
--Mike

Revision 1326 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 9 01:54:31 2003 UTC (9 years, 10 months ago) by gage
File length: 31037 byte(s)
Diff to previous 1279 , to selected 1465
Check for empty string instead of truth when inserting   in
answer table.  This fixes bug #86
--Mike

Revision 1279 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 26 17:40:52 2003 UTC (9 years, 11 months ago) by malsyned
File length: 31029 byte(s)
Diff to previous 1246 , to selected 1465
Merged the translation optimization branch into the main branch

Revision 1246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 21 02:21:02 2003 UTC (9 years, 11 months ago) by gage
File length: 31009 byte(s)
Diff to previous 1234 , to selected 1465
Turned timers on for now..
--Mike

Revision 1234 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 16:38:32 2003 UTC (9 years, 11 months ago) by sh002i
File length: 31009 byte(s)
Diff to previous 1227 , to selected 1465
now uses imagegenerator instead of calling dvipng directly.

Revision 1227 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 01:18:33 2003 UTC (9 years, 11 months ago) by sh002i
File length: 30337 byte(s)
Diff to previous 1223 , to selected 1465
misc warning elimination, added message to tell you if your score was
recorded.

Revision 1223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 00:36:47 2003 UTC (9 years, 11 months ago) by sh002i
File length: 29960 byte(s)
Diff to previous 1202 , to selected 1465
nav() now uses problem IDs instead of getting a the whole problem.

Revision 1202 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 18 19:58:18 2003 UTC (9 years, 11 months ago) by gage
File length: 30166 byte(s)
Diff to previous 1197 , to selected 1465
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 1197 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 18 16:35:22 2003 UTC (9 years, 11 months ago) by sh002i
File length: 29798 byte(s)
Diff to previous 1190 , to selected 1465
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 1190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 17 21:39:56 2003 UTC (9 years, 11 months ago) by gage
File length: 29646 byte(s)
Diff to previous 1147 , to selected 1465
Improved sorting speed for siblings.
--Mike

Revision 1147 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 19:34:18 2003 UTC (9 years, 11 months ago) by sh002i
File length: 29400 byte(s)
Diff to previous 1131 , to selected 1465
changed calls to tempdir to calls to makeTempDirectory
-sam

Revision 1131 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 20:40:11 2003 UTC (9 years, 11 months ago) by sh002i
File length: 29416 byte(s)
Diff to previous 1128 , to selected 1465
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 1128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 19:24:38 2003 UTC (9 years, 11 months ago) by gage
File length: 29686 byte(s)
Diff to previous 1096 , to selected 1465
Use   instead of blanks inside tables.
This squashes bug #72 (which Sam thinks is beter unsquashed.  What do you think?)
--Mike

Revision 1096 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 23:25:09 2003 UTC (9 years, 11 months ago) by sh002i
File length: 29551 byte(s)
Diff to previous 1049 , to selected 1465
*** empty log message ***

Revision 1049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 21:21:28 2003 UTC (9 years, 11 months ago) by malsyned
File length: 29571 byte(s)
Diff to previous 1041 , to selected 1465
Calculate percent correct the same everywhere.
fixes bug 60

Revision 1041 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 16:14:38 2003 UTC (9 years, 11 months ago) by malsyned
File length: 29565 byte(s)
Diff to previous 1040 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 12:54:41 2003 UTC (9 years, 11 months ago) by gage
File length: 29546 byte(s)
Diff to previous 1039 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 02:28:13 2003 UTC (9 years, 11 months ago) by gage
File length: 29509 byte(s)
Diff to previous 1038 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 02:24:42 2003 UTC (9 years, 11 months ago) by gage
File length: 29508 byte(s)
Diff to previous 1034 , to selected 1465
*** empty log message ***

Revision 1034 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 5 22:41:47 2003 UTC (9 years, 11 months ago) by malsyned
File length: 29425 byte(s)
Diff to previous 1016 , to selected 1465
the % done status indicators now round to the nearest whole percent.
Fixes Bug #47
-Dennis

Revision 1016 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 4 21:04:15 2003 UTC (9 years, 11 months ago) by sh002i
File length: 29394 byte(s)
Diff to previous 1007 , to selected 1465
preview equation images now go in the m2i directory (in the
$courseDirs{HTML_tmp} directory) instead of the png directory.
-sam

Revision 1007 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 4 03:04:07 2003 UTC (9 years, 11 months ago) by gage
File length: 29394 byte(s)
Diff to previous 1000 , to selected 1465
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 1000 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 22:27:16 2003 UTC (9 years, 11 months ago) by gage
File length: 28156 byte(s)
Diff to previous 997 , to selected 1465
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 997 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 21:59:49 2003 UTC (9 years, 11 months ago) by gage
File length: 28133 byte(s)
Diff to previous 994 , to selected 1465
Beginning to add defaults to problem class (when it is constructed
from a global problem instance).
--Mike

Revision 994 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 20:49:10 2003 UTC (9 years, 11 months ago) by sh002i
File length: 27787 byte(s)
Diff to previous 993 , to selected 1465
added example Set->UserSet conversion.
-sam

Revision 993 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 20:20:16 2003 UTC (9 years, 11 months ago) by gage
File length: 27629 byte(s)
Diff to previous 992 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 20:17:33 2003 UTC (9 years, 11 months ago) by gage
File length: 27646 byte(s)
Diff to previous 983 , to selected 1465
*** empty log message ***

Revision 983 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 3 17:48:35 2003 UTC (9 years, 11 months ago) by malsyned
File length: 26522 byte(s)
Diff to previous 942 , to selected 1465
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 942 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 29 20:30:56 2003 UTC (9 years, 11 months ago) by gage
File length: 26503 byte(s)
Diff to previous 940 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 29 20:02:35 2003 UTC (9 years, 11 months ago) by gage
File length: 25964 byte(s)
Diff to previous 939 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 29 19:02:44 2003 UTC (9 years, 11 months ago) by gage
File length: 25457 byte(s)
Diff to previous 928 , to selected 1465
Turned on answer previewing every time an answer is submitted
(either answer check or answer submit or preview answer)

Revision 928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 12:45:03 2003 UTC (9 years, 11 months ago) by gage
File length: 25397 byte(s)
Diff to previous 926 , to selected 1465
The pgProblemEditor module now handles the seed and displayMode correctly.
-- Mike

Revision 926 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 03:31:07 2003 UTC (9 years, 11 months ago) by gage
File length: 25390 byte(s)
Diff to previous 920 , to selected 1465
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 920 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 00:26:27 2003 UTC (9 years, 11 months ago) by sh002i
File length: 24072 byte(s)
Diff to previous 919 , to selected 1465
fixed stupid thing on line 690.
-sam

Revision 919 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 28 00:24:27 2003 UTC (9 years, 11 months ago) by sh002i
File length: 24092 byte(s)
Diff to previous 906 , to selected 1465
changed ->id to ->whatever_id
-sam

Revision 906 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 27 00:31:32 2003 UTC (10 years ago) by gage
File length: 24019 byte(s)
Diff to previous 903 , to selected 1465
The "edit this problem" link now appears only if you have a
permission level greater than or equal to 10 (instructor)

--Mike

Revision 903 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 23 21:36:35 2003 UTC (10 years ago) by gage
File length: 23971 byte(s)
Diff to previous 818 , to selected 1465
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 818 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 25 04:51:37 2003 UTC (10 years, 1 month ago) by sh002i
File length: 23784 byte(s)
Diff to previous 809 , to selected 1465
modev more content generators over to the new WWDBv2 API. fixed some
bugs.
-sam

Revision 809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 17 21:30:57 2003 UTC (10 years, 1 month ago) by sh002i
File length: 23329 byte(s)
Diff to previous 795 , to selected 1465
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 795 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 21 21:40:01 2003 UTC (10 years, 2 months ago) by malsyned
File length: 23479 byte(s)
Diff to previous 794 , to selected 1465
Hit the #nav macro with a cluebat
RE: webworkURLs->htdocs vs. imageprefix=""
-Dennis

Revision 794 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 19 15:07:16 2003 UTC (10 years, 2 months ago) by gage
File length: 23470 byte(s)
Diff to previous 756 , to selected 1465
Added code for logging student answers and allowing instructors to inspect previous
answers from students.

Revision 756 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 28 20:27:19 2003 UTC (10 years, 2 months ago) by sh002i
File length: 21509 byte(s)
Diff to previous 755 , to selected 1465
changed the way canCheckAnswer() is calculated
-sam

Revision 755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 28 20:02:29 2003 UTC (10 years, 2 months ago) by malsyned
File length: 21649 byte(s)
Diff to previous 747 , to selected 1465
Began adding CSS escapes to some generated HTML structures.
Addressed some bug reports that came in from the mailing list.
 -Dennis

Revision 747 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 26 18:00:25 2003 UTC (10 years, 2 months ago) by sh002i
File length: 21280 byte(s)
Diff to previous 739 , to selected 1465
enabled "check answers" button after the answerdate.
(see http://webhost.math.rochester.edu/webworkdocs/discuss/msgReader$1416)
-sam

Revision 739 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 21 20:49:49 2003 UTC (10 years, 3 months ago) by sh002i
File length: 20845 byte(s)
Diff to previous 738 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 21 19:09:28 2003 UTC (10 years, 3 months ago) by sh002i
File length: 20852 byte(s)
Diff to previous 737 , to selected 1465
ProblemSet and Problem no longer allow problem sets that are "not yet
open" to be viewed. oopsies.
-sam

Revision 737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 18 07:04:13 2003 UTC (10 years, 3 months ago) by sh002i
File length: 20427 byte(s)
Diff to previous 719 , to selected 1465
merged changes from rel-2-0-pr1-hardcopy-changes
-sam

Revision 719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 31 20:36:38 2003 UTC (10 years, 3 months ago) by sh002i
File length: 21548 byte(s)
Diff to previous 718 , to selected 1465
added a "check answers" button if the user has the apropriate permissions
-sam

Revision 718 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 31 20:02:46 2003 UTC (10 years, 3 months ago) by malsyned
File length: 20765 byte(s)
Diff to previous 717 , to selected 1465
Fixed soem ugliness I introduced into the formatting.  Nothing major.
-Dennis

Revision 717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 31 20:00:47 2003 UTC (10 years, 3 months ago) by malsyned
File length: 20764 byte(s)
Diff to previous 704 , to selected 1465
There was one more spot that needed effectiveUser fixing.  I did it.
-Dennis

Revision 704 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 13 19:44:20 2003 UTC (10 years, 4 months ago) by malsyned
File length: 20737 byte(s)
Diff to previous 692 , to selected 1465
Finally committing a clean version of my mostly-done Problem.pm
effectiveUser audit.
-Dennis

Revision 692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 7 21:19:38 2003 UTC (10 years, 4 months ago) by sh002i
File length: 20484 byte(s)
Diff to previous 685 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 19:41:44 2003 UTC (10 years, 4 months ago) by sh002i
File length: 20301 byte(s)
Diff to previous 684 , to selected 1465
DONE	results table
		part(or blank)/entered/preview/result/messages
		don't show messages unless there are some
-sam

Revision 684 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 19:34:36 2003 UTC (10 years, 4 months ago) by sh002i
File length: 20205 byte(s)
Diff to previous 683 , to selected 1465
removed user name propogation from Logout -> Login
disabled "show hint/solution" when there's no hint/solution

Revision 683 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 19:17:28 2003 UTC (10 years, 4 months ago) by sh002i
File length: 20218 byte(s)
Diff to previous 682 , to selected 1465
fixed formatting in &tth (dangerousMacros.pl)
ProblemSets.pm allows sorting by Name or Status (due date)
-sam

Revision 682 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 18:10:47 2003 UTC (10 years, 4 months ago) by sh002i
File length: 20101 byte(s)
Diff to previous 671 , to selected 1465
make answer previews use $displayMode
write a template escape for printing $user, $effectiveUser, &c. nicely
-sam

Revision 671 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 9 18:40:04 2002 UTC (10 years, 5 months ago) by sh002i
File length: 19297 byte(s)
Diff to previous 667 , to selected 1465
did some work on Feedback, etc. Added mike and arnie's comments to TODO.
-sam

Revision 667 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 4 19:07:12 2002 UTC (10 years, 5 months ago) by sh002i
File length: 19295 byte(s)
Diff to previous 634 , to selected 1465
added a bunch of "***" comments.
implemented Feedback module.
-sam

Revision 634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 20 19:12:44 2002 UTC (10 years, 6 months ago) by sh002i
File length: 18474 byte(s)
Diff to previous 623 , to selected 1465
removed old comment.
-sam

Revision 623 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 8 22:14:18 2002 UTC (10 years, 6 months ago) by sh002i
File length: 18814 byte(s)
Diff to previous 617 , to selected 1465
yo shout! answer previewing is working.
-sam

Revision 617 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 30 22:09:54 2002 UTC (10 years, 6 months ago) by sh002i
File length: 17030 byte(s)
Diff to previous 562 , to selected 1465
fixed a logic error in Problem.pm affecting $can{submitAnswers}
-sam

Revision 562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 27 23:53:42 2002 UTC (10 years, 7 months ago) by sh002i
File length: 16891 byte(s)
Diff to previous 558 , to selected 1465
- 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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 20 22:47:22 2002 UTC (10 years, 8 months ago) by sh002i
File length: 16442 byte(s)
Diff to previous 555 , to selected 1465
* 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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 18 19:25:42 2002 UTC (10 years, 8 months ago) by sh002i
File length: 15604 byte(s)
Diff to previous 526 , to selected 1465
fixed image centering, added head escape.
-sam

Revision 526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 29 19:56:24 2002 UTC (10 years, 8 months ago) by sh002i
File length: 15523 byte(s)
Diff to previous 502 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 22 21:11:53 2002 UTC (10 years, 9 months ago) by sh002i
File length: 15466 byte(s)
Diff to previous 494 , to selected 1465
continuing work on hardcopy generation. changed interface to PG.pm to
take user, problem, and set objects instead of names.
-sam

Revision 494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 18:31:20 2002 UTC (10 years, 9 months ago) by sh002i
File length: 15539 byte(s)
Diff to previous 492 , to selected 1465
updated copyright header.
-sam

Revision 492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 15:34:35 2002 UTC (10 years, 9 months ago) by sh002i
File length: 15561 byte(s)
Diff to previous 476 , to selected 1465
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 476 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 20 01:07:18 2002 UTC (10 years, 9 months ago) by sh002i
File length: 15440 byte(s)
Diff to previous 455 , to selected 1465
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 455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 5 21:34:18 2002 UTC (10 years, 9 months ago) by sh002i
File length: 13658 byte(s)
Diff to previous 449 , to selected 1465
"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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 1 20:23:22 2002 UTC (10 years, 9 months ago) by sh002i
File length: 13561 byte(s)
Diff to previous 435 , to selected 1465
more CGI fixes, started playing around with ProblemSets.
-sam

Revision 435 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 19 17:30:32 2002 UTC (10 years, 10 months ago) by sh002i
File length: 12484 byte(s)
Diff to previous 434 , to selected 1465
turned off debugging in Problem.pm
-sam

Revision 434 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 19 06:19:34 2002 UTC (10 years, 10 months ago) by sh002i
File length: 12471 byte(s)
Diff to previous 431 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 18 20:12:02 2002 UTC (10 years, 10 months ago) by sh002i
File length: 12468 byte(s)
Diff to previous 429 , to selected 1465
finished initial version of PG.pm and Problem.pm
-sam

Revision 429 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 12 22:28:26 2002 UTC (10 years, 10 months ago) by sh002i
File length: 10267 byte(s)
Diff to previous 425 , to selected 1465
sticky answers work. ha HA!
-sam

Revision 425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 11 23:27:10 2002 UTC (10 years, 10 months ago) by sh002i
File length: 6868 byte(s)
Diff to previous 424 , to selected 1465
continued to work on Problem.pm. see diffs.
-sam

Revision 424 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 11 19:09:08 2002 UTC (10 years, 10 months ago) by sh002i
File length: 4132 byte(s)
Diff to previous 415 , to selected 1465
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 415 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 26 13:33:59 2002 UTC (10 years, 11 months ago) by sh002i
File length: 11510 byte(s)
Diff to previous 399 , to selected 1465
stuff i've been working on.
-sam

Revision 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 21:26:16 2002 UTC (10 years, 11 months ago) by gage
File length: 25981 byte(s)
Diff to previous 398 , to selected 1465
Copied in a version of safety_filter subroutine from
PGtranslator5.pm in order to quite an "undefined" message.

-- Mike

Revision 398 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 21:22:31 2002 UTC (10 years, 11 months ago) by gage
File length: 25121 byte(s)
Diff to previous 396 , to selected 1465
*** empty log message ***

Revision 396 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 20:43:39 2002 UTC (10 years, 11 months ago) by malsyned
File length: 25083 byte(s)
Diff to previous 392 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 13:46:05 2002 UTC (10 years, 11 months ago) by gage
File length: 24881 byte(s)
Diff to previous 388 , to selected 1465
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 388 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 19 20:03:53 2002 UTC (10 years, 11 months ago) by gage
File length: 6707 byte(s)
Diff to previous 353 , to selected 1465
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 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jun 7 23:35:59 2002 UTC (10 years, 11 months ago) by malsyned
File length: 531 byte(s)
Diff to selected 1465
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

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9