debian/0000755000000000000000000000000012123052574007167 5ustar debian/webgui-l10n-de.lintian-overrides0000644000000000000000000000016511706033474015175 0ustar # WebGUI ships a changelog directory instead of a single changelog file webgui-l10n-de binary: no-upstream-changelog debian/rules0000755000000000000000000000546512106461702010257 0ustar #!/usr/bin/make -f # Author: Ernesto Hernández-Novich TMP = debian/webgui %: dh $@ override_dh_auto_build: # Build manpages for spectre and the utility scripts, out # of the POD inside them. for i in sbin/*.pl; do \ pod2man $$i wg-`basename $$i .pl`.1 ; \ done; mv wg-spectre.1 spectre.1 override_dh_install: # webgui -- only include English l10n dh_install --package=webgui \ --exclude=WebGUI/i18n/Spanish \ --exclude=WebGUI/i18n/German \ --exclude=WebGUI/i18n/Dutch \ --exclude=license.txt \ --exclude=licence.txt \ --exclude=LICENSE.txt \ --exclude=swfobject.js \ --exclude=expressInstall.swf \ --exclude=tinymce/ \ --exclude=underscore/ \ --exclude=yui/ \ --exclude=example \ --exclude=.svn \ --exclude=Thumbs.db \ --exclude=.DS_Store # webgui-l10n-* -- each l10n has its own install file dh_install --remaining-packages # Changes to executables only for webgui binary # Drop the .pl extension from all the scripts in /usr/bin prename 's{\.pl\z}{}' $(TMP)/usr/bin/*.pl # Move spectre to /usr/sbin, since it's a daemon mv $(TMP)/usr/bin/spectre $(TMP)/usr/sbin # Rename all the scripts in /usr/bin to have wg- as prefix prename 's{/([^/]+)\z}{/wg-$$1}' $(TMP)/usr/bin/* find $(TMP)/usr/share/webgui/upgrades -type f -exec chmod 644 {} \; find $(TMP)/usr/share/webgui/upgrades -name '*.pl' -exec chmod 755 {} \; chmod 755 $(TMP)/usr/share/webgui/upgrades/_upgrade.skeleton # Fix permissions in /var/lib/webgui (for uploads) find $(TMP)/var/lib/webgui -type f -exec chmod 644 {} \; # Fix permissions in /usr/share/webgui/extras (JS libraries) find $(TMP)/usr/share/webgui/extras -type f -exec chmod 644 {} \; # Fix permissions in /usr/share/webgui/t (tests) find $(TMP)/usr/share/webgui/t -type f -exec chmod 644 {} \; # Fix permissions in /usr/share/webgui find $(TMP)/usr/share/webgui/lib -type f -exec chmod 644 {} \; # Fix permissions in /var/spool/webgui find $(TMP)/var/spool/webgui/ -type f -exec chmod 644 {} \; find $(TMP)/var/spool/webgui/ -type d -exec chmod 755 {} \; override_dh_installchangelogs: dh_installchangelogs --exclude=docs/ override_dh_installdocs: dh_installdocs --exclude=upgrades \ --exclude=license.txt \ --exclude=.css \ --exclude=.js \ --exclude=.svn \ --exclude=maintenance.html override_dh_installexamples: dh_installexamples --exclude=.css \ --exclude=.js \ --exclude=.svn debian/webgui-l10n-nl.install0000644000000000000000000000017711632222217013222 0ustar lib/WebGUI/i18n/Dutch.pm usr/share/webgui/lib/WebGUI/i18n lib/WebGUI/i18n/Dutch/* usr/share/webgui/lib/WebGUI/i18n/Dutch/ debian/webgui.install0000644000000000000000000000105711632222217012041 0ustar debian/log.conf etc/webgui/ debian/spectre.conf etc/webgui/ debian/webgui.conf etc/webgui/ debian/apache.config etc/webgui/ debian/preload.custom etc/webgui/ debian/preload.exclude etc/webgui/ debian/preload.perl etc/webgui/ debian/maintenance.html etc/webgui/ lib/* usr/share/webgui/lib/ sbin/*.pl usr/bin/ t/* usr/share/webgui/t/ docs/upgrades/* usr/share/webgui/upgrades/ www/extras/* usr/share/webgui/extras/ www/uploads/* var/lib/webgui/uploads/ debian/apache.config0000644000000000000000000000166011664165342011611 0ustar ExtendedStatus On PerlOptions +SetupEnv PerlSetVar WebguiRoot /usr/share/webgui PerlCleanupHandler Apache2::SizeLimit PerlRequire /usr/share/webgui/sbin/preload.perl # If you change this, be sure to change webgui.conf accordingly Alias /extras/ /usr/share/webgui/extras/ Alias /uploads/ /var/lib/webgui/uploads/ # If you change this, be sure to change webgui.conf accordingly Order deny,allow Deny from all Allow from all # If you change this, be sure to change webgui.conf accordingly Alias /exports/ /var/lib/webgui/exports/ Options Indexes Order deny,allow Deny from all Allow from all # If you change this, be sure to change webgui.conf accordingly SetHandler perl-script PerlInitHandler WebGUI PerlSetVar WebguiConfig webgui.conf debian/control0000644000000000000000000001462712123052325010576 0ustar Source: webgui Section: web Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl Maintainer: Ernesto Hernández-Novich (USB) Homepage: http://www.plainblack.com/webgui Vcs-Svn: svn://svn.debian.org/collab-maint/ext-maint/webgui/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/collab-maint/ext-maint/webgui/ Standards-Version: 3.9.4 Package: webgui Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, mysql-client, apache2, apache2-mpm-prefork | apache2-mpm-worker, ghostscript, libapache2-mod-perl2, libapache2-mod-apreq2, libapache2-request-perl, libarchive-any-perl, libbusiness-onlinepayment-authorizenet-perl (>= 3.22), libbusiness-paypal-api-perl, libbusiness-tax-vat-validation-perl, libcache-fastmmap-perl, libchi-perl, libclass-c3-perl, libclass-insideout-perl, libcolor-calc-perl, libcss-packer-perl (>= 1.000001), libcss-minifier-xs-perl, libcommon-sense-perl, libconfig-json-perl, libdata-ical-perl, libdata-structure-util-perl, libdatetime-perl, libdatetime-event-ical-perl, libdatetime-format-mail-perl, libdatetime-format-strptime-perl, libdatetime-format-http-perl, libdbi-perl, libdbd-mysql-perl, libexception-class-perl, libfinance-quote-perl, libgeo-coder-googlev3-perl, libhtml-form-perl | libwww-perl (<< 6), libhtml-packer-perl (>= 1.000), libhtml-parser-perl, libhtml-highlight-perl, libhtml-tagfilter-perl, libhtml-tagcloud-perl, libhtml-template-perl, libhtml-template-expr-perl, libimage-exiftool-perl, libjavascript-packer-perl (>= 1.002001), libjavascript-minifier-xs-perl, libjson-perl, libjs-swfobject, libjs-underscore, libjs-yui (>= 2.9.0), libkwargs-perl, liblist-moreutils-perl, liblocales-perl, liblog-log4perl-perl, libmime-tools-perl, libmonkey-patch-perl, libnet-dns-perl, libnet-ldap-perl, libnet-cidr-lite-perl, libnet-twitter-perl, libpath-class-perl, libperlio-eol-perl, libpod-coverage-perl, libpoe-perl, libpoe-component-ikc-perl, libpoe-component-client-http-perl, libreadonly-perl, libscope-guard-perl, libstring-random-perl, libsoap-lite-perl, libtemplate-perl, libtest-deep-perl, libtest-log-dispatch-perl, libtest-tester-perl, libtext-aspell-perl, libtext-csv-perl, libtext-csv-xs-perl, libtry-tiny-perl (>= 0.07), libtie-cphash-perl, libtie-ixhash-perl, liburi-perl, libwww-perl, libxml-feedpp-perl, libxml-feedpp-mediarss-perl, libxml-simple-perl, libweather-com-perl, lsb-base, perlmagick, tinymce, ttf-dejavu-core Recommends: aspell, aspell-en, libapache-dbi-perl, libtest-class-perl, libtest-differences-perl, libtest-exception-perl, libtest-longstring-perl, libtest-mockobject-perl, libtest-mocktime-perl, libtest-pod-perl, libtest-pod-coverage-perl Suggests: libdevel-cover-perl, libnet-smtp-server-perl, libtest-www-mechanize-perl, libtest-perl-critic-perl, mysql-server, perltidy, webgui-l10n-es, webgui-l10n-de, webgui-l10n-nl Description: Content management platform to maintain complex web sites WebGUI is a content management platform based on Apache, mod_perl and MySQL, built to allow average business users to build and maintain complex web sites. It is modular, pluggable, and platform independent. It was designed to allow the people who create the content, to manage it online, rather than content management taking up the time of the busy IT Staff. . Why use WebGUI? . * Short Friendly URLs. You'll never have ugly numeric IDs or other things in your URLs that make it hard for search engines and people to use your site. * Rich User Interface. It has a rich user experience allowing users to place their content through a drag-n-drop interface; use helpers to pick dates, colors, and more; and a highly customizable rich editor to allow users to format content quickly and easily. * Personalization. Your users will see their own view of your site through dynamically generated navigation and content. In addition, you can choose to display content based upon your user's viewing habits. * Powerful API. It allows your developers to plug-in new functionality quickly to get the most from your site. In addition, standardized plug-in points allow you to maintain your upgrade path even with your customizations. Package: webgui-l10n-es Section: localization Architecture: all Depends: webgui, ${misc:Depends} Enhances: webgui Recommends: aspell-es Replaces: webgui (<< 7.10.23-1) Breaks: webgui (<< 7.10.23-1) Description: Spanish localization for WebGUI CMS WebGUI is a content management platform based on Apache, mod_perl and MySQL, built to allow average business users to build and maintain complex web sites. It is modular, pluggable, and platform independent. It was designed to allow the people who create the content, to manage it online, rather than content management taking up the time of the busy IT Staff. . This package provides the Spanish localization for WebGUI. Go to http://i18n.webgui.org if you want to improve this localization. Package: webgui-l10n-de Section: localization Architecture: all Depends: webgui, ${misc:Depends} Enhances: webgui Recommends: aspell-de Replaces: webgui (<< 7.10.23-1) Breaks: webgui (<< 7.10.23-1) Description: German localization for WebGUI CMS WebGUI is a content management platform based on Apache, mod_perl and MySQL, built to allow average business users to build and maintain complex web sites. It is modular, pluggable, and platform independent. It was designed to allow the people who create the content, to manage it online, rather than content management taking up the time of the busy IT Staff. . This package provides the German localization for WebGUI. Go to http://i18n.webgui.org if you want to improve this localization. Package: webgui-l10n-nl Section: localization Architecture: all Depends: webgui, ${misc:Depends} Enhances: webgui Recommends: aspell-nl Replaces: webgui (<< 7.10.23-1) Breaks: webgui (<< 7.10.23-1) Description: Dutch localization for WebGUI CMS WebGUI is a content management platform based on Apache, mod_perl and MySQL, built to allow average business users to build and maintain complex web sites. It is modular, pluggable, and platform independent. It was designed to allow the people who create the content, to manage it online, rather than content management taking up the time of the busy IT Staff. . This package provides the Dutch localization for WebGUI. Go to http://i18n.webgui.org if you want to improve this localization. debian/webgui.manpages0000644000000000000000000000000411516066204012160 0ustar *.1 debian/webgui.examples0000644000000000000000000000047711307732100012212 0ustar etc/log.conf.original etc/spectre.conf.original etc/WebGUI.conf.original sbin/preload.custom.example sbin/preload.exclude.example sbin/_utility.skeleton debian/*-standalone docs/maintenance.html www/extras/accordion/ www/extras/colorpicker/ www/extras/styleDesigner/ www/extras/yui-webgui/build/datepicker/ .perltidyrc debian/webgui.postinst0000644000000000000000000000607011647035521012264 0ustar #! /bin/sh # postinst script for webgui # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # case "$1" in configure) # Make sure web working area has appropiate permissions if [ -d /var/lib/webgui ]; then chown -R www-data:www-data /var/lib/webgui chmod 2775 /var/lib/webgui/* fi # Make sure cache location has appropiate permissions if [ -d /var/cache/webgui ]; then chown -R www-data:www-data /var/cache/webgui chmod 2775 /var/cache/webgui fi # Make sure CDN queue location has appropiate permissions if [ -d /var/spool/webgui ]; then chown -R www-data:www-data /var/spool/webgui chmod 2775 /var/spool/webgui fi # Make sure log directory has appropiate permissions [ -d /var/log/webgui ] && chown -R root:www-data /var/log/webgui # Make sure local customization directory exists if [ ! -e /usr/local/share/webgui/lib ] then if mkdir -p /usr/local/share/webgui/lib 2>/dev/null then chown root:staff /usr/local/share/webgui/lib chmod 775 /usr/local/share/webgui/lib fi fi ### Automatic data upgrade # This should only be attempted on upgrades. if [ -n "$2" ]; then # Stop WebGUI's Spectre daemon /etc/init.d/webgui stop # Reload Apache so the latest WebGUI modules are loaded # before attempting the upgrade. if [ -x "/etc/init.d/apache2" ]; then if [ -x "/usr/sbin/invoke-rc.d" ]; then invoke-rc.d apache2 restart || true else /etc/init.d/apache2 restart || true fi fi # Attempt WebGUI's upgrade wg-upgrade --doit || true # Reload Apache after the upgrade if [ -x "/etc/init.d/apache2" ]; then if [ -x "/usr/sbin/invoke-rc.d" ]; then invoke-rc.d apache2 restart || true else /etc/init.d/apache2 restart || true fi fi # Start WebGUI's Spectre daemon /etc/init.d/webgui start fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/source/0000755000000000000000000000000012123052574010467 5ustar debian/source/format0000644000000000000000000000001411355220407011673 0ustar 3.0 (quilt) debian/webgui-l10n-es.install0000644000000000000000000000020511632222217013210 0ustar lib/WebGUI/i18n/Spanish.pm usr/share/webgui/lib/WebGUI/i18n lib/WebGUI/i18n/Spanish/* usr/share/webgui/lib/WebGUI/i18n/Spanish/ debian/changelog0000644000000000000000000007447012123052325011047 0ustar webgui (7.10.28-1) unstable; urgency=low * New upstream release. * control: put localization packages in proper Section; add Depends on libjs-swfobject to avoid installing bundled JS libraries; add new Depends on libstring-random-perl according to testEnvironment.pl; remove Depends on libclone-perl. * copyright: update some copyright dates. * rules, links: do not install bundled SWFObject JavaScript libraries, but link to files provided by libjs-swfobject instead. * README.Debian: remove superfluous suggestion to 'flush privileges' as noted by Thomas Neumann . -- Ernesto Hernández-Novich (USB) Fri, 22 Mar 2013 07:59:09 -0430 webgui (7.10.27-2) unstable; urgency=low * control: add Depends on libclone-perl because upstream's move to Storable's dclone() is not complete, and the workflow daemon still needs Clone. -- Ernesto Hernández-Novich (USB) Tue, 13 Nov 2012 08:42:20 -0430 webgui (7.10.27-1) unstable; urgency=low * New upstream release (Closes: #691087). * control: versioned Depends on libjs-yui to match upstream's requirement; drop Depends on libclone-perl since upstream switched to Storable's dclone() and Storable is core; upgraded to Standards 3.9.4 (no changes). * copyright: fix copyright dates for upstream's provided copies of YUI and TinyMCE, that are included with the tarball. -- Ernesto Hernández-Novich (USB) Fri, 02 Nov 2012 08:58:27 -0430 webgui (7.10.26-1) unstable; urgency=low * New upstream release. * control: versioned Depends on libbusiness-onlinepayment-authorizenet-perl as per gotcha.txt and testEnvironment.pl requirements; add Depends on libtest-tester-perl; updated Standards-Version; remove obsoleted Depends and versioned Depends as suggested by Gregor Herrmann. * copyright: change to released DEP-5 format; updated upstream and packaging copyright dates; add clarification received from VTV regarding usage of their RSS files. * Add lintian overrides to the language packs for the "no upstream changelog" warning, since upstream doesn't ship a changelog file but a changelog directory. * preload.perl: updated as shipped by upstream plus some cosmetic changes. * spectre.conf: updated as shipped by upstream plus some cosmetic changes. * webgui.conf: updated as shipped by uostream. -- Ernesto Hernández-Novich (USB) Thu, 18 Oct 2012 07:30:18 -0430 webgui (7.10.24-1) unstable; urgency=low * New upstream release. * Add provisions for CDN content queueing. * control: add alternate Depends on apache2-mpm-worker. * Change default webgui.conf and apache.config so the export HTML functionality works out of the box. -- Ernesto Hernández-Novich (USB) Tue, 17 Jan 2012 18:16:38 -0430 webgui (7.10.23-1) unstable; urgency=low * New upstream release. * Split in multiple binaries -- webgui holds the application an mandatory english localization, while webgui-l10-* will hold alternate languages. * quilt: updated patches on account of obsoleted files being removed and new files added. * control: added new Depends according to the gotcha.txt contents and the output of testEnvironment.pl; added new Suggests required for codebase testing; added stanzas for the spanish, german and dutch localization packages noting the Enhances for the binary, a Suggests for the corresponding aspell packages, proper Replaces and Breaks of older versions of the single binary, and Depends on webgui and $misc{Depends}; add new Depends on libjs-underscore for webgui. * webgui.conf: updated stanzas as per WebGUI.conf.original. * preload.perl: updated as shipped by upstream plus some cosmetic changes. * README.Debian: notes on automated testing requirements and assumptions. * copyright: updated copyright dates. * webgui.install: move preload.perl to /etc/webgui since it is a mod_perl startup script that will surely need local customizations. * webgui.links: use Debian's provided underscore JavaScript library instead of WebGUI's provided -- Debian's version is newer and compatible, but has a file renamed so symlinks are set up for the time being; symlink /etc/webgui/preload.perl from WebGUI's sbin location. -- Ernesto Hernández-Novich (USB) Tue, 13 Sep 2011 09:46:45 -0430 webgui (7.9.34-1) unstable; urgency=low * New upstream release. * Updated fix_webgui_root patch in order for wg-installClass to look for preload.custom in /etc/webgui. * Added a note in README.Debian explaining how to include locally added Assets using wg-installClass. -- Ernesto Hernández-Novich (USB) Tue, 16 Aug 2011 08:54:44 -0430 webgui (7.9.33-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Tue, 19 Jul 2011 17:53:54 -0430 webgui (7.9.32-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 06 Jul 2011 09:01:17 -0430 webgui (7.9.31-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Tue, 21 Jun 2011 17:06:37 -0430 webgui (7.9.30-1) unstable; urgency=low * New upstream release. * Added new dependency on libtest-mocktime-perl. -- Ernesto Hernández-Novich (USB) Tue, 07 Jun 2011 08:30:56 -0430 webgui (7.9.29-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Thu, 26 May 2011 12:38:58 -0430 webgui (7.9.28-1) unstable; urgency=low * New upstream release. * Bump Standards version to 3.9.2. * Added fix_webuser to patch fileImport so it uses www-data as the default owner for files uploaded from the command line. -- Ernesto Hernández-Novich (USB) Tue, 10 May 2011 12:56:07 -0430 webgui (7.9.27-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Tue, 26 Apr 2011 12:39:32 -0430 webgui (7.9.26-1) unstable; urgency=low * New upstream release. * Added alternative dependencies on the newer libhtml-form-perl or older versions of libwww-perl (Closes: #620433). -- Ernesto Hernández-Novich (USB) Wed, 13 Apr 2011 09:02:05 -0430 webgui (7.9.25-1) unstable; urgency=low * New upstream release. * Fixed version numbers on the versioned Depends for lib{css|javascript}-packer-perl. -- Ernesto Hernández-Novich (USB) Thu, 31 Mar 2011 08:31:31 -0430 webgui (7.9.24-1) unstable; urgency=low * New upstream release. * Updated fix_webgui_root patch in order for installClass to look for configuration files in the right places. * control: added new versioned Depends according to the gotcha.txt contents and the output of testEnvironment.pl. -- Ernesto Hernández-Novich (USB) Tue, 15 Mar 2011 08:20:59 -0430 webgui (7.9.21-1) unstable; urgency=low * New upstream release. * control: added new Depends according to the gotcha.txt contents and the output of testEnvironment.pl. -- Ernesto Hernández-Novich (USB) Tue, 01 Feb 2011 08:49:20 -0430 webgui (7.9.20-1) unstable; urgency=low * New upstream release. * Provide a sample maintenance page and make sure the command-line utility to toggle it works (wg-maintenanceMode) by patching the Apache Handler to look for the page in the proper place. Upstream is working to make the location of the HTML page a configurable parameter, so the patch has been added in the meantime. * README.Debian: update to describe maintenance mode usage. * compat: update to DH8. * rules: switched to a minimal style DH8 rules. * clean: added *.1 to replace manual deletion. * control: update Build-Depends for DH8; fix Vcs-Svn to refer to trunk so debcheckout works (suggested by Ansgar Burchardt). * Add package name as prefix for pre*, post* and dir helper files. -- Ernesto Hernández-Novich (USB) Tue, 18 Jan 2011 16:50:54 -0430 webgui (7.9.18-1) unstable; urgency=low * New upstream release. * quilt: updated patches on account of obsoleted files being removed; improve patch for testCodebase.pl by adding an extra -I flag. * control: added new Depends according to the gotcha.txt contents and the output of testEnvironment.pl; added new Suggests required for codebase testing; make mysql-server a Suggests instead of a Recommends; add Vcs-Svn and Vcs-Browser fields; remove duplicated entry in Suggests; simplify several versioned dependencies since now we only need to cater for Perl 5.10.0 onwards; fix several version numbers that were missing trailing zeroes. * webgui.conf: added a new stanza taken from WebGUI.conf.original. * preload.perl: fixed hardcoded paths and applied cosmetic changes. * copyright: update formatting; remove references to obsolete files that have been removed; added licensing information for www/extras/underscore/*; added licensing information for some test cases that are taken from wikipedia. * webgui.manpages: added missing reference to fixWgaccess. * postrm: removal of /var/lib/webgui contents should happen on purge; make sure /var/cache/webgui contents get removed on purge; make sure removal never fails if /var/lib/webgui, /var/log/webgui or /var/cache/webgui cannot be fully removed because of filesystem layout (Closes: #593885). * README.Debian: update to describe latest functionality of the startup page; mention WebGUI's translation server and how to install additional translations; mention that upgrades take database backups to /var/backups; mention additional packages needed to run the codebase testing routines; mention WEBGUI_LIVE to enable additional tests over a live installation. * dirs, preinst, postinst, webgui.conf: Move WebGUI's file cache location to /var/cache for FHS compliance (Closes: #593698); make sure old cache location gets removed on upgrade. * rules, webgui.install: stop copying files manually in place since there are no more dashes as filename prefixes. * Upstream does not ship a single changelog, but a changelog directory instead, so a lintian override has been added. -- Ernesto Hernández-Novich (USB) Thu, 18 Nov 2010 19:13:19 -0430 webgui (7.8.24-1) unstable; urgency=low * New upstream release. * Upstream removed www/extras/yui/examples (the redistribution of YUI's examples included with WebGUI's source). This includes, among others, the treeview widget that had a json.js file with a non-free license (Closes: 585471). * Updated patches to handle the new findBrokenAssets utility script. * webgui.manpages: install findBrokenAssets manpage. * README.Debian: mention findBrokenAssets utility script. * webgui.conf: added the new spamStopWords configuration stanza, and fixed the comment above siteIndex stanza. * webgui.conf-standalone: make it match webgui.conf except for the gateway configuration stanza. * control: update to Standards Version 3.9.1. * copyright: link to proper GPL-1 license file. -- Ernesto Hernández-Novich (USB) Thu, 05 Aug 2010 09:22:10 -0430 webgui (7.8.23-1) unstable; urgency=low * New upstream release. * Removed all references to quilt. * rules: Use dh_prep instead of dh_clean -k for install target. * control: corrected versioned B-D for debhelper. * copyright: remove reference to deprecated BSD license text file, and replaced it with the appropriate excerpt. * webgui.conf: sample PassThru handlers for server-status and perl-status had a too stringent regexp with an end-of-line anchor, preventing the use of GET query strings; remove a harmless easter-egg PassThru URL. -- Ernesto Hernández-Novich (USB) Thu, 08 Jul 2010 10:30:02 -0430 webgui (7.8.21-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 09 Jun 2010 16:57:30 -0430 webgui (7.8.20-1) unstable; urgency=low * New upstream release. * Updated sample configuration file to account for a renamed macro. -- Ernesto Hernández-Novich (USB) Wed, 26 May 2010 17:58:54 -0430 webgui (7.8.19-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 12 May 2010 09:49:22 -0430 webgui (7.8.18-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 28 Apr 2010 16:53:50 -0430 webgui (7.8.17-1) unstable; urgency=low * New upstream release. * Recommend libapache-dbi-perl for database connection pooling, adding an explanation in README.Debian on how to enable it and when to use it. -- Ernesto Hernández-Novich (USB) Wed, 14 Apr 2010 14:27:17 -0430 webgui (7.8.16-1) unstable; urgency=low * New upstream release. * Added source/format file. * Removed libnet-subnets-perl from Depends since it's been officially deprecated upstream in favor of libnet-cidr-lite-perl. -- Ernesto Hernández-Novich (USB) Thu, 01 Apr 2010 14:55:23 -0430 webgui (7.8.15-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 17 Mar 2010 08:24:05 -0430 webgui (7.8.14-1) unstable; urgency=low * New upstream release. * control: updated versioned dependencies according to WebGUI's latest requirements. Changed several versioned dependencies to plain dependencies, since there are no prior versions in the archive. * quilt: Refreshed patches on account of obsoleted files being removed. * copyright: added DEP5-style headers. Removed references to obsolete files, added and updated copyright dates. Removed redundant "copyright" tags after Copyright: headers. * Updated sample configuration file to include newer functionality. -- Ernesto Hernández-Novich (USB) Sat, 13 Mar 2010 20:44:01 -0430 webgui (7.7.33-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Fri, 26 Feb 2010 10:22:51 -0430 webgui (7.7.32-1) unstable; urgency=low * New upstream release. * Updated webgui.conf and webgui.conf-standalone with new hidden page indexing configuration for the Google Site Map generator. -- Ernesto Hernández-Novich (USB) Wed, 10 Feb 2010 07:34:31 -0430 webgui (7.7.31-1) unstable; urgency=low * New upstream release. * Updated Standards-Version. * Added new dependency on libdatetime-format-http-perl. * Added copyright notice for a JavaScript fragment provided as collateral for testing purposes. * The JavaScript fragment is named jquery.js, however it is not the same as the JQuery JavaScript library included with Debian, so a lintian override has been added. * Package now needs dh_lintian, so added a versioned Build Depends on debhelper 6.0.7. -- Ernesto Hernández-Novich (USB) Tue, 02 Feb 2010 11:45:47 -0430 webgui (7.7.30-1) unstable; urgency=low * New upstream release. * Updated copyright dates for Debian Packaging. * Added missing ${misc:Depends} to Depends. -- Ernesto Hernández-Novich (USB) Wed, 13 Jan 2010 18:17:37 -0430 webgui (7.7.29-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 23 Dec 2009 10:55:32 -0430 webgui (7.7.28-1) unstable; urgency=low * New upstream release. * Added versioned Dependency on libtest-simple-perl, also satisfiabe with perl itself, in order to have the required Test::More version needed for the automated code base testing utility. * Changed versioned dependencies on perl-modules for versioned dependencies on perl instead. * Properly place the supplied sample .perltidyrc as an example and add a note in README.Debian. Added a Suggests on perltidy. -- Ernesto Hernández-Novich (USB) Wed, 09 Dec 2009 07:16:17 -0430 webgui (7.7.27-1) unstable; urgency=low * New upstream release. * Updated versioned Depends on libwww-perl as required by gotchas.txt. * Added a preferred alternative Depends on libnet-cidr-lite-perl instead of libnet-subnets-perl, since the latter has been removed from CPAN and will be removed from the archive soon. Upstream switched to using either of them, favoring Net::CIDR::Lite, but will deprecate Net::Subnets from WebGUI 7.8 onwards. * Make sure postinst restarts Apache before and after the automatic upgrade. The restart is needed before so that the newer WebGUI modules are available for the upgrade. The restart is needed after just in case cacheing settings, database settings or handler modules have changed during the upgrade. -- Ernesto Hernández-Novich (USB) Wed, 25 Nov 2009 07:43:33 -0430 webgui (7.7.26-1) unstable; urgency=low * New upstream release -- Ernesto Hernández-Novich (USB) Wed, 11 Nov 2009 07:15:05 -0430 webgui (7.7.25-1) unstable; urgency=low * New upstream release. * Enable /usr/local/share/webgui/lib as default directory for locally customized WebGUI Macros, Assets or general modules. Add a note in README.Debian explaining its use. Added the relevant creation commands to postinst and a new prerm to remove the directories if they are empty. -- Ernesto Hernández-Novich (USB) Mon, 09 Nov 2009 19:38:27 -0430 webgui (7.7.24-1) unstable; urgency=low * New upstream release. Upstream fixed a serious upgrade bug that was breaking upgrades from 7.6.35 on to 7.7.17 and subsequent versions. -- Ernesto Hernández-Novich (USB) Fri, 30 Oct 2009 09:09:07 -0430 webgui (7.7.23-1) unstable; urgency=low * New upstream release. * Added missing Dependencies on libcss-minifier-xs-perl and libjavascript-minifier-xs-perl (Closes: 552062, 552063) * Make sure logrotate rotates any .log file in /var/log/webgui instead of simply rotating webgui.log. This allows having several WebGUI instances each one having a different logfile. -- Ernesto Hernández-Novich (USB) Wed, 28 Oct 2009 07:18:14 -0430 webgui (7.7.22-1) unstable; urgency=low * New upstream release. * Updated Standards-Version. * Added a versioned Depends on libxml-feedpp-perl. Versions older than 0.37 trigger an UTF-8 bug in Syndicated Contents. * Added a versioned Depends on libclone-perl. Versions older than 0.31 trigger a bug in workflow management. * control: updated the versioned dependencies according to WebGUI's latest requirements. * quilt: Refreshed patches on account of obsoleted files being removed. Rewrote all patch headers following DEP3 guidelines. * Updated sample configuration file to include newer functionality. * init script: apply patch suggested by Petter Reinholdtsen so it works properly under dependency based boot sequencing (Closes: 547564). -- Ernesto Hernández-Novich (USB) Fri, 16 Oct 2009 10:09:47 -0430 webgui (7.6.35.2-1) unstable; urgency=low * This is the last release of the 7.6 series upstream. It really is. Upstream released 7.6.35.2 to fix a couple of regressions and an i18n bugfix that appeared in 7.6.35.1 due to a wrong SVN commit upstream. Sources can be downloaded from http://www.webgui.org/bazaar/webgui-7.6.35.2 instead of the usual place. Since the full URL is tricky, is not worth the trouble adding it to watch for a single case. -- Ernesto Hernández-Novich (USB) Wed, 26 Aug 2009 12:06:01 -0430 webgui (7.6.35.1-2) unstable; urgency=low * The postinst script was attempting the automatic upgrade unconditionally, thus failing miserably on first time installs where there isn't any database nor templates to upgrade. The postinst now correctly attempts the automatica upgrade only on package upgrades. -- Ernesto Hernández-Novich (USB) Fri, 21 Aug 2009 17:21:33 -0430 webgui (7.6.35.1-1) unstable; urgency=low * wg-testCodebase works out of the box (finally!) thanks to a last minute patch sent upstream. * This is the last release of the 7.6 series upstream. There will be NO 7.6.36 ever. Upstream released 7.6.35.1 just to have the testCodebase patch along with a couple of i18n bugfixes. Sources can be downloaded from http://www.webgui.org/bazaar/webgui-7.6.35.1 instead of the usual place. Since the full URL is tricky, is not worth the trouble adding it to watch for a single case. * Added a Suggest on libtest-perl-critic needed for wg-testCodebase's deeper test suite (coverage, documentation and style testing). * Added some notes in README.Debian regarding wg-testCodebase. * Updated README.Debian regarding automatic upgrades and minimal upgradeable version. * Made /usr/share/webgui/etc be a symlink to /etc/webgui instead of having separate links for each file. This allows having more than one WebGUI configuration or renaming the single configuration. This required a preinst script to handle the transition. * Added a patch to change some hardcoded pathnames in wg-testCodebase. * Refreshed all patches to a consistent format following Debian Perl Group's practices. -- Ernesto Hernández-Novich (USB) Wed, 19 Aug 2009 16:58:34 -0430 webgui (7.6.35-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 12 Aug 2009 08:36:38 -0430 webgui (7.6.34-1) unstable; urgency=low * New upstream release. * WebGUI's Spectre daemon now has a proper PID file, therefore the sample spectre.conf includes the PID file location and the init scipt has been refreshed to cope with that. * Added a missing versioned Depends on lsb-base, needed for init-functions in the new init script. * WebGUI's Search feature is based on having "anything to text" converters available so additional conversion programs to handle PDF and PostScript files where added to the sample configuration file. This required adding additional dependencies on ghostscript to have ps2ascii. -- Ernesto Hernández-Novich (USB) Tue, 11 Aug 2009 11:10:41 -0430 webgui (7.6.33-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Thu, 30 Jul 2009 10:48:30 -0430 webgui (7.6.32-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Sat, 25 Jul 2009 13:50:10 -0430 webgui (7.6.31-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 15 Jul 2009 09:09:26 -0430 webgui (7.6.30-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 08 Jul 2009 08:00:40 -0430 webgui (7.6.29-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Wed, 01 Jul 2009 08:48:09 -0430 webgui (7.6.28-1) unstable; urgency=low * New upstream release. * Updated Standards Version. * Added a versioned dependency as suggested by lintian, since perl-modules 5.10 already includes libcompress-zlib-perl. -- Ernesto Hernández-Novich (USB) Thu, 25 Jun 2009 12:00:00 -0430 webgui (7.6.27-1) unstable; urgency=low * New upstream release. * Updated copyright notice for UKPlayer. * Modified postinst so /var/lib/webgui belongs to user www-data instead of root. This is needed for uploads, exports and cache to work properly. * Added notes in README.Debian regarding the proper way to enable server-side spellchecking for the Rich Editor. -- Ernesto Hernández-Novich (USB) Mon, 15 Jun 2009 09:41:14 -0430 webgui (7.6.25-1) unstable; urgency=low * New upstream release. * Added new dependency on libclone-perl. -- Ernesto Hernández-Novich (USB) Fri, 05 Jun 2009 09:54:34 -0430 webgui (7.6.24-1) unstable; urgency=low * New upstream release. * Updated Copyright file. * Updated to Standards Version 3.8.1. * Updated Quilt patches, including a header for each patch. * Removed unneeded dependencies on libgraphics-magick-perl, liblocale-us-perl and libxml-rsslite-perl. * Added new dependencies on libclass-c3-perl and libxml-feedpp-perl. * Added versioned dependency on libjs-yui. * Changed sample configuration file for logging through Log::Log4Perl in order to use ERROR instead of WARN. * Updated sample configuration file for WebGUI in order to accommodate the latest release's changed and added functionality. * Install examples for the collateral JavaScript libraries. -- Ernesto Hernández-Novich (USB) Wed, 27 May 2009 10:22:53 -0430 webgui (7.5.40.1-1) unstable; urgency=low * New upstream release. This is the last upstream release for the 7.5 branch, made specifically to allow Debian packaging. * Updated debian/copyright. * Changed the provided WebGUI and Apache configuration files to use /webgui as the root location instead of assuming WebGUI is the only application installed. * Added the previous configurations as examples on how to have WebGUI as the only application handled by Apache. * Updated README.Debian to reflect the changes in configuration needed to have WebGUI in a different location. * Fixed watch file to follow the webgui stable branch. -- Ernesto Hernández-Novich (USB) Sun, 01 Mar 2009 21:14:13 -0430 webgui (7.5.40-1) unstable; urgency=low * New upstream release. * Fixed watch file to follow 7.5 branch. -- Ernesto Hernández-Novich (USB) Wed, 18 Feb 2009 11:38:43 -0430 webgui (7.5.38-1) unstable; urgency=low * New upstream release. * Fixed Depends to include libjs-yui only. Both yui and libjs-yui are available on unstable, but the former has been deprecated. Having a Depends: on either caused broken symlinks on systems having yui instead of libjs-yui. The problem was reported by Francis Kayiwa via private e-mail. * Changed libtest-devel-cover-perl to libdevel-cover-perl in Suggests: since the former package does not exist. The problem was reported by Edmund Lindmayer via private e-mail. * PENDING: license on www/extras/ukplayer/AC_RunActiveContent.js needs clarification. It's a verbatim copy of Adobe's Flash Player Detection Toolkit library, but there's no explicit license in Adobe's site either. -- Ernesto Hernández-Novich (USB) Thu, 08 Jan 2009 08:26:33 -0430 webgui (7.5.37-1) unstable; urgency=low * New upstream release. * Fixed fix_webgui_root.patch to correctly set up WebGUI's library path. The problem was reported by Jonathan Marsden via private e-mail. -- Ernesto Hernández-Novich (USB) Tue, 06 Jan 2009 17:23:19 -0430 webgui (7.5.36-1) unstable; urgency=low * New upstream release. * Added missing copyright notices. -- Ernesto Hernández-Novich (USB) Mon, 15 Dec 2008 12:37:38 -0430 webgui (7.5.35-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Tue, 09 Dec 2008 16:03:49 -0430 webgui (7.5.34-1) unstable; urgency=low * New upstream release. * Added copyright notice for Deja Vu Sans font included in source package instead of the previous non-free font. * Fixed symlink to proper YUI location as of libjs-yui. -- Ernesto Hernández-Novich (USB) Fri, 21 Nov 2008 09:32:11 -0430 webgui (7.5.33-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Fri, 14 Nov 2008 08:33:31 -0430 webgui (7.5.32-1) unstable; urgency=low * New upstream release. * webgui now depends on ttf-dejavu-core in order to establish a symlink to a freely available font for CAPTCHA generation. Upstream will start distributing the proper .ttf file in some future release. -- Ernesto Hernández-Novich (USB) Fri, 07 Nov 2008 09:28:38 -0430 webgui (7.5.31-1) unstable; urgency=low * New upstream release. * Merged versioned dependency on libio-zlib-perl with perl, as suggested by lintian. -- Ernesto Hernández-Novich (USB) Fri, 31 Oct 2008 09:26:39 -0430 webgui (7.5.30-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Tue, 28 Oct 2008 08:59:09 -0430 webgui (7.5.29-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Fri, 24 Oct 2008 11:44:38 -0430 webgui (7.5.27-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Fri, 17 Oct 2008 09:36:07 -0430 webgui (7.5.26-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Fri, 10 Oct 2008 10:58:42 -0430 webgui (7.5.25-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Tue, 07 Oct 2008 17:55:05 -0430 webgui (7.5.24-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Thu, 02 Oct 2008 17:21:21 -0430 webgui (7.5.23-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Fri, 19 Sep 2008 10:22:34 -0430 webgui (7.5.22-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Mon, 15 Sep 2008 11:25:00 -0430 webgui (7.5.21-1) unstable; urgency=low * New upstream release. * Added dependencies on the older yui package and the newer libjs-yui package to support Lenny and Sid installations. * Added versioned dependency on Text::CSV_XS as required by latest upstream. -- Ernesto Hernández-Novich (USB) Mon, 25 Aug 2008 16:31:03 -0430 webgui (7.5.20-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Thu, 14 Aug 2008 16:12:53 -0430 webgui (7.5.19-1) unstable; urgency=low * New upstream release. -- Ernesto Hernández-Novich (USB) Mon, 11 Aug 2008 09:23:50 -0430 webgui (7.5.18-1) unstable; urgency=low * New upstream release. * Change libjs-yui instead of yui, and fix symlinks accordingly. * Added missing dependencies on libclass-path-perl, libexception-class-perl and liblist-moreutils-perl. -- Ernesto Hernández-Novich (USB) Wed, 06 Aug 2008 16:19:20 -0430 webgui (7.5.17-1) unstable; urgency=low * Initial release (Closes: #471697). -- Ernesto Hernández-Novich (USB) Mon, 21 Jul 2008 09:39:52 -0430 debian/webgui.lintian-overrides0000644000000000000000000000051511471474256014044 0ustar # WebGUI's test suite provides a file named jquery.js which is NOT the # same as the JQuery JavaScript already provided by Debian webgui binary: embedded-javascript-library usr/share/webgui/t/supporting_collateral/jquery.js # WebGUI ships a changelog directory instead of a single changelog file webgui binary: no-upstream-changelog debian/log.conf0000644000000000000000000000101711203364061010611 0ustar # WebGUI uses the log4perl logging system. # This configuration was written by Ernesto Hernández-Novich # in order to make WebGUI's logging comply with Debian Policy. # # You should read Log::Log4perl man page for details. log4perl.logger = ERROR, mainlog log4perl.appender.mainlog = Log::Log4perl::Appender::File log4perl.appender.mainlog.filename = /var/log/webgui/webgui.log log4perl.appender.mainlog.layout = PatternLayout log4perl.appender.mainlog.layout.ConversionPattern = %d - %p - %c - %M[%L] - %m%n debian/webgui.docs0000644000000000000000000000000511207764620011322 0ustar docs debian/preload.custom0000644000000000000000000000027111275110473012051 0ustar # Add paths to lib folders where you have custom plugins for WebGUI. # Note that the folder must contain the same directory structure of # of WebGUI itself. /usr/local/share/webgui/lib debian/webgui-l10n-es.lintian-overrides0000644000000000000000000000016511706033474015214 0ustar # WebGUI ships a changelog directory instead of a single changelog file webgui-l10n-es binary: no-upstream-changelog debian/spectre.conf0000644000000000000000000000343312006236154011504 0ustar # config-file-format: JSON 1 { # Define the IP address that Spectre should run on. If WebGUI and # Spectre are on the same machine, you should leave this as is. "ip" : "127.0.0.1", # Define a port for Spectre to run on between 1024 and 65000. "port" : 32133, # How many Spectre workers should be allowed to be running at # one time. Keep in mind that workers use some of the resources # of your web site. If you're running only one server, you probably # shouldn't have more than 5 workers. If you're running load # balanced servers, you can probably have as many as 5 per server, # but depending upon the amount of editing and workflows you have # on your site, you may not need that many. "maxWorkers" : 3, # How many seconds should Spectre wait between spawning jobs. This # can help avoid creating a denial of service attack on overworked # or underpowered servers. "timeBetweenRunningWorkflows" : 1, # How long should Spectre delay processing a workflow instance when # it gets suspended. It can get suspended if it's waiting for # external input, or if it errors for any reason. "suspensionDelay" : 60, # What port should we connect to WebGUI on? If you've configured # WebGUI yourself, then this should probably be 80. If you're using # the WebGUI Runtime Environment, 8081 might be a better choice to go # directly at the mod_perl server. "webguiPort" : 80, # Should we ignore the proxy environment variables? If your server # uses a proxy to connect to the internet and you are running # Spectre on the same server as WebGUI, you should set this to 1. # It should be safe to set this to 1 any time spectre and WebGUI # are running on the same server. "ignoreEnvProxy" : 0, # The location of the file that keeps track of the master spectre processId. "pidFile" : "/var/run/spectre.pid" } debian/webgui.conf0000644000000000000000000010657012006236154011327 0ustar # WebGUI Site Configuration # This configuration was written by Ernesto Hernández-Novich # in order to make WebGUI comply with Debian Policy. # # You'll need to change this if you want WebGUI to coexist with other # web applications in your system. # # config-file-type: JSON 1 { # Add a comma separated list of the names this site can use. # The first site in the list will be used as the default # sitename for generating offline URLs and other functions. "sitename" : [ "localhost" ], # Set to 1 if you want to use WebGUI's SSL functions, including encrypting user logins. "sslEnabled" : 0, # Rename the WebGUI Session cookie if you like. "cookieName" : "wgSession", # Explicitly set the domain that the WebGUI session cookie # should be assigned to. Defaults to the domain that the user # is browsing the site under. # "cookieDomain" : ".example.com", # Explicitly set the time to live for the WebGUI session cookie # Defaults to +10Y. cookieTTL must follow the described format: # Format should match /^\+?(\d+)([YMDhms]?)$/ # $2 qualifies the number in $1 as representing "Y"ears, # "M"onths, "D"ays, "h"ours, "m"inutes, or "s"econds (if the qualifier is omitted, # the number is interpreted as representing seconds). # +1h = 1 hour # +2D = 2 Days # +3M = 3 Months # +10Y = 10 Years (default) # This may also be set to the word "session" to have cookies live # for the current browser session only. # "cookieTTL" : "+10Y", # The location where the WebGUI server will be handling # requests. This is normally just '/' or the root of the # server, but on some installations it might be /webgui or # /site1, /site2, etc. If this is set to anything other than # '/' then a matching block should # contain the WebGUI handler instead in the Apache # VirtualHost configuration. "gateway" : "/webgui", # The relative or fully qualified URL to the extras folder # that comes with WebGUI. "extrasURL" : "/extras", # The filesystem path to get to the extras folder that ships # with WebGUI. "extrasPath" : "/usr/share/webgui/extras", # The relative for fully qualified URL to the uploads folder # for this site where all attachments will be stored. "uploadsURL" : "/uploads", # The filesystem path to get to the uploads folder where all # attachments for this site will be stored. This needs to be # writable by your web server. "uploadsPath" : "/var/lib/webgui/uploads", # Set this value to 1 if you want rich editors to use the # WebGUI asset URLs for images rather than their real URLs # in the uploads folder. The advantage of this is that users # see short clean WebGUI controlled URLs. However, this is # slower than the default. "richEditorsUseAssetUrls" : 1, # Used to generate user facing URLs. # If you are not running your web server on the standard # port (80) then use this setting to specify that. If you # are running WebGUI behind a proxy, then webServerPort should # be set to which ever port the proxy is listening to. #"webServerPort" : 80, # What kind of cache do you wish to use? Available types are # WebGUI::Cache::FileCache and WebGUI::Cache::Database. # We highly recommend the database cache if you are running # sites with more than a few hundred pages, or if you're # running in a multi-server environment. The file cache is better # for very small sites. "cacheType" : "WebGUI::Cache::FileCache", # Tell WebGUI where to store cached files. Defaults to the # /tmp or c:\temp folder depending upon your operating system. "fileCacheRoot" : "/var/cache/webgui/", # Set this to 1 to disable WebGUI's caching subsystems. This is # mainly useful for developers. "disableCache" : 0, # The database connection string. It usually takes the form of # DBI::;host: "dsn" : "DBI:mysql:database=webguidb;host=localhost", # The username to authenticate to the above database. "dbuser" : "webgui", # The password to authenticate to the above database. "dbpass" : "webgui", # You can configure up to three read-only database slaves to # increase WebGUI's read performance. # "dbslave1" : { # "dsn" : "DBI:mysql:www_example_com;host=dbslave1.example.com", # "user" : "webgui", # "pass" : "password" # }, # "dbslave2" : { # "dsn" : "DBI:mysql:www_example_com;host=dbslave2.example.com", # "user" : "webgui", # "pass" : "password" # }, # "dbslave3" : { # "dsn" : "DBI:mysql:www_example_com;host=dbslave3.example.com", # "user" : "webgui", # "pass" : "password" # }, # You can configure a backup master database as a failover in case # your primary database goes down. WebGUI will use this database until # the original becomes available. However, this does nothing to change # the settings of your database. If it was set up as a slave until the # master went down, then some script will have to be written to convert # it from a slave to a master. # "failoverdb" : { # "dsn" : "DBI:mysql:www_example_com;host=failover.example.com;port=3306", # "user" : "webgui", # "password" : "password" # }, # If you have a multi-master set up, you must define increment_step and increment_offset # to prevent merge conflicts between the different masters. increment_step should be set # to the number of masters, and offset should be unique to each master, starting at 0. # # So, a 2-master cluster would define: # Master 1: # increment_step: 2 # increment_offset: 0 # Master 2: # increment_step: 2 # increment_offset: 1 # # "db" : { # "increment_step" : 1, # "increment_offset" : 0 # }, # Set this value if you wish to override all outbound emails to a specific # user for testing purposes. # "emailOverride" : "joe@example.com", # Set this value if you wish to bypass sending email to the mailserver alltogether. # This will instead pipe email messages to the log, removing them from the queue normally # "emailToLog" : "1", # By adding CIDR based subnets to the following array you can limit the # subnets by which users can turn admin mode on. "adminModeSubnets" : [ ], # List the authentication plug-ins you wish to be available on # this site. "authMethods" : [ "LDAP", "WebGUI", "Twitter" ], # List the merchant gateways you have installed and wish to be # available on this site. "paymentDrivers" : [ "WebGUI::Shop::PayDriver::Cash", "WebGUI::Shop::PayDriver::ITransact", "WebGUI::Shop::PayDriver::PayPal::PayPalStd", "WebGUI::Shop::PayDriver::PayPal::ExpressCheckout", "WebGUI::Shop::PayDriver::CreditCard::AuthorizeNet", "WebGUI::Shop::PayDriver::Ogone" ], # List the shipping drivers you have installed and wish to be # available for configuration on the site. "shippingDrivers" : [ "WebGUI::Shop::ShipDriver::FlatRate", "WebGUI::Shop::ShipDriver::USPS", "WebGUI::Shop::ShipDriver::USPSInternational", "WebGUI::Shop::ShipDriver::UPS" ], # Specify the list of template parsers available in the system. "templateParsers" : [ "WebGUI::Asset::Template::HTMLTemplate" ], # Enable the Survey Expression Engine, which allows goto expressions in # the config. "enableSurveyExpressionEngine" : 0, # Specify the default template parser. "defaultTemplateParser" : "WebGUI::Asset::Template::HTMLTemplate", # Specify external helper apps that will enable WebGUI's search # engine to index content in various uploaded file formats. The # helpers must take the path to the file as an argument and # return either text or html content. "searchIndexerPlugins" : { "txt" : "/bin/cat", "readme" : "/bin/cat", "html" : "/bin/cat", "htm" : "/bin/cat", "ps" : "/usr/bin/ps2ascii", "pdf" : "/usr/bin/ps2ascii" }, # define what appears in the admin console and who can view it "adminConsole" : { "loginHistory" : { "icon" : "loginHistory.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=viewLoginHistory);", "title" : "^International(426,WebGUI);", "groupSetting" : "groupIdAdminLoginHistory" }, "clipboard" : { "icon" : "clipboard.gif", "group" : "12", "uiLevel" : 5, "url" : "^PageUrl(\"\",func=manageClipboard);", "title" : "^International(948,WebGUI);" }, "statistics" : { "icon" : "statistics.gif", "uiLevel" : 1, "url" : "^PageUrl(\"\",op=viewStatistics);", "title" : "^International(437,WebGUI);", "groupSetting" : "groupIdAdminStatistics" }, "users" : { "icon" : "users.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=listUsers);", "title" : "^International(149,WebGUI);", "groupSetting" : "groupIdAdminUser" }, "activeSessions" : { "icon" : "activeSessions.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=viewActiveSessions);", "title" : "^International(425,WebGUI);", "groupSetting" : "groupIdAdminActiveSessions" }, "inbox" : { "icon" : "inbox.gif", "group" : "2", "uiLevel" : 1, "url" : "^PageUrl(\"\",op=viewInbox);", "title" : "^International(159,WebGUI);" }, "versions" : { "icon" : "versionTags.gif", "uiLevel" : 7, "url" : "^PageUrl(\"\",op=manageVersions);", "title" : "^International(version tags,VersionTag);", "groupSetting" : "groupIdAdminVersionTag" }, "help" : { "icon" : "help.gif", "uiLevel" : 1, "url" : "^PageUrl(\"\",op=viewHelpIndex);", "title" : "^International(help,WebGUI);", "groupSetting" : "groupIdAdminHelp" }, "groups" : { "icon" : "groups.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=listGroups);", "title" : "^International(89,WebGUI);", "groupSetting" : "groupIdAdminGroup" }, "userProfiling" : { "icon" : "userProfiling.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=editProfileSettings);", "title" : "^International(user profiling,WebGUIProfile);", "groupSetting" : "groupIdAdminProfileSettings" }, "ldapconnections" : { "icon" : "ldap.gif", "uiLevel" : 9, "url" : "^PageUrl(\"\",op=listLDAPLinks);", "title" : "^International(ldapconnections,AuthLDAP);", "groupSetting" : "groupIdAdminLDAPLink" }, "contentProfiling" : { "icon" : "contentProfiling.gif", "group" : "4", "uiLevel" : 5, "url" : "^PageUrl(\"\",func=manageMetaData);", "title" : "^International(content profiling,Asset);" }, "databases" : { "icon" : "databases.gif", "uiLevel" : 9, "url" : "^PageUrl(\"\",op=listDatabaseLinks);", "title" : "^International(databases,WebGUI);", "groupSetting" : "groupIdAdminDatabaseLink" }, "adSpace" : { "icon" : "advertising.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=manageAdSpaces);", "title" : "^International(topicName,AdSpace);", "groupSetting" : "groupIdAdminAdSpace" }, "settings" : { "icon" : "settings.gif", "group" : "3", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=editSettings);", "title" : "^International(settings,WebGUI);" }, "workflow" : { "icon" : "workflow.gif", "uiLevel" : 7, "url" : "^PageUrl(\"\",op=manageWorkflows);", "title" : "^International(topicName,Workflow);", "groupSetting" : "groupIdAdminWorkflow" }, "assets" : { "icon" : "assets.gif", "group" : "12", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=assetManager);", "title" : "^International(assets,Asset);" }, "assetHistory" : { "icon" : "assetHistory.gif", "groupSetting" : "groupIdAdminHistory", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=assetHistory);", "title" : "^International(assetHistory,Asset);" }, "graphics" : { "icon" : "graphics.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=listGraphicsOptions);", "title" : "^International(manage graphics,Graphics);", "groupSetting" : "groupIdAdminGraphics" }, "passiveAnalytics" : { "icon" : "passiveAnalytics.png", "uiLevel" : 1, "url" : "^PageUrl(\"\",op=passiveAnalytics;func=editRuleflow);", "title" : "^International(Passive Analytics,PassiveAnalytics);", "groupSetting" : "3" }, "shop" : { "icon" : "shop.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",shop=admin);", "title" : "^International(shop,Shop);", "groupSetting" : "groupIdAdminCommerce" }, "trash" : { "icon" : "trash.gif", "group" : "12", "uiLevel" : 5, "url" : "^PageUrl(\"\",func=manageTrash);", "title" : "^International(trash,WebGUI);" }, "cron" : { "icon" : "cron.gif", "uiLevel" : 9, "url" : "^PageUrl(\"\",op=manageCron);", "title" : "^International(topicName,Workflow_Cron);", "groupSetting" : "groupIdAdminCron" }, "spectre" : { "icon" : "spectre.gif", "uiLevel" : 9, "url" : "^PageUrl(\"\",op=spectreStatus);", "title" : "^International(spectre,Spectre);", "groupSetting" : "groupIdAdminSpectre" }, "adminConsoleOff" : { "icon" : "adminConsoleOff.gif", "uiLevel" : 1, "group" : "12", "url" : "^PageUrl(\"\",op=switchOffAdmin);", "title" : "^International(12,WebGUI);" }, "addons" : { "icon" : "addons.png", "uiLevel" : 1, "group" : "12", "url" : "http://www.webgui.org/addons", "title" : "^International(Addons title,WebGUI);" }, "contentFilters" : { "icon" : "contentFilters.gif", "uiLevel" : 3, "url" : "^PageUrl(\"\",op=listReplacements);", "title" : "^International(content filters,WebGUI);", "groupSetting" : "groupIdAdminReplacements" }, "cache" : { "icon" : "cache.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=manageCache);", "title" : "^International(manage cache,WebGUI);", "groupSetting" : "groupIdAdminCache" }, "filePump" : { "icon" : "filePump.png", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=filePump);", "title" : "^International(File Pump,FilePump);", "groupSetting" : "groupIdAdminFilePump" } }, # Enter the maximum number of assets that should be allowed to # be created on this site. Keep in mind that a base install of # WebGUI has around 300 assets. Enter zero (0) if you want to # allow an unlimited number. "maximumAssets" : 0, # Specify the list of categories to display in the "New Content" # menu. The category names should match those used in the "assets" # hash later in this config. Each category can have three properties: # # title - The human readable name of the category. # uiLevel - The minimum UI level the user must have to see the category. # group - A group id the user must be in to see the category. "assetCategories" : { "basic" : { "uiLevel" : 1, "title" : "^International(basic,Macro_AdminBar);" }, "shop" : { "uiLevel" : 5, "title" : "^International(shop,Shop);" }, "utilities" : { "uiLevel" : 9, "title" : "^International(utilities,Macro_AdminBar);" }, "community" : { "uiLevel" : 5, "title" : "^International(community,Macro_AdminBar);" }, "intranet" : { "uiLevel" : 5, "title" : "^International(intranet,Macro_AdminBar);" } }, # Specify the list of assets you want to appear in your # "New Content" menu categories. See "assetCategories" for details # about categories. Each listing has a key of class name, and then # has several properties, which are: # # category - The category the asset should appear in. Can also be an array of categories. # isContainer - Whether or not the assets main purpose to display the data from other assets. # addGroup - The group the user must be in to add this asset. # uiLevel - The minimum UI level the user must have to add the asset. # fields - Edit the properties of the asset. # tabs - Edit the tabs on which the fields are displayed when editing the asset. # # The "fields" property above may override any property of any field in this # asset class. Examples are label, tab, uiLevel. You must know what you're # doing with this, because you could break an asset if you set something wrong # with these properties. Here's an example of wha the fields poperty might look like: # # "fields" : { # "title" : { # "label" : "Name", # "tab" : "basic" # }, # "synopsis" : { # "label" : "Abstract", # "uiLevel" : 3 # } # } # # The "tabs" property allows you to to create new, hide, and update existing tabs in # the asset. Each tab has two properties: # # uiLevel - The minimum UI level the user must have to view the tab. # label - The human readable label for the tab. # # Here's an example of what a tabls section might look like: # # "tabs" : { # "basic" : { # "label" : "Basic", # "uiLevel" : 1 # }, # "meta" : { # "uiLevel" : 99999 # }, # "security" : { # "label" : "Protection" # } # } "assets" : { "WebGUI::Asset::Wobject::Shelf" : { "category" : "shop" }, "WebGUI::Asset::Wobject::Layout" : { "isContainer" : 1, "category" : "basic" }, "WebGUI::Asset::Wobject::Gallery" : { "category" : "community" }, "WebGUI::Asset::Wobject::DataTable" : { "category" : "basic" }, "WebGUI::Asset::Wobject::DataForm" : { "category" : "basic" }, "WebGUI::Asset::Sku::Ad" : { "category" : "shop" }, "WebGUI::Asset::Sku::Donation" : { "category" : "shop" }, "WebGUI::Asset::Sku::ThingyRecord" : { "category" : "shop" }, "WebGUI::Asset::Wobject::UserList" : { "category" : "intranet" }, "WebGUI::Asset::Wobject::EventManagementSystem" : { "category" : "shop" }, "WebGUI::Asset::Sku::Subscription" : { "category" : "shop" }, "WebGUI::Asset::Wobject::WikiMaster" : { "isContainer" : 1, "category" : "community" }, "WebGUI::Asset::Wobject::StoryArchive" : { "isContainer" : 1, "category" : "community" }, "WebGUI::Asset::Wobject::StoryTopic" : { "category" : "community" }, "WebGUI::Asset::Wobject::Carousel" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::StockData" : { "category" : "intranet" }, "WebGUI::Asset::FilePile" : { "category" : "basic" }, "WebGUI::Asset::Wobject::Collaboration" : { "category" : "community" }, "WebGUI::Asset::Wobject::Survey" : { "category" : "community" }, "WebGUI::Asset::File::ZipArchive" : { "category" : "utilities" }, "WebGUI::Asset::RichEdit" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::SyndicatedContent" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::HttpProxy" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::MultiSearch" : { "category" : "intranet" }, "WebGUI::Asset::File::Image" : { "category" : "utilities" }, "WebGUI::Asset::Sku::Product" : { "category" : "shop" }, "WebGUI::Asset::Wobject::WeatherData" : { "category" : "intranet" }, "WebGUI::Asset::Redirect" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Article" : { "category" : "basic" }, "WebGUI::Asset::Wobject::AssetReport" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Search" : { "category" : "basic" }, "WebGUI::Asset::Wobject::MessageBoard" : { "isContainer" : 1, "category" : "community" }, "WebGUI::Asset::Wobject::SQLReport" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::TimeTracking" : { "category" : "intranet" }, "WebGUI::Asset::Wobject::Calendar" : { "category" : "basic" }, "WebGUI::Asset::Wobject::Poll" : { "category" : "basic" }, "WebGUI::Asset::Wobject::ProjectManager" : { "category" : "intranet" }, "WebGUI::Asset::Wobject::Folder" : { "isContainer" : 1, "category" : "basic" }, "WebGUI::Asset::Wobject::Navigation" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Matrix" : { "category" : "community" }, "WebGUI::Asset::Sku::FlatDiscount" : { "category" : "shop" }, "WebGUI::Asset::Wobject::Thingy" : { "category" : "intranet" }, "WebGUI::Asset::File" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Collaboration::Newsletter" : { "category" : "community" }, "WebGUI::Asset::Snippet" : { "category" : "basic" }, "WebGUI::Asset::Wobject::InOutBoard" : { "category" : "intranet" }, "WebGUI::Asset::Wobject::Dashboard" : { "isContainer" : 1, "category" : "intranet" }, "WebGUI::Asset::Wobject::DataForm" : { "category" : "basic" }, "WebGUI::Asset::Template" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Map" : { "category" : "basic" }, "WebGUI::Asset::Wobject::AssetReport" : { "category" : "utilities" }, }, # # Specify the list of account pluggins available on your site. # Account pluggins are returned on the site in the order they are list in the config file # Each pluggin has serveral properties # # identifier - This string will act as the identifying agent for this account pluggin. It is passed along # the url and cannot contain spaces. # title - The title of the module which is displayed on the website. # className - The class which drives this module # # IMPORTANT NOTE - PLEASE READ: # # DO NOT DELETE THE WebGUI::Account::User pluggin from this list. This module # is Deprecated on release and is mandatory for every site. You may move it's position # but if you remove it you will break WebGUI's Authentication System. This module will # be replaced in WebGUI 8 once the APIs can be broken and the Account portion of Auth # can be moved into the Account system # # A profile module is required as well. You may replace the default profile # module with a custom version, but many systems in WebGUI rely on being # able to display a user's profile. # "account" : [ { "identifier" : "profile", "title" : "^International(title,Account_Profile);", "className" : "WebGUI::Account::Profile" }, { "identifier" : "inbox", "title" : "^International(title,Account_Inbox);", "className" : "WebGUI::Account::Inbox" }, { "identifier" : "friends", "title" : "^International(title,Account_Friends);", "className" : "WebGUI::Account::Friends" }, { "identifier" : "contributions", "className" : "WebGUI::Account::Contributions", "title" : "^International(title,Account_Contributions);" }, { "identifier" : "shop", "title" : "^International(title,Account_Shop);", "className" : "WebGUI::Account::Shop" }, { "identifier" : "user", "title" : "^International(title,Account_User);", "className" : "WebGUI::Account::User" }, { "identifier" : "friendManager", "title" : "^International(title,Account_FriendManager);", "className" : "WebGUI::Account::FriendManager" } ], # Specify which of the modules in the above list is used # to display the user's profile. This is a mandatory configuration "profileModuleIdentifier" : "profile", # Optionally add a "Save and Commit" button to assets so that you # don't have to hit "Commit My Changes" seperately. "enableSaveAndCommit" : 0, # Optionally override the default UI Level of any asset. This # determines whether the current user has the appropriate UI Level # to add assets of that type. # Configure the UI Levels of the asset toolbar links. "assetToolbarUiLevel" : { "copy" : 1, "cut" : 1, "delete" : 1, "edit" : 1, "view" : 1, "demote" : 3, "promote" : 3, "lock" : 5, "manage" : 5, "revisions" : 5, "shortcut" : 5, "changeUrl" : 9, "editBranch" : 9, "export" : 9 }, # If exportPath is defined, an "Export" toolbar icon will appear # which allows you to export assets to static HTML. This folder # needs to be writable by your web server. "exportPath" : "/var/lib/webgui/exports", # Enable streaming Image and File assets thru mod_perl process instead of # simple redirect. WARNING has impact on performance. "enableStreamingUploads" : "0", # Specify the list of macros you wish to be processed on each page. "macros" : { "@" : "At_username", "#" : "Hash_userId", "/" : "Slash_gatewayUrl", "a" : "a_account", "AdminBar" : "AdminBar", "AdminText" : "AdminText", "AdminToggle" : "AdminToggle", "AdSpace" : "AdSpace", "AOIHits" : "AOIHits", "AOIRank" : "AOIRank", "AssetProperty" : "AssetProperty", "AssetProxy" : "AssetProxy", "BackToSite" : "BackToSite", "CanEditText" : "CanEditText", "CartItemCount" : "CartItemCount", "ConvertUTCToTZ" : "ConvertUTCToTZ", "c" : "c_companyName", "D" : "D_date", "DeactivateAccount": "DeactivateAccount", "EditableToggle" : "EditableToggle", "e" : "e_companyEmail", "Extras" : "Extras", "FetchMimeType" : "FetchMimeType", "FilePump" : "FilePump", "FileUrl" : "FileUrl", "FormField" : "FormField", "GroupAdd" : "GroupAdd", "GroupDelete" : "GroupDelete", "GroupText" : "GroupText", "H" : "H_homeLink", "If" : "If", "International" : "International", "LastModified" : "LastModified", "LastModifiedBy" : "LastModifiedBy", "L" : "L_loginBox", "LoginToggle" : "LoginToggle", "MiniCart" : "MiniCart", "Page" : "Page", "PageTitle" : "PageTitle", "PageUrl" : "PageUrl", "PickLanguage" : "PickLanguage", "RandomAssetProxy" : "RandomAssetProxy", "RandomThread" : "RandomThread", "RenderThingData" : "RenderThingData", "RootTitle" : "RootTitle", "r" : "r_printable", "Spacer" : "Spacer", "SpectreCheck" : "SpectreCheck", "TwitterLogin" : "TwitterLogin", "Thumbnail" : "Thumbnail", "User" : "User", "UsersOnline" : "UsersOnline", "u" : "u_companyUrl", "ViewCart" : "ViewCart", "StorageUrl" : "StorageUrl" }, #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 # to come from. All other subnets will be ignored. The subnet # should be listed in CIDR notation. "spectreSubnets" : [ "127.0.0.1/32" ], # Define the IP Address that should be used by WebGUI to connect # to Spectre. Depending upon your cluster configuration, this may # or may not be the same as the information in spectreSubnets. "spectreIp" : "127.0.0.1", # Define the port number WebGUI should use to connect to Spectre "spectrePort" : 32133, # Define the workflow activities that are available in the editing # process and what object types they support. "workflowActivities" : { "None" : [ "WebGUI::Workflow::Activity::ArchiveOldStories", "WebGUI::Workflow::Activity::ArchiveOldThreads", "WebGUI::Workflow::Activity::CalendarUpdateFeeds", "WebGUI::Workflow::Activity::CleanCookieJars", "WebGUI::Workflow::Activity::CleanDatabaseCache", "WebGUI::Workflow::Activity::CleanFileCache", "WebGUI::Workflow::Activity::CleanLoginHistory", "WebGUI::Workflow::Activity::CleanTempStorage", "WebGUI::Workflow::Activity::CreateCronJob", "WebGUI::Workflow::Activity::DecayKarma", "WebGUI::Workflow::Activity::DeleteExpiredSessions", "WebGUI::Workflow::Activity::ExpireEmsCartItems", "WebGUI::Workflow::Activity::ExpireGroupings", "WebGUI::Workflow::Activity::ExpireSubscriptionCodes", "WebGUI::Workflow::Activity::GetSyndicatedContent", "WebGUI::Workflow::Activity::NotifyAdminsWithOpenVersionTags", "WebGUI::Workflow::Activity::PurgeOldAssetRevisions", "WebGUI::Workflow::Activity::PurgeOldTrash", "WebGUI::Workflow::Activity::RemoveOldCarts", "WebGUI::Workflow::Activity::SendQueuedMailMessages", "WebGUI::Workflow::Activity::SummarizePassiveProfileLog", "WebGUI::Workflow::Activity::SyncProfilesToLdap", "WebGUI::Workflow::Activity::TrashClipboard", "WebGUI::Workflow::Activity::TrashExpiredEvents", "WebGUI::Workflow::Activity::SummarizePassiveAnalytics", "WebGUI::Workflow::Activity::BucketPassiveAnalytics", "WebGUI::Workflow::Activity::ExpirePurchasedThingyRecords" ], "WebGUI::Asset::Wobject::Thingy" : [ "WebGUI::Workflow::Activity::NotifyAboutThing" ], "WebGUI::Asset" : [ "WebGUI::Workflow::Activity::UpdateAssetSubscribers" ], "WebGUI::User" : [ "WebGUI::Workflow::Activity::CreateCronJob", "WebGUI::Workflow::Activity::NotifyAboutUser", "WebGUI::Workflow::Activity::ActivateUser", "WebGUI::Workflow::Activity::DeactivateUser", "WebGUI::Workflow::Activity::WaitForUserConfirmation", "WebGUI::Workflow::Activity::DeleteUser" ], "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. "graphingPlugins" : [ "WebGUI::Image::Graph::Pie", "WebGUI::Image::Graph::XYGraph::Bar", "WebGUI::Image::Graph::XYGraph::Line" ], # 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 # the name the dictionary is displayed with in tinyMCE. To set the default dictionary please set the 'default' # parameter. #"availableDictionaries" : [ # { # "id" : "en_US", # "name" : "English", # "default" : "1" # }, # { # "id" : "nl", # "name" : "Dutch" # } #], # Optional script to run upon successful login. The script can contain macros # ex: /data/WebGUI/sbin/doLogin.pl --configFile=dev.localhost.localdomain.conf --loginPage=^PageUrl(); "runOnLogin" : "", # Optional script to run upon successful logout. The script can contain macros # Example: /data/WebGUI/sbin/doLogout.pl --configFile=dev.localhost.localdomain.conf --logoutPage=^PageUrl(); "runOnLogout" : "", # URL handlers are used to associate functionality with a URL via a regular expression. "urlHandlers" : [ { "^/extras" : "WebGUI::URL::PassThru" }, { "^/exports" : "WebGUI::URL::PassThru" }, # { "^/icons" : "WebGUI::URL::PassThru" }, # { "^/documentation/pdf" : "WebGUI::URL::PassThru" }, # { "^/my-custom-application$" : "WebGUI::URL::PassThru" }, # { "^/server-status$" : "WebGUI::URL::PassThru" }, # { "^/perl-status$" : "WebGUI::URL::PassThru" }, { "^/uploads/dictionaries" : "WebGUI::URL::Unauthorized" }, { "^/uploads" : "WebGUI::URL::Uploads" }, { "^/\\*give-credit-where-credit-is-due\\*$" : "WebGUI::URL::Credits" }, # { "^/abcdefghijklmnopqrstuvwxyz$" : "WebGUI::URL::Snoop" }, { ".*" : "WebGUI::URL::Content" } ], # Content handlers are used to produce content from the content URL handler. # Note, these handlers are processed in the order listed. Do not change # unless you know what you're doing. "contentHandlers" : [ "WebGUI::Content::Prefetch", "WebGUI::Content::Maintenance", "WebGUI::Content::Referral", "WebGUI::Content::AssetManager", "WebGUI::Content::AssetDiscovery", "WebGUI::Content::PassiveAnalytics", "WebGUI::Content::SetLanguage", "WebGUI::Content::AjaxI18N", "WebGUI::Content::Account", "WebGUI::Content::AssetHistory", "WebGUI::Content::FilePump", "WebGUI::Content::Wizard", "WebGUI::Content::Operation", "WebGUI::Content::Setup", "WebGUI::Content::Shop", "WebGUI::Content::SiteIndex", "WebGUI::Content::Asset", "WebGUI::Content::NotFound" ], # extensions that the export system should pass through as-is instead of using # index.html "exportBinaryExtensions" : [ "html", "htm", "txt", "pdf", "jpg", "css", "gif", "png", "doc", "xls", "xml", "rss", "bmp", "mp3", "js", "fla", "flv", "swf", "pl", "php", "php3", "php4", "php5", "ppt", "docx", "zip", "tar", "rar", "gz", "bz2" ], # Drivers for the pluggable tax system "taxDrivers" : [ "WebGUI::Shop::TaxDriver::Generic", "WebGUI::Shop::TaxDriver::EU" ], # Content Delivery Network - for use with WebGUI::Storage # required for CDN: enabled, url, queuePath, syncProgram, deleteProgram # optional for CDN: sslAlt, sslUrl, extrasCdn, extrasSsl, extrasExclude #"cdn" : { "enabled" : 0, # "url" : "http://content.example.com", # "sslAlt" : 0, # "sslUrl" : "https://ssl.example.com", # "queuePath" : "/var/spool/webgui/", # "syncProgram" : "/usr/bin/rsync -av --chmod=u+rwx -- '%s' user@content.example.com:/path", # "deleteProgram" : "/usr/bin/ssh user@content.example.com 'rm -Rf -- %s'", # "extrasCdn" : "http://content.example.com/extras", # "extrasSsl" : "https://content.example.com/extras", # "extrasExclude": ["tinymce", "^blah$"] # }, #A list of UserAgents of recognized mobile platforms. If useMobileStyle is set in the #Admin settings, then the mobile style will be used for these browsers. "mobileUserAgents" : [ "AvantGo", "DoCoMo", "Vodafone", "EudoraWeb", "Minimo", "UP\\.Browser", "PLink", "Plucker", "NetFront", "^WM5 PIE$", "Xiino", "iPhone", "Opera Mobi", "BlackBerry", "Opera Mini", "HP iPAQ", "IEMobile", "Profile/MIDP", "Smartphone", "Symbian ?OS", "J2ME/MIDP", "PalmSource", "PalmOS", "Windows CE", "Opera Mini" ], # For the siteIndex content plugin. Whether or not the auto-generated siteIndex should # show hidden pages "siteIndex" : { "showHiddenPages" : 0 }, # An array of SPAM words. Used in the Post and WikiPage to block spam by sending the asset directly # to the trash. "spamStopWords" : [ ], # A flag to enable a very simple SSO mechanism using sessionIds. "enableSimpleSSO" : 0 } debian/compat0000644000000000000000000000000212006276254010370 0ustar 8 debian/webgui.postrm0000644000000000000000000000261111647035521011722 0ustar #! /bin/sh # postrm script for webgui written by Ernesto Hernández-Novich set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' overwrit>r> # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge) # Get rid of any logfiles. rm -rf /var/log/webgui || true # Get rid of any user generated data left behind after file removal rm -rf /var/lib/webgui || true # Get rid of cached data left behind after file removal rm -rf /var/cache/webgui || true # Get rid of CDN queue data left behind after file removal rm -rf /var/spool/webgui || true ;; remove) # Nothing to do (for now :-). ;; upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) # Nothing to do (for now :-) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/clean0000644000000000000000000000000412006276254010171 0ustar *.1 debian/webgui.default0000644000000000000000000000020011111631526012003 0ustar # Check /usr/share/doc/webgui/README.Debian for configuration # instructions and then enable WebGUI's Spectre daemon ENABLED=no debian/webgui-l10n-de.install0000644000000000000000000000020211632222217013166 0ustar lib/WebGUI/i18n/German.pm usr/share/webgui/lib/WebGUI/i18n lib/WebGUI/i18n/German/* usr/share/webgui/lib/WebGUI/i18n/German/ debian/maintenance.html0000644000000000000000000000251511511025452012335 0ustar WebGUI site under maintenance
Maintenance

