Log of /branches/rel-2-0-pr1-hardcopy-changes/webwork-modperl
Directory Listing
Revision
736 -
Directory Listing
Modified
Tue Feb 18 06:51:49 2003 UTC (10 years, 3 months ago) by
sh002i
fixed some security checks in Hardcopy.
-sam
Revision
735 -
Directory Listing
Modified
Tue Feb 18 02:02:40 2003 UTC (10 years, 3 months ago) by
sh002i
finished hardcopy, adapted problemsets to call it correctly, fixed a bug
in problemset.
-sam
Revision
733 -
Directory Listing
Modified
Sun Feb 16 06:25:05 2003 UTC (10 years, 3 months ago) by
sh002i
- moved errorOutput and warningOutput into ContentGenerator
- worked on Harcopy
-sam
Revision
725 -
Directory Listing
Modified
Fri Jan 31 22:30:43 2003 UTC (10 years, 3 months ago) by
This commit was manufactured by cvs2svn to create branch 'rel-2-0-pr1
-hardcopy-changes'.
Revision
722 -
Directory Listing
Modified
Fri Jan 31 22:29:19 2003 UTC (10 years, 3 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
effectiveUser audit complete on Hardcopy.pm. That means all the
ContentGenerators are all checked and clear.
-Dennis
Revision
720 -
Directory Listing
Modified
Fri Jan 31 20:38:44 2003 UTC (10 years, 3 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
There was one more spot that needed effectiveUser fixing. I did it.
-Dennis
Revision
706 -
Directory Listing
Modified
Tue Jan 21 20:25:51 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
commented out allowedRecipients -- this should probably be set in
course.conf.
-sam
Revision
705 -
Directory Listing
Modified
Tue Jan 21 20:24:03 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added stuff that had been previously added to global.conf
-sam
Revision
704 -
Directory Listing
Modified
Mon Jan 13 19:44:20 2003 UTC (10 years, 4 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
An MOTD can be displayed on the problem sets page. Define
$courseFiles{motd} to point to a file containing the message.
-sam
Revision
700 -
Directory Listing
Modified
Fri Jan 10 17:28:21 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
"Home" (i.e. no course specified) now redirects to %webworkURLs{home}
-sam
Revision
696 -
Directory Listing
Modified
Wed Jan 8 16:36:43 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added $formatedDueDate variable (spelled wrong in many header files)
-sam
Revision
695 -
Directory Listing
Modified
Wed Jan 8 16:23:52 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
$webworkURLRoot is now taken from Apache::WeBWorK instead of being
specified in global.conf.
-sam
Revision
692 -
Directory Listing
Modified
Tue Jan 7 21:19:38 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
made some improvements to Feedback, added loginStatus escape.
-sam
Revision
672 -
Directory Listing
Modified
Mon Dec 9 19:57:33 2002 UTC (10 years, 5 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Added two new tasks to the TODO list for the December prerelease
-Dennis
Revision
671 -
Directory Listing
Modified
Mon Dec 9 18:40:04 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
Added a Professor Tools stub module that provides redirection links to
the WeBWorK 1.8 system
-Dennis
Revision
667 -
Directory Listing
Modified
Wed Dec 4 19:07:12 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added a bunch of "***" comments.
implemented Feedback module.
-sam
Revision
657 -
Directory Listing
Modified
Mon Nov 25 08:32:36 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
removed unused $path_translated variable, had $path_info set to "" by
default instead of undef, added some warnings.
-sam
Revision
656 -
Directory Listing
Modified
Mon Nov 25 08:31:11 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
renamed httpd-wwmp-header.conf -> httpd-wwmp-header.conf.dist
-sam
Revision
655 -
Directory Listing
Modified
Mon Nov 25 08:29:55 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
renamed httpd-wwmp-sample.conf -> httpd-wwmp.conf.dist
fixed a value in global.conf.dist
-sam
Revision
649 -
Directory Listing
Modified
Sun Nov 24 03:10:54 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
replaced instances of "malsyned" with !WEBWORK_USER! and documented it
at the top of the file.
-sam
Revision
648 -
Directory Listing
Modified
Sun Nov 24 03:08:02 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
moved a comment that was at the end of a line (comments have to be on
their own lines in httpd config files.)
-sam
Revision
646 -
Directory Listing
Modified
Sat Nov 23 00:25:40 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
644 -
Directory Listing
Modified
Fri Nov 22 20:30:20 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
fixed hardcopy generation for sets named "0" (a false, but defined value)
added error and warning reporting.
-sam
Revision
639 -
Directory Listing
Modified
Wed Nov 20 20:26:27 2002 UTC (10 years, 6 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Added configuration files for apache that will allow each user to control
his own seperate Apache process with a different webwork-modperl installation
-Dennis
Revision
638 -
Directory Listing
Modified
Wed Nov 20 20:22:08 2002 UTC (10 years, 6 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Added a template for controlling the per-user apache process
-Dennis
Revision
635 -
Directory Listing
Modified
Wed Nov 20 19:13:25 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
fixed __WARN__ handler. somehow it broke itself and needed some
massaging.
-sam
Revision
624 -
Directory Listing
Modified
Sat Nov 9 15:50:38 2002 UTC (10 years, 6 months ago) by
gage
Original Path:
trunk/webwork-modperl
Changed warning messages when dvipng doesn't work from die to warn.
This gives more infformation back to the webbrowser and still prints the
same information to the log.
Removed the workaround for dvipng's problems with labeling its dvi
output. This problem was fixed in the latest version of dvipng which is
now being used on webwork-db and webwork.
There is still a problem that dvipng is being used to display answers at
all times (even if the mode switch is set to tth mode )
Revision
620 -
Directory Listing
Modified
Fri Nov 1 22:57:25 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
fixed up IO.pm and IO.pl so that only the necessary functions are in
IO.pl.
-sam
Revision
617 -
Directory Listing
Modified
Wed Oct 30 22:09:54 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
fixed a logic error in Problem.pm affecting $can{submitAnswers}
-sam
Revision
612 -
Directory Listing
Modified
Mon Oct 28 21:21:26 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added texDisposition problem environment variable -- always set to "pdf"
cleaned up unrestricted_load code, made IO.pl get loaded first
-sam
Revision
608 -
Directory Listing
Modified
Fri Oct 25 22:16:01 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added $courseEnv->{pg}->{options}->{catchWarnings} to control if PG
warnings are caught and stored in the self hash, or uncaught and
spit out on stderr (or error_log or whatever).
-sam
Revision
607 -
Directory Listing
Modified
Fri Oct 25 20:56:49 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
596 -
Directory Listing
Modified
Fri Oct 18 19:09:53 2002 UTC (10 years, 7 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Added some ifs to the barebones template to prevent it from drawing the hard rule unless necessary.
Removed init.pl. It is no longer used.
--Dennis
Revision
562 -
Directory Listing
Modified
Fri Sep 27 23:53:42 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
- created macros/IO.pl, which is loaded with no opmask by PG.pm. It is a copy
of WeBWorK::PG::IO.pm, with some changes to make it work as a macro package.
The translator no longer shares IO.pm's functions with the safe compartment.
This is a BAD THING, and should be reconsidered when the Translator is
revised.
- Changed many (but not all) checks for HTML or HTML_tth modes to match /^HTML/
in the macros.
- changed &header to &head in Problem.pm
- Added problem environment variables for gif2eps and png2eps and modified
&dangerousMacros::alias to use them
- fixed MOST of the harmless warnings in the system. there's still the "Use
of uninitialized value in null operation" warning in template(), tho.
Still to come:
- make images in PDFs work
- fix TTH mode character encodings on mac (maybe)
- have logout button invalidate key
- Pretty die messages (from outside of the translator)
- Feedback - need nice modular way of sending email
- Options - email address and password
Revision
561 -
Directory Listing
Modified
Fri Sep 27 20:23:48 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
removed deprecated stuff from the bin directory.
added gif2eps and png2eps from the old system.
-sam
Revision
558 -
Directory Listing
Modified
Fri Sep 20 22:47:22 2002 UTC (10 years, 8 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
* 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
547 -
Directory Listing
Modified
Fri Sep 13 20:54:59 2002 UTC (10 years, 8 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
HTML_img mode ("images" mode in the HTML interface) now uses dvipng to
generate images. ProblemSet now has a link to Hardcopy.
-sam
Revision
522 -
Directory Listing
Modified
Thu Aug 29 17:42:39 2002 UTC (10 years, 8 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Debugging of the templating system and some other misc. changes.
--dennis
Revision
512 -
Directory Listing
Modified
Fri Aug 23 22:19:51 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Added the <!--#if--> escape and the can="" clause, to hide features of the
page if the escape they contain is invalid in the current content generator.
Other things can be added to the &if later (such as checking if warnings have
occurred and changing the background color accordingly).
--Dennis
Revision
508 -
Directory Listing
Modified
Fri Aug 23 00:12:52 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
HAHAHA!!!! I finally figured out a good way to do quoted strings with
backslash-escapes! Had to draw a damn Deterministic Finite-state Automaton on
the chalkboard, but it's all in the name of science, right?
--Dennis
Revision
502 -
Directory Listing
Modified
Thu Aug 22 21:11:53 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
continuing work on hardcopy generation. changed interface to PG.pm to
take user, problem, and set objects instead of names.
-sam
Revision
501 -
Directory Listing
Modified
Thu Aug 22 04:32:00 2002 UTC (10 years, 9 months ago) by
gage
Original Path:
trunk/webwork-modperl
Bringing IO.pm and IOglue.pl (in xmlrpc webwork) in line with each
other.
Revision
499 -
Directory Listing
Modified
Wed Aug 21 23:43:17 2002 UTC (10 years, 9 months ago) by
gage
Original Path:
trunk/webwork-modperl
Modifying files to allow xmlrpc and webwork-modperl to share the same code
base
Revision
493 -
Directory Listing
Modified
Wed Aug 21 16:32:11 2002 UTC (10 years, 9 months ago) by
gage
Original Path:
trunk/webwork-modperl
Beginning the process of combining the various versions of
PG translator.
Revision
492 -
Directory Listing
Modified
Wed Aug 21 15:34:35 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
489 -
Directory Listing
Modified
Wed Aug 21 15:27:07 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
paper* files are getting their names changed (to protect the guilty?)
-sam
Revision
488 -
Directory Listing
Modified
Wed Aug 21 15:26:03 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
adapted pdf_latex to work with pdflatex. call it pip_pdflatex. it
doesn't exactly work yet. it might not be worth it.
-sam
Revision
478 -
Directory Listing
Modified
Tue Aug 20 01:10:31 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
fixed problem with deciding when to generate images in math2img mode
finished adding template escapes to ProblemSets, ProblemSet, and Problem
fixed a problem where modules were removed from the courseEnv while
being loaded (whups.)
-sam
Revision
475 -
Directory Listing
Modified
Tue Aug 20 01:04:57 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added information about PG/TeX snippet naming
update TODO
-sam
Revision
474 -
Directory Listing
Modified
Tue Aug 20 01:04:25 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added PG/TeX snippets and corresponding lines in global.conf
added a new template -- barebones.template
-sam
Revision
455 -
Directory Listing
Modified
Mon Aug 5 21:34:18 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
"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
453 -
Directory Listing
Modified
Mon Aug 5 20:20:32 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Added a bunch of the final escapes that will be a part of the templating system
-dennis
Revision
452 -
Directory Listing
Modified
Thu Aug 1 23:56:29 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
dont-forget: a bunch of development issues to think about.
TODO for the rest of the summer.
-sam
Revision
445 -
Directory Listing
Modified
Wed Jul 31 19:33:46 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
fixed "odd number of elements in hash" problem when decoding form
fields.
-sam
Revision
444 -
Directory Listing
Modified
Wed Jul 31 19:32:00 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
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, 9 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
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, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
rewrote in a newer style.
switched to use CGI qw() / CGI->function() syntax.
-sam
Revision
434 -
Directory Listing
Modified
Fri Jul 19 06:19:34 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added refreshMath2img to the problem environment (PG.pm) and modified
Problem.pm to set it when showHints or showSolutions is on. THIS IS NOT
THE BEST THING TO DO -- we only need to refresh when the value of
showHints or showSolutions CHANGES. Also, we should be refreshing if the
problem seed changes. So, we need somewhere to store those three values
between invocations of the script. HHHHHMMMMMMMM......... &math2img in
dangerousMacros.pl has been modified to respect refreshMath2img and also
refresh if the image file is older than the PG source file.
-sam
Revision
433 -
Directory Listing
Modified
Fri Jul 19 02:41:25 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added HTML_img display mode. it currently generates image files using
math2img (which in turn uses latex, dvips and pstoimg (which in turn
uses gs, netpbm, and possibly otheres)). doesn't do any cacheing...
which means it's s--l--o--w. but it works.
-sam
Revision
432 -
Directory Listing
Modified
Fri Jul 19 02:39:16 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added: math2img and support files... probably shouldn't distribute pip
with WeBWorK, but no one's going to complain, since it's in the public
domain (and that's one less dependancy ;)
-sam
Revision
428 -
Directory Listing
Modified
Fri Jul 12 19:02:14 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
removed &encode and &decode. replaced calls with those to
WeBWorK::Utils's &dbDecode and &dbEncode
-sam
Revision
427 -
Directory Listing
Modified
Fri Jul 12 19:01:28 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
moved &encode and &decode from WW.pm and Classlist.pm. Renamed to
&dbEncode and &dbDecode.
-sam
Revision
426 -
Directory Listing
Modified
Fri Jul 12 18:48:47 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added 'g' to the s/// expressions that escape/unescape & and =
Revision
424 -
Directory Listing
Modified
Thu Jul 11 19:09:08 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
Fixed the hash2string call to use the new WeBWorK::Utils interface
Revision
422 -
Directory Listing
Modified
Wed Jul 3 23:22:29 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
moved hash2string and array2string from CourseEnvironment to Utils.
-sam
Revision
421 -
Directory Listing
Modified
Wed Jul 3 23:10:46 2002 UTC (10 years, 10 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Removed some stuff that's better off in WeBWorK::Upload, fixed some comments,
cleaned up some code
Revision
420 -
Directory Listing
Modified
Wed Jul 3 23:09:28 2002 UTC (10 years, 10 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
ContentGenerator.pm: Changed names based on new course environment keys
Form.pm: New addition, handles anything param-able
Upload.pm: Will eventually make file uploads nice and easy vis-a-vis the
transparent relogin functionality
--Dennis
Revision
414 -
Directory Listing
Modified
Tue Jun 25 20:33:13 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
created PG::init_translator, which takes care of bootstrapping a
PG::Translator object. It is very sexy on the outside, and very hairy on
the inside.
-sam
Revision
412 -
Directory Listing
Modified
Tue Jun 25 20:29:22 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
global: added some new hashes. learn how to use diff.
CourseEnv: new uses WeBWorK::Utils
WW: commented out a silly debugging function
IO: fixed package name
Translator: changed behavior of evaluate_modules and
load_extra_packages: they now update the instance variable directly to
avoid sharing modules that weren't asked for "this time".
-sam
Revision
410 -
Directory Listing
Modified
Tue Jun 25 16:49:11 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
Utils.pm now contains &runtime_use (from RuntimeUse.pm) and &readFile
(from CourseEnvironment.pm).
-sam
Revision
404 -
Directory Listing
Modified
Mon Jun 24 17:05:13 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
Renamed files to reflect their package prefix:
IOGlue.pm -> IO.pm (WeBWorK::PG::IO)
PGtranslator.pm -> Translator.pm (WeBWorK::PG::Translator)
-sam
Revision
403 -
Directory Listing
Modified
Mon Jun 24 16:34:30 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
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
401 -
Directory Listing
Modified
Mon Jun 24 15:46:36 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
for now, readFile returns false on failure to open file. this is to get
around the $SIG{__DIE__} interception problem.
-sam
Revision
399 -
Directory Listing
Modified
Thu Jun 20 21:26:16 2002 UTC (10 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl
Copied in a version of safety_filter subroutine from
PGtranslator5.pm in order to quite an "undefined" message.
-- Mike
Revision
396 -
Directory Listing
Modified
Thu Jun 20 20:43:39 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
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
Original Path:
trunk/webwork-modperl
This commit brings several packages up to date and working. I wish I could
be more specific, but it's been a while since I've committed. You'll have
to check the CVS diffs for more info.
--Dennis
Revision
389 -
Directory Listing
Modified
Wed Jun 19 21:46:03 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
Finished debugging. This might be somewhere near working order. The API
won't change from now on, so go ahead and start using it.
-sam
Revision
388 -
Directory Listing
Modified
Wed Jun 19 20:03:53 2002 UTC (10 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl
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
362 -
Directory Listing
Modified
Wed Jun 12 21:56:29 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
wrote all the prototypes. no implementations yet tho. :(
-sam
Revision
361 -
Directory Listing
Modified
Tue Jun 11 23:33:03 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
started the Webwork database interface.
fun, fun, fun...
-sam
Revision
360 -
Directory Listing
Modified
Tue Jun 11 23:32:08 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
added documentation to public functions.
THIS IS THE DOCUMENTATION STYLE THAT I WANT TO USE FROM NOW ON! :)
-sam
Revision
359 -
Directory Listing
Modified
Tue Jun 11 17:10:30 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
Renamed WeBWorK::DB::User to WeBWorK::User, since it's not strictly tied
to the database layer. WeBWorK::Set and WeBWorK::Problem will be handled
the same way.
-sam
Revision
358 -
Directory Listing
Modified
Mon Jun 10 22:40:34 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
Implemented classlist database access using the User class for data
storage. Implements "classlist_DBglue.pl" style locking.
-sam
p.s.: don't you with that usernames could be included in the cvs mail
log? too bad cvs only exposes the UNIX username to the logging script. i
should patch cvs... bah...
Revision
357 -
Directory Listing
Modified
Mon Jun 10 20:08:41 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Updated the comments to make it easier to install WeBWorK-modperl with nothing
but them to work with (since that's what we have right now ;)
Revision
353 -
Directory Listing
Modified
Fri Jun 7 23:35:59 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
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
Revision
349 -
Directory Listing
Modified
Fri Jun 7 21:37:33 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
The framework for the template system has been laid in ContentGenerator.
Login.pm is the first module converted to work with that framework.
--Dennis
Revision
347 -
Directory Listing
Modified
Thu Jun 6 20:08:14 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Adds support for the debugPracticeUser (formerly the hardcoded "practice666")
Revision
345 -
Directory Listing
Modified
Thu Jun 6 18:51:59 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
(14:44:58) LordSammy:
getKey($user) - returns current session key for $user or false if none exists
setKey($user, $key) - sets $user's key to $key
verifyKey($user, $key) - true if $key eq getKey($user)
deleteKey($user) - removes session key for $user
Revision
344 -
Directory Listing
Modified
Thu Jun 6 18:34:44 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
Added $practiceUserPrefix to global.conf, which works just like $practiceUser
in Global.pm from CGI WeBWorK.
Revision
343 -
Directory Listing
Modified
Wed Jun 5 20:20:38 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
GDBM Authorization works fully.
More specifically:
Users must authenticate if they don't provide user/key data.
Fast login is requested automatically if a key has timed out.
A framework is in place to add other auth backends easily.
Revision
335 -
Directory Listing
Modified
Fri May 31 22:39:17 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
-Replaced the "sample" code with actual calls into the database code. This
would be very close to finished code, except that it suffers from a bug
that has so far proved intractable to Sam and myself. An email will be
forthcoming detailing the bug. Quite likely, the bug is not specifically
in this file, and in the best case this file won't need to be changed much
for a long time, unless I decide to change the interface for style reasons.
Revision
334 -
Directory Listing
Modified
Fri May 31 20:46:20 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
developers, developers, developers, developers, developers, developers,
developers, developers, developers, developers, developers, developers.
Revision
332 -
Directory Listing
Modified
Fri May 31 17:37:20 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
in GDBM.pm, connect() now behaves when attempting to connect to a
nonexistent database. Auth.pm now respects the return values from
GDBM::connect
Revision
329 -
Directory Listing
Modified
Thu May 30 22:12:51 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
-Just a quick end of the day commit. No big changes to report.
--Dennis
Revision
323 -
Directory Listing
Modified
Thu May 30 20:34:46 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
-Fixed a few interfaces so that they make more sense (I hope)
-Added preliminary templating code to ContentGenerator
-Added a lot of logic to the dispatcher (WeBWorK.pm). More to come, too.
-Moved lots of things over to CGI.pm, for my convenience while prototyping
-Added preliminary examples of ProblemSets, ProblemSet, and Problem.
Problem.pm will some day go on to do what ProcessProblem8 does right now,
so keep your eyes on that one.
--Dennis
Revision
319 -
Directory Listing
Modified
Thu May 30 19:17:02 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
takes symbols defined in config files (which are now perl code) as
course environment. ha HA!
-sam
Revision
316 -
Directory Listing
Modified
Thu May 30 19:13:47 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
changed GDBM's interface a little -- you now specify the access mode
when connecting rather than when constructing.
-sam
Revision
314 -
Directory Listing
Modified
Thu May 30 19:11:52 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl
changed format of global.conf: it's now perl code which gets eval'd in a
safe compartment.
-sam
Revision
313 -
Directory Listing
Modified
Tue May 28 21:23:45 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl
- ContentGenerator.pm is now officially the superclass to all modules called
by the dispatcher to generate content.
- Authen.pm now has a single point of exit, which makes it easier to read,
debug, and modify
- Login.pm is now a subclass of ContentGenerator, and apart from the HTML,
is in it's final form.
- All code has been commented up
- The authentication wrapper is now a working demonstration. Anyone could
stick it on a webserver and try it out. The database code isn't written,
so it authenticates against hardcoded strings (username: dennis,
passwd: helloworld), but this at least proves that the system is workable.
--Dennis
Revision
306 -
Directory Listing
Modified
Thu May 23 21:02:40 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork-modperl
Just making sure all the files are synched at the end of the day. This is
probably mostly typo cleanups and stuff.
Revision
305 -
Directory Listing
Modified
Thu May 23 20:23:10 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork-modperl
Login.pm is mostly done, except that the embedded HTML has to be replaced at
some point wiht code from HTML_glue or whatever new templating we implement.
Authen.pm and Test.pm are useful stubs to demonstrate how authentication wraps
around every request transparently.
ContentGenerator.pm may become a superclass of all classes instantiated by
the dispatcher, or it my whither away. Right now, it doesn't do anything,
including compile.
Revision
304 -
Directory Listing
Modified
Thu May 23 18:35:16 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork-modperl
Added courseName to the $self hash. That value is obtained from the parameter
passed to new().
Revision
290 -
Directory Listing
Modified
Wed May 22 20:44:45 2002 UTC (11 years ago) by
malsyned
Original Path:
trunk/webwork-modperl
Mostly changes to WeBWorK.pm, making it actually be a dispatcher, instead of a dummy