Tidy up default configuration file to enhance readability,

having consistent indentation and (re-)ordered lists.
This commit is contained in:
Ernesto Hernández-Novich 2008-07-12 00:27:06 +00:00
parent f6a5ad64db
commit ef75d39e9d

View file

@ -6,7 +6,10 @@
# The first site in the list will be used as the default # The first site in the list will be used as the default
# sitename for generating offline URLs and other functions. # sitename for generating offline URLs and other functions.
"sitename" : [ "www.example.com", "example.com"], "sitename" : [
"www.example.com",
"example.com"
],
# Set to 1 if you want to use WebGUI's SSL functions, including encrypting user logins. # Set to 1 if you want to use WebGUI's SSL functions, including encrypting user logins.
@ -123,22 +126,22 @@
# increase WebGUI's read performance. # increase WebGUI's read performance.
# "dbslave1" : { # "dbslave1" : {
# "dsn" : "DBI:mysql:www_example_com;host=dbslave1.example.com", # "dsn" : "DBI:mysql:www_example_com;host=dbslave1.example.com",
# "user" : "webgui", # "user" : "webgui",
# "pass" : "password" # "pass" : "password"
# }, # },
# "dbslave2" : { # "dbslave2" : {
# "dsn" : "DBI:mysql:www_example_com;host=dbslave2.example.com", # "dsn" : "DBI:mysql:www_example_com;host=dbslave2.example.com",
# "user" : "webgui", # "user" : "webgui",
# "pass" : "password" # "pass" : "password"
# }, # },
# "dbslave3" : { # "dbslave3" : {
# "dsn" : "DBI:mysql:www_example_com;host=dbslave3.example.com", # "dsn" : "DBI:mysql:www_example_com;host=dbslave3.example.com",
# "user" : "webgui", # "user" : "webgui",
# "pass" : "password" # "pass" : "password"
# }, # },
# You can configure a backup master database as a failover in case # You can configure a backup master database as a failover in case
# your primary database goes down. WebGUI will use this database until # your primary database goes down. WebGUI will use this database until
@ -148,10 +151,10 @@
# it from a slave to a master. # it from a slave to a master.
# "failoverdb" : { # "failoverdb" : {
# "dsn" : "DBI:mysql:www_example_com;host=failover.example.com;port=3306", # "dsn" : "DBI:mysql:www_example_com;host=failover.example.com;port=3306",
# "user" : "webgui", # "user" : "webgui",
# "password" : "password" # "password" : "password"
# }, # },
# Set this value if you wish to override all outbound emails to a specific # Set this value if you wish to override all outbound emails to a specific
# user for testing purposes. # user for testing purposes.
@ -171,16 +174,23 @@
# List the merchant gateways you have installed and wish to be # List the merchant gateways you have installed and wish to be
# available on this site. # available on this site.
"paymentDrivers" : ["WebGUI::Shop::PayDriver::Cash", "WebGUI::Shop::PayDriver::ITransact"], "paymentDrivers" : [
"WebGUI::Shop::PayDriver::Cash",
"WebGUI::Shop::PayDriver::ITransact"
],
# List the shipping drivers you have installed and wish to be # List the shipping drivers you have installed and wish to be
# available for configuration on the site. # available for configuration on the site.
"shippingDrivers" : ["WebGUI::Shop::ShipDriver::FlatRate"], "shippingDrivers" : [
"WebGUI::Shop::ShipDriver::FlatRate"
],
# Specify the list of template parsers available in the system. # Specify the list of template parsers available in the system.
"templateParsers" : ["WebGUI::Asset::Template::HTMLTemplate"], "templateParsers" : [
"WebGUI::Asset::Template::HTMLTemplate"
],
# Specify the default template parser. # Specify the default template parser.
@ -192,11 +202,11 @@
# return either text or html content. # return either text or html content.
"searchIndexerPlugins" : { "searchIndexerPlugins" : {
"txt" : "/bin/cat", "txt" : "/bin/cat",
"readme" : "/bin/cat", "readme" : "/bin/cat",
"html" : "/bin/cat", "html" : "/bin/cat",
"htm" : "/bin/cat" "htm" : "/bin/cat"
}, },
# Enter the maximum number of assets that should be allowed to # Enter the maximum number of assets that should be allowed to
# be created on this site. Keep in mind that a base install of # be created on this site. Keep in mind that a base install of
@ -209,45 +219,50 @@
# Add Content menus. # Add Content menus.
"assets" : [ "assets" : [
"WebGUI::Asset::Sku::Product", "WebGUI::Asset::FilePile",
"WebGUI::Asset::Sku::Subscription", "WebGUI::Asset::File::ZipArchive",
"WebGUI::Asset::Redirect",
"WebGUI::Asset::Sku::Donation", "WebGUI::Asset::Sku::Donation",
"WebGUI::Asset::Sku::FlatDiscount", "WebGUI::Asset::Sku::FlatDiscount",
"WebGUI::Asset::Snippet", "WebGUI::Asset::Sku::Product",
"WebGUI::Asset::Redirect", "WebGUI::Asset::Sku::Subscription",
"WebGUI::Asset::FilePile", "WebGUI::Asset::Snippet",
"WebGUI::Asset::Wobject::Article", "WebGUI::Asset::Wobject::Article",
"WebGUI::Asset::Wobject::Collaboration", "WebGUI::Asset::Wobject::Calendar",
"WebGUI::Asset::Wobject::DataForm", "WebGUI::Asset::Wobject::Collaboration",
"WebGUI::Asset::Wobject::Calendar", "WebGUI::Asset::Wobject::DataForm",
"WebGUI::Asset::Wobject::EventManagementSystem", "WebGUI::Asset::Wobject::EventManagementSystem",
"WebGUI::Asset::Wobject::Gallery", "WebGUI::Asset::Wobject::Gallery",
"WebGUI::Asset::Wobject::HttpProxy", "WebGUI::Asset::Wobject::HttpProxy",
"WebGUI::Asset::Wobject::Navigation", "WebGUI::Asset::Wobject::InOutBoard",
"WebGUI::Asset::Wobject::Matrix", "WebGUI::Asset::Wobject::Matrix",
"WebGUI::Asset::Wobject::Poll", "WebGUI::Asset::Wobject::MultiSearch",
"WebGUI::Asset::Wobject::ProjectManager", "WebGUI::Asset::Wobject::Navigation",
"WebGUI::Asset::Wobject::SQLReport", "WebGUI::Asset::Wobject::Poll",
"WebGUI::Asset::Wobject::Search", "WebGUI::Asset::Wobject::ProjectManager",
"WebGUI::Asset::Wobject::Survey", "WebGUI::Asset::Wobject::Search",
"WebGUI::Asset::Wobject::TimeTracking", "WebGUI::Asset::Wobject::Shelf",
"WebGUI::Asset::Wobject::WeatherData", "WebGUI::Asset::Wobject::SQLReport",
"WebGUI::Asset::Wobject::MultiSearch", "WebGUI::Asset::Wobject::StockData",
"WebGUI::Asset::Wobject::StockData", "WebGUI::Asset::Wobject::Survey",
"WebGUI::Asset::Wobject::SyndicatedContent", "WebGUI::Asset::Wobject::SyndicatedContent",
"WebGUI::Asset::Wobject::InOutBoard", "WebGUI::Asset::Wobject::Thingy",
"WebGUI::Asset::File::ZipArchive", "WebGUI::Asset::Wobject::TimeTracking",
"WebGUI::Asset::Wobject::WSClient",
"WebGUI::Asset::Wobject::Shelf",
"WebGUI::Asset::Wobject::Thingy",
"WebGUI::Asset::Wobject::UserList" "WebGUI::Asset::Wobject::UserList"
"WebGUI::Asset::Wobject::WeatherData",
"WebGUI::Asset::Wobject::WSClient",
], ],
# Specify the list assets that are used for utility purposes only # Specify the list assets that are used for utility purposes only
# and are not typically used as a normal part of content # and are not typically used as a normal part of content
# management. # management.
"utilityAssets" : ["WebGUI::Asset::Template", "WebGUI::Asset::RichEdit", "WebGUI::Asset::File::Image", "WebGUI::Asset::File"], "utilityAssets" : [
"WebGUI::Asset::File"
"WebGUI::Asset::File::Image",
"WebGUI::Asset::RichEdit",
"WebGUI::Asset::Template",
],
# Specify the list of assets you want to appear in your add # Specify the list of assets you want to appear in your add
# content menus that should act as containers for other content. # content menus that should act as containers for other content.
@ -255,10 +270,12 @@
# layout mechanisms. # layout mechanisms.
"assetContainers" : [ "assetContainers" : [
"WebGUI::Asset::Wobject::Layout", "WebGUI::Asset::Wobject::Folder", "WebGUI::Asset::Sku::Product",
"WebGUI::Asset::Wobject::Dashboard", "WebGUI::Asset::Wobject::MessageBoard", "WebGUI::Asset::Wobject::Dashboard",
"WebGUI::Asset::Sku::Product", "WebGUI::Asset::Wobject::Folder",
"WebGUI::Asset::Wobject::WikiMaster" "WebGUI::Asset::Wobject::Layout",
"WebGUI::Asset::Wobject::MessageBoard",
"WebGUI::Asset::Wobject::WikiMaster"
], ],
# Optionally specify a group id for assets to tell WebGUI what # Optionally specify a group id for assets to tell WebGUI what
@ -266,9 +283,9 @@
# asset. # asset.
# "assetAddPrivilege" : { # "assetAddPrivilege" : {
# "WebGUI::Asset::Wobject::SQLReport" : 3, # "WebGUI::Asset::Template" : 4
# "WebGUI:::Asset::Template" : 4 # "WebGUI::Asset::Wobject::SQLReport" : 3,
# }, # },
# Optionally add a "Save and Commit" button to assets so that you # Optionally add a "Save and Commit" button to assets so that you
# don't have to hit "Commit My Changes" seperately. # don't have to hit "Commit My Changes" seperately.
@ -280,28 +297,28 @@
# to add assets of that type. # to add assets of that type.
# "assetUiLevel" : { # "assetUiLevel" : {
# "WebGUI::Asset::Wobject::WSClient" : 7, # "WebGUI::Asset::RichEdit" : 4
# "WebGUI::Asset::RichEdit" : 4 # "WebGUI::Asset::Wobject::WSClient" : 7,
# }, # },
# Configure the UI Levels of the asset toolbar links. # Configure the UI Levels of the asset toolbar links.
"assetToolbarUiLevel" : { "assetToolbarUiLevel" : {
"edit" : 1, "copy" : 1,
"delete" : 1, "cut" : 1,
"cut" : 1, "delete" : 1,
"copy" : 1, "edit" : 1,
"shortcut" : 5, "view" : 1,
"editBranch" : 9, "demote" : 3,
"lock" : 5, "promote" : 3,
"export" : 9, "lock" : 5,
"changeUrl" : 9, "manage" : 5,
"promote" : 3, "revisions" : 5,
"demote" : 3, "shortcut" : 5,
"manage" : 5, "changeUrl" : 9,
"revisions" : 5, "editBranch" : 9,
"view" : 1 "export" : 9
}, },
# You can override the UI Levels of any field in the edit form of # You can override the UI Levels of any field in the edit form of
# any asset using the following variables. Basically just take the # any asset using the following variables. Basically just take the
@ -332,57 +349,57 @@
# Specify the list of macros you wish to be processed on each page. # Specify the list of macros you wish to be processed on each page.
"macros" : { "macros" : {
"#" : "Hash_userId", "@" : "At_username",
"/" : "Slash_gatewayUrl", "#" : "Hash_userId",
"@" : "At_username", "/" : "Slash_gatewayUrl",
"a" : "a_account", "a" : "a_account",
"AOIHits" : "AOIHits", "AdminBar" : "AdminBar",
"AOIRank" : "AOIRank", "AdminText" : "AdminText",
"AdminBar" : "AdminBar", "AdminToggle" : "AdminToggle",
"AdminText" : "AdminText", "AdSpace" : "AdSpace",
"AdminToggle" : "AdminToggle", "AOIHits" : "AOIHits",
"AdSpace" : "AdSpace", "AOIRank" : "AOIRank",
"AssetProxy" : "AssetProxy", "AssetProxy" : "AssetProxy",
"c" : "c_companyName", "CanEditText" : "CanEditText",
"CanEditText" : "CanEditText", "CartItemCount" : "CartItemCount",
"CartItemCount" : "CartItemCount", "c" : "c_companyName",
"D" : "D_date", "D" : "D_date",
"e" : "e_companyEmail", "EditableToggle" : "EditableToggle",
"EditableToggle" : "EditableToggle", "e" : "e_companyEmail",
"Extras" : "Extras", "Extras" : "Extras",
"FetchMimeType" : "FetchMimeType", "FetchMimeType" : "FetchMimeType",
"FileUrl" : "FileUrl", "FileUrl" : "FileUrl",
"GroupAdd" : "GroupAdd", "GroupAdd" : "GroupAdd",
"GroupDelete" : "GroupDelete", "GroupDelete" : "GroupDelete",
"GroupText" : "GroupText", "GroupText" : "GroupText",
"H" : "H_homeLink", "H" : "H_homeLink",
"International" : "International", "International" : "International",
"L" : "L_loginBox", "LastModified" : "LastModified",
"LastModified" : "LastModified", "L" : "L_loginBox",
"LoginToggle" : "LoginToggle", "LoginToggle" : "LoginToggle",
"MiniCart" : "MiniCart", "MiniCart" : "MiniCart",
"Page" : "Page", "Page" : "Page",
"PageTitle" : "PageTitle", "PageTitle" : "PageTitle",
"PageUrl" : "PageUrl", "PageUrl" : "PageUrl",
"r" : "r_printable", "RandomAssetProxy" : "RandomAssetProxy",
"RandomAssetProxy" : "RandomAssetProxy", "RandomThread" : "RandomThread",
"RandomThread" : "RandomThread", "RootTitle" : "RootTitle",
"RootTitle" : "RootTitle", "r" : "r_printable",
"Spacer" : "Spacer", "Spacer" : "Spacer",
"Thumbnail" : "Thumbnail", "Thumbnail" : "Thumbnail",
"u" : "u_companyUrl", "User" : "User",
"User" : "User", "u" : "u_companyUrl",
"ViewCart" : "ViewCart" "ViewCart" : "ViewCart"
},
#Specify any LDAP aliases for synchronizing user profiles to LDAP
"ldapAlias" : {
"firstName" : "givenName",
"lastName" : "sn",
"email" : "mail",
"companyName" : "o"
}, },
#Specify any LDAP aliases for synchronizing user profiles to LDAP
"ldapAlias" : {
"firstName" : "givenName",
"lastName" : "sn",
"email" : "mail",
"companyName" : "o"
},
# Define the subnets that WebGUI should expect Spectre communication # Define the subnets that WebGUI should expect Spectre communication
# to come from. All other subnets will be ignored. The subnet # to come from. All other subnets will be ignored. The subnet
# should be listed in CIDR notation. # should be listed in CIDR notation.
@ -403,38 +420,56 @@
# process and what object types they support. # process and what object types they support.
"workflowActivities" : { "workflowActivities" : {
"None" : ["WebGUI::Workflow::Activity::DecayKarma", "WebGUI::Workflow::Activity::TrashClipboard", "WebGUI::Workflow::Activity::CleanTempStorage", "None" : [
"WebGUI::Workflow::Activity::CleanFileCache", "WebGUI::Workflow::Activity::CleanLoginHistory", "WebGUI::Workflow::Activity::ArchiveOldThreads", "WebGUI::Workflow::Activity::ArchiveOldThreads",
"WebGUI::Workflow::Activity::TrashExpiredEvents", "WebGUI::Workflow::Activity::CreateCronJob", "WebGUI::Workflow::Activity::DeleteExpiredSessions", "WebGUI::Workflow::Activity::CalendarUpdateFeeds",
"WebGUI::Workflow::Activity::ExpireGroupings", "WebGUI::Workflow::Activity::PurgeOldAssetRevisions", "WebGUI::Workflow::Activity::CleanDatabaseCache",
"WebGUI::Workflow::Activity::ExpireSubscriptionCodes", "WebGUI::Workflow::Activity::PurgeOldTrash", "WebGUI::Workflow::Activity::ExpireEmsCartItems", "WebGUI::Workflow::Activity::CleanFileCache",
"WebGUI::Workflow::Activity::GetSyndicatedContent", "WebGUI::Workflow::Activity::ProcessRecurringPayments", "WebGUI::Workflow::Activity::CleanLoginHistory",
"WebGUI::Workflow::Activity::SyncProfilesToLdap", "WebGUI::Workflow::Activity::SummarizePassiveProfileLog", "WebGUI::Workflow::Activity::CleanTempStorage",
"WebGUI::Workflow::Activity::SendQueuedMailMessages","WebGUI::Workflow::Activity::CleanDatabaseCache", "WebGUI::Workflow::Activity::CreateCronJob",
"WebGUI::Workflow::Activity::CalendarUpdateFeeds","WebGUI::Workflow::Activity::NotifyAdminsWithOpenVersionTags"], "WebGUI::Workflow::Activity::DecayKarma",
"WebGUI::User" : ["WebGUI::Workflow::Activity::CreateCronJob", "WebGUI::Workflow::Activity::NotifyAboutUser"], "WebGUI::Workflow::Activity::DeleteExpiredSessions",
"WebGUI::VersionTag" : [ "WebGUI::Workflow::Activity::ExpireEmsCartItems",
"WebGUI::Workflow::Activity::CommitVersionTag", "WebGUI::Workflow::Activity::ExpireGroupings",
"WebGUI::Workflow::Activity::RollbackVersionTag", "WebGUI::Workflow::Activity::ExpireSubscriptionCodes",
"WebGUI::Workflow::Activity::TrashVersionTag", "WebGUI::Workflow::Activity::GetSyndicatedContent",
"WebGUI::Workflow::Activity::CreateCronJob", "WebGUI::Workflow::Activity::NotifyAdminsWithOpenVersionTags"
"WebGUI::Workflow::Activity::UnlockVersionTag", "WebGUI::Workflow::Activity::ProcessRecurringPayments",
"WebGUI::Workflow::Activity::NotifyAboutVersionTag", "WebGUI::Workflow::Activity::PurgeOldAssetRevisions",
"WebGUI::Workflow::Activity::RequestApprovalForVersionTag", "WebGUI::Workflow::Activity::PurgeOldTrash",
"WebGUI::Workflow::Activity::RequestApprovalForVersionTag::ByCommitterGroup", "WebGUI::Workflow::Activity::SendQueuedMailMessages",
"WebGUI::Workflow::Activity::RequestApprovalForVersionTag::ByLineage", "WebGUI::Workflow::Activity::SummarizePassiveProfileLog",
"WebGUI::Workflow::Activity::ExportVersionTagToHtml", "WebGUI::Workflow::Activity::SyncProfilesToLdap",
"WebGUI::Workflow::Activity::WaitUntil" "WebGUI::Workflow::Activity::TrashClipboard",
] "WebGUI::Workflow::Activity::TrashExpiredEvents",
}, ],
"WebGUI::User" : [
"WebGUI::Workflow::Activity::CreateCronJob",
"WebGUI::Workflow::Activity::NotifyAboutUser"
],
"WebGUI::VersionTag" : [
"WebGUI::Workflow::Activity::CommitVersionTag",
"WebGUI::Workflow::Activity::CreateCronJob",
"WebGUI::Workflow::Activity::ExportVersionTagToHtml",
"WebGUI::Workflow::Activity::NotifyAboutVersionTag",
"WebGUI::Workflow::Activity::RequestApprovalForVersionTag",
"WebGUI::Workflow::Activity::RequestApprovalForVersionTag::ByCommitterGroup",
"WebGUI::Workflow::Activity::RequestApprovalForVersionTag::ByLineage",
"WebGUI::Workflow::Activity::RollbackVersionTag",
"WebGUI::Workflow::Activity::TrashVersionTag",
"WebGUI::Workflow::Activity::UnlockVersionTag",
"WebGUI::Workflow::Activity::WaitUntil"
]
},
# Enter the graphing plugins that you want to enable for your site. # Enter the graphing plugins that you want to enable for your site.
"graphingPlugins" : [ "graphingPlugins" : [
"WebGUI::Image::Graph::Pie", "WebGUI::Image::Graph::Pie",
"WebGUI::Image::Graph::XYGraph::Bar", "WebGUI::Image::Graph::XYGraph::Bar",
"WebGUI::Image::Graph::XYGraph::Line" "WebGUI::Image::Graph::XYGraph::Line"
], ],
# Here you can define the dictionaries that are available through the tinyMCE spellchecker. You should set # Here you can define the dictionaries that are available through the tinyMCE spellchecker. You should set
# id to the name the dictionary is known by ASpell (eg. en or en_US or nl), use the name parameter to set # id to the name the dictionary is known by ASpell (eg. en or en_US or nl), use the name parameter to set
@ -442,15 +477,15 @@
# parameter. # parameter.
#"availableDictionaries" : [ #"availableDictionaries" : [
# { # {
# "id" : "en_US", # "id" : "en_US",
# "name" : "English", # "name" : "English",
# "default" : "1" # "default" : "1"
# }, # },
# { # {
# "id" : "nl", # "id" : "nl",
# "name" : "Dutch" # "name" : "Dutch"
# } # }
#], #],
# Optional script to run upon successful login. The script can contain macros # Optional script to run upon successful login. The script can contain macros
@ -482,14 +517,14 @@
# Content handlers are used to produce content from the content URL handler. # Content handlers are used to produce content from the content URL handler.
"contentHandlers" : [ "contentHandlers" : [
"WebGUI::Content::Prefetch", "WebGUI::Content::Asset",
"WebGUI::Content::Maintenance",
"WebGUI::Content::AssetManager", "WebGUI::Content::AssetManager",
"WebGUI::Content::Maintenance",
"WebGUI::Content::NotFound"
"WebGUI::Content::Operation", "WebGUI::Content::Operation",
"WebGUI::Content::Prefetch",
"WebGUI::Content::Setup", "WebGUI::Content::Setup",
"WebGUI::Content::Shop", "WebGUI::Content::Shop",
"WebGUI::Content::Asset",
"WebGUI::Content::NotFound"
] ]
} }