Log of /branches/rel-2-0-b1-opt2/webwork-modperl/conf
Directory Listing
Revision
1273 -
Directory Listing
Modified
Wed Jun 25 00:19:31 2003 UTC (9 years, 11 months ago) by
gage
Changed the message summarizing the answer results to be a paragraph
of class "emphasis".
Changed the ur.template answer attempts table by removing the float
left attribute. Defined a p.emphasis class to be italics.
--Mike
Revision
1270 -
Directory Listing
Modified
Tue Jun 24 15:31:07 2003 UTC (9 years, 11 months ago) by
This commit was manufactured by cvs2svn to create branch 'rel-2-0-b1-opt2'.
Revision
1248 -
Directory Listing
Modified
Sat Jun 21 02:34:10 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
changed value of PRINT_FILE_NAMES_FOR
from array (back) to a reference to an array
--Mike
Revision
1241 -
Directory Listing
Modified
Sat Jun 21 00:37:52 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
Added instructions and sample configs for limiting access to the
development servers.
Revision
1240 -
Directory Listing
Modified
Fri Jun 20 23:08:39 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
removed $webworkDirs{macros}, added $pg{renderer} (currently selected
macros) and $pg{renderers} (renderer-specific options).
Revision
1187 -
Directory Listing
Modified
Tue Jun 17 19:59:59 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
Removed an error in this file that caused the message
"Answer evaluators must be subroutines."
This is the default set header file if none is specified.
--Mike
Revision
1181 -
Directory Listing
Modified
Tue Jun 17 16:17:07 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
This fragmented should be edited and then inserted in an existing
httpd.conf file to enable WeBWorK2.0
-Mike
Revision
1154 -
Directory Listing
Modified
Fri Jun 13 02:30:45 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
Rewrote ImageGenerator to work with WeBWorK2. Its arguments are now
passed in via an options hash instead of getting a whole %envir. Also,
the options are passed to the constructor and there is no initialize()
method. add() has the same interface, and render() has been changed
slightly. (This closes Bug #80!)
To make this work with 1.8, take a look at how I'm creating
ImageGenerator in &WeBWorK::PG::defineProblemEnvironment and make the
necessary modifications to processProblem8.pl.
I made changes to WeBWorK::PG to have "images" mode trigger HTML_dpng
rather than HTML_img, and also to create an ImageGenerator before
initializing and call render() after translation.
Also in PG, I shortened the names of the equation image files. They're
now "equation-$PSVN-$probnum-$seed.png". This has the added benefit of
forcing image regeneration if the problem seed changes, closing Bug
#70.
Equation files are now dumped directly into the $courseDirs{HTML_temp}
directory. This means that no one has to worry about whether "m2i"
exists any more.
global.conf.dist was changed to not include the switches to dvipng on
the command line (they're currently hardcoded into ImageGenerator).
I still have to get this to work with dvipng 0.3. I should also take
advantages of 0.3's new features, like pipelining (using the -follow
switch) and specifying the output file name (to avoid the "move" of
resulting images).
This is MUCH FASTER than the way I was calling dvipng, and I think it's
safe to say that it's a better method. Thanks JJ!
-sam
Revision
1131 -
Directory Listing
Modified
Wed Jun 11 20:40:11 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
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
1118 -
Directory Listing
Modified
Wed Jun 11 14:09:39 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
Set the default globalUserID to "practice1"
to promote least hassle for "out of the
box" users migrating from WeBWorK1.8.
--Mike
Revision
1112 -
Directory Listing
Modified
Wed Jun 11 01:58:43 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
Modified these tex files so that the \newpage command does not occur in the middle
of a column environment where it does no good. In other words use
\end{multicols}
\newpage
\begin{\multicols}
etc. This fixes part of bug #13
--Mike
Revision
1108 -
Directory Listing
Modified
Tue Jun 10 19:58:28 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
changed global.conf.dist to include one of sql.conf or gdbm.conf. added
sql.conf.dist and gdbm.conf.dist. continuted documenting WeBWorK::DB
-sam
Revision
1100 -
Directory Listing
Modified
Tue Jun 10 00:18:14 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
in the interest of alleviating crowding:
moved snippets to conf/snippets.
moved templates to conf/templates.
updated global.conf.dist to match.
-sam
Revision
1099 -
Directory Listing
Modified
Mon Jun 9 23:41:43 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
Added a section for special variables to be passed to the safe
environment:
%pg=(....
specialPGEnvironmentVars => {
PRINT_FILE_NAMES_FOR =>
['gage','apizer','voloshin','lr003k','professor'],
CAPA_Tools =>
"$courseDirs{macros}/CAPA_Tools/",
CAPA_MCTools =>
"$courseDirs{macros}/CAPA_MCTools/",
CAPA_Graphics_URL =>
"$courseDirs{html}/CAPA_Graphics/",
CAPA_GraphicsDirectory =>
"$courseDirs{html}CAPA_Graphics/",
},
...
);
this fixes bug #66 (actually a feature request).
It allows professors to see the file names of the problems they
are looking at. It allows the interpretation of CAPA problems as well.
-- MIke
Revision
1089 -
Directory Listing
Modified
Mon Jun 9 21:10:03 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
Modified directory so that
lib => $webworkroot/lib
becomes
lib => $pgRoot/lib since this is where the *.pm macro files for the pg language go.
Should this lib be changed to pglib? (there might have to be a lot of changes to make this work.)
-- Mike
Revision
1032 -
Directory Listing
Modified
Thu Jun 5 20:48:39 2003 UTC (9 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
removed per-course logs from the initial definition of the
$webworkFiles{logs} hash, and put them below, where the
$courseDirs{logs} variable is defined.
(This is sort of an issue -- I want only files/dirs/URLs that are
necessarily tied to a course to be "course" files/dirs/URLs. The
transaction log (for example) could be in a location that wasn't
course-dependant just as easily. Perhaps this whole business of
"webwork" versus "course" locations is arbitrary? Should it be
rethought?)
Also fixed some formatting problems. (Mike -- I would LOVE it if you
would use spaces for aligning your equals signs, instead of tabs!)
-sam
Revision
1025 -
Directory Listing
Modified
Thu Jun 5 15:37:54 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
Modified the address to the webwork image
(used webwork2_files instead of webwork_files)
--Mike
Revision
1021 -
Directory Listing
Modified
Thu Jun 5 11:48:23 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
Updated global.conf.dist so that it will work out of the box
on webwork1.8 courses using GDBM.
The urls
http://machine/webwork2_files will point to the webwork-modperl/htdocs
http://machine/webwork2_courses should be redirected by apache to
a folder containing links the the html directories of each course.
In other words apache directs .../webwork2_courses to the folder
/ww/htdocs/ which should contain links of the form
gage_course@ -> ../webwork/courses/gage_course/html
--Mike
Revision
1017 -
Directory Listing
Modified
Wed Jun 4 23:47:35 2003 UTC (9 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
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
932 -
Directory Listing
Modified
Wed May 28 19:26:10 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
Changed the link to bugzilla to bring you directly to the page for
reporting a webwork2.0 bug. No url is entered automatically -- that
would require, I believe, implementing this link inside a link method
in content generator. We'll see if that is needed.
-- Mike
Revision
905 -
Directory Listing
Modified
Tue May 27 00:30:06 2003 UTC (9 years, 11 months ago) by
gage
Original Path:
trunk/webwork-modperl/conf
Added "Report bugs" link to these two templates. These link
to webwork3.math.rochester.edu
-- Mike
Revision
808 -
Directory Listing
Modified
Thu Apr 17 21:01:17 2003 UTC (10 years, 1 month ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
Lots of work on WWDBv2... WW1Hash is done! A complete dbLayout (as
detailed on global.conf.dist) works now.
-sam
Revision
798 -
Directory Listing
Modified
Fri Mar 21 23:30:16 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
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 -
Directory Listing
Modified
Fri Mar 21 21:40:01 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
Hit the #nav macro with a cluebat
RE: webworkURLs->htdocs vs. imageprefix=""
-Dennis
Revision
774 -
Directory Listing
Modified
Fri Mar 7 02:22:41 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
conf/global.conf.dist: fixed %dbLayout
doc/new-DB-architecture: removed a meta-note.
-sam
Revision
768 -
Directory Listing
Modified
Thu Mar 6 19:12:38 2003 UTC (10 years, 2 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
1. added %dbLayout (for the new DB.pm database system)
2. moved some stuff around
-sam
Revision
765 -
Directory Listing
Modified
Fri Feb 28 23:56:35 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
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
761 -
Directory Listing
Modified
Fri Feb 28 21:26:54 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
I made a few cosmetic changes to classic.template and reworked
barebones.template to reduce the amount of vertical screen real-estate
used by the header information.
-Dennis
Revision
760 -
Directory Listing
Modified
Fri Feb 28 20:46:44 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
Added CSS rules to arrange the answer result feedback so as to reduce
vertical screen space usage
-Dennis
Revision
759 -
Directory Listing
Modified
Fri Feb 28 20:37:04 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
I made a special template that is very similar to the look of WeBWorK
1.8
-Dennis
Revision
748 -
Directory Listing
Modified
Wed Feb 26 18:39:07 2003 UTC (10 years, 2 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
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
740 -
Directory Listing
Modified
Fri Feb 21 21:16:48 2003 UTC (10 years, 3 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
1. the new global.conf key {mail}->{feedbackVerbosity} controls the
verbosity level of Feedback.pm messages.
2. Feedback includes a URL when ever the user is logged in.
-sam
Revision
706 -
Directory Listing
Modified
Tue Jan 21 20:25:51 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
commented out allowedRecipients -- this should probably be set in
course.conf.
-sam
Revision
701 -
Directory Listing
Modified
Fri Jan 10 21:39:29 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
An MOTD can be displayed on the problem sets page. Define
$courseFiles{motd} to point to a file containing the message.
-sam
Revision
695 -
Directory Listing
Modified
Wed Jan 8 16:23:52 2003 UTC (10 years, 4 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
$webworkURLRoot is now taken from Apache::WeBWorK instead of being
specified in global.conf.
-sam
Revision
670 -
Directory Listing
Modified
Fri Dec 6 17:50:24 2002 UTC (10 years, 5 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
Added a Professor Tools stub module that provides redirection links to
the WeBWorK 1.8 system
-Dennis
Revision
655 -
Directory Listing
Modified
Mon Nov 25 08:29:55 2002 UTC (10 years, 5 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
renamed httpd-wwmp-sample.conf -> httpd-wwmp.conf.dist
fixed a value in global.conf.dist
-sam
Revision
649 -
Directory Listing
Modified
Sun Nov 24 03:10:54 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
replaced instances of "malsyned" with !WEBWORK_USER! and documented it
at the top of the file.
-sam
Revision
648 -
Directory Listing
Modified
Sun Nov 24 03:08:02 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
moved a comment that was at the end of a line (comments have to be on
their own lines in httpd config files.)
-sam
Revision
639 -
Directory Listing
Modified
Wed Nov 20 20:26:27 2002 UTC (10 years, 6 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
Added configuration files for apache that will allow each user to control
his own seperate Apache process with a different webwork-modperl installation
-Dennis
Revision
608 -
Directory Listing
Modified
Fri Oct 25 22:16:01 2002 UTC (10 years, 6 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
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
596 -
Directory Listing
Modified
Fri Oct 18 19:09:53 2002 UTC (10 years, 7 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
Added some ifs to the barebones template to prevent it from drawing the hard rule unless necessary.
Removed init.pl. It is no longer used.
--Dennis
Revision
562 -
Directory Listing
Modified
Fri Sep 27 23:53:42 2002 UTC (10 years, 7 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
- 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
Original Path:
trunk/webwork-modperl/conf
* fixed multiple-calls-to-&handler problem
* fixed if-else-endif code in &template
* added code to catch warnings in PG evaluation
* added "pink screen" and warning reporting
* started work on logging code (see Utils.pm, commented out)
-sam & dennis
Revision
547 -
Directory Listing
Modified
Fri Sep 13 20:54:59 2002 UTC (10 years, 8 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
fixed hardcopy generation (errors in EV3_math_general and the
hardcopySetHeader.
-sam
Revision
526 -
Directory Listing
Modified
Thu Aug 29 19:56:24 2002 UTC (10 years, 8 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
HTML_img mode ("images" mode in the HTML interface) now uses dvipng to
generate images. ProblemSet now has a link to Hardcopy.
-sam
Revision
502 -
Directory Listing
Modified
Thu Aug 22 21:11:53 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
continuing work on hardcopy generation. changed interface to PG.pm to
take user, problem, and set objects instead of names.
-sam
Revision
474 -
Directory Listing
Modified
Tue Aug 20 01:04:25 2002 UTC (10 years, 9 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
added PG/TeX snippets and corresponding lines in global.conf
added a new template -- barebones.template
-sam
Revision
453 -
Directory Listing
Modified
Mon Aug 5 20:20:32 2002 UTC (10 years, 9 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
Added a bunch of the final escapes that will be a part of the templating system
-dennis
Revision
433 -
Directory Listing
Modified
Fri Jul 19 02:41:25 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
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
424 -
Directory Listing
Modified
Thu Jul 11 19:09:08 2002 UTC (10 years, 10 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
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
412 -
Directory Listing
Modified
Tue Jun 25 20:29:22 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
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
390 -
Directory Listing
Modified
Wed Jun 19 22:45:47 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
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 -
Directory Listing
Modified
Fri Jun 7 23:35:59 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
All of the content generators now work with the template system
Moved the content generators into the WeBWorK::ContentGenerator namespace
Added the default template and a few global.conf entries
Revision
349 -
Directory Listing
Modified
Fri Jun 7 21:37:33 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
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
344 -
Directory Listing
Modified
Thu Jun 6 18:34:44 2002 UTC (10 years, 11 months ago) by
malsyned
Original Path:
trunk/webwork-modperl/conf
Added $practiceUserPrefix to global.conf, which works just like $practiceUser
in Global.pm from CGI WeBWorK.
Revision
314 -
Directory Listing
Modified
Thu May 30 19:11:52 2002 UTC (10 years, 11 months ago) by
sh002i
Original Path:
trunk/webwork-modperl/conf
changed format of global.conf: it's now perl code which gets eval'd in a
safe compartment.
-sam