Parent Directory
|
Revision Log
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
1 #!perl 2 ################################################################################ 3 # WeBWorK mod_perl (c) 1995-2002 WeBWorK Team, Univeristy of Rochester 4 # $Id: global.conf.dist,v 1.13 2003-02-21 21:16:47 sh002i Exp $ 5 ################################################################################ 6 7 # This file is used to set up the default WeBWorK course environment for all 8 # requests. Values may be overwritten by the course.conf for a specific course. 9 # All package variables set in this file are added to the course environment. 10 # If you wish to set a variable here but omit it from the course environment, 11 # use the "my" keyword. The following variables are available to this file: 12 # 13 # $webworkRoot directory that contains the WeBWorK distribution 14 # $webworkURL base URL handled by Apache::WeBWorK 15 # $courseName name of the course being used 16 17 ################################################################################ 18 # WeBWorK settings 19 ################################################################################ 20 21 %webworkDirs = ( 22 root => "$webworkRoot", 23 bin => "$webworkRoot/bin", 24 conf => "$webworkRoot/conf", 25 courses => "$webworkRoot/courses", 26 lib => "$webworkRoot/lib", 27 logs => "$webworkRoot/logs", 28 macros => "$webworkRoot/macros", 29 tmp => "$webworkRoot/tmp", 30 ); 31 32 %webworkFiles = ( 33 environment => "$webworkDirs{conf}/global.conf", 34 hardcopySnippets => { 35 preamble => "$webworkDirs{conf}/hardcopyPreamble.tex", 36 setHeader => "$webworkDirs{conf}/hardcopySetHeader.pg", 37 problemDivider => "$webworkDirs{conf}/hardcopyProblemDivider.tex", 38 setFooter => "$webworkDirs{conf}/hardcopySetFooter.pg", 39 setDivider => "$webworkDirs{conf}/hardcopySetDivider.tex", 40 postamble => "$webworkDirs{conf}/hardcopyPostamble.tex", 41 }, 42 screenSnippets => { 43 setHeader => "$webworkDirs{conf}/screenSetHeader.pg", 44 }, 45 logs => { 46 timing => "$webworkDirs{logs}/timing.log", 47 transaction => "$courseDirs{logs}/transaction.log", 48 }, 49 ); 50 51 %webworkURLs = ( 52 root => "$webworkURLRoot", 53 home => "http://host.yourdomaon.edu/webwork-info", 54 htdocs => "/webwork_files", 55 docs => "http://webhost.math.rochester.edu/webworkdocs/docs", 56 oldProf => "/webwork-old/profLogin.pl", 57 ); 58 59 ################################################################################ 60 # Default course-specific settings 61 ################################################################################ 62 63 my $courseRoot = "$webworkDirs{courses}/$courseName"; 64 %courseDirs = ( 65 root => "$courseRoot", 66 DATA => "$courseRoot/DATA", 67 auth_DATA => "$courseRoot/DATA/.auth", 68 html => "$courseRoot/html", 69 html_images => "$courseRoot/html/images", 70 html_temp => "$courseRoot/html/tmp", 71 logs => "$courseRoot/logs", 72 scoring => "$courseRoot/scoring", 73 templates => "$courseRoot/templates", 74 macros => "$courseRoot/templates/macros", 75 ); 76 77 %courseFiles = ( 78 environment => "$courseDirs{root}/course.conf", 79 motd => "$courseDirs{root}/motd.txt", 80 ); 81 82 # quick hack to fix transaction logging. blah. 83 $webworkFiles{logs}->{transaction} = "$courseDirs{logs}/transaction.log"; 84 85 my $courseURLRoot = "$webworkURLs{htdocs}/courses/$courseName"; 86 %courseURLs = ( 87 root => "$courseURLRoot", 88 html => "$courseURLRoot", 89 html_temp => "$courseURLRoot/tmp", 90 ); 91 92 ################################################################################ 93 # Other site-specific options 94 ################################################################################ 95 96 %mail = ( 97 smtpServer => "mail.math.rochester.edu", 98 smtpSender => "webwork\@math.rochester.edu", 99 # allowedRecipients defines addresses that the PG system is allowed to 100 # send mail to. this prevents subtle PG exploits. This should be set 101 # in course.conf to the addresses of professors of each course. Sending 102 # mail from the PG system (i.e. questionaires, essay questions) will 103 # fail if this is not set somewhere (either here or in course.conf). 104 #allowedRecipients => [ 105 # "yourname\@host.yourdomain.edu", 106 #], 107 # if defined, feedbackRecipients overrides the list of recipients for 108 # feedback email. It's appropriate to set this in the course.conf for 109 # specific courses, but probably not in global.conf. if not defined, 110 # mail is sent to all professors and TAs for a given course 111 #feedbackRecipients => [ 112 # "prof1\@host.yourdomain.edu", 113 # "prof2\@host.yourdomain.edu", 114 #], 115 # feedbackVerbosity: 116 # 0: send only the feedback comment and context link 117 # 1: as in 0, plus user, set, problem, and PG data 118 # 2: as in 1, plus the problem environment (debugging data) 119 feedbackVerbosity => 1, 120 ); 121 122 %externalPrograms = ( 123 mkdir => "/bin/mkdir", 124 tth => "/usr/local/bin/tth", 125 pdflatex => "/usr/local/bin/pdflatex", 126 latex => "/usr/local/bin/latex", 127 dvipng => "/usr/local/bin/dvipng -mode ljfivemp -D600 -Q6 -x1000.5 -bgTransparent", 128 gif2eps => "$webworkDirs{bin}/gif2eps", 129 png2eps => "$webworkDirs{bin}/png2eps", 130 gif2png => "$webworkDirs{bin}/gif2png", 131 ); 132 133 ################################################################################ 134 # Frontend options 135 ################################################################################ 136 137 %templates = ( 138 system => "$webworkDirs{conf}/barebones.template", 139 ); 140 141 # $sessionKeyTimeout defines seconds of inactivity before a key expires 142 $sessionKeyTimeout = 60*30; 143 144 # Practice users are users who's names start with $practiceUser 145 # (you can comment this out to remove practice user support) 146 $practiceUserPrefix = "practice"; 147 148 # There is a practice user who can be logged in multiple times. He's 149 # commented out by default, though, so you don't hurt yourself. It is 150 # kindof a backdoor to the practice user system, since he doesn't have a 151 # password. Come to think of it, why do we even have this?! 152 #$debugPracticeUser = "practice666"; 153 154 ################################################################################ 155 # Database and session 156 ################################################################################ 157 158 %dbInfo = ( 159 auth_type => "GDBM", 160 auth_passwd_file => "$courseDirs{auth_DATA}/$courseName\_password_DB", 161 auth_perm_file => "$courseDirs{auth_DATA}/$courseName\_permissions_DB", 162 auth_keys_file => "$courseDirs{auth_DATA}/keys", 163 wwdb_type => "GDBM", 164 wwdb_file => "$courseDirs{DATA}/$courseName\_webwork_DB", 165 cldb_type => "GDBM", 166 cldb_file => "$courseDirs{DATA}/$courseName\_classlist_DB", 167 psvn_digits => 5, 168 ); 169 170 # This lets you specify a minimum permission level needed to perform 171 # certain actions. In the current system, >=10 will allow a professor 172 # to perform the action, >=5 will allow a TA to, and >=0 will allow a 173 # student to perform an action (almost never what you want). 174 %permissionLevels = ( 175 "become_student" => 10, 176 ); 177 178 ################################################################################ 179 # PG translation options 180 ################################################################################ 181 182 %pg = ( 183 options => { 184 # default translation options 185 displayMode => "images", 186 showOldAnswers => 1, 187 showCorrectAnswers => 0, 188 showHints => 0, 189 showSolutions => 0, 190 catchWarnings => 1, 191 # default grader 192 grader => "avg_problem_grader", 193 }, 194 # modules lists module names and the packages each contains 195 modules => [ 196 [qw(DynaLoader)], 197 [qw(Exporter)], 198 [qw(GD)], 199 200 [qw(AlgParser AlgParserWithImplicitExpand Expr ExprWithImplicitExpand)], 201 [qw(AnswerHash AnswerEvaluator)], 202 [qw(WWPlot)], # required by Circle (and others) 203 [qw(Circle)], 204 [qw(Complex)], 205 [qw(Complex1)], 206 [qw(Distributions)], 207 [qw(Fraction)], 208 [qw(Fun)], 209 [qw(Hermite)], 210 [qw(Label)], 211 [qw(List)], 212 [qw(Match)], 213 [qw(MatrixReal1)], # required by Matrix 214 [qw(Matrix)], 215 [qw(Multiple)], 216 [qw(PGrandom)], 217 [qw(Regression)], 218 [qw(Select)], 219 [qw(Units)], 220 [qw(VectorField)], 221 ], 222 # defaults used by answer evaluators 223 ansEvalDefaults => { 224 functAbsTolDefault => .001, 225 functLLimitDefault => .0000001, 226 functMaxConstantOfIntegration => 1E8, 227 functNumOfPoints => 3, 228 functRelPercentTolDefault => .1, 229 functULimitDefault => .9999999, 230 functVarDefault => "x", 231 functZeroLevelDefault => 1E-14, 232 functZeroLevelTolDefault => 1E-12, 233 numAbsTolDefault => .001, 234 numFormatDefault => "", 235 numRelPercentTolDefault => .1, 236 numZeroLevelDefault => 1E-14, 237 numZeroLevelTolDefault => 1E-12, 238 }, 239 );
| aubreyja at gmail dot com | ViewVC Help |
| Powered by ViewVC 1.0.9 |