This site is currently undergoing maintenance. Please check back again shortly.

debian/webgui.links0000644000000000000000000000150112106461702011506 0ustar etc/webgui usr/share/webgui/etc etc/webgui/preload.perl usr/share/webgui/sbin/preload.perl usr/share/javascript/swfobject/swfobject.js usr/share/webgui/extras/ukplayer/swfobject.js usr/share/javascript/swfobject/expressInstall.swf usr/share/webgui/extras/ukplayer/expressInstall.swf usr/share/javascript/yui usr/share/webgui/extras/yui/build usr/share/javascript/underscore/underscore.js usr/share/webgui/extras/underscore/underscore.js usr/share/javascript/underscore/underscore.min.js usr/share/webgui/extras/underscore/underscore-min.js usr/share/tinymce/www usr/share/webgui/extras/tinymce/jscripts/tiny_mce usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf usr/share/webgui/lib/default.ttf debian/preload.exclude0000644000000000000000000000411511203364061012164 0ustar # Add one line for each WebGUI module you DO NOT want mod_perl to load. # This will reduce the memory foot-print of your mod_perl instances, # possibly increasing performance. # WebGUI::Cache::Database # WebGUI::Auth::LDAP # WebGUI::Asset::Wobject::WSClient # WebGUI::Asset::File::ZipArchive # WebGUI::Asset::Template::HTMLTemplateExpr # WebGUI::Asset::Template::TemplateToolkit # WebGUI::Asset::Wobject::Matrix # WebGUI::Asset::Wobject::HttpProxy # WebGUI::Asset::Sku::Product # WebGUI::Asset::Sku::Donation # WebGUI::Asset::Sku::Subscription # WebGUI::Asset::Sku::FlatDiscount # WebGUI::Asset::Sku::EMSBadge # WebGUI::Asset::Sku::EMSRibbon # WebGUI::Asset::Sku::EMSTicket # WebGUI::Asset::Sku::EMSToken # WebGUI::Asset::Sku # WebGUI::Asset::Wobject::Survey # WebGUI::Asset::Wobject::InOutBoard # WebGUI::Asset::Wobject::Dashboard # WebGUI::Asset::Wobject::EventManagementSystem # WebGUI::Asset::Wobject::ProjectManager # WebGUI::Asset::Wobject::SyndicatedContent # WebGUI::Asset::Wobject::WSClient # WebGUI::Asset::Wobject::MultiSearch # WebGUI::Shop::Vendor # WebGUI::Shop::Transaction # WebGUI::Shop::CartItem # WebGUI::Shop::Cart # WebGUI::Shop::Ship # WebGUI::Shop::Pay # WebGUI::Shop::TransactionItem # WebGUI::Shop::Credit # WebGUI::Shop::AddressBook # WebGUI::Shop::Admin # WebGUI::Shop::PayDriver # WebGUI::Shop::Products # WebGUI::Shop::PayDriver::Cash # WebGUI::Shop::PayDriver::ITransact # WebGUI::Shop::Address # WebGUI::Shop::ShipDriver # WebGUI::Shop::Tax # WebGUI::Shop::ShipDriver::FlatRate # WebGUI::Content::Shop # WebGUI::Macro::AOIHits # WebGUI::Macro::AOIRank # WebGUI::Macro::AdminText # WebGUI::Macro::CanEditText # WebGUI::Macro::CartItemCount # WebGUI::Macro::EditableToggle # WebGUI::Macro::Execute # WebGUI::Macro::FormParam # WebGUI::Macro::GroupAdd # WebGUI::Macro::GroupDelete # WebGUI::Macro::GroupText # WebGUI::Macro::Include # WebGUI::Macro::LastModified # WebGUI::Macro::MiniCart # WebGUI::Macro::Quote # WebGUI::Macro::RootTitle # WebGUI::Macro::SQL # WebGUI::Macro::SpectreCheck # WebGUI::Macro::Splat_random # WebGUI::Macro::URLEncode # WebGUI::Macro::ViewCart # WebGUI::Macro::Widget debian/README.Debian0000644000000000000000000003371312113673547011247 0ustar WebGUI for Debian ================= GETTING STARTED --------------- These are the final steps to get WebGUI up and running in Debian. 1. Single Database setup. If you want to have the database in the same machine, just install mysql-server and create your database as follows so the configuration files will work right away: $ mysql -e "create database webguidb" $ mysql -e "grant all privileges on webguidb.* to webgui@localhost identified by 'webgui'" $ zcat /usr/share/doc/webgui/docs/create.sql.gz | mysql -uwebgui -pwebgui webguidb If you want to have the database on a different machine, use different names for your database and user, or a different password (please, do!), just change the appropriate stanza in /etc/webgui/webgui.conf to match your needs. 2. Multiple Database Setup A single WebGUI installation can handle several virtual hosts as long as you create a database and configuration file for each one. Just copy /etc/webgui/webgui.conf to another name (say, /etc/webgui/mysite.conf), create another database as explained before, and change the needed stanzas in /etc/webgui/mysite.conf. You'll probably need to change the Apache virtual host too, and stop and start Apache in order to reload your configuration. 3. Check your configuration files in /etc/webgui Any file ending in .conf inside /etc/webgui will be treated as a WebGUI configuration, except for log.conf and spectre.conf. Therefore, do not rename apache.config to apache.conf, nor add .conf files that are not WebGUI config files; if you do, WebGUI will fail to start choking on the "invalid config file". 4. Test your configuration before continuing. You can test your WebGUI configuration at any time # wg-testEnvironment It will tell you if everything is ok. It will try to connect to WebGUI's source site to find out the latest version available and compare it with the installed one; you can safely ignore the warning regarding availability of a newer version or, obviously, not being able to access the site if you don't have Internet access at the time. 5. Apache configuration. A sample configuration file is provided in /etc/webgui/apache.config. Either copy or symlink it into Apache's configuration directory like # ln -s /etc/webgui/apache.config /etc/apache2/conf.d/webgui Once the file is in place you must enable Apache's perl and apreq modules # a2enmod apreq # a2enmod perl and then either start or force-reload Apache2 using /etc/init.d/apache2 Once you start Apache you should get a message like Starting web server... Starting WebGUI 7.10.24 Loading webgui.conf WebGUI Started! The sample configuration assumes that WebGUI is accessed as /webgui so any other application or static website will not be affected. However, high performance installations usually require that WebGUI is the only application being served, so you will need to change the default configuration to fit your needs in that case. You can find suitable configuration files under /usr/share/doc/webgui/examples to have WebGUI as the only application being served by Apache. This "standalone" configuration defines a single Apache VirtualHost having its root handled by WebGUI. 6. Start WebGUI's Spectre daemon Once WebGUI's database is configured and Apache is starting up properly, you must enable WebGUI's Spectre daemon. Failure to do so will prevent any changes on the website, since the publishing workflow system will not be available. Edit /etc/default/webgui to enable startup, and use /etc/init.d/webgui to start and stop the daemon. Once started, you can use # spectre --ping and/or # spectre --status to check whether the daemon is available and what it's doing. 7. Using it for the first time. Open your browser to http://localhost/webgui (if on the same machine) or the appropriate URL from a remote one, in order to access WebGUI's initial configuration sequence. * Admin Account You will be asked to set WebGUI's Administrator Account and set a password for it. Default values will be shown, but feel free to change them specially the password. You will also be able to set the default timezone and default language for the site. * Company Information You will be asked to set some details about your organization: name, mail contact address and URL. These are used to set up the home page and you can change them later if needed through the administrative interface so don't worry about setting them "perfect" the first time through. * Send WebGUI Statistics You will be asked whether or not to participate in the WebGUI Community Statistics Program. WebGUI can send usage statistics to a central statistics repository at webgui.org, helping developers understand the way WebGUI is used. If you click 'Enable', only anonymous statistical information will be sent to the repository. * Choose a Design You will have a chance to select the starting style for your site from a list with thumbnails. All styles are installed by default, so you'll be able to change them later if needed. * Page Builder You will be asked whether or not to use WebGUI Page Builder. If you click 'No, thanks' WebGUI will setup your site with the design you selected in the previous step using the standard pages WebGUI comes with. If you click 'Yes, please!' you will be able to select some basic pages to be created and included by default in the site (Contact Us, Calendar, WiKi, Search, About Us, News) and even provide initial content for them. You can even list as many Forums as you want created and they will! Either way, you will be taken to the Homepage, where you can login to start customizing your site, adding users and content... 8. But it did not start! If it does not start, check Apache's /var/log/apache2/error.log and webgui's /var/log/webgui/webgui.log for hints on what could be wrong. UTILITY SCRIPTS --------------- WebGUI comes with several utility Perl scripts intended to ease some of the maintenance work, which are usually located in a private sbin directory inside of WebGUI's file hierarchy. In order to comply with Debian's Policy, this package places the scripts /usr/bin and renames them from their standard names in order to drop the .pl extension and have wg_ as prefix. Thus, the scripts are: wg-changeIobStatus wg-diskUsage wg-fileImport wg-findBrokenAssets wg-fixWgaccess wg-galleryImport wg-generateContent wg-installClass wg-maintenanceMode wg-purgeWGAccess wg-rebuildLineage wg-search wg-syncToCdn wg-testCodebase wg-testEnvironment wg-thumbnailer wg-upgrade wg-userImport Check out each script manual page in order to find out what it does. UPGRADES -------- WebGUI comes with several scripts that help upgrade from one version to another. The current Debian package attempts the automatic upgrade using those scripts and they work out of the box in most cases. Note that every upgrade step takes a backup of WebGUI's database and places it in /var/backups. If the automatic upgrade succeeds, you can remove those backups. If the automatic upgrade fails, you may want to perform the upgrade manually using the scripts provided in /usr/share/webgui/upgrades. Begin the upgrade by shutting down Spectre either by using the startup scripts # /etc/init.d/webgui stop or manually via # spectre --stop Then, execute the main upgrade script # wg-upgrade --help and follow the instructions. Once the script has finished, restart Spectre either by using the startup script # /etc/init.d/webgui start or manually via # spectre --start Finally, restart Apache for the changes to take effect. You should be able to upgrade any WebGUI installation from 7.8.13 on. MAINTENANCE MODE ---------------- The utility script wg-maintenanceMode toggles an internal WebGUI flag signaling whether or not the system is available for normal use or if it is under maintenance. This can be used during upgrades or during planned outages, so you don't need to stop the application completely and your users won't get 404 errors on account of Apache not being available. You can have a custom static HTML page served while the system is under maintenance. The current WebGUI version has the static page location hardcoded, and the Debian package puts it in /etc/webgui/maintenance.html Remember that this is a static page, so if you need to use CSS or images provided by WebGUI, they must be available as static objects, tipically via /extras or /uploads. A simple trick is to create a page in WebGUI and then export it. ENABLING SPELL CHECKING ----------------------- WebGUI uses TinyMCE as the rich text editor for content managers and also for writing in forums. If you want to add server-side spell checking facilities for one or more languages: 1. Install aspell and needed languages. For instance, to have english and spanish server-side spell checking you would need aptitude install aspell aspell-en aspell-es 2. Change WebGUI' s configuration file to include the available dictionaries and mark one of them as default. In this example "availableDictionaries" : [ { "id" : "en_US", "name" : "English", "default" : "1" }, { "id" : "es", "name" : "Castellano" } ], The "id" field must have any of the valid aspell dictionary names, as shown by $ aspell dicts whereas the "name" field can have any suitable description intended for the user, since it will show verbatim in the Spell Checking menu. 3. You must add the Spell Checker button in the TinyMCE Templates. Working as a WebGUI Administrator, use the Admin Console and go to the Asset Manager. Navigate through the Asset Browser following the path Root -> Import -> RichEdit There you'll find the Templates for the Content Manager's Rich Edit and the Forum Rich Edit. Following the Edit link for each one you'll be able to enable the "Server Side Spell Checker" button, by adding it to any of the three rows of TinyMCE's toolbar. 4. The next time you use either Rich Editor, you should have a Spell Check button. If you've defined more than one available dictionary, you'll see a drop down menu listing them. DATABASE CONNECTION POOLING --------------------------- WebGUI can take advantage of Apache::DBI to reuse and multiplex connections to MySQL, improving performance in single-database scenarios. You have to install Apache::DBI aptitude install libapache-dbi-perl and then edit /usr/share/webgui/sbin/preload.perl, uncomment use Apache::DBI (); and then restart Apache. Connection pooling is NOT recommended if you have multiple websites under a single WebGUI installation through virtual hosts, or a replicated database backend. EXTENDING WEBGUI ---------------- If you intend to write extensions for WebGUI as Macros or Assets, you should place the additional Perl modules in /usr/share/local/webgui/lib mimicking the structure of /usr/share/webgui/lib. Apache will load any modules under this directory on startup and reload, so after adding your Perl modules there, you should restart Apache to make WebGUI use them. If you want to have several directories holding custom Perl modules for WebGUI, add them to /etc/webgui/preload.custom. Note that you *must* create the needed directories before installing your custom modules. For instance, if you write your own Foo.pm for a WebGUI Macro named 'foo', you should # mkdir -p /usr/local/share/webgui/lib/WebGUI/Macro # cp Foo.pm /usr/local/share/webgui/lib/WebGUI/Macro # chmod 644 /usr/local/share/webgui/lib/WebGUI/Macro.pm # /etc/init.d/apache2 restart If you write your own Frobnicator.pm for a WebGUI Asset named Frobnicator, you should # mkdir -p /usr/local/share/webgui/lib/WebGUI/Asset # cp Frobnicator.pm /usr/local/share/webgui/lib/WebGUI/Asset # chmod 644 /usr/local/share/webgui/lib/WebGUI/Asset/Frobnicator.pm # wg-installClass WebGUI::Asset::Frobnicator --config=webgui.conf # /etc/init.d/apache2 restart There's plenty of information in http://www.webgui.org for developers, and you can find template modules in /usr/share/webgui/lib/WebGUI/Macro/_macro.skeleton /usr/share/webgui/lib/WebGUI/Asset/_NewAsset.skeleton If you intend to submit patches or extensions to the core WebGUI, please make sure your code adheres to WebGUI's coding standards. Just configure perltidy so it uses WebGUI's preferred configuration, which can be copied from /usr/share/doc/webgui/examples/.perltidyrc to your WebGUI's development or personal directory. TESTING WEBGUI's CODEBASE ------------------------- You can test all of WebGUI's installed codebase using wg-testCodebase. This is particularly useful if you develop additional Assets and Macros, or change WebGUI's code in any way you see fit, and want to be sure you haven't broken anything. To be able to use wg-testCodebase, you need to install the Perl modules listed as Recommends and Suggests dependencies for the package (libtest-* and libdevel-*). Several tests are *destructive*, that's why testing is strongly recommended on *testing* installations. All tests assume WebGUI is setup to handle Apache's root location and that users Visitor and Admin have a timezone of America/Chicago. There are additional WWW::Mechanize based tests to navigate through the live site. In order to run them you need to have a proper installation of WebGUI with Apache listening on localhost, and set the environment variable WEBGUI_LIVE=1 before running the test suite. TRANSLATIONS ------------ WebGUI includes english, spanish, german and dutch translations out of the box. There are additional translations you can download an install: 1. Go to http://i18n.webgui.org 2. Choose a language to get a .tar.gz created on the fly for download with the current translated messages. 3. Extract the files in /usr/share/webgui/lib/WebGUI/i18n Note that except for the four default translations, most translations are partial, but you are able to contribute to the translation online before you download it. TODO ---- - I'll be adding debconf/dbconfig support so database creation becomes easier. - I'll be adding some documentation on WebGUI that I've gathered, once I sort out the good bits. -- Ernesto Hernández-Novich Tue, 17 Jan 2012 18:16:34 -0430 debian/webgui.logrotate0000644000000000000000000000010011272144202012354 0ustar /var/log/webgui/*.log { weekly compress rotate 12 } debian/patches/0000755000000000000000000000000012123052574010616 5ustar debian/patches/fix_upgrade_scripts.patch0000644000000000000000000003420412123052325015700 0ustar Description: WebGUI provides several upgrade scripts to handle upgrading existing installations from one version to the next. This patch fixes shebang lines, the path to WebGUI's Perl libraries and several hardcoded filenames. Forwarded: not-needed Author: Ernesto Hernández-Novich --- a/docs/upgrades/_upgrade.skeleton +++ b/docs/upgrades/_upgrade.skeleton @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/sbin/upgrade.pl +++ b/sbin/upgrade.pl @@ -40,9 +40,9 @@ my $history; my $override; my $quiet; -my $mysql = "mysql"; -my $mysqldump = "mysqldump"; -my $backupDir = "/tmp/backups"; +my $mysql = "/usr/bin/mysql"; +my $mysqldump = "/usr/bin/mysqldump"; +my $backupDir = "/var/backups"; my $skipBackup; my $skipDelete; my $skipMaintenance; @@ -110,7 +110,7 @@ } else { $slash = "/"; } -our $upgradesPath = $webguiRoot.$slash."docs".$slash."upgrades".$slash; +our $upgradesPath = $webguiRoot.$slash."upgrades".$slash; our (%upgrade, %config); --- a/docs/upgrades/upgrade_7.10.0-7.10.1.pl +++ b/docs/upgrades/upgrade_7.10.0-7.10.1.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.9.13-7.10.0.pl +++ b/docs/upgrades/upgrade_7.9.13-7.10.0.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.9.34-7.10.22.pl +++ b/docs/upgrades/upgrade_7.9.34-7.10.22.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.1-7.10.2.pl +++ b/docs/upgrades/upgrade_7.10.1-7.10.2.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.2-7.10.3.pl +++ b/docs/upgrades/upgrade_7.10.2-7.10.3.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.3-7.10.4.pl +++ b/docs/upgrades/upgrade_7.10.3-7.10.4.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.4-7.10.5.pl +++ b/docs/upgrades/upgrade_7.10.4-7.10.5.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.5-7.10.6.pl +++ b/docs/upgrades/upgrade_7.10.5-7.10.6.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.6-7.10.7.pl +++ b/docs/upgrades/upgrade_7.10.6-7.10.7.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.7-7.10.8.pl +++ b/docs/upgrades/upgrade_7.10.7-7.10.8.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.8-7.10.9.pl +++ b/docs/upgrades/upgrade_7.10.8-7.10.9.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.9-7.10.10.pl +++ b/docs/upgrades/upgrade_7.10.9-7.10.10.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.10-7.10.11.pl +++ b/docs/upgrades/upgrade_7.10.10-7.10.11.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.11-7.10.12.pl +++ b/docs/upgrades/upgrade_7.10.11-7.10.12.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.12-7.10.13.pl +++ b/docs/upgrades/upgrade_7.10.12-7.10.13.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.13-7.10.14.pl +++ b/docs/upgrades/upgrade_7.10.13-7.10.14.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.14-7.10.15.pl +++ b/docs/upgrades/upgrade_7.10.14-7.10.15.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.15-7.10.16.pl +++ b/docs/upgrades/upgrade_7.10.15-7.10.16.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.16-7.10.17.pl +++ b/docs/upgrades/upgrade_7.10.16-7.10.17.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.17-7.10.18.pl +++ b/docs/upgrades/upgrade_7.10.17-7.10.18.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.18-7.10.19.pl +++ b/docs/upgrades/upgrade_7.10.18-7.10.19.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.19-7.10.20.pl +++ b/docs/upgrades/upgrade_7.10.19-7.10.20.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.20-7.10.21.pl +++ b/docs/upgrades/upgrade_7.10.20-7.10.21.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.21-7.10.22.pl +++ b/docs/upgrades/upgrade_7.10.21-7.10.22.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.22-7.10.23.pl +++ b/docs/upgrades/upgrade_7.10.22-7.10.23.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.23-7.10.24.pl +++ b/docs/upgrades/upgrade_7.10.23-7.10.24.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.24-7.10.25.pl +++ b/docs/upgrades/upgrade_7.10.24-7.10.25.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.25-7.10.26.pl +++ b/docs/upgrades/upgrade_7.10.25-7.10.26.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.26-7.10.27.pl +++ b/docs/upgrades/upgrade_7.10.26-7.10.27.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } --- a/docs/upgrades/upgrade_7.10.27-7.10.28.pl +++ b/docs/upgrades/upgrade_7.10.27-7.10.28.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. @@ -13,7 +13,7 @@ our ($webguiRoot); BEGIN { - $webguiRoot = "../.."; + $webguiRoot = "/usr/share/webgui"; unshift (@INC, $webguiRoot."/lib"); } debian/patches/fix_testcodebase.patch0000644000000000000000000000500411435522114015146 0ustar Description: WebGUI provides a script to run several tests on the code base, useful for developers looking to extend WebGUI. This patch changes the hardcoded place to look for configuration files and the included POD to use and refer to /etc/webgui instead. Forwarded: not-needed Author: Ernesto Hernández-Novich --- a/sbin/testCodebase.pl +++ b/sbin/testCodebase.pl @@ -56,8 +56,8 @@ if (! -e $configFile) { ##Probably given the name of the config file with no path, ##attempt to prepend the path to it. - warn "Config file $configFile does not exist, assuming that you supplied a bare config and are running from inside the sbin directory\n"; - $configFile = File::Spec->canonpath($webguiRoot . '/etc/' . $configFile); + warn "Config file $configFile does not exist, assuming that you supplied a bare config.\n"; + $configFile = File::Spec->canonpath('/etc/webgui/' . $configFile); } die "Unable to use $configFile as a WebGUI config file\n" @@ -74,8 +74,17 @@ # Add coverage tests $prefix .= " HARNESS_PERL_SWITCHES='-MDevel::Cover=-db,/tmp/coverdb'" if $coverage; -print(join ' ', $prefix, $perlBase."prove", $verboseFlag, '-r', $webguiTest); print "\n"; -system(join ' ', $prefix, $perlBase."prove", $verboseFlag, '-r', $webguiTest); +chdir $webguiRoot; +my $cmd = join ' ', + $prefix, + $perlBase."prove", + $verboseFlag, + '-r', + "-I$webguiRoot/lib", + "-I$webguiRoot/t/lib", + 't'; +print $cmd,"\n"; +system $cmd; __END__ @@ -85,7 +94,7 @@ =head1 SYNOPSIS - testCodebase --configFile /data/WebGUI/etc/config.conf + testCodebase --configFile /etc/webgui/config.conf [--coverage] [--noLongTests] [--perlBase path] @@ -105,7 +114,7 @@ =over -=item B<--configFile /data/WebGUI/etc/config.conf> +=item B<--configFile /etc/webgui/config.conf> A WebGUI config file is required for testing. If one cannot be found based on input from the user, then the script aborts @@ -114,8 +123,7 @@ Config files can be supplied on the command line, or via the environment variable, WEBGUI_CONFIG being used as a fallback. If the config file cannot be found, the script assumes that a bare filename was provided and -that it is being from from the WebGUI sbin directory. It then looks in -the parallel directory, '../etc', for the config file. +it will look in /etc/webgui for the config file. Be aware that some of the tests are destructive, and running tests on production sites is not recommended. debian/patches/fix_webgui_root.patch0000644000000000000000000001746011631727166015053 0ustar Description: WebGUI utility scripts rely on use lib to have access to WebGUI's Perl Modules, using hard coded relative paths. This patch makes it use /usr/share/webgui instead. Forwarded: not-needed Author: Ernesto Hernández-Novich --- a/sbin/galleryImport.pl +++ b/sbin/galleryImport.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } @@ -386,7 +386,7 @@ pod2usage("$0: Must specify a --configFile"); } - my $session = WebGUI::Session->open("..",$configFile); + my $session = WebGUI::Session->open("/usr/share/webgui",$configFile); $session->user({userId=>3}); my $versionTag = WebGUI::VersionTag->getWorking($session); --- a/sbin/findBrokenAssets.pl +++ b/sbin/findBrokenAssets.pl @@ -17,7 +17,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs( File::Spec->catdir( File::Basename::dirname(__FILE__), File::Spec->updir ) ); + $webguiRoot = "/usr/share/webgui"; unshift @INC, File::Spec->catdir( $webguiRoot, 'lib' ); } --- a/sbin/changeIobStatus.pl +++ b/sbin/changeIobStatus.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/diskUsage.pl +++ b/sbin/diskUsage.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/fileImport.pl +++ b/sbin/fileImport.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/fixWgaccess.pl +++ b/sbin/fixWgaccess.pl @@ -14,7 +14,7 @@ our ($webguiRoot, $configFile, $help, $man); BEGIN { - $webguiRoot = ".."; + $webguiRoot = '/usr/share/webgui'; unshift (@INC, $webguiRoot."/lib"); } --- a/sbin/generateContent.pl +++ b/sbin/generateContent.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/maintenanceMode.pl +++ b/sbin/maintenanceMode.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/purgeWGAccess.pl +++ b/sbin/purgeWGAccess.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/rebuildLineage.pl +++ b/sbin/rebuildLineage.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/search.pl +++ b/sbin/search.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } foreach my $libDir ( readLines( "preload.custom" ) ) { --- a/sbin/spectre.pl +++ b/sbin/spectre.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/syncToCdn.pl +++ b/sbin/syncToCdn.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/testCodebase.pl +++ b/sbin/testCodebase.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/testEnvironment.pl +++ b/sbin/testEnvironment.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/thumbnailer.pl +++ b/sbin/thumbnailer.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/upgrade.pl +++ b/sbin/upgrade.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/userImport.pl +++ b/sbin/userImport.pl @@ -16,7 +16,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } --- a/sbin/classLoadTest.pl +++ b/sbin/classLoadTest.pl @@ -15,7 +15,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } @@ -38,9 +38,9 @@ pod2usage( verbose => 2 ) if $man; pod2usage( msg => "Must specify a config file!" ) unless $configFile; -foreach my $libDir ( readLines( "preload.custom" ) ) { +foreach my $libDir ( readLines( "/etc/webgui/preload.custom" ) ) { if ( !-d $libDir ) { - warn "WARNING: Not adding lib directory '$libDir' from preload.custom: Directory does not exist.\n"; + warn "WARNING: Not adding lib directory '$libDir' from /etc/webgui/preload.custom: Directory does not exist.\n"; next; } unshift @INC, $libDir; --- a/sbin/installClass.pl +++ b/sbin/installClass.pl @@ -17,7 +17,7 @@ my $webguiRoot; BEGIN { - $webguiRoot = File::Spec->rel2abs(File::Spec->catdir(File::Basename::dirname(__FILE__), File::Spec->updir)); + $webguiRoot = '/usr/share/webgui'; unshift @INC, File::Spec->catdir($webguiRoot, 'lib'); } @@ -58,9 +58,9 @@ die "Config file '$configFile' does not exist!\n" if ! -e $configFile; -foreach my $libDir ( readLines( "preload.custom" ) ) { +foreach my $libDir ( readLines( "/etc/webgui/preload.custom" ) ) { if ( !-d $libDir ) { - warn "WARNING: Not adding lib directory '$libDir' from preload.custom: Directory does not exist.\n"; + warn "WARNING: Not adding lib directory '$libDir' from /etc/webgui/preload.custom: Directory does not exist.\n"; next; } unshift @INC, $libDir; debian/patches/fix_maintenance_mode.patch0000644000000000000000000000167411511025452015776 0ustar Description: WebGUI provides a command-line utility that toggles the special "system maintenance" mode of WebGUI. When the system is under maintenance, a static HTML page is served. This patch makes the aforementioned page be read from /etc/webgui instead of the documentation directory provided by upstream. A RFE has been posted upstream so future versions take the pathname as a configurable parameter instead of a hardcoded value here. Forwarded: not-needed Author: Ernesto Hernández-Novich --- a/lib/WebGUI/Content/Maintenance.pm +++ b/lib/WebGUI/Content/Maintenance.pm @@ -49,7 +49,7 @@ if ($session->setting->get("specialState") eq "upgrading") { $session->http->sendHeader; my $output = ""; - open(my $FILE,"<",$session->config->getWebguiRoot."/docs/maintenance.html"); + open(my $FILE,"<","/etc/webgui/maintenance.html"); while (<$FILE>) { $output .= $_; } debian/patches/series0000644000000000000000000000020611557324532012037 0ustar fix_shebang.patch fix_webgui_root.patch fix_upgrade_scripts.patch fix_testcodebase.patch fix_maintenance_mode.patch fix_webuser.patch debian/patches/fix_shebang.patch0000644000000000000000000001154111631727166014127 0ustar Description: WebGUI provides several utility scripts written in Perl that have #!/usr/bin/env as shebang. This patch changes the shebangs to #!/usr/bin/perl in order to comply with Debian Policy. Forwarded: not-needed Author: Ernesto Hernández-Novich --- a/sbin/diskUsage.pl +++ b/sbin/diskUsage.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/fileImport.pl +++ b/sbin/fileImport.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/generateContent.pl +++ b/sbin/generateContent.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/rebuildLineage.pl +++ b/sbin/rebuildLineage.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/search.pl +++ b/sbin/search.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/spectre.pl +++ b/sbin/spectre.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/testCodebase.pl +++ b/sbin/testCodebase.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/testEnvironment.pl +++ b/sbin/testEnvironment.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/thumbnailer.pl +++ b/sbin/thumbnailer.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/upgrade.pl +++ b/sbin/upgrade.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/userImport.pl +++ b/sbin/userImport.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/purgeWGAccess.pl +++ b/sbin/purgeWGAccess.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/galleryImport.pl +++ b/sbin/galleryImport.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl # ------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/installClass.pl +++ b/sbin/installClass.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- --- a/sbin/maintenanceMode.pl +++ b/sbin/maintenanceMode.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/findBrokenAssets.pl +++ b/sbin/findBrokenAssets.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/changeIobStatus.pl +++ b/sbin/changeIobStatus.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/syncToCdn.pl +++ b/sbin/syncToCdn.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/fixWgaccess.pl +++ b/sbin/fixWgaccess.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. --- a/sbin/classLoadTest.pl +++ b/sbin/classLoadTest.pl @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl #------------------------------------------------------------------- # WebGUI is Copyright 2001-2009 Plain Black Corporation. debian/patches/fix_webuser.patch0000644000000000000000000000122011557324532014162 0ustar Description: WebGUI provides a command-line utility for batch file uploading. The files are simply put into WebGUI's upload directory with proper permissions for the web server to have access to and be able to modify them afterwards. This patch sets Debian's default Apache user (www-data) as the default user to set as owner of the uploaded files. Forwarded: not-needed Author: Ernesto Hernández-Novich --- a/sbin/fileImport.pl +++ b/sbin/fileImport.pl @@ -47,7 +47,7 @@ my $pathToFiles; my $override; my $quiet; -my $webUser = 'apache'; +my $webUser = 'www-data'; my $assetId; my $parentAssetId; my $skipOlderThan = 999999999; debian/copyright0000644000000000000000000011734512123052325011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: WebGUI Upstream-Contact: JT Smith A full list of authors can be found in /usr/share/doc/webgui/docs/credits.txt Source: http://www.plainblack.com/webgui Files: * Copyright: © 2001-2013 Plain Black Corporation. All rights reserved. WebGUI Content Engine, WebGUI Runtime Environment, and Plain Black are registered trademarks of Plain Black Corporation. License: GPL-2 WebGUI is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License (version 2) as published by the Free Software Foundation. . WebGUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. However, support may be purchased from Plain Black at http://www.plainblack.com/ Files: lib/default.ttf Copyright: © 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. License: other Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: . The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. . The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". . This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. . The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. . THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. . Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org. Files: t/supporting_collateral/jquery.js Copyright: © 2006-2008 Jörn Zaefferer License: GPL-2+ or MIT Dual licensed under the MIT and GPL licenses. . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: t/supporting_collateral/rss/entity-es.rss t/supporting_collateral/rss/iso-8859-1.rss t/supporting_collateral/rss/utf8-es.rss t/supporting_collateral/rss/utf8-no-prolog-encoding.rss Copyright: © 2009 C.A. Venezolana de Televisión License: other Venezolana de Televisión (http://vtv.gob.ve, VTV from now on) does not clearly state the licensing terms for the materials published on its website. The aforementioned files were taken from the website by the upstream developers and included as part of WebGUI's test suite. . Ernesto Hernández-Novich contacted VTV in order to clarify the licensing and use of these files, and got the following answer back: . From mmaldonado@vtv.gob.ve Thu Oct 11 10:08:09 2012 Delivered-To: emhnemhn@gmail.com Received: by 10.231.35.67 with SMTP id o3csp75526ibd; Thu, 11 Oct 2012 10:08:09 -0700 (PDT) Received: by 10.14.183.70 with SMTP id p46mr2789255eem.36.1349975287094; Thu, 11 Oct 2012 10:08:07 -0700 (PDT) Return-Path: Received: from vtvcorreo.vtv.gov.ve (vtvcorreo.vtv.gob.ve. [201.248.74.244]) by mx.google.com with ESMTP id f43si4619302eem.6.2012.10.11.10.08.05; Thu, 11 Oct 2012 10:08:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of mmaldonado@vtv.gob.ve designates 201.248.74.244 as permitted sender) client-ip=201.248.74.244; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of mmaldonado@vtv.gob.ve designates 201.248.74.244 as permitted sender) smtp.mail=mmaldonado@vtv.gob.ve Received: from localhost (localhost [127.0.0.1]) by vtvcorreo.vtv.gov.ve (Postfix) with ESMTP id 707901A24230; Thu, 11 Oct 2012 12:20:48 -0430 (VET) X-Virus-Scanned: amavisd-new at vtv.gob.ve Received: from vtvcorreo.vtv.gov.ve ([127.0.0.1]) by localhost (vtvcorreo.vtv.gov.ve [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rQ1mQNPthoIF; Thu, 11 Oct 2012 12:20:47 -0430 (VET) Received: from vtvcorreo.vtv.gov.ve (vtvcorreo.vtv.gov.ve [127.0.1.1]) by vtvcorreo.vtv.gov.ve (Postfix) with ESMTP id DC4501A24139; Thu, 11 Oct 2012 12:20:47 -0430 (VET) Date: Thu, 11 Oct 2012 12:20:47 -0430 (VET) From: Moraima Maldonado To: emhnemhn@gmail.com Message-ID: <682918286.99561.1349974247714.JavaMail.root@vtvcorreo> Subject: =?utf-8?Q?Autorizaci=C3=B3n?= MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_99560_1615221259.1349974247713" X-Originating-IP: [172.16.14.38] X-Mailer: Zimbra 6.0.14_GA_2928 (ZimbraWebClient - FF3.0 (Win)/6.0.14_GA_2928) X-Evolution-Source: pop://emhnemhn@pop.gmail.com/ . ------=_Part_99560_1615221259.1349974247713 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit . "Los archivos RSS publicados en el sitio de VTV ( http://vtv.gob.ve ) pueden ser copiados y redistribuidos total o parcialmente, siempre y cuando se haga mención a VTV como autor" . ------=_Part_99560_1615221259.1349974247713-- . This translates to "the RSS files published on VTV's site (http://vtv.gob.ve) can be copied and distributed whole or partially, as long as VTV is mentioned as author". Files: t/supporting_collateral/rss/entity-ru.rss t/supporting_collateral/rss/iso-8859-5.rss t/supporting_collateral/rss/utf8-ru.rss Copyright: © 2009 Wikipedia License: CC-BY-SA 3.0 THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. . BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. . 1. Definitions . "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. . "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License. . "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License. . "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. . "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. . "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. . "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. . "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. . "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. . "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. . "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. . 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. . 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: . to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; . to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; . to Distribute and Publicly Perform the Work including as incorporated in Collections; and, . to Distribute and Publicly Perform Adaptations. . For the avoidance of doubt: . Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; . Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, . Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. . The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. . 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: . You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested. . You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License. . If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. . Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. . 5. Representations, Warranties and Disclaimer . UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. . 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. . 7. Termination . This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. . Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. . 8. Miscellaneous . Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. . Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. . If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. . No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. . This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. . The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. Files: www/extras/tt.js Copyright: © 2004-2005 Metaha. License: GPL-2+ or Apache TrimPath Template is licensed under the GNU General Public License and the Apache License, Version 2.0. . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . The complete text of the Apache 2.0 License can be found in /usr/share/common-licenses/Apache-2.0 Files: www/extras/slider/* Copyright: © 1999-2002 Erik Arvidsson License: GPL-1+ Files: www/extras/underscore/* Copyright: © 2010 Jeremy Ashkenas, DocumentCloud Inc. License: MIT Underscore is freely distributable under the terms of the MIT license. Portions of Underscore are inspired by or borrowed from Prototype.js, Oliver Steele's Functional, and John Resig's Micro-Templating. . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: www/extras/wobject/Profiler/* Copyright: © 1998-2004 Erik Arvidsson License: GPL-1+ Files: www/extras/yui/* Copyright: © 2006-2011 Yahoo! Inc. All rights reserved License: other-BSD Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Yahoo! Inc. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: www/extras/yui/docs/Easing.js.html Copyright: © 2001 Robert Penner All rights reserved License: BSD-3-clause Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Yahoo! Inc. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: www/extras/yui/assets/dpSyntaxHighlighter.js Copyright: © 2004 Alex Gorbatchev License: LGPL-2.1 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. Files: www/extras/yui/build/animation/*.js Copyright: © 2001 Robert Penner All rights reserved, © 2006, 2011, Yahoo! Inc. All rights reserved License: BSD-3-clause Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Yahoo! Inc. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: www/extras/yui/build/utilities/utilities.js Copyright: © 2001 Robert Penner All rights reserved, © 2011, Yahoo! Inc. All rights reserved License: BSD-3-clause Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Yahoo! Inc. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: www/extras/tinymce/* Copyright: © 2003-2012 Moxiecode Systems AB License: LGPL-2.1 Files: www/extras/tinymce/jscripts/tiny_mce/tiny_mce_src.js Copyright: © 2009 The Dojo Foundation License: BSD-3-clause Files: www/extras/ukplayer/* Copyright: © 2009 United Knowledge License: GPL-2 This player is Free Software under the GPL v2. . The Slideshow PLayer is licensed under the terms of the GNU General Public License, version 2 Files: www/extras/ukplayer/swfobjects.js Copyright: © 2007-2008 Geoff Stearns, Michael Williams and Bobby van der Sluis License: MIT SWFObject 2, the code used to display the Slideshow, is licensed under the MIT License . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: debian/* Copyright: © 2008-2013 Ernesto Hernández-Novich License: GPL-2 Packaging is licensed under the same terms as the software itself (see above). . The complete text of the GNU General Public License (version 2) can be found in /usr/share/common-licenses/GPL-2. License: GPL-1+ The complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-1. License: LGPL-2.1 The complete text of the GNU Lesser General License (version 2.1) can be found in /usr/share/common-licenses/LGPL-2.1 License: BSD-3-clause Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of Yahoo! Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Yahoo! Inc. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/apache.config-standalone0000644000000000000000000000360711154775233013742 0ustar ExtendedStatus On PerlOptions +SetupEnv PerlSetVar WebguiRoot /usr/share/webgui PerlCleanupHandler Apache2::SizeLimit PerlRequire /usr/share/webgui/sbin/preload.perl NameVirtualHost *:80 ServerName localhost ServerAdmin webmaster@localhost ErrorLog /var/log/apache2/error.log CustomLog /var/log/apache2/access.log common DocumentRoot /var/www/webgui/ SetHandler perl-script PerlInitHandler WebGUI PerlSetVar WebguiConfig webgui.conf Alias /extras /usr/share/webgui/extras # Uncomment this if you want to have access to /server-status, and # then make sure "/server-status" appears in the passthruUrls list # in /etc/webgui/webgui.conf # # # SetHandler server-status # Order deny,allow # Deny from all # Allow from all # # Uncomment this if you want to have access to /perl-status, and # then make sure "/perl-status" appears in the passthruUrls list # in /etc/webgui/webgui.conf # # # SetHandler perl-script # PerlHandler Apache2::Status # Order deny,allow # Deny from all # Allow from all # # Uncomment this if you want to have access to /webalizer, and # then add "/webalizer" to passthruUrls in webgui.conf # #Alias /webalizer /var/www/webalizer # # Order deny,allow # Deny from all # Allow from all # Alias /uploads /var/lib/webgui/uploads Order deny,allow Deny from all Allow from all Alias /exports /var/lib/webgui/exports Order deny,allow Deny from all Allow from all debian/preload.perl0000644000000000000000000000473712006236154011512 0ustar use strict; my $webguiRoot = '/usr/share/webgui'; @INC = grep { $_ ne q{.} } @INC; unshift @INC, $webguiRoot . "/lib"; # add custom lib directories to library search path unshift @INC, grep { if (!-d $_) { warn "WARNING: Not adding lib directory '$_' from /etc/webgui/preload.custom: Directory does not exist.\n"; 0; } else { 1; } } readLines("/etc/webgui/preload.custom"); #---------------------------------------- # WebGUI modules. #---------------------------------------- require WebGUI; require WebGUI::Config; require WebGUI::Pluggable; # these modules should always be skipped my @excludes = qw(WebGUI::PerformanceProfiler); push @excludes, readLines("/etc/webgui/preload.exclude"); WebGUI::Pluggable::findAndLoad( "WebGUI", { exclude => \@excludes, onLoadFail => sub { warn sprintf 'Error loading %s: %s', @_ }, } ); #---------------------------------------- # Preload all site configs. #---------------------------------------- WebGUI::Config->loadAllConfigs($webguiRoot); #---------------------------------------- # WebGUI::Fork initialization #---------------------------------------- WebGUI::Fork->init(); #---------------------------------------- # Logger #---------------------------------------- require Log::Log4perl; Log::Log4perl->init("/etc/webgui/log.conf" ); #---------------------------------------- # Database connectivity. #---------------------------------------- #require Apache::DBI; # Uncomment if you want to enable connection pooling. Not recommended on servers with many sites, or those using db slaves. require DBI; DBI->install_driver("mysql"); # Change to match your database driver. require APR::Request::Apache2; require Apache2::Cookie; require Apache2::ServerUtil; if ( $ENV{MOD_PERL} ) { # Add WebGUI to Apache version tokens my $server = Apache2::ServerUtil->server; $server->push_handlers( PerlPostConfigHandler => sub { $server->add_version_component("WebGUI/" . $WebGUI::VERSION); }); } $| = 1; print "\nStarting WebGUI " . $WebGUI::VERSION . "\n"; # reads lines from a file into an array, trimming white space and ignoring commented lines sub readLines { my $file = shift; my @lines; if (open(my $fh, '<', $file)) { while (my $line = <$fh>) { $line =~ s/#.*//; $line =~ s/^\s+//; $line =~ s/\s+$//; next if !$line; push @lines, $line; } close $fh; } return @lines; } 1; debian/webgui.conf-standalone0000644000000000000000000010633211647035521013456 0ustar # WebGUI Site Configuration # This configuration was written by Ernesto Hernández-Novich # in order to make WebGUI comply with Debian Policy. # # You'll need to change this if you want WebGUI to coexist with other # web applications in your system. # # config-file-type: JSON 1 { # Add a comma separated list of the names this site can use. # The first site in the list will be used as the default # sitename for generating offline URLs and other functions. "sitename" : [ "localhost" ], # Set to 1 if you want to use WebGUI's SSL functions, including encrypting user logins. "sslEnabled" : 0, # Rename the WebGUI Session cookie if you like. "cookieName" : "wgSession", # Explicitly set the domain that the WebGUI session cookie # should be assigned to. Defaults to the domain that the user # is browsing the site under. # "cookieDomain" : ".example.com", # Explicitly set the time to live for the WebGUI session cookie # Defaults to +10Y. cookieTTL must follow the described format: # Format should match /^\+?(\d+)([YMDhms]?)$/ # $2 qualifies the number in $1 as representing "Y"ears, # "M"onths, "D"ays, "h"ours, "m"inutes, or "s"econds (if the qualifier is omitted, # the number is interpreted as representing seconds). # +1h = 1 hour # +2D = 2 Days # +3M = 3 Months # +10Y = 10 Years (default) # This may also be set to the word "session" to have cookies live # for the current browser session only. # "cookieTTL" : "+10Y", # The location where the WebGUI server will be handling # requests. This is normally just '/' or the root of the # server, but on some installations it might be /webgui or # /site1, /site2, etc. If this is set to anything other than # '/' then a matching block should # contain the WebGUI handler instead in the Apache # VirtualHost configuration. "gateway" : "/", # The relative or fully qualified URL to the extras folder # that comes with WebGUI. "extrasURL" : "/extras", # The filesystem path to get to the extras folder that ships # with WebGUI. "extrasPath" : "/usr/share/webgui/extras", # The relative for fully qualified URL to the uploads folder # for this site where all attachments will be stored. "uploadsURL" : "/uploads", # The filesystem path to get to the uploads folder where all # attachments for this site will be stored. This needs to be # writable by your web server. "uploadsPath" : "/var/lib/webgui/uploads", # Set this value to 1 if you want rich editors to use the # WebGUI asset URLs for images rather than their real URLs # in the uploads folder. The advantage of this is that users # see short clean WebGUI controlled URLs. However, this is # slower than the default. "richEditorsUseAssetUrls" : 1, # Used to generate user facing URLs. # If you are not running your web server on the standard # port (80) then use this setting to specify that. If you # are running WebGUI behind a proxy, then webServerPort should # be set to which ever port the proxy is listening to. #"webServerPort" : 80, # What kind of cache do you wish to use? Available types are # WebGUI::Cache::FileCache and WebGUI::Cache::Database. # We highly recommend the database cache if you are running # sites with more than a few hundred pages, or if you're # running in a multi-server environment. The file cache is better # for very small sites. "cacheType" : "WebGUI::Cache::FileCache", # Tell WebGUI where to store cached files. Defaults to the # /tmp or c:\temp folder depending upon your operating system. "fileCacheRoot" : "/var/cache/webgui/", # Set this to 1 to disable WebGUI's caching subsystems. This is # mainly useful for developers. "disableCache" : 0, # The database connection string. It usually takes the form of # DBI::;host: "dsn" : "DBI:mysql:database=webguidb;host=localhost", # The username to authenticate to the above database. "dbuser" : "webgui", # The password to authenticate to the above database. "dbpass" : "webgui", # You can configure up to three read-only database slaves to # increase WebGUI's read performance. # "dbslave1" : { # "dsn" : "DBI:mysql:www_example_com;host=dbslave1.example.com", # "user" : "webgui", # "pass" : "password" # }, # "dbslave2" : { # "dsn" : "DBI:mysql:www_example_com;host=dbslave2.example.com", # "user" : "webgui", # "pass" : "password" # }, # "dbslave3" : { # "dsn" : "DBI:mysql:www_example_com;host=dbslave3.example.com", # "user" : "webgui", # "pass" : "password" # }, # You can configure a backup master database as a failover in case # your primary database goes down. WebGUI will use this database until # the original becomes available. However, this does nothing to change # the settings of your database. If it was set up as a slave until the # master went down, then some script will have to be written to convert # it from a slave to a master. # "failoverdb" : { # "dsn" : "DBI:mysql:www_example_com;host=failover.example.com;port=3306", # "user" : "webgui", # "password" : "password" # }, # If you have a multi-master set up, you must define increment_step and increment_offset # to prevent merge conflicts between the different masters. increment_step should be set # to the number of masters, and offset should be unique to each master, starting at 0. # # So, a 2-master cluster would define: # Master 1: # increment_step: 2 # increment_offset: 0 # Master 2: # increment_step: 2 # increment_offset: 1 # # "db" : { # "increment_step" : 1, # "increment_offset" : 0 # }, # Set this value if you wish to override all outbound emails to a specific # user for testing purposes. # "emailOverride" : "joe@example.com", # Set this value if you wish to bypass sending email to the mailserver alltogether. # This will instead pipe email messages to the log, removing them from the queue normally # "emailToLog" : "1", # By adding CIDR based subnets to the following array you can limit the # subnets by which users can turn admin mode on. "adminModeSubnets" : [ ], # List the authentication plug-ins you wish to be available on # this site. "authMethods" : [ "LDAP", "WebGUI" ], # List the merchant gateways you have installed and wish to be # available on this site. "paymentDrivers" : [ "WebGUI::Shop::PayDriver::Cash", "WebGUI::Shop::PayDriver::ITransact", "WebGUI::Shop::PayDriver::PayPal::PayPalStd", "WebGUI::Shop::PayDriver::PayPal::ExpressCheckout", "WebGUI::Shop::PayDriver::CreditCard::AuthorizeNet", "WebGUI::Shop::PayDriver::Ogone" ], # List the shipping drivers you have installed and wish to be # available for configuration on the site. "shippingDrivers" : [ "WebGUI::Shop::ShipDriver::FlatRate", "WebGUI::Shop::ShipDriver::USPS", "WebGUI::Shop::ShipDriver::USPSInternational", "WebGUI::Shop::ShipDriver::UPS" ], # Specify the list of template parsers available in the system. "templateParsers" : [ "WebGUI::Asset::Template::HTMLTemplate" ], # Enable the Survey Expression Engine, which allows goto expressions in # the config. "enableSurveyExpressionEngine" : 0, # Specify the default template parser. "defaultTemplateParser" : "WebGUI::Asset::Template::HTMLTemplate", # Specify external helper apps that will enable WebGUI's search # engine to index content in various uploaded file formats. The # helpers must take the path to the file as an argument and # return either text or html content. "searchIndexerPlugins" : { "txt" : "/bin/cat", "readme" : "/bin/cat", "html" : "/bin/cat", "htm" : "/bin/cat", "ps" : "/usr/bin/ps2ascii", "pdf" : "/usr/bin/ps2ascii" }, # define what appears in the admin console and who can view it "adminConsole" : { "loginHistory" : { "icon" : "loginHistory.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=viewLoginHistory);", "title" : "^International(426,WebGUI);", "groupSetting" : "groupIdAdminLoginHistory" }, "clipboard" : { "icon" : "clipboard.gif", "group" : "12", "uiLevel" : 5, "url" : "^PageUrl(\"\",func=manageClipboard);", "title" : "^International(948,WebGUI);" }, "statistics" : { "icon" : "statistics.gif", "uiLevel" : 1, "url" : "^PageUrl(\"\",op=viewStatistics);", "title" : "^International(437,WebGUI);", "groupSetting" : "groupIdAdminStatistics" }, "users" : { "icon" : "users.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=listUsers);", "title" : "^International(149,WebGUI);", "groupSetting" : "groupIdAdminUser" }, "activeSessions" : { "icon" : "activeSessions.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=viewActiveSessions);", "title" : "^International(425,WebGUI);", "groupSetting" : "groupIdAdminActiveSessions" }, "inbox" : { "icon" : "inbox.gif", "group" : "2", "uiLevel" : 1, "url" : "^PageUrl(\"\",op=viewInbox);", "title" : "^International(159,WebGUI);" }, "versions" : { "icon" : "versionTags.gif", "uiLevel" : 7, "url" : "^PageUrl(\"\",op=manageVersions);", "title" : "^International(version tags,VersionTag);", "groupSetting" : "groupIdAdminVersionTag" }, "help" : { "icon" : "help.gif", "uiLevel" : 1, "url" : "^PageUrl(\"\",op=viewHelpIndex);", "title" : "^International(help,WebGUI);", "groupSetting" : "groupIdAdminHelp" }, "groups" : { "icon" : "groups.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=listGroups);", "title" : "^International(89,WebGUI);", "groupSetting" : "groupIdAdminGroup" }, "userProfiling" : { "icon" : "userProfiling.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=editProfileSettings);", "title" : "^International(user profiling,WebGUIProfile);", "groupSetting" : "groupIdAdminProfileSettings" }, "ldapconnections" : { "icon" : "ldap.gif", "uiLevel" : 9, "url" : "^PageUrl(\"\",op=listLDAPLinks);", "title" : "^International(ldapconnections,AuthLDAP);", "groupSetting" : "groupIdAdminLDAPLink" }, "contentProfiling" : { "icon" : "contentProfiling.gif", "group" : "4", "uiLevel" : 5, "url" : "^PageUrl(\"\",func=manageMetaData);", "title" : "^International(content profiling,Asset);" }, "databases" : { "icon" : "databases.gif", "uiLevel" : 9, "url" : "^PageUrl(\"\",op=listDatabaseLinks);", "title" : "^International(databases,WebGUI);", "groupSetting" : "groupIdAdminDatabaseLink" }, "adSpace" : { "icon" : "advertising.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=manageAdSpaces);", "title" : "^International(topicName,AdSpace);", "groupSetting" : "groupIdAdminAdSpace" }, "settings" : { "icon" : "settings.gif", "group" : "3", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=editSettings);", "title" : "^International(settings,WebGUI);" }, "workflow" : { "icon" : "workflow.gif", "uiLevel" : 7, "url" : "^PageUrl(\"\",op=manageWorkflows);", "title" : "^International(topicName,Workflow);", "groupSetting" : "groupIdAdminWorkflow" }, "assets" : { "icon" : "assets.gif", "group" : "12", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=assetManager);", "title" : "^International(assets,Asset);" }, "assetHistory" : { "icon" : "assetHistory.gif", "groupSetting" : "groupIdAdminHistory", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=assetHistory);", "title" : "^International(assetHistory,Asset);" }, "graphics" : { "icon" : "graphics.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=listGraphicsOptions);", "title" : "^International(manage graphics,Graphics);", "groupSetting" : "groupIdAdminGraphics" }, "passiveAnalytics" : { "icon" : "passiveAnalytics.png", "uiLevel" : 1, "url" : "^PageUrl(\"\",op=passiveAnalytics;func=editRuleflow);", "title" : "^International(Passive Analytics,PassiveAnalytics);", "groupSetting" : "3" }, "shop" : { "icon" : "shop.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",shop=admin);", "title" : "^International(shop,Shop);", "groupSetting" : "groupIdAdminCommerce" }, "trash" : { "icon" : "trash.gif", "group" : "12", "uiLevel" : 5, "url" : "^PageUrl(\"\",func=manageTrash);", "title" : "^International(trash,WebGUI);" }, "cron" : { "icon" : "cron.gif", "uiLevel" : 9, "url" : "^PageUrl(\"\",op=manageCron);", "title" : "^International(topicName,Workflow_Cron);", "groupSetting" : "groupIdAdminCron" }, "spectre" : { "icon" : "spectre.gif", "uiLevel" : 9, "url" : "^PageUrl(\"\",op=spectreStatus);", "title" : "^International(spectre,Spectre);", "groupSetting" : "groupIdAdminSpectre" }, "adminConsoleOff" : { "icon" : "adminConsoleOff.gif", "uiLevel" : 1, "group" : "12", "url" : "^PageUrl(\"\",op=switchOffAdmin);", "title" : "^International(12,WebGUI);" }, "addons" : { "icon" : "addons.png", "uiLevel" : 1, "group" : "12", "url" : "http://www.webgui.org/addons", "title" : "^International(Addons title,WebGUI);" }, "contentFilters" : { "icon" : "contentFilters.gif", "uiLevel" : 3, "url" : "^PageUrl(\"\",op=listReplacements);", "title" : "^International(content filters,WebGUI);", "groupSetting" : "groupIdAdminReplacements" }, "cache" : { "icon" : "cache.gif", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=manageCache);", "title" : "^International(manage cache,WebGUI);", "groupSetting" : "groupIdAdminCache" }, "filePump" : { "icon" : "filePump.png", "uiLevel" : 5, "url" : "^PageUrl(\"\",op=filePump);", "title" : "^International(File Pump,FilePump);", "groupSetting" : "groupIdAdminFilePump" } }, # Enter the maximum number of assets that should be allowed to # be created on this site. Keep in mind that a base install of # WebGUI has around 300 assets. Enter zero (0) if you want to # allow an unlimited number. "maximumAssets" : 0, # Specify the list of categories to display in the "New Content" # menu. The category names should match those used in the "assets" # hash later in this config. Each category can have three properties: # # title - The human readable name of the category. # uiLevel - The minimum UI level the user must have to see the category. # group - A group id the user must be in to see the category. "assetCategories" : { "basic" : { "uiLevel" : 1, "title" : "^International(basic,Macro_AdminBar);" }, "shop" : { "uiLevel" : 5, "title" : "^International(shop,Shop);" }, "utilities" : { "uiLevel" : 9, "title" : "^International(utilities,Macro_AdminBar);" }, "community" : { "uiLevel" : 5, "title" : "^International(community,Macro_AdminBar);" }, "intranet" : { "uiLevel" : 5, "title" : "^International(intranet,Macro_AdminBar);" } }, # Specify a the list of assets you want to appear in your # "New Content" menu categories. See "assetCategories" for details # about categories. Each listing has a key of class name, and then # has several properties, which are: # # category - The category the asset should appear in. Can also be an array of categories. # isContainer - Whether or not the assets main purpose to display the data from other assets. # addGroup - The group the user must be in to add this asset. # uiLevel - The minimum UI level the user must have to add the asset. # fields - Edit the properties of the asset. # tabs - Edit the tabs on which the fields are displayed when editing the asset. # # The "fields" property above may override any property of any field in this # asset class. Examples are label, tab, uiLevel. You must know what you're # doing with this, because you could break an asset if you set something wrong # with these properties. Here's an example of wha the fields poperty might look like: # # "fields" : { # "title" : { # "label" : "Name", # "tab" : "basic" # }, # "synopsis" : { # "label" : "Abstract", # "uiLevel" : 3 # } # } # # The "tabs" property allows you to to create new, hide, and update existing tabs in # the asset. Each tab has two properties: # # uiLevel - The minimum UI level the user must have to view the tab. # label - The human readable label for the tab. # # Here's an example of what a tabls section might look like: # # "tabs" : { # "basic" : { # "label" : "Basic", # "uiLevel" : 1 # }, # "meta" : { # "uiLevel" : 99999 # }, # "security" : { # "label" : "Protection" # } # } "assets" : { "WebGUI::Asset::Wobject::Shelf" : { "category" : "shop" }, "WebGUI::Asset::Wobject::Layout" : { "isContainer" : 1, "category" : "basic" }, "WebGUI::Asset::Wobject::Gallery" : { "category" : "community" }, "WebGUI::Asset::Wobject::DataTable" : { "category" : "basic" }, "WebGUI::Asset::Wobject::DataForm" : { "category" : "basic" }, "WebGUI::Asset::Sku::Ad" : { "category" : "shop" }, "WebGUI::Asset::Sku::Donation" : { "category" : "shop" }, "WebGUI::Asset::Sku::ThingyRecord" : { "category" : "shop" }, "WebGUI::Asset::Wobject::UserList" : { "category" : "intranet" }, "WebGUI::Asset::Wobject::EventManagementSystem" : { "category" : "shop" }, "WebGUI::Asset::Sku::Subscription" : { "category" : "shop" }, "WebGUI::Asset::Wobject::WikiMaster" : { "isContainer" : 1, "category" : "community" }, "WebGUI::Asset::Wobject::StoryArchive" : { "isContainer" : 1, "category" : "community" }, "WebGUI::Asset::Wobject::StoryTopic" : { "category" : "community" }, "WebGUI::Asset::Wobject::Carousel" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::StockData" : { "category" : "intranet" }, "WebGUI::Asset::FilePile" : { "category" : "basic" }, "WebGUI::Asset::Wobject::Collaboration" : { "category" : "community" }, "WebGUI::Asset::Wobject::Survey" : { "category" : "community" }, "WebGUI::Asset::File::ZipArchive" : { "category" : "utilities" }, "WebGUI::Asset::RichEdit" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::SyndicatedContent" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::HttpProxy" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::MultiSearch" : { "category" : "intranet" }, "WebGUI::Asset::File::Image" : { "category" : "utilities" }, "WebGUI::Asset::Sku::Product" : { "category" : "shop" }, "WebGUI::Asset::Wobject::WeatherData" : { "category" : "intranet" }, "WebGUI::Asset::Redirect" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Article" : { "category" : "basic" }, "WebGUI::Asset::Wobject::AssetReport" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Search" : { "category" : "basic" }, "WebGUI::Asset::Wobject::MessageBoard" : { "isContainer" : 1, "category" : "community" }, "WebGUI::Asset::Wobject::SQLReport" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::TimeTracking" : { "category" : "intranet" }, "WebGUI::Asset::Wobject::Calendar" : { "category" : "basic" }, "WebGUI::Asset::Wobject::Poll" : { "category" : "basic" }, "WebGUI::Asset::Wobject::ProjectManager" : { "category" : "intranet" }, "WebGUI::Asset::Wobject::Folder" : { "isContainer" : 1, "category" : "basic" }, "WebGUI::Asset::Wobject::Navigation" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Matrix" : { "category" : "community" }, "WebGUI::Asset::Sku::FlatDiscount" : { "category" : "shop" }, "WebGUI::Asset::Wobject::Thingy" : { "category" : "intranet" }, "WebGUI::Asset::File" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Collaboration::Newsletter" : { "category" : "community" }, "WebGUI::Asset::Snippet" : { "category" : "basic" }, "WebGUI::Asset::Wobject::InOutBoard" : { "category" : "intranet" }, "WebGUI::Asset::Wobject::Dashboard" : { "isContainer" : 1, "category" : "intranet" }, "WebGUI::Asset::Wobject::DataForm" : { "category" : "basic" }, "WebGUI::Asset::Template" : { "category" : "utilities" }, "WebGUI::Asset::Wobject::Map" : { "category" : "basic" }, "WebGUI::Asset::Wobject::AssetReport" : { "category" : "utilities" }, }, # # Specify the list of account pluggins available on your site. # Account pluggins are returned on the site in the order they are list in the config file # Each pluggin has serveral properties # # identifier - This string will act as the identifying agent for this account pluggin. It is passed along # the url and cannot contain spaces. # title - The title of the module which is displayed on the website. # className - The class which drives this module # # IMPORTANT NOTE - PLEASE READ: # # DO NOT DELETE THE WebGUI::Account::User pluggin from this list. This module # is Deprecated on release and is mandatory for every site. You may move it's position # but if you remove it you will break WebGUI's Authentication System. This module will # be replaced in WebGUI 8 once the APIs can be broken and the Account portion of Auth # can be moved into the Account system # # A profile module is required as well. You may replace the default profile # module with a custom version, but many systems in WebGUI rely on being # able to display a user's profile. # "account" : [ { "identifier" : "profile", "title" : "^International(title,Account_Profile);", "className" : "WebGUI::Account::Profile" }, { "identifier" : "inbox", "title" : "^International(title,Account_Inbox);", "className" : "WebGUI::Account::Inbox" }, { "identifier" : "friends", "title" : "^International(title,Account_Friends);", "className" : "WebGUI::Account::Friends" }, { "identifier" : "contributions", "className" : "WebGUI::Account::Contributions", "title" : "^International(title,Account_Contributions);" }, { "identifier" : "shop", "title" : "^International(title,Account_Shop);", "className" : "WebGUI::Account::Shop" }, { "identifier" : "user", "title" : "^International(title,Account_User);", "className" : "WebGUI::Account::User" }, { "identifier" : "friendManager", "title" : "^International(title,Account_FriendManager);", "className" : "WebGUI::Account::FriendManager" } ], # Specify which of the modules in the above list is used # to display the user's profile. This is a mandatory configuration "profileModuleIdentifier" : "profile", # Optionally add a "Save and Commit" button to assets so that you # don't have to hit "Commit My Changes" seperately. "enableSaveAndCommit" : 0, # Optionally override the default UI Level of any asset. This # determines whether the current user has the appropriate UI Level # to add assets of that type. # Configure the UI Levels of the asset toolbar links. "assetToolbarUiLevel" : { "copy" : 1, "cut" : 1, "delete" : 1, "edit" : 1, "view" : 1, "demote" : 3, "promote" : 3, "lock" : 5, "manage" : 5, "revisions" : 5, "shortcut" : 5, "changeUrl" : 9, "editBranch" : 9, "export" : 9 }, # If exportPath is defined, an "Export" toolbar icon will appear # which allows you to export assets to static HTML. This folder # needs to be writable by your web server. "exportPath" : "/var/lib/webgui/exports", # Enable streaming Image and File assets thru mod_perl process instead of # simple redirect. WARNING has impact on performance. "enableStreamingUploads" : "0", # Specify the list of macros you wish to be processed on each page. "macros" : { "@" : "At_username", "#" : "Hash_userId", "/" : "Slash_gatewayUrl", "a" : "a_account", "AdminBar" : "AdminBar", "AdminText" : "AdminText", "AdminToggle" : "AdminToggle", "AdSpace" : "AdSpace", "AOIHits" : "AOIHits", "AOIRank" : "AOIRank", "AssetProperty" : "AssetProperty", "AssetProxy" : "AssetProxy", "BackToSite" : "BackToSite", "CanEditText" : "CanEditText", "CartItemCount" : "CartItemCount", "ConvertUTCToTZ" : "ConvertUTCToTZ", "c" : "c_companyName", "D" : "D_date", "DeactivateAccount": "DeactivateAccount", "EditableToggle" : "EditableToggle", "e" : "e_companyEmail", "Extras" : "Extras", "FetchMimeType" : "FetchMimeType", "FilePump" : "FilePump", "FileUrl" : "FileUrl", "FormField" : "FormField", "GroupAdd" : "GroupAdd", "GroupDelete" : "GroupDelete", "GroupText" : "GroupText", "H" : "H_homeLink", "If" : "If", "International" : "International", "LastModified" : "LastModified", "LastModifiedBy" : "LastModifiedBy", "L" : "L_loginBox", "LoginToggle" : "LoginToggle", "MiniCart" : "MiniCart", "Page" : "Page", "PageTitle" : "PageTitle", "PageUrl" : "PageUrl", "PickLanguage" : "PickLanguage", "RandomAssetProxy" : "RandomAssetProxy", "RandomThread" : "RandomThread", "RenderThingData" : "RenderThingData", "RootTitle" : "RootTitle", "r" : "r_printable", "Spacer" : "Spacer", "SpectreCheck" : "SpectreCheck", "Thumbnail" : "Thumbnail", "User" : "User", "UsersOnline" : "UsersOnline", "u" : "u_companyUrl", "ViewCart" : "ViewCart", "StorageUrl" : "StorageUrl" }, #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 # to come from. All other subnets will be ignored. The subnet # should be listed in CIDR notation. "spectreSubnets" : [ "127.0.0.1/32" ], # Define the IP Address that should be used by WebGUI to connect # to Spectre. Depending upon your cluster configuration, this may # or may not be the same as the information in spectreSubnets. "spectreIp" : "127.0.0.1", # Define the port number WebGUI should use to connect to Spectre "spectrePort" : 32133, # Define the workflow activities that are available in the editing # process and what object types they support. "workflowActivities" : { "None" : [ "WebGUI::Workflow::Activity::ArchiveOldStories", "WebGUI::Workflow::Activity::ArchiveOldThreads", "WebGUI::Workflow::Activity::CalendarUpdateFeeds", "WebGUI::Workflow::Activity::CleanDatabaseCache", "WebGUI::Workflow::Activity::CleanFileCache", "WebGUI::Workflow::Activity::CleanLoginHistory", "WebGUI::Workflow::Activity::CleanTempStorage", "WebGUI::Workflow::Activity::CreateCronJob", "WebGUI::Workflow::Activity::DecayKarma", "WebGUI::Workflow::Activity::DeleteExpiredSessions", "WebGUI::Workflow::Activity::ExpireEmsCartItems", "WebGUI::Workflow::Activity::ExpireGroupings", "WebGUI::Workflow::Activity::ExpireSubscriptionCodes", "WebGUI::Workflow::Activity::GetSyndicatedContent", "WebGUI::Workflow::Activity::NotifyAdminsWithOpenVersionTags", "WebGUI::Workflow::Activity::PurgeOldAssetRevisions", "WebGUI::Workflow::Activity::PurgeOldTrash", "WebGUI::Workflow::Activity::RemoveOldCarts", "WebGUI::Workflow::Activity::SendQueuedMailMessages", "WebGUI::Workflow::Activity::SummarizePassiveProfileLog", "WebGUI::Workflow::Activity::SyncProfilesToLdap", "WebGUI::Workflow::Activity::TrashClipboard", "WebGUI::Workflow::Activity::TrashExpiredEvents", "WebGUI::Workflow::Activity::SummarizePassiveAnalytics", "WebGUI::Workflow::Activity::BucketPassiveAnalytics", "WebGUI::Workflow::Activity::ExpirePurchasedThingyRecords" ], "WebGUI::Asset::Wobject::Thingy" : [ "WebGUI::Workflow::Activity::NotifyAboutThing" ], "WebGUI::Asset" : [ "WebGUI::Workflow::Activity::UpdateAssetSubscribers" ], "WebGUI::User" : [ "WebGUI::Workflow::Activity::CreateCronJob", "WebGUI::Workflow::Activity::NotifyAboutUser", "WebGUI::Workflow::Activity::ActivateUser", "WebGUI::Workflow::Activity::DeactivateUser", "WebGUI::Workflow::Activity::WaitForUserConfirmation", "WebGUI::Workflow::Activity::DeleteUser" ], "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. "graphingPlugins" : [ "WebGUI::Image::Graph::Pie", "WebGUI::Image::Graph::XYGraph::Bar", "WebGUI::Image::Graph::XYGraph::Line" ], # 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 # the name the dictionary is displayed with in tinyMCE. To set the default dictionary please set the 'default' # parameter. #"availableDictionaries" : [ # { # "id" : "en_US", # "name" : "English", # "default" : "1" # }, # { # "id" : "nl", # "name" : "Dutch" # } #], # Optional script to run upon successful login. The script can contain macros # ex: /data/WebGUI/sbin/doLogin.pl --configFile=dev.localhost.localdomain.conf --loginPage=^PageUrl(); "runOnLogin" : "", # Optional script to run upon successful logout. The script can contain macros # Example: /data/WebGUI/sbin/doLogout.pl --configFile=dev.localhost.localdomain.conf --logoutPage=^PageUrl(); "runOnLogout" : "", # URL handlers are used to associate functionality with a URL via a regular expression. "urlHandlers" : [ { "^/extras" : "WebGUI::URL::PassThru" }, # { "^/icons" : "WebGUI::URL::PassThru" }, # { "^/documentation/pdf" : "WebGUI::URL::PassThru" }, # { "^/my-custom-application$" : "WebGUI::URL::PassThru" }, # { "^/server-status$" : "WebGUI::URL::PassThru" }, # { "^/perl-status$" : "WebGUI::URL::PassThru" }, { "^/uploads/dictionaries" : "WebGUI::URL::Unauthorized" }, { "^/uploads" : "WebGUI::URL::Uploads" }, { "^/\\*give-credit-where-credit-is-due\\*$" : "WebGUI::URL::Credits" }, # { "^/abcdefghijklmnopqrstuvwxyz$" : "WebGUI::URL::Snoop" }, { ".*" : "WebGUI::URL::Content" } ], # Content handlers are used to produce content from the content URL handler. # Note, these handlers are processed in the order listed. Do not change # unless you know what you're doing. "contentHandlers" : [ "WebGUI::Content::Prefetch", "WebGUI::Content::Maintenance", "WebGUI::Content::Referral", "WebGUI::Content::AssetManager", "WebGUI::Content::AssetDiscovery", "WebGUI::Content::PassiveAnalytics", "WebGUI::Content::SetLanguage", "WebGUI::Content::AjaxI18N", "WebGUI::Content::Account", "WebGUI::Content::AssetHistory", "WebGUI::Content::FilePump", "WebGUI::Content::Wizard", "WebGUI::Content::Operation", "WebGUI::Content::Setup", "WebGUI::Content::Shop", "WebGUI::Content::SiteIndex", "WebGUI::Content::Asset", "WebGUI::Content::NotFound" ], # extensions that the export system should pass through as-is instead of using # index.html "exportBinaryExtensions" : [ "html", "htm", "txt", "pdf", "jpg", "css", "gif", "png", "doc", "xls", "xml", "rss", "bmp", "mp3", "js", "fla", "flv", "swf", "pl", "php", "php3", "php4", "php5", "ppt", "docx", "zip", "tar", "rar", "gz", "bz2" ], # Drivers for the pluggable tax system "taxDrivers" : [ "WebGUI::Shop::TaxDriver::Generic", "WebGUI::Shop::TaxDriver::EU" ], # Content Delivery Network - for use with WebGUI::Storage # required for CDN: enabled, url, queuePath, syncProgram, deleteProgram # optional for CDN: sslAlt, sslUrl, extrasCdn, extrasSsl, extrasExclude #"cdn" : { "enabled" : 0, # "url" : "http://content.example.com", # "sslAlt" : 0, # "sslUrl" : "https://ssl.example.com", # "queuePath" : "/var/spool/webgui/", # "syncProgram" : "/usr/bin/rsync -av --chmod=u+rwx -- '%s' user@content.example.com:/path", # "deleteProgram" : "/usr/bin/ssh user@content.example.com 'rm -Rf -- %s'", # "extrasCdn" : "http://content.example.com/extras", # "extrasSsl" : "https://content.example.com/extras", # "extrasExclude": ["tinymce", "^blah$"] # }, #A list of UserAgents of recognized mobile platforms. If useMobileStyle is set in the #Admin settings, then the mobile style will be used for these browsers. "mobileUserAgents" : [ "AvantGo", "DoCoMo", "Vodafone", "EudoraWeb", "Minimo", "UP\\.Browser", "PLink", "Plucker", "NetFront", "^WM5 PIE$", "Xiino", "iPhone", "Opera Mobi", "BlackBerry", "Opera Mini", "HP iPAQ", "IEMobile", "Profile/MIDP", "Smartphone", "Symbian ?OS", "J2ME/MIDP", "PalmSource", "PalmOS", "Windows CE", "Opera Mini" ], # For the siteIndex content plugin. Whether or not the auto-generated siteIndex should # show hidden pages "siteIndex" : { "showHiddenPages" : 0 }, # An array of SPAM words. Used in the Post and WikiPage to block spam by sending the asset directly # to the trash. "spamStopWords" : [ ], # A flag to enable a very simple SSO mechanism using sessionIds. "enableSimpleSSO" : 0 } debian/watch0000644000000000000000000000011211154775233010221 0ustar version=3 http://update.webgui.org/7.x.x/ webgui-([\d.]+)-stable\.tar\.gz debian/webgui.prerm0000644000000000000000000000053311516066204011521 0ustar #!/bin/sh set -e case "$1" in remove) # Remove local customization directories, if empty. rmdir /usr/local/share/webgui/lib 2>/dev/null || true rmdir /usr/local/share/webgui 2>/dev/null || true ;; *) # Nothing to do here, move along ;; esac #DEBHELPER# exit 0 debian/webgui-l10n-nl.lintian-overrides0000644000000000000000000000016511706033474015216 0ustar # WebGUI ships a changelog directory instead of a single changelog file webgui-l10n-nl binary: no-upstream-changelog debian/webgui.dirs0000644000000000000000000000044111647035521011336 0ustar etc/webgui/ usr/sbin/ usr/share/lintian/overrides usr/share/webgui/ usr/share/webgui/extras/yui/ usr/share/webgui/extras/underscore/ usr/share/webgui/extras/tinymce/jscripts/ var/lib/webgui/ var/lib/webgui/exports var/lib/webgui/uploads var/log/webgui/ var/cache/webgui/ var/spool/webgui/ debian/webgui.init0000644000000000000000000000740611261174500011341 0ustar #!/bin/sh # Startup script for WebGUI's Spectre Daemon # # Author: Ernesto Hernández-Novich # Version: @(#) webgui 1.1 2009-08-11 emhn@usb.ve # ### BEGIN INIT INFO # Provides: webgui # Required-Start: $network $remote_fs $syslog # Required-Stop: $network $remote_fs $syslog # Should-Start: apache2 # Should-Stop: apache2 # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Startup WebGUI's Spectre daemon # Description: WebGUI includes a workflow handling daemon that # must be started in order for publishing and other # CMS related activities to complete properly. ### END INIT INFO # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/bin:/usr/sbin:/usr/bin DESC="WebGUI's Spectre Daemon" NAME=spectre DAEMON=/usr/sbin/$NAME DAEMON_ARGS="--options args" PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/webgui # Edit /etc/default/webgui to change this ENABLED=no # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/webgui ] && . /etc/default/webgui # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. . /lib/lsb/init-functions # # Function that starts the daemon/service # do_start() { # Return # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE \ --exec $DAEMON -- --daemon \ || return 2 } # # Function that stops the daemon/service # do_stop() { # Return # 0 if daemon has been stopped # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --quiet \ --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 # Wait for children to finish too if this is a daemon that forks # and if the daemon is only ever run from this initscript. # If the above conditions are not satisfied then add some other code # that waits for the process to drop all resources that could be # needed by services started subsequently. A last resort is to # sleep for some time. start-stop-daemon --stop --quiet \ --oknodo --retry=0/30/KILL/5 --exec $DAEMON [ "$?" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE return "$RETVAL" } if [ "$ENABLED" != "yes" ] then log_daemon_msg "WebGUI's Spectre daemon disabled in /etc/default/webgui" log_end_msg 0 exit 0 fi case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; status) log_daemon_msg "Testing $DESC" "$NAME" echo $DAEMON --status log_end_msg 0 ;; *) echo "Usage: $SCRIPTNAME {start|stop|restart|status|force-reload}" >&2 exit 3 ;; esac : debian/webgui.preinst0000644000000000000000000000221411516066204012056 0ustar #!/bin/sh # preinst script for webgui # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) # Handle /usr/share/webgui/etc dir-to-link transition if [ "$1" = upgrade -a -d /usr/share/webgui/etc ]; then rm -rf /usr/share/webgui/etc fi if [ "$1" = "upgrade" ]; then # Packages up to 7.8.24 used a non-FHS compliant cache # location -- get rid of its contents. if [ -d /var/lib/webgui/cache ]; then rm -rf /var/lib/webgui/cache/* || true fi fi ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0