source: products/quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/config.py @ 2841

Last change on this file since 2841 was 2841, checked in by mylan, 9 years ago

Added support of migration from qPloneGoogleSitemaps product
to quintagroup.plonegooglesitemaps with tests.
Also all views now registered on own browserlayer.

Merged revisions 3865,3867-3872,3874-3878 via svnmerge from
http://svn.quintagroup.com/products/quintagroup.plonegooglesitemaps/branches/migratioin_product

........

r3865 | mylan | 2010-09-15 20:54:50 +0300 (Wed, 15 Sep 2010) | 1 line


#230: Added module aliases - prevent breakage sitemap, created with qPloneGoogleSitemaps

........

r3867 | mylan | 2010-09-17 11:41:35 +0300 (Fri, 17 Sep 2010) | 1 line


#230: Added browserlayer and registered all sitemaps views and configlet view to it

........

r3868 | mylan | 2010-09-17 13:12:09 +0300 (Fri, 17 Sep 2010) | 1 line


#230: remove module aliases

........

r3869 | mylan | 2010-09-17 13:13:14 +0300 (Fri, 17 Sep 2010) | 1 line


#230: Added migration from qPloneGoogleSitemaps to quintagroup.plonegooglesitemaps

........

r3870 | mylan | 2010-09-17 14:02:47 +0300 (Fri, 17 Sep 2010) | 1 line


#230: Added upgrade/migration step by step reference.

........

r3871 | mylan | 2010-09-17 14:41:04 +0300 (Fri, 17 Sep 2010) | 1 line


#230: Fix tests after registering all views to the browser layer

........

r3872 | mylan | 2010-09-17 14:55:43 +0300 (Fri, 17 Sep 2010) | 1 line


#230: Added uninstallation browserlayer and updated install/uninstall tests

........

r3874 | mylan | 2010-09-20 13:12:26 +0300 (Mon, 20 Sep 2010) | 1 line


#230: Added test for browser layer uninstallation

........

r3875 | mylan | 2010-09-20 15:37:00 +0300 (Mon, 20 Sep 2010) | 1 line


#230: Fix cleanup during migration from the qPloneGoogleSitemaps

........

r3876 | mylan | 2010-09-20 15:38:18 +0300 (Mon, 20 Sep 2010) | 1 line


#230: Fix typos in GS profile and import step

........

r3877 | mylan | 2010-09-20 18:23:20 +0300 (Mon, 20 Sep 2010) | 1 line


#230: Added tests of migration from qPloneGoogleSitemap to quintagroup.plonegooglesitemap.

........

r3878 | mylan | 2010-09-22 14:17:07 +0300 (Wed, 22 Sep 2010) | 1 line


#230: some upgrade tests reorganization

........

  • Property svn:eol-style set to native
File size: 705 bytes
Line 
1"""Common configuration constants
2"""
3
4PROJECTNAME = 'quintagroup.plonegooglesitemaps'
5
6ADD_PERMISSIONS = {
7    # -*- extra stuff goes here -*-
8    'Sitemap': 'qPloneGoogleSitemaps: Add Sitemap',
9}
10
11SITEMAPS_VIEW_MAP = {
12    'content'   : 'sitemap.xml',
13    'mobile'    : 'mobile-sitemap.xml',
14    'news'      : 'news-sitemap.xml'
15}
16
17ping_googlesitemap = 'pingGoogleSitemap'
18testing = 0
19
20AVAILABLE_WF_SCRIPTS = [ping_googlesitemap, '']
21
22# Turn-ON/OFF portal_catalog
23# updating on product installation
24
25# NOT REBUILD catalog
26UPDATE_CATALOG = False
27# DO REBUILDING catalog
28# UPDATE_CATALOG = True
29
30SUPPORT_BLAYER = True
31try:
32    from plone import browserlayer
33except ImportError:
34    SUPPORT_BLAYER = False
Note: See TracBrowser for help on using the repository browser.