Log of /trunk/webwork2/lib/WeBWorK
Directory Listing
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
662 -
Directory Listing
Modified
Mon Nov 25 23:53:30 2002 UTC (10 years, 5 months ago) by
sh002i
fixed dvipng (again!)
-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
643 -
Directory Listing
Modified
Fri Nov 22 20:26:26 2002 UTC (10 years, 6 months ago) by
malsyned
Removed some debugging code
-dennis
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
637 -
Directory Listing
Modified
Wed Nov 20 20:02:55 2002 UTC (10 years, 6 months ago) by
sh002i
moved PG modules from lib/WeBWorK/PG/ to pglib/
-sam
Revision
635 -
Directory Listing
Modified
Wed Nov 20 19:13:25 2002 UTC (10 years, 6 months ago) by
sh002i
fixed __WARN__ handler. somehow it broke itself and needed some
massaging.
-sam
Revision
634 -
Directory Listing
Modified
Wed Nov 20 19:12:44 2002 UTC (10 years, 6 months ago) by
sh002i
removed old comment.
-sam
Revision
633 -
Directory Listing
Modified
Wed Nov 20 19:11:55 2002 UTC (10 years, 6 months ago) by
malsyned
Added some debugging code
Revision
631 -
Directory Listing
Modified
Fri Nov 15 20:51:06 2002 UTC (10 years, 6 months ago) by
sh002i
added some docs to Utils
-sam
Revision
624 -
Directory Listing
Modified
Sat Nov 9 15:50:38 2002 UTC (10 years, 6 months ago) by
gage
Changed warning messages when dvipng doesn't work from die to warn.
This gives more infformation back to the webbrowser and still prints the
same information to the log.
Removed the workaround for dvipng's problems with labeling its dvi
output. This problem was fixed in the latest version of dvipng which is
now being used on webwork-db and webwork.
There is still a problem that dvipng is being used to display answers at
all times (even if the mode switch is set to tth mode )
Revision
623 -
Directory Listing
Modified
Fri Nov 8 22:14:18 2002 UTC (10 years, 6 months ago) by
sh002i
yo shout! answer previewing is working.
-sam
Revision
620 -
Directory Listing
Modified
Fri Nov 1 22:57:25 2002 UTC (10 years, 6 months ago) by
sh002i
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
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
613 -
Directory Listing
Modified
Mon Oct 28 21:22:11 2002 UTC (10 years, 6 months ago) by
sh002i
getImageDimmensions now uses GD instead of Image::Info.
-sam
Revision
612 -
Directory Listing
Modified
Mon Oct 28 21:21:26 2002 UTC (10 years, 6 months ago) by
sh002i
added texDisposition problem environment variable -- always set to "pdf"
cleaned up unrestricted_load code, made IO.pl get loaded first
-sam
Revision
609 -
Directory Listing
Modified
Fri Oct 25 22:25:34 2002 UTC (10 years, 6 months ago) by
sh002i
fixed a little problem with the warning control.
-sam
Revision
608 -
Directory Listing
Modified
Fri Oct 25 22:16:01 2002 UTC (10 years, 6 months ago) by
sh002i
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
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, 7 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
525 -
Directory Listing
Modified
Thu Aug 29 19:45:18 2002 UTC (10 years, 8 months ago) by
malsyned
Added the new &if_$key infrastructure
-dennis
Revision
522 -
Directory Listing
Modified
Thu Aug 29 17:42:39 2002 UTC (10 years, 8 months ago) by
malsyned
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
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
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
505 -
Directory Listing
Modified
Thu Aug 22 22:02:39 2002 UTC (10 years, 9 months ago) by
sh002i
quicklinks -> links
-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
501 -
Directory Listing
Modified
Thu Aug 22 04:32:00 2002 UTC (10 years, 9 months ago) by
gage
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
Modifying files to allow xmlrpc and webwork-modperl to share the same code
base
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
493 -
Directory Listing
Modified
Wed Aug 21 16:32:11 2002 UTC (10 years, 9 months ago) by
gage
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
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
456 -
Directory Listing
Modified
Mon Aug 5 21:50:53 2002 UTC (10 years, 9 months ago) by
sh002i
strict/warnings/=head1 NAME
-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
454 -
Directory Listing
Modified
Mon Aug 5 20:29:00 2002 UTC (10 years, 9 months ago) by
malsyned
use base
-dennis
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
447 -
Directory Listing
Modified
Wed Jul 31 19:51:20 2002 UTC (10 years, 9 months ago) by
malsyned
Various cleanups
-dennis
Revision
445 -
Directory Listing
Modified
Wed Jul 31 19:33:46 2002 UTC (10 years, 9 months ago) by
sh002i
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
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, 9 months ago) by
malsyned
Added use strict and use warnings, then cleaned up much of the mess that
revealed.
--Dennis
Revision
440 -
Directory Listing
Modified
Thu Jul 25 21:45:29 2002 UTC (10 years, 9 months ago) by
sh002i
cleanup?
-sam
Revision
439 -
Directory Listing
Modified
Thu Jul 25 21:21:13 2002 UTC (10 years, 9 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
433 -
Directory Listing
Modified
Fri Jul 19 02:41:25 2002 UTC (10 years, 10 months ago) by
sh002i
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
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
430 -
Directory Listing
Modified
Thu Jul 18 19:02:10 2002 UTC (10 years, 10 months ago) by
malsyned
Changed a comment to be a little more accurate
--Dennis
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
428 -
Directory Listing
Modified
Fri Jul 12 19:02:14 2002 UTC (10 years, 10 months ago) by
sh002i
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
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
added 'g' to the s/// expressions that escape/unescape & and =
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
422 -
Directory Listing
Modified
Wed Jul 3 23:22:29 2002 UTC (10 years, 10 months ago) by
sh002i
moved hash2string and array2string from CourseEnvironment to Utils.
-sam
Revision
420 -
Directory Listing
Modified
Wed Jul 3 23:09:28 2002 UTC (10 years, 10 months ago) by
malsyned
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
415 -
Directory Listing
Modified
Wed Jun 26 13:33:59 2002 UTC (10 years, 10 months ago) by
sh002i
stuff i've been working on.
-sam
Revision
414 -
Directory Listing
Modified
Tue Jun 25 20:33:13 2002 UTC (10 years, 10 months ago) by
sh002i
created PG::init_translator, which takes care of bootstrapping a
PG::Translator object. It is very sexy on the outside, and very hairy on
the inside.
-sam
Revision
413 -
Directory Listing
Modified
Tue Jun 25 20:31:41 2002 UTC (10 years, 10 months ago) by
sh002i
Copied PG modules over from old system.
-sam
Revision
412 -
Directory Listing
Modified
Tue Jun 25 20:29:22 2002 UTC (10 years, 10 months ago) by
sh002i
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
Utils.pm now contains &runtime_use (from RuntimeUse.pm) and &readFile
(from CourseEnvironment.pm).
-sam
Revision
408 -
Directory Listing
Modified
Mon Jun 24 18:42:20 2002 UTC (10 years, 11 months ago) by
sh002i
implements a runtime "use"-- require ; import
-sam
Revision
404 -
Directory Listing
Modified
Mon Jun 24 17:05:13 2002 UTC (10 years, 11 months ago) by
sh002i
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
Removed the CARP code (for now?), and made sure that an actual problem was
reachable (even though PG evaluation is commented out in the dispatcher
right now)
Revision
402 -
Directory Listing
Modified
Mon Jun 24 16:32:30 2002 UTC (10 years, 11 months ago) by
malsyned
Moved PGTranslator and IOGlue into WeBWorK::PG
Revision
401 -
Directory Listing
Modified
Mon Jun 24 15:46:36 2002 UTC (10 years, 11 months ago) by
sh002i
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
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
397 -
Directory Listing
Modified
Thu Jun 20 21:18:37 2002 UTC (10 years, 11 months ago) by
malsyned
fixed interface to template() function.
-"dennis"
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
395 -
Directory Listing
Modified
Thu Jun 20 16:41:17 2002 UTC (10 years, 11 months ago) by
sh002i
removed the "die" in readFile()
-sam
Revision
394 -
Directory Listing
Modified
Thu Jun 20 16:37:59 2002 UTC (10 years, 11 months ago) by
sh002i
fixing eval thingies.
-sam
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
389 -
Directory Listing
Modified
Wed Jun 19 21:46:03 2002 UTC (10 years, 11 months ago) by
sh002i
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
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
377 -
Directory Listing
Modified
Tue Jun 18 19:25:08 2002 UTC (10 years, 11 months ago) by
sh002i
promote undef to "" in encode()
-sam
Revision
376 -
Directory Listing
Modified
Tue Jun 18 19:24:38 2002 UTC (10 years, 11 months ago) by
sh002i
small changes.
-sam
Revision
369 -
Directory Listing
Modified
Tue Jun 18 16:17:15 2002 UTC (10 years, 11 months ago) by
sh002i
renamed Webwork.pm to WW.pm
-sam
Revision
368 -
Directory Listing
Modified
Mon Jun 17 23:16:21 2002 UTC (10 years, 11 months ago) by
sh002i
added login_id field. silly me.
Revision
367 -
Directory Listing
Modified
Mon Jun 17 23:09:08 2002 UTC (10 years, 11 months ago) by
sh002i
writing DB::Webwork.pm ...
Revision
362 -
Directory Listing
Modified
Wed Jun 12 21:56:29 2002 UTC (10 years, 11 months ago) by
sh002i
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
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
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
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
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
353 -
Directory Listing
Modified
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
Revision
350 -
Directory Listing
Modified
Fri Jun 7 21:42:29 2002 UTC (10 years, 11 months ago) by
sh002i
fixed implementation of getUsers -- untested
Revision
349 -
Directory Listing
Modified
Fri Jun 7 21:37:33 2002 UTC (10 years, 11 months ago) by
malsyned
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
346 -
Directory Listing
Modified
Thu Jun 6 19:23:56 2002 UTC (10 years, 11 months ago) by
sh002i
added @usernames = getUsers()
Revision
345 -
Directory Listing
Modified
Thu Jun 6 18:51:59 2002 UTC (10 years, 11 months ago) by
sh002i
(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
343 -
Directory Listing
Modified
Wed Jun 5 20:20:38 2002 UTC (10 years, 11 months ago) by
malsyned
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
340 -
Directory Listing
Modified
Wed Jun 5 19:12:47 2002 UTC (10 years, 11 months ago) by
sh002i
trying to fix Auth.pm when hash keys don't exist.
-sam
Revision
339 -
Directory Listing
Modified
Wed Jun 5 19:09:31 2002 UTC (10 years, 11 months ago) by
sh002i
try this too
-sam
Revision
338 -
Directory Listing
Modified
Wed Jun 5 19:07:21 2002 UTC (10 years, 11 months ago) by
sh002i
try this
Revision
337 -
Directory Listing
Modified
Wed Jun 5 18:32:12 2002 UTC (10 years, 11 months ago) by
sh002i
more improvements, i think.
Revision
335 -
Directory Listing
Modified
Fri May 31 22:39:17 2002 UTC (10 years, 11 months ago) by
malsyned
-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
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
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
331 -
Directory Listing
Modified
Fri May 31 16:39:38 2002 UTC (10 years, 11 months ago) by
sh002i
fixed the tie call to not be wrong.
-sam
Revision
330 -
Directory Listing
Modified
Fri May 31 04:30:42 2002 UTC (10 years, 11 months ago) by
sh002i
finished it!
Revision
329 -
Directory Listing
Modified
Thu May 30 22:12:51 2002 UTC (10 years, 11 months ago) by
malsyned
-Just a quick end of the day commit. No big changes to report.
--Dennis
Revision
324 -
Directory Listing
Modified
Thu May 30 20:35:13 2002 UTC (10 years, 11 months ago) by
sh002i
added hash2string and array2string for debugging!
-sam
Revision
323 -
Directory Listing
Modified
Thu May 30 20:34:46 2002 UTC (10 years, 11 months ago) by
malsyned
-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
takes symbols defined in config files (which are now perl code) as
course environment. ha HA!
-sam
Revision
317 -
Directory Listing
Modified
Thu May 30 19:14:40 2002 UTC (10 years, 11 months ago) by
sh002i
written, not debugged.
-sam
Revision
316 -
Directory Listing
Modified
Thu May 30 19:13:47 2002 UTC (10 years, 11 months ago) by
sh002i
changed GDBM's interface a little -- you now specify the access mode
when connecting rather than when constructing.
-sam
Revision
313 -
Directory Listing
Modified
Tue May 28 21:23:45 2002 UTC (10 years, 11 months ago) by
malsyned
- 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
311 -
Directory Listing
Modified
Sat May 25 00:40:54 2002 UTC (11 years ago) by
sh002i
comments to global.conf, fixed new() in courseenv.
-0sam
Revision
310 -
Directory Listing
Modified
Sat May 25 00:35:54 2002 UTC (11 years ago) by
sh002i
roar!
-sam
Revision
306 -
Directory Listing
Modified
Thu May 23 21:02:40 2002 UTC (11 years ago) by
malsyned
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
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
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
Mostly changes to WeBWorK.pm, making it actually be a dispatcher, instead of a dummy
Revision
289 -
Directory Listing
Modified
Wed May 22 19:55:44 2002 UTC (11 years ago) by
sh002i
*** empty log message ***
Revision
288 -
Directory Listing
Modified
Wed May 22 19:24:44 2002 UTC (11 years ago) by
sh002i
*** empty log message ***
Revision
287 -
Directory Listing
Modified
Wed May 22 19:24:43 2002 UTC (11 years ago) by
sh002i
*** empty log message ***
Revision
286 -
Directory Listing
Modified
Wed May 22 19:22:17 2002 UTC (11 years ago) by
sh002i
*** empty log message ***
Revision
284 -
Directory Listing
Modified
Wed May 22 19:17:00 2002 UTC (11 years ago) by
sh002i
fixed it