Log of /trunk/webwork-modperl
Directory Listing
Revision
603 -
Directory Listing
Modified
Fri Oct 25 17:19:04 2002 UTC (10 years, 6 months ago) by
sh002i
added screen set header file.
-sam
Revision
596 -
Directory Listing
Modified
Fri Oct 18 19:09:53 2002 UTC (10 years, 7 months ago) by
malsyned
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
- 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
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
* 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
509 -
Directory Listing
Modified
Fri Aug 23 18:30:03 2002 UTC (10 years, 9 months ago) by
sh002i
added more hardship to our lives.
-sam
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
507 -
Directory Listing
Modified
Thu Aug 22 23:32:08 2002 UTC (10 years, 9 months ago) by
sh002i
more shit to do.
-sam
Revision
506 -
Directory Listing
Modified
Thu Aug 22 22:04:07 2002 UTC (10 years, 9 months ago) by
malsyned
Matches the template escapes again
-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
504 -
Directory Listing
Modified
Thu Aug 22 21:15:12 2002 UTC (10 years, 9 months ago) by
malsyned
Added that file that it says I added
-dennis
Revision
503 -
Directory Listing
Modified
Thu Aug 22 21:13:53 2002 UTC (10 years, 9 months ago) by
sh002i
updates.
-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
491 -
Directory Listing
Modified
Wed Aug 21 15:30:34 2002 UTC (10 years, 9 months ago) by
sh002i
added erroniously even though it was a zero-length file.
-sam
Revision
490 -
Directory Listing
Modified
Wed Aug 21 15:28:06 2002 UTC (10 years, 9 months ago) by
sh002i
added TeX/PG snippets for hardcopy generation.
-sam
Revision
489 -
Directory Listing
Modified
Wed Aug 21 15:27:07 2002 UTC (10 years, 9 months ago) by
sh002i
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
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
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
477 -
Directory Listing
Modified
Tue Aug 20 01:07:53 2002 UTC (10 years, 9 months ago) by
sh002i
added square image :)
-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
475 -
Directory Listing
Modified
Tue Aug 20 01:04:57 2002 UTC (10 years, 9 months ago) by
sh002i
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
added PG/TeX snippets and corresponding lines in global.conf
added a new template -- barebones.template
-sam
Revision
470 -
Directory Listing
Modified
Fri Aug 16 21:01:39 2002 UTC (10 years, 9 months ago) by
sh002i
blah
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
453 -
Directory Listing
Modified
Mon Aug 5 20:20:32 2002 UTC (10 years, 9 months ago) by
malsyned
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
dont-forget: a bunch of development issues to think about.
TODO for the rest of the summer.
-sam
Revision
451 -
Directory Listing
Modified
Thu Aug 1 22:26:55 2002 UTC (10 years, 9 months ago) by
malsyned
Made great progress towards a final template
-dennis
Revision
450 -
Directory Listing
Modified
Thu Aug 1 22:05:55 2002 UTC (10 years, 9 months ago) by
sh002i
list of standard template escapes.
-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
448 -
Directory Listing
Modified
Thu Aug 1 20:22:22 2002 UTC (10 years, 9 months ago) by
sh002i
added (c) header.
-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
446 -
Directory Listing
Modified
Wed Jul 31 19:50:53 2002 UTC (10 years, 9 months ago) by
malsyned
CGI.pm 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
438 -
Directory Listing
Modified
Thu Jul 25 19:49:46 2002 UTC (10 years, 9 months ago) by
sh002i
*** empty log message ***
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
432 -
Directory Listing
Modified
Fri Jul 19 02:39:16 2002 UTC (10 years, 10 months ago) by
sh002i
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
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
421 -
Directory Listing
Modified
Wed Jul 3 23:10:46 2002 UTC (10 years, 10 months ago) by
malsyned
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
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
419 -
Directory Listing
Modified
Wed Jul 3 22:33:55 2002 UTC (10 years, 10 months ago) by
sh002i
moved pg/displayMode and pg/grader into pg/options
-sam
Revision
418 -
Directory Listing
Modified
Wed Jul 3 22:12:25 2002 UTC (10 years, 10 months ago) by
sh002i
added pg/displayMode
-sam
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
393 -
Directory Listing
Modified
Thu Jun 20 16:02:12 2002 UTC (10 years, 11 months ago) by
sh002i
removed PerlModule line -- unnecessary.
-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
383 -
Directory Listing
Modified
Tue Jun 18 22:47:05 2002 UTC (10 years, 11 months ago) by
sh002i
removed by accident.
-sam
Revision
380 -
Directory Listing
Modified
Tue Jun 18 21:06:45 2002 UTC (10 years, 11 months ago) by
gage
....
.
Revision
378 -
Directory Listing
Modified
Tue Jun 18 20:06:15 2002 UTC (10 years, 11 months ago) by
sh002i
added dbInfo{psvn_digits} = 5
-sam
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
357 -
Directory Listing
Modified
Mon Jun 10 20:08:41 2002 UTC (10 years, 11 months ago) by
malsyned
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
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
352 -
Directory Listing
Modified
Fri Jun 7 22:12:31 2002 UTC (10 years, 11 months ago) by
sh002i
fixed some typos
Revision
351 -
Directory Listing
Modified
Fri Jun 7 21:43:07 2002 UTC (10 years, 11 months ago) by
sh002i
not ready for use yet. heh heh.
-sam
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
348 -
Directory Listing
Modified
Thu Jun 6 20:09:10 2002 UTC (10 years, 11 months ago) by
malsyned
Added an instructional comment. no biggy.
Revision
347 -
Directory Listing
Modified
Thu Jun 6 20:08:14 2002 UTC (10 years, 11 months ago) by
malsyned
Adds support for the debugPracticeUser (formerly the hardcoded "practice666")
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
344 -
Directory Listing
Modified
Thu Jun 6 18:34:44 2002 UTC (10 years, 11 months ago) by
malsyned
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
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
342 -
Directory Listing
Modified
Wed Jun 5 19:28:52 2002 UTC (10 years, 11 months ago) by
malsyned
Sam should have fixed this before he committed ;)
--Dennis
Revision
341 -
Directory Listing
Modified
Wed Jun 5 19:27:06 2002 UTC (10 years, 11 months ago) by
sh002i
added sessionKeyTimeout value
-sam
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
314 -
Directory Listing
Modified
Thu May 30 19:11:52 2002 UTC (10 years, 11 months ago) by
sh002i
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
- 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
303 -
Directory Listing
Modified
Thu May 23 17:09:56 2002 UTC (11 years ago) by
sh002i
testing...
Revision
302 -
Directory Listing
Modified
Thu May 23 16:50:20 2002 UTC (11 years ago) by
sh002i
sklfhlkshflksfh
Revision
301 -
Directory Listing
Modified
Thu May 23 16:49:19 2002 UTC (11 years ago) by
sh002i
nine
Revision
300 -
Directory Listing
Modified
Thu May 23 16:42:17 2002 UTC (11 years ago) by
sh002i
eight
Revision
299 -
Directory Listing
Modified
Thu May 23 16:41:40 2002 UTC (11 years ago) by
sh002i
seven
Revision
298 -
Directory Listing
Modified
Thu May 23 16:40:16 2002 UTC (11 years ago) by
sh002i
five
Revision
297 -
Directory Listing
Modified
Thu May 23 16:40:03 2002 UTC (11 years ago) by
sh002i
four
Revision
296 -
Directory Listing
Modified
Thu May 23 16:10:41 2002 UTC (11 years ago) by
sh002i
three
Revision
294 -
Directory Listing
Modified
Thu May 23 15:52:30 2002 UTC (11 years ago) by
sh002i
test one
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
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
285 -
Directory Listing
Modified
Wed May 22 19:19:03 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