[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 1861 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 21:49:32 2004 UTC (9 years, 3 months ago) by sh002i
File length: 25284 byte(s)
Diff to previous 1857 , to selected 1297
added documentation, added support for a new "textonly" argument to the
"path" macro.

Revision 1857 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 6 18:50:00 2004 UTC (9 years, 3 months ago) by gage
File length: 22770 byte(s)
Diff to previous 1838 , to selected 1297
Added support for the new module Grades.pm which supports student grades

Revision 1838 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 21:03:04 2004 UTC (9 years, 3 months ago) by sh002i
File length: 22641 byte(s)
Diff to previous 1811 , to selected 1297
changed constructor to work with dispatch_new

Revision 1811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 16 03:37:02 2004 UTC (9 years, 4 months ago) by gage
File length: 21915 byte(s)
Diff to previous 1741 , to selected 1297
Added nbsp method to
ContentGenerator.pm

Revision 1741 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 23 21:02:22 2004 UTC (9 years, 4 months ago) by sh002i
File length: 21602 byte(s)
Diff to previous 1717 , to selected 1297
moved logout button to be in loginstatus escape.

Revision 1717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 17 16:29:52 2004 UTC (9 years, 5 months ago) by gage
File length: 21353 byte(s)
Diff to previous 1681 , to selected 1297
Cosmetic modifications to the user interface.  Made "instructor tools" and
"problem sets" larger in the left margin.

This addressed bug 323 but may not solve it.

Revision 1681 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 18 23:15:34 2003 UTC (9 years, 6 months ago) by sh002i
File length: 21217 byte(s)
Diff to previous 1663 , to selected 1297
- Assigner and SetsAssignedToUser now refuse to unassign sets from the
GlobalTableEmulator's "global user". Closes bug #283.
- New "unassign from all users" button in Assigner.
- Cosmetic changes to path() and title() in several modules.

Revision 1663 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 9 01:12:32 2003 UTC (9 years, 6 months ago) by sh002i
File length: 21137 byte(s)
Diff to previous 1636 , to selected 1297
Normalized headers. All files now contain the text below as a header.
This is important since all files now (a) use the full name of the
package, (b) assign copyright to "The WeBWorK Project", (c) give the
full path of the file (relative to CVSROOT) instead of simply the file
name, and (d) include license and warranty information.

Here is the new header:

################################################################################
# WeBWorK Online Homework Delivery System
# Copyright © 2000-2003 The WeBWorK Projcct, http://openwebwork.sf.net/
# $CVSHeader$
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of either: (a) the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any later
# version, or (b) the "Artistic License" which comes with this package.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See either the GNU General Public License or the
# Artistic License for more details.
################################################################################

Revision 1636 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 19 18:44:47 2003 UTC (9 years, 7 months ago) by sh002i
File length: 20480 byte(s)
Diff to previous 1613 , to selected 1297
added code to check for undef return values from DB "get" calls.

Revision 1613 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 4 02:23:07 2003 UTC (9 years, 7 months ago) by sh002i
File length: 20261 byte(s)
Diff to previous 1600 , to selected 1297
Finished Upload module. See POD.

Added sendFile routine to ContentGenerator. To use, store a hash
reference in $self->{sendFile} containing keys:
	source: full path to file to send
	type: content type of file to send
	name: file name to suggest to client
This must be done BEFORE the HTTP header is sent, i.e. in
pre_header_initialize. It will not work is &go or &header is overridden.

Revision 1600 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 21 20:18:31 2003 UTC (9 years, 8 months ago) by sh002i
File length: 19435 byte(s)
Diff to previous 1475 , to selected 1297
cosmetic changes to instructor_links method

Revision 1475 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 28 23:24:21 2003 UTC (9 years, 9 months ago) by gage
File length: 19221 byte(s)
Diff to previous 1458 , to selected 1297
Added scoring to the instructor links.
--Mike

Revision 1458 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 14 19:59:20 2003 UTC (9 years, 10 months ago) by malsyned
File length: 19054 byte(s)
Diff to previous 1439 , to selected 1297
Changed text of instructor links

Revision 1439 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 19:22:17 2003 UTC (9 years, 10 months ago) by gage
File length: 19053 byte(s)
Diff to previous 1436 , to selected 1297
Fixed glitch in links involving effective user
--Mike

Revision 1436 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 13:33:37 2003 UTC (9 years, 10 months ago) by gage
File length: 18976 byte(s)
Diff to previous 1432 , to selected 1297
Tweaked the instructor links callback
--Mike

Revision 1432 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 25 03:20:16 2003 UTC (9 years, 10 months ago) by gage
File length: 18686 byte(s)
Diff to previous 1431 , to selected 1297
Added more capabilities to the stats module.

There is some overlapping code that needs to be factored out.
--Mike

Revision 1431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 24 21:58:06 2003 UTC (9 years, 10 months ago) by gage
File length: 18687 byte(s)
Diff to previous 1430 , to selected 1297
Minor bug fix in links subroutine
--Mike

Revision 1430 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 24 21:52:17 2003 UTC (9 years, 10 months ago) by gage
File length: 18665 byte(s)
Diff to previous 1425 , to selected 1297
Added a module that shows the raw stats for a single set.
We need a better index page for this and other views of the
same statistics.
--Mike

Revision 1425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 23 20:19:12 2003 UTC (9 years, 10 months ago) by malsyned
File length: 18393 byte(s)
Diff to previous 1412 , to selected 1297
Added the ability for content generators to specify names for themselves
for the purpose of custom templates

Revision 1412 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 21 23:06:25 2003 UTC (9 years, 11 months ago) by malsyned
File length: 18055 byte(s)
Diff to previous 1408 , to selected 1297
Fixed a bug in url_args preventing it from properly representing
one-to-many params.

Revision 1408 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 21 22:07:46 2003 UTC (9 years, 11 months ago) by malsyned
File length: 17980 byte(s)
Diff to previous 1384 , to selected 1297
Added the capability for content generators to return an HTTP response
type other than OK.
Added the capability for content generators to bypass the template
processing (by providing a "content" subroutine)

Revision 1384 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 14 19:30:19 2003 UTC (9 years, 11 months ago) by gage
File length: 17136 byte(s)
Diff to previous 1383 , to selected 1297
Cosmetic tweak to links

Revision 1383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 14 18:44:27 2003 UTC (9 years, 11 months ago) by gage
File length: 17136 byte(s)
Diff to previous 1374 , to selected 1297
Tweaked the links section a bit.  Moved instructor links
into their own submethod, since they were getting complicated.
--Mike

Revision 1374 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jul 13 18:55:56 2003 UTC (9 years, 11 months ago) by gage
File length: 16278 byte(s)
Diff to previous 1360 , to selected 1297
Added link to "Send Email" for instructors
--Mike

Revision 1360 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 19:20:52 2003 UTC (9 years, 11 months ago) by gage
File length: 16095 byte(s)
Diff to previous 1358 , to selected 1297
Cosmetic improvements to the links macro.  Instructor.pm
no longer needs a links macro, but I've left it there
temporarily
--Mike

Revision 1358 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 18:41:22 2003 UTC (9 years, 11 months ago) by gage
File length: 16062 byte(s)
Diff to previous 1297
Links now include direct access to Class list and to Set list
--Mike

Revision 1297 - (view) (download) (as text) (annotate) - [selected]
Modified Fri Jun 27 17:09:06 2003 UTC (9 years, 11 months ago) by gage
File length: 15732 byte(s)
Diff to previous 1225
Cosmetic modifcations to links
--Mike

Revision 1225 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 01:16:22 2003 UTC (10 years ago) by sh002i
File length: 15724 byte(s)
Diff to previous 1169 , to selected 1297
housekeeping.

Revision 1169 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 14 06:03:15 2003 UTC (10 years ago) by sh002i
File length: 15721 byte(s)
Diff to previous 1152 , to selected 1297
fixed Bug #92 and problem with equations with \n in them.
-sam

Revision 1152 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 13 02:17:32 2003 UTC (10 years ago) by gage
File length: 15676 byte(s)
Diff to previous 1142 , to selected 1297
Changed some error H2 headings to H3 -- it wastes less space.
--Mike

Revision 1142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 12 19:30:37 2003 UTC (10 years ago) by sh002i
File length: 15676 byte(s)
Diff to previous 1131 , to selected 1297
Changed error and warning output to replace <pre> with <p><tt>.
Error/warning text now wraps!
-sam

Revision 1131 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 11 20:40:11 2003 UTC (10 years ago) by sh002i
File length: 15704 byte(s)
Diff to previous 1042 , to selected 1297
Made many changes:

- turned off PG warning catching in conf/global.conf.dist
- added warning reporting to conf/templates/ur.template (but not to
  other templates!)
- modified a couple of error messages in WeBWorK.pm
- made failure to create course environment and failure to find course
  directory fatal errors in WeBWorK.pm
- added warning queueing and call stack storing to Apache::WeBWorK
- added "warnings" and "if_warnings" template escapes to
  WeBWorK::ContentGenerator
- removed warning handling from WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::ContentGenerator::Problem
- code tidying in WeBWorK::PG::ImageGenerator

-sam

Revision 1042 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 6 17:48:11 2003 UTC (10 years ago) by malsyned
File length: 15323 byte(s)
Diff to previous 1024 , to selected 1297
Template escapes can return a list again, and now it's a sanctioned
activity.
-Dennis

Revision 1024 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 5 15:26:59 2003 UTC (10 years ago) by gage
File length: 15325 byte(s)
Diff to previous 1018 , to selected 1297
Fixed bug in navMacro and a bug in path.
This squashes bug #46.

The problem was a comma in the return, instead of a period.
return "foo"."\n";
returns foo with a return after it
return "foo","\n";
returns just the \n probably because the comma operation comes into
play and only the result of the last operation is returned.

Apparently return doesn't grab everything to the right of it in the same
way that print does.
I'd bet that
return("foo","\n") would return a list however.

--Mike

Revision 1018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 5 00:02:24 2003 UTC (10 years ago) by malsyned
File length: 15323 byte(s)
Diff to previous 1017 , to selected 1297
Removed warnings.  woops.
-Dennis

Revision 1017 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 4 23:47:35 2003 UTC (10 years ago) by malsyned
File length: 15505 byte(s)
Diff to previous 836 , to selected 1297
Instructor pages now only let instructors view and edit the database.
phew.

NOTE that there are new directives in global.conf.dist.  You won't be
able to use the professor pages until you've made that change.

Also, I added new template escapes and updated the barebones and ur
templates.
-Dennis

Revision 836 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 14 21:20:13 2003 UTC (10 years, 1 month ago) by malsyned
File length: 14859 byte(s)
Diff to previous 833 , to selected 1297
Removed the Professor content generator and link.
Made a little progress on ProblemSetList.
-Dennis

Revision 833 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 14 20:55:07 2003 UTC (10 years, 1 month ago) by gage
File length: 14827 byte(s)
Diff to previous 819 , to selected 1297
Modified links subroutine so that it returns a string rather than an
array.

Revision 819 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 25 05:07:59 2003 UTC (10 years, 1 month ago) by sh002i
File length: 14828 byte(s)
Diff to previous 817 , to selected 1297
$db gets passed into the ContentGenerator constructor (rather than being
needlessly recreated inside).
-sam

Revision 817 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 23 06:39:03 2003 UTC (10 years, 2 months ago) by sh002i
File length: 14840 byte(s)
Diff to previous 809 , to selected 1297
rewrote these modules to use the WWDBv2 library. rewrote the Authen.pm
verify function to (hopefully) be more readable.
-sam

Revision 809 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 17 21:30:57 2003 UTC (10 years, 2 months ago) by sh002i
File length: 14836 byte(s)
Diff to previous 798 , to selected 1297
changed the name of the "courseEnvironment" field in the
ContentGenerator object to "ce", to match the style and conciesness of
the existing "r" and new "db" fields.
-sam

Revision 798 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 21 23:30:16 2003 UTC (10 years, 3 months ago) by sh002i
File length: 14942 byte(s)
Diff to previous 795 , to selected 1297
initial support for WWDBv2:
        - DB.pm finished (except for getGlobalUser{Set,Problem} methods)
        - schema modules for password, permission, key, and user with
          WWDBv1 hash-bashed backends
        - GDBM driver
        - wwdb command-line frontend
-sam

Revision 795 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 21 21:40:01 2003 UTC (10 years, 3 months ago) by malsyned
File length: 14900 byte(s)
Diff to previous 765 , to selected 1297
Hit the #nav macro with a cluebat
RE: webworkURLs->htdocs vs. imageprefix=""
-Dennis

Revision 765 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 28 23:56:35 2003 UTC (10 years, 3 months ago) by malsyned
File length: 14813 byte(s)
Diff to previous 757 , to selected 1297
removed "nowrap" from barebones.template because it wasn't doing
anything anyway, and every byte counts ;-)

