Log of /trunk/webwork2/conf/global.conf.dist
Parent Directory
Revision
2431 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 1 20:31:13 2004 UTC (8 years, 10 months ago) by
dpvc
File length: 15355 byte(s)
Diff to
previous 2417
,
to
selected 768
Provide mechanism for adding extra problem library buttons
to the Library Browser.
These changes allow you to specify (via course.conf or global.conf)
that certain subdirectories of the templates directory are to have
separate buttons in the top panel of the Set Maker. These buttons
only appear if the directories actually exist, and any other
directories are listed in the "Local Problems" button as usual. If
the list of these directories is empty (the default), then the results
are just like they currently are, but it allows one more level of
separation of the hierarchy for those who want it.
The idea is to make symbolic links to the problem libraries from
Rochester, ASU, etc., and have separate buttons for these. This
avoids having one monster menu with all the problems in it. (Of
course, you could make buttons for any directories you want.) There
are instructions in global.conf.dist that exmplain how to do configure
this.
Revision
2413 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 25 23:56:56 2004 UTC (8 years, 10 months ago) by
jj
File length: 14301 byte(s)
Diff to
previous 2410
,
to
selected 768
Added variables for controlling vertical alignment of dvipng images. You
can choose your favorite constant value like baseline or absmiddle, or give
parameters for a mysql database to hold vertical offsets for individualized
alignments.
Revision
2376 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 23 21:04:17 2004 UTC (8 years, 11 months ago) by
toenail
File length: 13591 byte(s)
Diff to
previous 2325
,
to
selected 768
added permissions for
viewing multiple sets
viewing unpublished sets
viewing unopened sets
viewing answers before the answer date
Revision
2192 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon May 24 01:03:05 2004 UTC (9 years ago) by
sh002i
File length: 13259 byte(s)
Diff to
previous 2182
,
to
selected 768
display mode handling improved.
allowed display modes can now be specified via global.conf.
failover data used by the PG system now comes from PG.pm.
Revision
1965 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 22 17:37:05 2004 UTC (9 years, 1 month ago) by
jj
File length: 12252 byte(s)
Diff to
previous 1957
,
to
selected 768
Added defaultDisplayMatrixStyle from webwork 1, which lets people control
if they have parens or square brackets on the outsides of their matricies.
It is not really an answer evaluator variable, but it is put there since
that works and putting it with options doesn't.
Revision
1945 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 5 03:58:30 2004 UTC (9 years, 1 month ago) by
sh002i
File length: 12183 byte(s)
Diff to
previous 1932
,
to
selected 768
preliminary web-based course creation support
try it -- create a course called "admin" the usual way and then visit it
in your browser.
Revision
1897 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 17 03:38:29 2004 UTC (9 years, 2 months ago) by
sh002i
File length: 12112 byte(s)
Diff to
previous 1822
,
to
selected 768
tentative solution to two of Frank Wolf's problems:
On Tue, 16 Mar 2004, Frank Wolfs, Physics and Astronomy, U of R wrote:
> This one works for a pdf file that is based on a set without graphics,
> but it does not solve the problem with viewing the graphics in problem
> sets or making a pdf for a set with graphics. For example viewing a set
> with a gif file gives me the following error:
>
> [Tue Mar 16 22:11:59 2004] [error] [client 208.186.61.178] File does not
> exist:
> /home/apache/htdocs/home/webwork/courses/phy121s04/html/CAPA_Graphics/Gtype20$
>
> When I try to make a pdf file I get the following error for the same
> problem:
>
> ! Could not open file
> /home/webwork/courses/phy121s04/htmlCAPA_Graphics/Gtype20
> /prob01.eps, ignoring it.
>
> Note: for the fig, the path is correct after /home/apache/htdocs, while
> for the pes file, there is a / missing between html and CAPA_Graphics.
Revision
1696 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Jan 3 20:07:03 2004 UTC (9 years, 4 months ago) by
sh002i
File length: 11939 byte(s)
Diff to
previous 1663
,
to
selected 768
UPDATE YOUR CONFIG FILES! (global.conf.dist, database.conf.dist)
Made changes to support the storage of multiple database layouts in a
single course environment. Database layouts are now stored in a hash
named %dbLayouts in database.conf, and the default layout is aliased to
*dbLayout (see comments in database.conf.dist and global.conf.dist)
sql.conf and gdbm.conf are no longer used.
Support the selection of a specific database layout when instantiating
WeBWorK::DB. WeBWorK::DB now takes a reference to a database layout
rather than an entire course environment.
All calls to WeBWorK::DB::new were updated to pass the correct argument.
Revision
1663 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 9 01:12:32 2003 UTC (9 years, 5 months ago) by
sh002i
File length: 12297 byte(s)
Diff to
previous 1617
,
to
selected 768
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
1468 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Sat Aug 16 01:30:46 2003 UTC (9 years, 9 months ago) by
gage
File length: 11344 byte(s)
Diff to
previous 1446
,
to
selected 768
Added course_info whose material will appear
on the right side of the problem sets page
and login_info whose material will appear
on the right side of the login page.
--Mike
Revision
1387 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 15 00:56:50 2003 UTC (9 years, 10 months ago) by
gage
File length: 11192 byte(s)
Diff to
previous 1380
,
to
selected 768
Changes made to make show Past answers work. Basically I duplicated
writeLog with writeCourseLog which writes to the courses log directory.
I also defined answer_log in that directory.
Revision
1154 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 13 02:30:45 2003 UTC (9 years, 11 months ago) by
sh002i
File length: 10557 byte(s)
Diff to
previous 1132
,
to
selected 768
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
1108 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 10 19:58:28 2003 UTC (9 years, 11 months ago) by
sh002i
File length: 10404 byte(s)
Diff to
previous 1103
,
to
selected 768
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 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 10 00:18:14 2003 UTC (9 years, 11 months ago) by
sh002i
File length: 12314 byte(s)
Diff to
previous 1099
,
to
selected 768
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 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 9 23:41:43 2003 UTC (9 years, 11 months ago) by
gage
File length: 12246 byte(s)
Diff to
previous 1089
,
to
selected 768
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 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 9 21:10:03 2003 UTC (9 years, 11 months ago) by
gage
File length: 12095 byte(s)
Diff to
previous 1054
,
to
selected 768
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 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 5 20:48:39 2003 UTC (9 years, 11 months ago) by
sh002i
File length: 11690 byte(s)
Diff to
previous 1021
,
to
selected 768
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
1021 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 5 11:48:23 2003 UTC (9 years, 11 months ago) by
gage
File length: 11805 byte(s)
Diff to
previous 1017
,
to
selected 768
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 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 4 23:47:35 2003 UTC (9 years, 11 months ago) by
malsyned
File length: 11236 byte(s)
Diff to
previous 811
,
to
selected 768
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
798 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 21 23:30:16 2003 UTC (10 years, 2 months ago) by
sh002i
File length: 10795 byte(s)
Diff to
previous 774
,
to
selected 768
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
774 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 7 02:22:41 2003 UTC (10 years, 2 months ago) by
sh002i
File length: 10560 byte(s)
Diff to
previous 768
conf/global.conf.dist: fixed %dbLayout
doc/new-DB-architecture: removed a meta-note.
-sam
Revision
768 -
(
view)
(
download)
(
annotate)
-
[selected]
Modified
Thu Mar 6 19:12:38 2003 UTC (10 years, 2 months ago) by
sh002i
File length: 10298 byte(s)
Diff to
previous 740
1. added %dbLayout (for the new DB.pm database system)
2. moved some stuff around
-sam
Revision
740 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 21 21:16:48 2003 UTC (10 years, 3 months ago) by
sh002i
File length: 8583 byte(s)
Diff to
previous 737
,
to
selected 768
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
701 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 10 21:39:29 2003 UTC (10 years, 4 months ago) by
sh002i
File length: 7402 byte(s)
Diff to
previous 700
,
to
selected 768
An MOTD can be displayed on the problem sets page. Define
$courseFiles{motd} to point to a file containing the message.
-sam
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.