This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
classifiers=[ | |
"Environment :: Web Environment", | |
"License :: OSI Approved :: GNU General Public License (GPL)", | |
"Operating System :: OS Independent", | |
"Framework :: Zope2", | |
"Framework :: Plone", | |
"Framework :: Plone :: 4.0", | |
"Framework :: Plone :: 4.1", | |
"Framework :: Plone :: 4.2", | |
"Framework :: Plone :: 4.3", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################ | |
# | |
# Buildout Configuration File for Standalone Plone | |
# ------------------------------------------------ | |
# $LastChangedDate: 2009-05-24 11:24:17 -0700 (Sun, 24 May 2009) $ | |
$LastChangedRevision: 27095 $ | |
# | |
# After making changes in this configuration file, | |
# you should run bin/buildout to update the components. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the default haproxy load balancing configuration. It uses will | |
# load balance four ZEO clients. | |
# | |
# Note that balancer.conf is generated from balancer.conf.template. | |
# | |
global | |
log ${host:syslog} local6 | |
# We manage this with supervisor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin | |
develop-eggs | |
.installed.cfg | |
.mr.developer.cfg | |
*.egg-info | |
*.pyc | |
parts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#utilities to download and extract | |
apt-get install wget curl tar unzip bzip2 gzip readline-common | |
#system deps | |
apt-get install libxml2 libxslt1 libjpeg62 libpng12-0 libpng3 | |
#compile stuff | |
apt-get install build-essentials python-dev | |
apt-get install libssl-dev zlib1g-dev libreadline5-dev libjpeg62-dev libxml2-dev libxslt1-dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[buildout] | |
extends = | |
buildout.cfg | |
var/sys.cfg | |
parts= | |
instance | |
zopepy | |
zeoserver | |
instance1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<object name="portal_properties" meta_type="Plone Properties Tool"> | |
<object name="ckeditor_properties" meta_type="Plone Property Sheet"> | |
<property name="title">CKEditor properties</property> | |
<!-- base properties --> | |
<property name="forcePasteAsPlainText" type="boolean">True</property> | |
<property name="toolbar" type="string">Custom</property> | |
<property name="toolbar_Custom" type="text"> | |
[ | |
['Save','Format','Styles'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from urllib import urlencode, quote_plus | |
from plone.memoize.view import memoize | |
from DateTime.DateTime import DateTime | |
from Products.Five import BrowserView | |
from Products.CMFCore.utils import getToolByName | |
class RelatedItems(BrowserView): | |
def __init__(self, context, request): | |
self.context = context | |
self.request = request |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################ | |
# (C) 2012, ZOPYX Ltd. | |
################################################################ | |
#ZCML: | |
#<subscriber handler=".language_negotiation.Negotiator"/> | |
from zope.interface import Interface | |
from zope.component import adapter | |
from ZPublisher.interfaces import IPubEvent,IPubAfterTraversal | |
from Products.CMFCore.utils import getToolByName |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from zope import component | |
from zope import interface | |
from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm | |
from zope.schema.interfaces import IVocabularyFactory | |
from plone.i18n.normalizer.base import baseNormalize | |
class RegistryVocabulary(object): | |
"""vocabulary to use with plone.app.registry""" | |
interface.implements(IVocabularyFactory) |
OlderNewer