Changed "Logged in as:" to "User:" in ContentGenerator and killed the
CGI::br calls in that message and the "Acting as:" message

Added more context to the context URL in Feedback, and properly
obfuscated some code.

--Dennis

Revision 757 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 28 20:29:56 2003 UTC (10 years, 3 months ago) by malsyned
File length: 14805 byte(s)
Diff to previous 748 , to selected 1297
Changed the calling semantics to navMacro
-dennis

Revision 748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 26 18:39:07 2003 UTC (10 years, 3 months ago) by malsyned
File length: 14614 byte(s)
Diff to previous 737 , to selected 1297
Added the <!--#if loggedin="1"--> template escape.  It evaluates to true
on every content generator except Login.pm and Logout.pm.  Used it to
make the barebones template look cleaner on the login page.
-Dennis

Revision 737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 18 07:04:13 2003 UTC (10 years, 4 months ago) by sh002i
File length: 14367 byte(s)
Diff to previous 692 , to selected 1297
merged changes from rel-2-0-pr1-hardcopy-changes
-sam

Revision 692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 7 21:19:38 2003 UTC (10 years, 5 months ago) by sh002i
File length: 13314 byte(s)
Diff to previous 682 , to selected 1297
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 682 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 6 18:10:47 2003 UTC (10 years, 5 months ago) by sh002i
File length: 13190 byte(s)
Diff to previous 675 , to selected 1297
make answer previews use $displayMode
write a template escape for printing $user, $effectiveUser, &c. nicely
-sam

