Changes in global.conf.dist from Release 2.4.1 to 2.4.5

From WeBWorK_wiki
Revision as of 18:28, 4 June 2013 by Gage (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article has been retained as a historical document. It is not up-to-date and the formatting may be lacking. Use the information herein with caution.


  • Added warning comment
# URL of WeBWorK handler. If WeBWorK is to be on the web server root, use "". Note 
# that using "" may not work so we suggest sticking with "/webwork2".


  • Added comment
$webwork_courses_dir = "/opt/webwork/courses"; #(a typical place to put the course directory


  • Added SMTP timeout constant
 # Seconds to wait before timing out when connecting to the SMTP server.
 $mail{smtpTimeout}           = 30;
  • Limits distribution of feedback (so that for example, it might only go to the TA of that section, not to all TA's
 # If this value is true, feedback will only be sent to users with the same
 # section as the user initiating the feedback.
 $feedback_by_section = 0;
 
  • Changed url for the main webwork site
 $webworkURLs{docs}          = "http://webwork.maa.org";
  • removed style sheet url -- wasn't working properly anyway
 # $webworkURLs{stylesheet}    = "$webworkURLs{htdocs}/css/${defaultTheme}.css";
 # this is never used -- changing the theme from the config panel
 # doesn't appear to reset the theme in time?
 # It's better to refer directly to the .css file in the system.template
 # <link rel="stylesheet" type="text/css" href="/css/math.css"/>
  • cosmetic adjustment
 ################################################################################
 # Hardcopy snippets are used in constructing a TeX file for hardcopy output.
 # They should contain TeX code unless otherwise noted.
 ################################################################################
  • change blankProblem.pg to blankProblem2.pg to get current best practice template for questions.
$webworkFiles{screenSnippets}{blankProblem}    = "$webworkDirs{conf}/snippets/blankProblem2.pg"; 
  • added button that enables you to find to all of the subdirectories of the NPL, Rochester, Union, etc. This allows you to manually find a problem in the NPL if you know its path
 # subdirectories or links to other directories. The "NPL Directory" button
 # activated below gives access to all the directories in the National 
 # Problem Library.
       Library          => "NPL Directory",


  • fixed change in coding -- may not change the name of th file at all
 $webworkFiles{logs}{transaction}    = "$webworkDirs{logs}/${courseName}_transaction.log";
  • adjust this permission level for gateway tests to student from ta
       view_proctored_tests           => "student",
  • new permission level for gateway tests
       create_new_set_version_when_acting_as_student   => undef,
  • new: part of the interaction to determine who can see the "path to file" printed when viewing a question. You can set this to 15 if you only want specifically named users to see this "path to file" string.
       print_path_to_problem                           => "professor", # see "Special" PG environment variables
  • new: gateway quiz permission level
       record_set_version_answers_when_acting_as_student => undef,
  • second part of the permission level that determines who will see file paths printed when viewing a question.
 $pg{specialPGEnvironmentVars}{PRINT_FILE_NAMES_FOR} = [ "professor", ];  
    # ie file paths are printed for 'professor'
 $pg{specialPGEnvironmentVars}{PRINT_FILE_NAMES_PERMISSION_LEVEL} = $userRoles{ $permissionLevels{print_path_to_problem} }; 
    # (file paths are also printed for anyone with this permission or higher)
  • new optional modules -- Applet and FlashApplet should be standard now. Chromatic.pm is used by some Northern Arizona U. problems but is not currently distributed with rel-2-4-5
 #     [qw(SaveFile)],
 #       [qw(Chromatic)],
       [qw(Applet FlashApplet)],