[system] / trunk / webwork-modperl / lib / WeBWorK / ContentGenerator.pm Repository:
ViewVC logotype

Log of /trunk/webwork-modperl/lib/WeBWorK/ContentGenerator.pm

Parent Directory Parent Directory


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

Revision 633 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 20 19:11:55 2002 UTC (10 years, 6 months ago) by malsyned
File length: 12734 byte(s)
Diff to previous 562 , to selected 447
Added some debugging code

Revision 562 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 27 23:53:42 2002 UTC (10 years, 7 months ago) by sh002i
File length: 12578 byte(s)
Diff to previous 558 , to selected 447
- created macros/IO.pl, which is loaded with no opmask by PG.pm. It is a copy
  of WeBWorK::PG::IO.pm, with some changes to make it work as a macro package.
  The translator no longer shares IO.pm's functions with the safe compartment.
  This is a BAD THING, and should be reconsidered when the Translator is
  revised.
- Changed many (but not all) checks for HTML or HTML_tth modes to match /^HTML/
  in the macros.
- changed &header to &head in Problem.pm
- Added problem environment variables for gif2eps and png2eps and modified
  &dangerousMacros::alias to use them
- fixed MOST of the harmless warnings in the system. there's still the "Use
  of uninitialized value in null operation" warning in template(), tho.

Still to come:

- make images in PDFs work
- fix TTH mode character encodings on mac (maybe)
- have logout button invalidate key
- Pretty die messages (from outside of the translator)
- Feedback - need nice modular way of sending email
- Options - email address and password

Revision 558 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 20 22:47:22 2002 UTC (10 years, 8 months ago) by sh002i
File length: 12518 byte(s)
Diff to previous 555 , to selected 447
* fixed multiple-calls-to-&handler problem
* fixed if-else-endif code in &template
* added code to catch warnings in PG evaluation
* added "pink screen" and warning reporting
* started work on logging code (see Utils.pm, commented out)
-sam & dennis

Revision 555 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 18 19:25:42 2002 UTC (10 years, 8 months ago) by sh002i
File length: 12537 byte(s)
Diff to previous 526 , to selected 447
fixed image centering, added head escape.
-sam

Revision 526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 29 19:56:24 2002 UTC (10 years, 8 months ago) by sh002i
File length: 12595 byte(s)
Diff to previous 525 , to selected 447
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 29 19:45:18 2002 UTC (10 years, 8 months ago) by malsyned
File length: 12222 byte(s)
Diff to previous 522 , to selected 447
Added the new &if_$key infrastructure
-dennis

Revision 522 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 29 17:42:39 2002 UTC (10 years, 8 months ago) by malsyned
File length: 11615 byte(s)
Diff to previous 512 , to selected 447
Debugging of the templating system and some other misc. changes.
--dennis

Revision 512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 23 22:19:51 2002 UTC (10 years, 9 months ago) by malsyned
File length: 11615 byte(s)
Diff to previous 508 , to selected 447
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 23 00:12:52 2002 UTC (10 years, 9 months ago) by malsyned
File length: 10457 byte(s)
Diff to previous 505 , to selected 447
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 22 22:02:39 2002 UTC (10 years, 9 months ago) by sh002i
File length: 10459 byte(s)
Diff to previous 494 , to selected 447
quicklinks -> links
-sam

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

Revision 476 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 20 01:07:18 2002 UTC (10 years, 9 months ago) by sh002i
File length: 10491 byte(s)
Diff to previous 469 , to selected 447
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 16 20:43:38 2002 UTC (10 years, 9 months ago) by sh002i
File length: 10058 byte(s)
Diff to previous 455 , to selected 447
pretty much implemented the whole thing.

yeah.
-sam

Revision 455 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 5 21:34:18 2002 UTC (10 years, 9 months ago) by sh002i
File length: 5784 byte(s)
Diff to previous 447
"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 447 - (view) (download) (as text) (annotate) - [selected]
Modified Wed Jul 31 19:51:20 2002 UTC (10 years, 9 months ago) by malsyned
File length: 5442 byte(s)
Diff to previous 441
Various cleanups
-dennis

Revision 441 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 25 21:58:22 2002 UTC (10 years, 10 months ago) by malsyned
File length: 5365 byte(s)
Diff to previous 425 , to selected 447
Added use strict and use warnings, then cleaned up much of the mess that
revealed.
--Dennis

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

Revision 420 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 3 23:09:28 2002 UTC (10 years, 10 months ago) by malsyned
File length: 4695 byte(s)
Diff to previous 403 , to selected 447
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 403 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 24 16:34:30 2002 UTC (10 years, 11 months ago) by malsyned
File length: 4555 byte(s)
Diff to previous 397 , to selected 447
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 397 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 20 21:18:37 2002 UTC (10 years, 11 months ago) by malsyned
File length: 4554 byte(s)
Diff to previous 390 , to selected 447
fixed interface to template() function.
-"dennis"

Revision 390 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 19 22:45:47 2002 UTC (10 years, 11 months ago) by malsyned
File length: 4540 byte(s)
Diff to previous 353 , to selected 447
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 353 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 7 23:35:59 2002 UTC (10 years, 11 months ago) by malsyned
File length: 2984 byte(s)
Diff to previous 349 , to selected 447
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 7 21:37:33 2002 UTC (10 years, 11 months ago) by malsyned
File length: 3204 byte(s)
Diff to previous 323 , to selected 447
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 323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 30 20:34:46 2002 UTC (10 years, 11 months ago) by malsyned
File length: 2991 byte(s)
Diff to previous 313 , to selected 447
-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 313 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 28 21:23:45 2002 UTC (10 years, 11 months ago) by malsyned
File length: 1850 byte(s)
Diff to previous 305 , to selected 447
- 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 305 - (view) (download) (as text) (annotate) - [select for diffs]
Added Thu May 23 20:23:10 2002 UTC (11 years ago) by malsyned
File length: 738 byte(s)
Diff to selected 447
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.

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

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9