Revision 675 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 13 21:14:54 2002 UTC (10 years, 6 months ago) by sh002i
File length: 12776 byte(s)
Diff to previous 667 , to selected 1297
made some improvements to Feedback, added loginStatus escape.
-sam

Revision 667 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 4 19:07:12 2002 UTC (10 years, 6 months ago) by sh002i
File length: 12762 byte(s)
Diff to previous 646 , to selected 1297
added a bunch of "***" comments.
implemented Feedback module.
-sam

Revision 646 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 23 00:25:40 2002 UTC (10 years, 6 months ago) by sh002i
File length: 12736 byte(s)
Diff to previous 644 , to selected 1297
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 22 20:30:20 2002 UTC (10 years, 6 months ago) by sh002i
File length: 12580 byte(s)
Diff to previous 643 , to selected 1297
Added "Options" handler, modified the dispatcher to support it, fixed
the link to it in the &links routine.
-sam

Revision 643 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 22 20:26:26 2002 UTC (10 years, 6 months ago) by malsyned
File length: 12578 byte(s)
Diff to previous 633 , to selected 1297
Removed some debugging code
-dennis

Revision 633 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 20 19:11:55 2002 UTC (10 years, 7 months ago) by malsyned
File length: 12734 byte(s)
Diff to previous 562 , to selected 1297
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, 8 months ago) by sh002i
File length: 12578 byte(s)
Diff to previous 558 , to selected 1297
- 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, 9 months ago) by sh002i
File length: 12518 byte(s)
Diff to previous 555 , to selected 1297
* 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, 9 months ago) by sh002i
File length: 12537 byte(s)
Diff to previous 526 , to selected 1297
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, 9 months ago) by sh002i
File length: 12595 byte(s)
Diff to previous 525 , to selected 1297
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, 9 months ago) by malsyned
File length: 12222 byte(s)
Diff to previous 522 , to selected 1297
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, 9 months ago) by malsyned
File length: 11615 byte(s)
Diff to previous 512 , to selected 1297
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 1297
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, 10 months ago) by malsyned
File length: 10457 byte(s)
Diff to previous 505 , to selected 1297
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, 10 months ago) by sh002i
File length: 10459 byte(s)
Diff to previous 494 , to selected 1297
quicklinks -> links
-sam

