Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2012
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.44 KB | None | 0 0
  1. # WebGUI Site Configuration
  2. # This configuration was written by Ernesto Hernández-Novich <emhn@usb.ve>
  3. # in order to make WebGUI comply with Debian Policy.
  4. #
  5. # You'll need to change this if you want WebGUI to coexist with other
  6. # web applications in your system.
  7. #
  8. # config-file-type: JSON 1
  9.  
  10. {
  11.  
  12. # Add a comma separated list of the names this site can use.
  13. # The first site in the list will be used as the default
  14. # sitename for generating offline URLs and other functions.
  15.  
  16. "sitename" : [
  17. "10.10.10.107,mythenmetz,localhost"
  18. ],
  19.  
  20. # Set to 1 if you want to use WebGUI's SSL functions, including encrypting user logins.
  21.  
  22. "sslEnabled" : 0,
  23.  
  24. # Rename the WebGUI Session cookie if you like.
  25.  
  26. "cookieName" : "wgSession",
  27.  
  28. # Explicitly set the domain that the WebGUI session cookie
  29. # should be assigned to. Defaults to the domain that the user
  30. # is browsing the site under.
  31.  
  32. # "cookieDomain" : ".example.com",
  33.  
  34. # Explicitly set the time to live for the WebGUI session cookie
  35. # Defaults to +10Y. cookieTTL must follow the described format:
  36. # Format should match /^\+?(\d+)([YMDhms]?)$/
  37. # $2 qualifies the number in $1 as representing "Y"ears,
  38. # "M"onths, "D"ays, "h"ours, "m"inutes, or "s"econds (if the qualifier is omitted,
  39. # the number is interpreted as representing seconds).
  40. # +1h = 1 hour
  41. # +2D = 2 Days
  42. # +3M = 3 Months
  43. # +10Y = 10 Years (default)
  44.  
  45. # This may also be set to the word "session" to have cookies live
  46. # for the current browser session only.
  47.  
  48. # "cookieTTL" : "+10Y",
  49.  
  50. # The location where the WebGUI server will be handling
  51. # requests. This is normally just '/' or the root of the
  52. # server, but on some installations it might be /webgui or
  53. # /site1, /site2, etc. If this is set to anything other than
  54. # '/' then a matching <Location /somepath> block should
  55. # contain the WebGUI handler instead in the Apache
  56. # VirtualHost configuration.
  57.  
  58. "gateway" : "/webgui",
  59.  
  60. # Enable this flag if you run or back up files on a case sensitive
  61. # file system. This will ensure uniqueness in the uploads folder
  62.  
  63. #"caseInsensitiveOS" : "1",
  64.  
  65. # The relative or fully qualified URL to the extras folder
  66. # that comes with WebGUI.
  67.  
  68. "extrasURL" : "/extras",
  69.  
  70. # The filesystem path to get to the extras folder that ships
  71. # with WebGUI.
  72.  
  73. "extrasPath" : "/usr/share/webgui/extras",
  74.  
  75. # The relative for fully qualified URL to the uploads folder
  76. # for this site where all attachments will be stored.
  77.  
  78. "uploadsURL" : "/uploads",
  79.  
  80. # The filesystem path to get to the uploads folder where all
  81. # attachments for this site will be stored. This needs to be
  82. # writable by your web server.
  83.  
  84. "uploadsPath" : "/var/lib/webgui/uploads",
  85.  
  86. # Set this value to 1 if you want rich editors to use the
  87. # WebGUI asset URLs for images rather than their real URLs
  88. # in the uploads folder. The advantage of this is that users
  89. # see short clean WebGUI controlled URLs. However, this is
  90. # slower than the default.
  91.  
  92. "richEditorsUseAssetUrls" : 1,
  93.  
  94. # If you are not running your web server on the standard
  95. # port (80) then use this setting to specify that.
  96.  
  97. #"webServerPort" : 80,
  98.  
  99. # What kind of cache do you wish to use? Available types are
  100. # WebGUI::Cache::FileCache and WebGUI::Cache::Database.
  101. # We highly recommend the database cache if you are running
  102. # sites with more than a few hundred pages, or if you're
  103. # running in a multi-server environment. The file cache is better
  104. # for very small sites.
  105.  
  106. "cacheType" : "WebGUI::Cache::FileCache",
  107.  
  108. # Tell WebGUI where to store cached files. Defaults to the
  109. # /tmp or c:\temp folder depending upon your operating system.
  110.  
  111. "fileCacheRoot" : "/var/cache/webgui/",
  112.  
  113. # Set this to 1 to disable WebGUI's caching subsystems. This is
  114. # mainly useful for developers.
  115.  
  116. "disableCache" : 0,
  117.  
  118. # The database connection string. It usually takes the form of
  119. # DBI:<driver>:<db>;host:<hostname>
  120.  
  121. "dsn" : "DBI:mysql:database=WebGUI;host=localhost",
  122.  
  123. # The username to authenticate to the above database.
  124.  
  125. "dbuser" : "webgui",
  126.  
  127. # The password to authenticate to the above database.
  128.  
  129. "dbpass" : "123qwe",
  130.  
  131. # You can configure up to three read-only database slaves to
  132. # increase WebGUI's read performance.
  133.  
  134. # "dbslave1" : {
  135. # "dsn" : "DBI:mysql:www_example_com;host=dbslave1.example.com",
  136. # "user" : "webgui",
  137. # "pass" : "password"
  138. # },
  139.  
  140. # "dbslave2" : {
  141. # "dsn" : "DBI:mysql:www_example_com;host=dbslave2.example.com",
  142. # "user" : "webgui",
  143. # "pass" : "password"
  144. # },
  145.  
  146. # "dbslave3" : {
  147. # "dsn" : "DBI:mysql:www_example_com;host=dbslave3.example.com",
  148. # "user" : "webgui",
  149. # "pass" : "password"
  150. # },
  151.  
  152. # You can configure a backup master database as a failover in case
  153. # your primary database goes down. WebGUI will use this database until
  154. # the original becomes available. However, this does nothing to change
  155. # the settings of your database. If it was set up as a slave until the
  156. # master went down, then some script will have to be written to convert
  157. # it from a slave to a master.
  158.  
  159. # "failoverdb" : {
  160. # "dsn" : "DBI:mysql:www_example_com;host=failover.example.com;port=3306",
  161. # "user" : "webgui",
  162. # "password" : "password"
  163. # },
  164.  
  165. # Set this value if you wish to override all outbound emails to a specific
  166. # user for testing purposes.
  167.  
  168. # "emailOverride" : "joe@example.com",
  169.  
  170. # Set this value if you wish to bypass sending email to the mailserver
  171. # alltogether. This will instead pipe email messages to the log, removing
  172. # them from the queue normally
  173.  
  174. # "emailToLog" : "1",
  175.  
  176. # By adding CIDR based subnets to the following array you can limit the
  177. # subnets by which users can turn admin mode on.
  178.  
  179. "adminModeSubnets" : [ ],
  180.  
  181. # List the authentication plug-ins you wish to be available on
  182. # this site.
  183.  
  184. "authMethods" : [ "LDAP", "WebGUI" ],
  185.  
  186. # List the merchant gateways you have installed and wish to be
  187. # available on this site.
  188.  
  189. "paymentDrivers" : [
  190. "WebGUI::Shop::PayDriver::Cash",
  191. "WebGUI::Shop::PayDriver::ITransact",
  192. "WebGUI::Shop::PayDriver::PayPal::PayPalStd",
  193. "WebGUI::Shop::PayDriver::PayPal::ExpressCheckout",
  194. "WebGUI::Shop::PayDriver::Ogone"
  195. ],
  196.  
  197. # List the shipping drivers you have installed and wish to be
  198. # available for configuration on the site.
  199.  
  200. "shippingDrivers" : [
  201. "WebGUI::Shop::ShipDriver::FlatRate",
  202. "WebGUI::Shop::ShipDriver::USPS",
  203. "WebGUI::Shop::ShipDriver::USPSInternational",
  204. "WebGUI::Shop::ShipDriver::UPS"
  205. ],
  206.  
  207. # Specify the list of template parsers available in the system.
  208.  
  209. "templateParsers" : [
  210. "WebGUI::Asset::Template::HTMLTemplate"
  211. ],
  212.  
  213. # Enable the Survey Expression Engine, which allows goto expressions in
  214. # the config
  215.  
  216. "enableSurveyExpressionEngine" : 0,
  217.  
  218. # Specify the default template parser.
  219.  
  220. "defaultTemplateParser" : "WebGUI::Asset::Template::HTMLTemplate",
  221.  
  222. # Specify external helper apps that will enable WebGUI's search
  223. # engine to index content in various uploaded file formats. The
  224. # helpers must take the path to the file as an argument and
  225. # return either text or html content.
  226.  
  227. "searchIndexerPlugins" : {
  228. "txt" : "/bin/cat",
  229. "readme" : "/bin/cat",
  230. "html" : "/bin/cat",
  231. "htm" : "/bin/cat",
  232. "ps" : "/usr/bin/ps2ascii",
  233. "pdf" : "/usr/bin/ps2ascii"
  234. },
  235.  
  236.  
  237. # define what appears in the admin console and who can view it
  238.  
  239. "adminConsole" : {
  240. "loginHistory" : {
  241. "icon" : "loginHistory.gif",
  242. "uiLevel" : 5,
  243. "url" : "^PageUrl(\"\",op=viewLoginHistory);",
  244. "title" : "^International(426,WebGUI);",
  245. "groupSetting" : "groupIdAdminLoginHistory"
  246. },
  247. "clipboard" : {
  248. "icon" : "clipboard.gif",
  249. "group" : "12",
  250. "uiLevel" : 5,
  251. "url" : "^PageUrl(\"\",func=manageClipboard);",
  252. "title" : "^International(948,WebGUI);"
  253. },
  254. "statistics" : {
  255. "icon" : "statistics.gif",
  256. "uiLevel" : 1,
  257. "url" : "^PageUrl(\"\",op=viewStatistics);",
  258. "title" : "^International(437,WebGUI);",
  259. "groupSetting" : "groupIdAdminStatistics"
  260. },
  261. "users" : {
  262. "icon" : "users.gif",
  263. "uiLevel" : 5,
  264. "url" : "^PageUrl(\"\",op=listUsers);",
  265. "title" : "^International(149,WebGUI);",
  266. "groupSetting" : "groupIdAdminUser"
  267. },
  268. "activeSessions" : {
  269. "icon" : "activeSessions.gif",
  270. "uiLevel" : 5,
  271. "url" : "^PageUrl(\"\",op=viewActiveSessions);",
  272. "title" : "^International(425,WebGUI);",
  273. "groupSetting" : "groupIdAdminActiveSessions"
  274. },
  275. "inbox" : {
  276. "icon" : "inbox.gif",
  277. "group" : "2",
  278. "uiLevel" : 1,
  279. "url" : "^PageUrl(\"\",op=viewInbox);",
  280. "title" : "^International(159,WebGUI);"
  281. },
  282. "versions" : {
  283. "icon" : "versionTags.gif",
  284. "uiLevel" : 7,
  285. "url" : "^PageUrl(\"\",op=manageVersions);",
  286. "title" : "^International(version tags,VersionTag);",
  287. "groupSetting" : "groupIdAdminVersionTag"
  288. },
  289. "help" : {
  290. "icon" : "help.gif",
  291. "uiLevel" : 1,
  292. "url" : "^PageUrl(\"\",op=viewHelpIndex);",
  293. "title" : "^International(help,WebGUI);",
  294. "groupSetting" : "groupIdAdminHelp"
  295. },
  296. "groups" : {
  297. "icon" : "groups.gif",
  298. "uiLevel" : 5,
  299. "url" : "^PageUrl(\"\",op=listGroups);",
  300. "title" : "^International(89,WebGUI);",
  301. "groupSetting" : "groupIdAdminGroup"
  302. },
  303. "userProfiling" : {
  304. "icon" : "userProfiling.gif",
  305. "uiLevel" : 5,
  306. "url" : "^PageUrl(\"\",op=editProfileSettings);",
  307. "title" : "^International(user profiling,WebGUIProfile);",
  308. "groupSetting" : "groupIdAdminProfileSettings"
  309. },
  310. "ldapconnections" : {
  311. "icon" : "ldap.gif",
  312. "uiLevel" : 9,
  313. "url" : "^PageUrl(\"\",op=listLDAPLinks);",
  314. "title" : "^International(ldapconnections,AuthLDAP);",
  315. "groupSetting" : "groupIdAdminLDAPLink"
  316. },
  317. "contentProfiling" : {
  318. "icon" : "contentProfiling.gif",
  319. "group" : "4",
  320. "uiLevel" : 5,
  321. "url" : "^PageUrl(\"\",func=manageMetaData);",
  322. "title" : "^International(content profiling,Asset);"
  323. },
  324. "databases" : {
  325. "icon" : "databases.gif",
  326. "uiLevel" : 9,
  327. "url" : "^PageUrl(\"\",op=listDatabaseLinks);",
  328. "title" : "^International(databases,WebGUI);",
  329. "groupSetting" : "groupIdAdminDatabaseLink"
  330. },
  331. "adSpace" : {
  332. "icon" : "advertising.gif",
  333. "uiLevel" : 5,
  334. "url" : "^PageUrl(\"\",op=manageAdSpaces);",
  335. "title" : "^International(topicName,AdSpace);",
  336. "groupSetting" : "groupIdAdminAdSpace"
  337. },
  338. "settings" : {
  339. "icon" : "settings.gif",
  340. "group" : "3",
  341. "uiLevel" : 5,
  342. "url" : "^PageUrl(\"\",op=editSettings);",
  343. "title" : "^International(settings,WebGUI);"
  344. },
  345. "workflow" : {
  346. "icon" : "workflow.gif",
  347. "uiLevel" : 7,
  348. "url" : "^PageUrl(\"\",op=manageWorkflows);",
  349. "title" : "^International(topicName,Workflow);",
  350. "groupSetting" : "groupIdAdminWorkflow"
  351. },
  352. "assets" : {
  353. "icon" : "assets.gif",
  354. "group" : "12",
  355. "uiLevel" : 5,
  356. "url" : "^PageUrl(\"\",op=assetManager);",
  357. "title" : "^International(assets,Asset);"
  358. },
  359. "assetHistory" : {
  360. "icon" : "assetHistory.gif",
  361. "groupSetting" : "groupIdAdminHistory",
  362. "uiLevel" : 5,
  363. "url" : "^PageUrl(\"\",op=assetHistory);",
  364. "title" : "^International(assetHistory,Asset);"
  365. },
  366. "graphics" : {
  367. "icon" : "graphics.gif",
  368. "uiLevel" : 5,
  369. "url" : "^PageUrl(\"\",op=listGraphicsOptions);",
  370. "title" : "^International(manage graphics,Graphics);",
  371. "groupSetting" : "groupIdAdminGraphics"
  372. },
  373. "passiveAnalytics" : {
  374. "icon" : "passiveAnalytics.png",
  375. "uiLevel" : 1,
  376. "url" : "^PageUrl(\"\",op=passiveAnalytics;func=editRuleflow);",
  377. "title" : "^International(Passive Analytics,PassiveAnalytics);",
  378. "groupSetting" : "3"
  379. },
  380. "shop" : {
  381. "icon" : "shop.gif",
  382. "uiLevel" : 5,
  383. "url" : "^PageUrl(\"\",shop=admin);",
  384. "title" : "^International(shop,Shop);",
  385. "groupSetting" : "groupIdAdminCommerce"
  386. },
  387. "trash" : {
  388. "icon" : "trash.gif",
  389. "group" : "12",
  390. "uiLevel" : 5,
  391. "url" : "^PageUrl(\"\",func=manageTrash);",
  392. "title" : "^International(trash,WebGUI);"
  393. },
  394. "cron" : {
  395. "icon" : "cron.gif",
  396. "uiLevel" : 9,
  397. "url" : "^PageUrl(\"\",op=manageCron);",
  398. "title" : "^International(topicName,Workflow_Cron);",
  399. "groupSetting" : "groupIdAdminCron"
  400. },
  401. "spectre" : {
  402. "icon" : "spectre.gif",
  403. "uiLevel" : 9,
  404. "url" : "^PageUrl(\"\",op=spectreStatus);",
  405. "title" : "^International(spectre,Spectre);",
  406. "groupSetting" : "groupIdAdminSpectre"
  407. },
  408. "adminConsoleOff" : {
  409. "icon" : "adminConsoleOff.gif",
  410. "uiLevel" : 1,
  411. "group" : "12",
  412. "url" : "^PageUrl(\"\",op=switchOffAdmin);",
  413. "title" : "^International(12,WebGUI);"
  414. },
  415. "contentFilters" : {
  416. "icon" : "contentFilters.gif",
  417. "uiLevel" : 3,
  418. "url" : "^PageUrl(\"\",op=listReplacements);",
  419. "title" : "^International(content filters,WebGUI);",
  420. "groupSetting" : "groupIdAdminReplacements"
  421. },
  422. "cache" : {
  423. "icon" : "cache.gif",
  424. "uiLevel" : 5,
  425. "url" : "^PageUrl(\"\",op=manageCache);",
  426. "title" : "^International(manage cache,WebGUI);",
  427. "groupSetting" : "groupIdAdminCache"
  428. },
  429. "filePump" : {
  430. "icon" : "filePump.png",
  431. "uiLevel" : 5,
  432. "url" : "^PageUrl(\"\",op=filePump);",
  433. "title" : "^International(File Pump,FilePump);",
  434. "groupSetting" : "groupIdAdminFilePump"
  435. }
  436. },
  437.  
  438. # Enter the maximum number of assets that should be allowed to
  439. # be created on this site. Keep in mind that a base install of
  440. # WebGUI has around 300 assets. Enter zero (0) if you want to
  441. # allow an unlimited number.
  442.  
  443. "maximumAssets" : 0,
  444.  
  445.  
  446. # Specify the list of categories to display in the "New Content"
  447. # menu. The category names should match those used in the "assets"
  448. # hash later in this config. Each category can have three properties:
  449. #
  450. # title - The human readable name of the category.
  451. # uiLevel - The minimum UI level the user must have to see the category.
  452. # group - A group id the user must be in to see the category.
  453.  
  454. "assetCategories" : {
  455. "basic" : {
  456. "uiLevel" : 1,
  457. "title" : "^International(basic,Macro_AdminBar);"
  458. },
  459. "shop" : {
  460. "uiLevel" : 5,
  461. "title" : "^International(shop,Shop);"
  462. },
  463. "utilities" : {
  464. "uiLevel" : 9,
  465. "title" : "^International(utilities,Macro_AdminBar);"
  466. },
  467. "community" : {
  468. "uiLevel" : 5,
  469. "title" : "^International(community,Macro_AdminBar);"
  470. },
  471. "intranet" : {
  472. "uiLevel" : 5,
  473. "title" : "^International(intranet,Macro_AdminBar);"
  474. }
  475. },
  476.  
  477. # Specify a the list of assets you want to appear in your
  478. # "New Content" menu categories. See "assetCategories" for details
  479. # about categories. Each listing has a key of class name, and then
  480. # has several properties, which are:
  481. #
  482. # category - The category the asset should appear in.
  483. # isContainer - Whether or not the assets main purpose to display the data from other assets.
  484. # addGroup - The group the user must be in to add this asset.
  485. # uiLevel - The minimum UI level the user must have to add the asset.
  486. # fields - Edit the properties of the asset.
  487. # tabs - Edit the tabs on which the fields are displayed when editing the asset.
  488. #
  489. # The "fields" property above may override any property of any field in this
  490. # asset class. Examples are label, tab, uiLevel. You must know what you're
  491. # doing with this, because you could break an asset if you set something wrong
  492. # with these properties. Here's an example of wha the fields poperty might look like:
  493. #
  494. # "fields" : {
  495. # "title" : {
  496. # "label" : "Name",
  497. # "tab" : "basic"
  498. # },
  499. # "synopsis" : {
  500. # "label" : "Abstract",
  501. # "uiLevel" : 3
  502. # }
  503. # }
  504. #
  505. # The "tabs" property allows you to to create new, hide, and update existing tabs in
  506. # the asset. Each tab has two properties:
  507. #
  508. # uiLevel - The minimum UI level the user must have to view the tab.
  509. # label - The human readable label for the tab.
  510. #
  511. # Here's an example of what a tabls section might look like:
  512. #
  513. # "tabs" : {
  514. # "basic" : {
  515. # "label" : "Basic",
  516. # "uiLevel" : 1
  517. # },
  518. # "meta" : {
  519. # "uiLevel" : 99999
  520. # },
  521. # "security" : {
  522. # "label" : "Protection"
  523. # }
  524. # }
  525.  
  526. "assets" : {
  527. "WebGUI::Asset::Wobject::Shelf" : {
  528. "category" : "shop"
  529. },
  530. "WebGUI::Asset::Wobject::Layout" : {
  531. "isContainer" : 1,
  532. "category" : "basic"
  533. },
  534. "WebGUI::Asset::Wobject::Gallery" : {
  535. "category" : "community"
  536. },
  537. "WebGUI::Asset::Wobject::DataTable" : {
  538. "category" : "basic"
  539. },
  540. "WebGUI::Asset::Wobject::DataForm" : {
  541. "category" : "basic"
  542. },
  543. "WebGUI::Asset::Sku::Ad" : {
  544. "category" : "shop"
  545. },
  546. "WebGUI::Asset::Sku::Donation" : {
  547. "category" : "shop"
  548. },
  549. "WebGUI::Asset::Sku::ThingyRecord" : {
  550. "category" : "shop"
  551. },
  552. "WebGUI::Asset::Wobject::UserList" : {
  553. "category" : "intranet"
  554. },
  555. "WebGUI::Asset::Wobject::EventManagementSystem" : {
  556. "category" : "shop"
  557. },
  558. "WebGUI::Asset::Sku::Subscription" : {
  559. "category" : "shop"
  560. },
  561. "WebGUI::Asset::Wobject::WikiMaster" : {
  562. "isContainer" : 1,
  563. "category" : "community"
  564. },
  565. "WebGUI::Asset::Wobject::StoryArchive" : {
  566. "isContainer" : 1,
  567. "category" : "community"
  568. },
  569. "WebGUI::Asset::Wobject::StoryTopic" : {
  570. "category" : "community"
  571. },
  572. "WebGUI::Asset::Wobject::Carousel" : {
  573. "category" : "utilities"
  574. },
  575. "WebGUI::Asset::Wobject::StockData" : {
  576. "category" : "intranet"
  577. },
  578. "WebGUI::Asset::FilePile" : {
  579. "category" : "basic"
  580. },
  581. "WebGUI::Asset::Wobject::Collaboration" : {
  582. "category" : "community"
  583. },
  584. "WebGUI::Asset::Wobject::Survey" : {
  585. "category" : "community"
  586. },
  587. "WebGUI::Asset::File::ZipArchive" : {
  588. "category" : "utilities"
  589. },
  590. "WebGUI::Asset::RichEdit" : {
  591. "category" : "utilities"
  592. },
  593. "WebGUI::Asset::Wobject::SyndicatedContent" : {
  594. "category" : "utilities"
  595. },
  596. "WebGUI::Asset::Wobject::HttpProxy" : {
  597. "category" : "utilities"
  598. },
  599. "WebGUI::Asset::Wobject::MultiSearch" : {
  600. "category" : "intranet"
  601. },
  602. "WebGUI::Asset::File::Image" : {
  603. "category" : "utilities"
  604. },
  605. "WebGUI::Asset::Sku::Product" : {
  606. "category" : "shop"
  607. },
  608. "WebGUI::Asset::Wobject::WeatherData" : {
  609. "category" : "intranet"
  610. },
  611. "WebGUI::Asset::Redirect" : {
  612. "category" : "utilities"
  613. },
  614. "WebGUI::Asset::Wobject::Article" : {
  615. "category" : "basic"
  616. },
  617. "WebGUI::Asset::Wobject::AssetReport" : {
  618. "category" : "utilities"
  619. },
  620. "WebGUI::Asset::Wobject::Search" : {
  621. "category" : "basic"
  622. },
  623. "WebGUI::Asset::Wobject::MessageBoard" : {
  624. "isContainer" : 1,
  625. "category" : "community"
  626. },
  627. "WebGUI::Asset::Wobject::SQLReport" : {
  628. "category" : "utilities"
  629. },
  630. "WebGUI::Asset::Wobject::TimeTracking" : {
  631. "category" : "intranet"
  632. },
  633. "WebGUI::Asset::Wobject::Calendar" : {
  634. "category" : "basic"
  635. },
  636. "WebGUI::Asset::Wobject::Poll" : {
  637. "category" : "basic"
  638. },
  639. "WebGUI::Asset::Wobject::ProjectManager" : {
  640. "category" : "intranet"
  641. },
  642. "WebGUI::Asset::Wobject::Folder" : {
  643. "isContainer" : 1,
  644. "category" : "basic"
  645. },
  646. "WebGUI::Asset::Wobject::Navigation" : {
  647. "category" : "utilities"
  648. },
  649. "WebGUI::Asset::Wobject::Matrix" : {
  650. "category" : "community"
  651. },
  652. "WebGUI::Asset::Sku::FlatDiscount" : {
  653. "category" : "shop"
  654. },
  655. "WebGUI::Asset::Wobject::Thingy" : {
  656. "category" : "intranet"
  657. },
  658. "WebGUI::Asset::File" : {
  659. "category" : "utilities"
  660. },
  661. "WebGUI::Asset::Wobject::Collaboration::Newsletter" : {
  662. "category" : "community"
  663. },
  664. "WebGUI::Asset::Snippet" : {
  665. "category" : "basic"
  666. },
  667. "WebGUI::Asset::Wobject::InOutBoard" : {
  668. "category" : "intranet"
  669. },
  670. "WebGUI::Asset::Wobject::Dashboard" : {
  671. "isContainer" : 1,
  672. "category" : "intranet"
  673. },
  674. "WebGUI::Asset::Wobject::DataForm" : {
  675. "category" : "basic"
  676. },
  677. "WebGUI::Asset::Template" : {
  678. "category" : "utilities"
  679. },
  680. "WebGUI::Asset::Wobject::Map" : {
  681. "category" : "basic"
  682. },
  683. "WebGUI::Asset::Wobject::AssetReport" : {
  684. "category" : "utilities"
  685. },
  686. },
  687.  
  688. # Specify the list of account pluggins available on your site.
  689. # Account pluggins are returned on the site in the order they are list in the config file
  690. # Each pluggin has serveral properties
  691. #
  692. # identifier - This string will act as the identifying agent for this account pluggin. It is passed along
  693. # the url and cannot contain spaces.
  694. # title - The title of the module which is displayed on the website.
  695. # className - The class which drives this module
  696.  
  697. #
  698. # IMPORTANT NOTE - PLEASE READ:
  699. #
  700. # DO NOT DELETE THE WebGUI::Account::User pluggin from this list. This module
  701. # is Deprecated on release and is mandatory for every site. You may move it's position
  702. # but if you remove it you will break WebGUI's Authentication System. This module will
  703. # be replaced in WebGUI 8 once the APIs can be broken and the Account portion of Auth
  704. # can be moved into the Account system
  705. #
  706. # A profile module is required as well. You may replace the default profile
  707. # module with a custom version, but many systems in WebGUI rely on being
  708. # able to display a user's profile.
  709. #
  710.  
  711. "account" : [
  712. {
  713. "identifier" : "profile",
  714. "title" : "^International(title,Account_Profile);",
  715. "className" : "WebGUI::Account::Profile"
  716. },
  717. {
  718. "identifier" : "inbox",
  719. "title" : "^International(title,Account_Inbox);",
  720. "className" : "WebGUI::Account::Inbox"
  721. },
  722. {
  723. "identifier" : "friends",
  724. "title" : "^International(title,Account_Friends);",
  725. "className" : "WebGUI::Account::Friends"
  726. },
  727. {
  728. "identifier" : "contributions",
  729. "className" : "WebGUI::Account::Contributions",
  730. "title" : "^International(title,Account_Contributions);"
  731. },
  732. {
  733. "identifier" : "shop",
  734. "title" : "^International(title,Account_Shop);",
  735. "className" : "WebGUI::Account::Shop"
  736. },
  737. {
  738. "identifier" : "user",
  739. "title" : "^International(title,Account_User);",
  740. "className" : "WebGUI::Account::User"
  741. },
  742. {
  743. "identifier" : "friendManager",
  744. "title" : "^International(title,Account_FriendManager);",
  745. "className" : "WebGUI::Account::FriendManager"
  746. }
  747. ],
  748.  
  749. # Specify which of the modules in the above list is used
  750. # to display the user's profile. This is a mandatory configuration
  751.  
  752. "profileModuleIdentifier" : "profile",
  753.  
  754. # Optionally add a "Save and Commit" button to assets so that you
  755. # don't have to hit "Commit My Changes" seperately.
  756.  
  757. "enableSaveAndCommit" : 0,
  758.  
  759. # Optionally override the default UI Level of any asset. This
  760. # determines whether the current user has the appropriate UI Level
  761. # to add assets of that type.
  762.  
  763. # "assetUiLevel" : {
  764. # "WebGUI::Asset::RichEdit" : 4
  765. # "WebGUI::Asset::Wobject::WSClient" : 7,
  766. # },
  767.  
  768. # Configure the UI Levels of the asset toolbar links.
  769.  
  770. "assetToolbarUiLevel" : {
  771. "copy" : 1,
  772. "cut" : 1,
  773. "delete" : 1,
  774. "edit" : 1,
  775. "view" : 1,
  776. "demote" : 3,
  777. "promote" : 3,
  778. "lock" : 5,
  779. "manage" : 5,
  780. "revisions" : 5,
  781. "shortcut" : 5,
  782. "changeUrl" : 9,
  783. "editBranch" : 9,
  784. "export" : 9
  785. },
  786.  
  787. # If exportPath is defined, an "Export" toolbar icon will appear
  788. # which allows you to export assets to static HTML. This folder
  789. # needs to be writable by your web server.
  790.  
  791. "exportPath" : "/var/lib/webgui/exports",
  792.  
  793. # Enable streaming Image and File assets thru mod_perl process instead of
  794. # simple redirect. WARNING has impact on performance.
  795.  
  796. "enableStreamingUploads" : "0",
  797.  
  798. # Specify the list of macros you wish to be processed on each page.
  799.  
  800. "macros" : {
  801. "@" : "At_username",
  802. "#" : "Hash_userId",
  803. "/" : "Slash_gatewayUrl",
  804. "a" : "a_account",
  805. "AdminBar" : "AdminBar",
  806. "AdminText" : "AdminText",
  807. "AdminToggle" : "AdminToggle",
  808. "AdSpace" : "AdSpace",
  809. "AOIHits" : "AOIHits",
  810. "AOIRank" : "AOIRank",
  811. "AssetProxy" : "AssetProxy",
  812. "BackToSite" : "BackToSite",
  813. "CanEditText" : "CanEditText",
  814. "CartItemCount" : "CartItemCount",
  815. "ConvertUTCToTZ" : "ConvertUTCToTZ",
  816. "c" : "c_companyName",
  817. "D" : "D_date",
  818. "DeactivateAccount": "DeactivateAccount",
  819. "EditableToggle" : "EditableToggle",
  820. "e" : "e_companyEmail",
  821. "Extras" : "Extras",
  822. "FetchMimeType" : "FetchMimeType",
  823. "FilePump" : "FilePump",
  824. "FileUrl" : "FileUrl",
  825. "GroupAdd" : "GroupAdd",
  826. "GroupDelete" : "GroupDelete",
  827. "GroupText" : "GroupText",
  828. "H" : "H_homeLink",
  829. "If" : "If",
  830. "International" : "International",
  831. "LastModified" : "LastModified",
  832. "L" : "L_loginBox",
  833. "LoginToggle" : "LoginToggle",
  834. "MiniCart" : "MiniCart",
  835. "Page" : "Page",
  836. "PageTitle" : "PageTitle",
  837. "PageUrl" : "PageUrl",
  838. "PickLanguage" : "PickLanguage",
  839. "RandomAssetProxy" : "RandomAssetProxy",
  840. "RandomThread" : "RandomThread",
  841. "RootTitle" : "RootTitle",
  842. "r" : "r_printable",
  843. "Spacer" : "Spacer",
  844. "SpectreCheck" : "SpectreCheck",
  845. "Thumbnail" : "Thumbnail",
  846. "User" : "User",
  847. "UsersOnline" : "UsersOnline",
  848. "u" : "u_companyUrl",
  849. "ViewCart" : "ViewCart",
  850. "StorageUrl" : "StorageUrl"
  851. },
  852.  
  853. #Specify any LDAP aliases for synchronizing user profiles to LDAP
  854. "ldapAlias" : {
  855. "firstName" : "givenName",
  856. "lastName" : "sn",
  857. "email" : "mail",
  858. "companyName" : "o"
  859. },
  860.  
  861. # Define the subnets that WebGUI should expect Spectre communication
  862. # to come from. All other subnets will be ignored. The subnet
  863. # should be listed in CIDR notation.
  864.  
  865. "spectreSubnets" : [ "127.0.0.1/32" ],
  866.  
  867. # Define the IP Address that should be used by WebGUI to connect
  868. # to Spectre. Depending upon your cluster configuration, this may
  869. # or may not be the same as the information in spectreSubnets.
  870.  
  871. "spectreIp" : "127.0.0.1",
  872.  
  873. # Define the port number WebGUI should use to connect to Spectre
  874.  
  875. "spectrePort" : 32133,
  876.  
  877. # Define the workflow activities that are available in the editing
  878. # process and what object types they support.
  879.  
  880. "workflowActivities" : {
  881. "None" : [
  882. "WebGUI::Workflow::Activity::ArchiveOldStories",
  883. "WebGUI::Workflow::Activity::ArchiveOldThreads",
  884. "WebGUI::Workflow::Activity::CalendarUpdateFeeds",
  885. "WebGUI::Workflow::Activity::CleanDatabaseCache",
  886. "WebGUI::Workflow::Activity::CleanFileCache",
  887. "WebGUI::Workflow::Activity::CleanLoginHistory",
  888. "WebGUI::Workflow::Activity::CleanTempStorage",
  889. "WebGUI::Workflow::Activity::CreateCronJob",
  890. "WebGUI::Workflow::Activity::DecayKarma",
  891. "WebGUI::Workflow::Activity::DeleteExpiredSessions",
  892. "WebGUI::Workflow::Activity::ExpireEmsCartItems",
  893. "WebGUI::Workflow::Activity::ExpireGroupings",
  894. "WebGUI::Workflow::Activity::ExpireSubscriptionCodes",
  895. "WebGUI::Workflow::Activity::GetSyndicatedContent",
  896. "WebGUI::Workflow::Activity::NotifyAdminsWithOpenVersionTags",
  897. "WebGUI::Workflow::Activity::PurgeOldAssetRevisions",
  898. "WebGUI::Workflow::Activity::PurgeOldTrash",
  899. "WebGUI::Workflow::Activity::RemoveOldCarts",
  900. "WebGUI::Workflow::Activity::SendQueuedMailMessages",
  901. "WebGUI::Workflow::Activity::SummarizePassiveProfileLog",
  902. "WebGUI::Workflow::Activity::SyncProfilesToLdap",
  903. "WebGUI::Workflow::Activity::TrashClipboard",
  904. "WebGUI::Workflow::Activity::TrashExpiredEvents",
  905. "WebGUI::Workflow::Activity::SummarizePassiveAnalytics",
  906. "WebGUI::Workflow::Activity::BucketPassiveAnalytics",
  907. "WebGUI::Workflow::Activity::ExpirePurchasedThingyRecords"
  908. ],
  909. "WebGUI::Asset::Wobject::Thingy" : [
  910. "WebGUI::Workflow::Activity::NotifyAboutThing"
  911. ],
  912. "WebGUI::Asset" : [
  913. "WebGUI::Workflow::Activity::UpdateAssetSubscribers"
  914. ],
  915. "WebGUI::User" : [
  916. "WebGUI::Workflow::Activity::CreateCronJob",
  917. "WebGUI::Workflow::Activity::NotifyAboutUser",
  918. "WebGUI::Workflow::Activity::ActivateUser",
  919. "WebGUI::Workflow::Activity::DeactivateUser",
  920. "WebGUI::Workflow::Activity::DeleteUser"
  921. ],
  922. "WebGUI::VersionTag" : [
  923. "WebGUI::Workflow::Activity::CommitVersionTag",
  924. "WebGUI::Workflow::Activity::CreateCronJob",
  925. "WebGUI::Workflow::Activity::ExportVersionTagToHtml",
  926. "WebGUI::Workflow::Activity::NotifyAboutVersionTag",
  927. "WebGUI::Workflow::Activity::RequestApprovalForVersionTag",
  928. "WebGUI::Workflow::Activity::RequestApprovalForVersionTag::ByCommitterGroup",
  929. "WebGUI::Workflow::Activity::RequestApprovalForVersionTag::ByLineage",
  930. "WebGUI::Workflow::Activity::RollbackVersionTag",
  931. "WebGUI::Workflow::Activity::TrashVersionTag",
  932. "WebGUI::Workflow::Activity::UnlockVersionTag",
  933. "WebGUI::Workflow::Activity::WaitUntil"
  934. ]
  935. },
  936.  
  937. # Enter the graphing plugins that you want to enable for your site.
  938.  
  939. "graphingPlugins" : [
  940. "WebGUI::Image::Graph::Pie",
  941. "WebGUI::Image::Graph::XYGraph::Bar",
  942. "WebGUI::Image::Graph::XYGraph::Line"
  943. ],
  944.  
  945. # Here you can define the dictionaries that are available through the tinyMCE spellchecker. You should set
  946. # id to the name the dictionary is known by ASpell (eg. en or en_US or nl), use the name parameter to set
  947. # the name the dictionary is displayed with in tinyMCE. To set the default dictionary please set the 'default'
  948. # parameter.
  949.  
  950. #"availableDictionaries" : [
  951. # {
  952. # "id" : "en_US",
  953. # "name" : "English",
  954. # "default" : "1"
  955. # },
  956. # {
  957. # "id" : "nl",
  958. # "name" : "Dutch"
  959. # }
  960. #],
  961.  
  962. # Optional script to run upon successful login. The script can contain macros
  963. # ex: /data/WebGUI/sbin/doLogin.pl --configFile=dev.localhost.localdomain.conf --loginPage=^PageUrl();
  964.  
  965. "runOnLogin" : "",
  966.  
  967. # Optional script to run upon successful logout. The script can contain macros
  968. # Example: /data/WebGUI/sbin/doLogout.pl --configFile=dev.localhost.localdomain.conf --logoutPage=^PageUrl();
  969.  
  970. "runOnLogout" : "",
  971.  
  972. # URL handlers are used to associate functionality with a URL via a regular expression.
  973.  
  974. "urlHandlers" : [
  975. { "^/extras" : "WebGUI::URL::PassThru" },
  976. # { "^/icons" : "WebGUI::URL::PassThru" },
  977. # { "^/documentation/pdf" : "WebGUI::URL::PassThru" },
  978. # { "^/my-custom-application$" : "WebGUI::URL::PassThru" },
  979. # { "^/server-status" : "WebGUI::URL::PassThru" },
  980. # { "^/perl-status" : "WebGUI::URL::PassThru" },
  981. { "^/uploads/dictionaries" : "WebGUI::URL::Unauthorized" },
  982. { "^/uploads" : "WebGUI::URL::Uploads" },
  983. { "^/\\*give-credit-where-credit-is-due\\*$" : "WebGUI::URL::Credits" },
  984. # { "^/abcdefghijklmnopqrstuvwxyz$" : "WebGUI::URL::Snoop" },
  985. { ".*" : "WebGUI::URL::Content" }
  986. ],
  987.  
  988. # Content handlers are used to produce content from the content URL handler.
  989. # Note, these handlers are processed in the order listed. Do not change
  990. # unless you know what you're doing.
  991.  
  992. "contentHandlers" : [
  993. "WebGUI::Content::Prefetch",
  994. "WebGUI::Content::Maintenance",
  995. "WebGUI::Content::Referral",
  996. "WebGUI::Content::AssetManager",
  997. "WebGUI::Content::AssetDiscovery",
  998. "WebGUI::Content::PassiveAnalytics",
  999. "WebGUI::Content::SetLanguage",
  1000. "WebGUI::Content::AjaxI18N",
  1001. "WebGUI::Content::Account",
  1002. "WebGUI::Content::AssetHistory",
  1003. "WebGUI::Content::FilePump",
  1004. "WebGUI::Content::Wizard",
  1005. "WebGUI::Content::Operation",
  1006. "WebGUI::Content::Setup",
  1007. "WebGUI::Content::Shop",
  1008. "WebGUI::Content::SiteIndex",
  1009. "WebGUI::Content::Asset",
  1010. "WebGUI::Content::NotFound"
  1011. ],
  1012.  
  1013. # extensions that the export system should pass through as-is instead of using
  1014. # index.html
  1015. "exportBinaryExtensions" : [
  1016. "html",
  1017. "htm",
  1018. "txt",
  1019. "pdf",
  1020. "jpg",
  1021. "css",
  1022. "gif",
  1023. "png",
  1024. "doc",
  1025. "xls",
  1026. "xml",
  1027. "rss",
  1028. "bmp",
  1029. "mp3",
  1030. "js",
  1031. "fla",
  1032. "flv",
  1033. "swf",
  1034. "pl",
  1035. "php",
  1036. "php3",
  1037. "php4",
  1038. "php5",
  1039. "ppt",
  1040. "docx",
  1041. "zip",
  1042. "tar",
  1043. "rar",
  1044. "gz",
  1045. "bz2"
  1046. ],
  1047.  
  1048. # Drivers for the pluggable tax system
  1049. "taxDrivers" : [
  1050. "WebGUI::Shop::TaxDriver::Generic",
  1051. "WebGUI::Shop::TaxDriver::EU"
  1052. ],
  1053.  
  1054. # Content Delivery Network - for use with WebGUI::Storage
  1055. # required for CDN: enabled, url, queuePath, syncProgram, deleteProgram
  1056. # optional for CDN: sslAlt, sslUrl, extrasCdn, extrasSsl, extrasExclude
  1057. #"cdn" : { "enabled" : 0,
  1058. # "url" : "http://content.example.com",
  1059. # "sslAlt" : 0,
  1060. # "sslUrl" : "https://ssl.example.com",
  1061. # "queuePath" : "/data/cdnqueue",
  1062. # "syncProgram" : "/usr/bin/rsync -av --chmod=u+rwx -- '%s' user@content.example.com:/path",
  1063. # "deleteProgram" : "/usr/bin/ssh user@content.example.com 'rm -Rf -- %s'",
  1064. # "extrasCdn" : "http://content.example.com/extras",
  1065. # "extrasSsl" : "https://content.example.com/extras",
  1066. # "extrasExclude": ["tinymce", "^blah$"]
  1067. # },
  1068.  
  1069. #A list of UserAgents of recognized mobile platforms. If useMobileStyle is set in the
  1070. #Admin settings, then the mobile style will be used for these browsers.
  1071.  
  1072. "mobileUserAgents" : [
  1073. "AvantGo",
  1074. "DoCoMo",
  1075. "Vodafone",
  1076. "EudoraWeb",
  1077. "Minimo",
  1078. "UP\\.Browser",
  1079. "PLink",
  1080. "Plucker",
  1081. "NetFront",
  1082. "^WM5 PIE$",
  1083. "Xiino",
  1084. "iPhone",
  1085. "Opera Mobi",
  1086. "BlackBerry",
  1087. "Opera Mini",
  1088. "HP iPAQ",
  1089. "IEMobile",
  1090. "Profile/MIDP",
  1091. "Smartphone",
  1092. "Symbian ?OS",
  1093. "J2ME/MIDP",
  1094. "PalmSource",
  1095. "PalmOS",
  1096. "Windows CE",
  1097. "Opera Mini"
  1098. ],
  1099.  
  1100. # For the siteIndex content plugin. Whether or not the auto-generated
  1101. # siteIndex should show hidden pages.
  1102. "siteIndex" : {
  1103. "showHiddenPages" : 0
  1104. },
  1105.  
  1106. # An array of SPAM words. Used in the Post and WikiPage to block spam
  1107. # by sending the asset directly to the trash.
  1108. "spamStopWords" : [
  1109. ],
  1110.  
  1111. # A flag to enable a very simple SSO mechanism using sessionIds.
  1112. "enableSimpleSSO" : 0
  1113.  
  1114. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement