Log of /trunk/webwork-modperl/lib/WeBWorK/ContentGenerator
Directory Listing
Revision
947 -
Directory Listing
Modified
Fri May 30 00:27:27 2003 UTC (9 years, 11 months 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 (9 years, 11 months 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 (9 years, 11 months 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 (9 years, 11 months 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
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 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 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 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 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 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 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 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 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 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 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 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 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 ago) by
sh002i
cleanup.
-sam
Revision
840 -
Directory Listing
Modified
Thu May 15 00:56:02 2003 UTC (10 years ago) by
gage
Cosmetic fixes for the link section.
Revision
836 -
Directory Listing
Modified
Wed May 14 21:20:13 2003 UTC (10 years 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 ago) by
malsyned
Fixed a typo
-Dennis
Revision
834 -
Directory Listing
Modified
Wed May 14 20:57:28 2003 UTC (10 years 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 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 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 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 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 ago) by
malsyned
Added the beginnings of the instructor pages.
--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, 1 month 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, 1 month 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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, 2 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
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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 3 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 4 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, 5 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, 5 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, 5 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, 5 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, 5 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, 5 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, 6 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, 6 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, 6 months ago) by
sh002i
removed old comment.
-sam
Revision
623 -
Directory Listing
Modified
Fri Nov 8 22:14:18 2002 UTC (10 years, 6 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, 6 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, 6 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, 6 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, 8 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, 8 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, 8 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, 8 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, 9 months ago) by
sh002i
updated copyright header.
-sam
Revision
492 -
Directory Listing
Modified
Wed Aug 21 15:34:35 2002 UTC (10 years, 9 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, 9 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, 9 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, 9 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, 9 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, 9 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, 9 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, 9 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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 (10 years, 11 months 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 (10 years, 11 months ago) by
gage
*** empty log message ***
Revision
396 -
Directory Listing
Modified
Thu Jun 20 20:43:39 2002 UTC (10 years, 11 months 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 (10 years, 11 months 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 (10 years, 11 months 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 (10 years, 11 months 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 (10 years, 11 months 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