Revision 494 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 21 18:31:20 2002 UTC (10 years, 10 months ago) by sh002i
File length: 10469 byte(s)
Diff to previous 476 , to selected 1297
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, 10 months ago) by sh002i
File length: 10491 byte(s)
Diff to previous 469 , to selected 1297
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, 10 months ago) by sh002i
File length: 10058 byte(s)
Diff to previous 455 , to selected 1297
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, 10 months ago) by sh002i
File length: 5784 byte(s)
Diff to previous 447 , to selected 1297
"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) - [select for diffs]
Modified Wed Jul 31 19:51:20 2002 UTC (10 years, 10 months ago) by malsyned
File length: 5442 byte(s)
Diff to previous 441 , to selected 1297
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 1297
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, 11 months ago) by sh002i
File length: 5150 byte(s)
Diff to previous 420 , to selected 1297
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, 11 months ago) by malsyned
File length: 4695 byte(s)
Diff to previous 403 , to selected 1297
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 1297
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 (11 years ago) by malsyned
File length: 4554 byte(s)
Diff to previous 390 , to selected 1297
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 (11 years ago) by malsyned
File length: 4540 byte(s)
Diff to previous 353 , to selected 1297
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 (11 years ago) by malsyned
File length: 2984 byte(s)
Diff to previous 349 , to selected 1297
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 (11 years ago) by malsyned
File length: 3204 byte(s)
Diff to previous 323 , to selected 1297
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 (11 years ago) by malsyned
File length: 2991 byte(s)
Diff to previous 313 , to selected 1297
-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 (11 years ago) by malsyned
File length: 1850 byte(s)
Diff to previous 305 , to selected 1297
- 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 1297
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