Changeset 840


Ignore:
Timestamp:
Aug 24, 2006, 4:01:04 PM (15 years ago)
Author:
nick
Message:

New configuration options to support moderation, and tickets 134+135

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r837 r840  
    55        Nodes missing metadata interface
    66        Moderation support (based on Wiki::Toolkit moderation)
     7        Four new config file options: moderation_requires_password,
     8          enabled_node_image, enable_common_categories, enable_common_locales
    79        Search::InvertedIndex support is deprecated as of this release.
    810          Please upgrade to Plucene if you are still using it.
  • trunk/lib/OpenGuides/Config.pm

    r836 r840  
    1414   centre_lat default_gmaps_zoom default_gmaps_search_zoom force_wgs84
    1515   licence_name licence_url licence_info_url moderation_requires_password
     16   enabled_node_image enable_common_categories enable_common_locales
    1617);
    1718my @questions = map { $_ . "__qu" } @variables;
     
    6768                     indexing_directory => "/usr/lib/cgi-bin/openguides/indexes/",
    6869                     enable_page_deletion => 0,
     70                     moderation_requires_password => 1,
    6971                     admin_pass => "Change This!",
     72                     enabled_node_image => 1,
     73                     enable_common_categories => 1,
     74                     enable_common_locales => 1,
    7075                     site_name => "Unconfigured OpenGuides site",
    7176                     navbar_on_home_page => 1,
     
    131136        indexing_directory => "What directory can I use to store indexes in for searching? ***NOTE*** This directory must exist and be writeable by the user that your script will run as.  See README for more on this.",
    132137        enable_page_deletion => "Do you want to enable page deletion?",
     138        moderation_requires_password => "Is the admin password required for moderating pages?",
    133139        admin_pass => "Please specify a password for the site admin.",
    134140        stylesheet_url => "What's the URL of the site's stylesheet?",
     141        enabled_node_image => "Should nodes be allowed to have an externally hosted image?",
     142        enable_common_categories => "Do you want a common list of categories shown on all node pages?",
     143        enable_common_locales => "Do you want a common list of locales shown on all node pages?",
    135144        site_name => "What's the site called? (should be unique)",
    136145        navbar_on_home_page => "Do you want the navigation bar included on the home page?",
Note: See TracChangeset for help on using the changeset viewer.