[Zope-CVS] SVN: ldapadapter/trunk/ Added configuration files
Roger Ineichen
roger at projekt01.ch
Sat Oct 9 09:37:50 EDT 2004
Log message for revision 27825:
Added configuration files
Added initial onlinehelp files
Changed:
A ldapadapter/trunk/browser/
A ldapadapter/trunk/browser/__init__.py
A ldapadapter/trunk/browser/configure.zcml
A ldapadapter/trunk/configure.zcml
A ldapadapter/trunk/help/
A ldapadapter/trunk/help/__init__.py
A ldapadapter/trunk/help/ldapadapter.stx
A ldapadapter/trunk/ldapadapter-configure.zcml.in
-=-
Added: ldapadapter/trunk/browser/__init__.py
===================================================================
--- ldapadapter/trunk/browser/__init__.py 2004-10-09 12:57:22 UTC (rev 27824)
+++ ldapadapter/trunk/browser/__init__.py 2004-10-09 13:37:50 UTC (rev 27825)
@@ -0,0 +1,17 @@
+##############################################################################
+#
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE
+#
+##############################################################################
+"""LDAPAdapter browser packages.
+
+$Id: $
+"""
Property changes on: ldapadapter/trunk/browser/__init__.py
___________________________________________________________________
Name: svn:eol-style
+ native
Added: ldapadapter/trunk/browser/configure.zcml
===================================================================
--- ldapadapter/trunk/browser/configure.zcml 2004-10-09 12:57:22 UTC (rev 27824)
+++ ldapadapter/trunk/browser/configure.zcml 2004-10-09 13:37:50 UTC (rev 27825)
@@ -0,0 +1,35 @@
+<configure
+ xmlns:zope="http://namespaces.zope.org/zope"
+ xmlns="http://namespaces.zope.org/browser"
+ i18n_domain="ldapadapter">
+
+ <!-- LDAPAdapter -->
+ <tool
+ interface="ldapadapter.interfaces.ILDAPAdapter"
+ title="LDAP Adapter"
+ description="A LDAP adapter."
+ />
+
+ <addform
+ label="LDAP Adapter"
+ for= "ldapadapter.interfaces.ILDAPAdapter"
+ name="addLDAPAdapter.html"
+ schema="zope.app.utility.interfaces.IUtilityRegistration"
+ class="zope.app.utility.browser.AddRegistration"
+ permission="zope.ManageServices"
+ content_factory=
+ "ldapadapter.LDAPAdapter"
+ arguments="name interface"
+ set_after_add="status"
+ fields="name interface permission status"
+ />
+
+ <!-- Menu entry for "Add Utility" menu -->
+ <addMenuItem
+ class="ldapadapter.LDAPAdapter"
+ title="LDAP Adapter"
+ description="A LDAP adapter"
+ permission="zope.ManageServices"
+ />
+
+</configure>
Property changes on: ldapadapter/trunk/browser/configure.zcml
___________________________________________________________________
Name: svn:eol-style
+ native
Added: ldapadapter/trunk/configure.zcml
===================================================================
--- ldapadapter/trunk/configure.zcml 2004-10-09 12:57:22 UTC (rev 27824)
+++ ldapadapter/trunk/configure.zcml 2004-10-09 13:37:50 UTC (rev 27825)
@@ -0,0 +1,41 @@
+<configure
+ xmlns="http://namespaces.zope.org/zope"
+ xmlns:browser="http://namespaces.zope.org/browser"
+ xmlns:help="http://namespaces.zope.org/help"
+ i18n_domain="ldapadapter"
+ >
+
+ <content class="ldapadapter.LDAPAdapter">
+
+ <factory
+ id="ldapadapter.LDAPAdapter" />
+
+ <implements
+ interface="zope.app.utility.interfaces.ILocalUtility" />
+
+ <implements
+ interface="zope.app.annotation.interfaces.IAttributeAnnotatable" />
+
+ <implements
+ interface="ldapadapter.interfaces.ILDAPAdapter" />
+
+ <require
+ permission="zope.ManageServices"
+ interface="ldapadapter.interfaces.ILDAPAdapter" />
+
+ <require
+ permission="zope.ManageServices"
+ set_schema="ldapadapter.interfaces.ILDAPAdapter" />
+
+ </content>
+
+ <include package=".browser" />
+
+ <!-- add onlinehelp text -->
+ <help:register
+ id="ldapadapter"
+ title="LDAP Adapter"
+ doc_path="./help/ldapadapter.stx" />
+
+
+</configure>
Added: ldapadapter/trunk/help/__init__.py
===================================================================
--- ldapadapter/trunk/help/__init__.py 2004-10-09 12:57:22 UTC (rev 27824)
+++ ldapadapter/trunk/help/__init__.py 2004-10-09 13:37:50 UTC (rev 27825)
@@ -0,0 +1,17 @@
+##############################################################################
+#
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE
+#
+##############################################################################
+"""LDAPAdapter help packages.
+
+$Id: $
+"""
Property changes on: ldapadapter/trunk/help/__init__.py
___________________________________________________________________
Name: svn:eol-style
+ native
Added: ldapadapter/trunk/help/ldapadapter.stx
===================================================================
--- ldapadapter/trunk/help/ldapadapter.stx 2004-10-09 12:57:22 UTC (rev 27824)
+++ ldapadapter/trunk/help/ldapadapter.stx 2004-10-09 13:37:50 UTC (rev 27825)
@@ -0,0 +1,31 @@
+Overview
+
+ XXX what's ldapadapter?
+
+Requirements
+
+ XXX add description
+
+Installation
+
+ Download the python package python-ldap from
+ <a href="http://python-ldap.sourceforge.net/download.shtml" target="_blank">
+ http://python-ldap.sourceforge.net/download.shtml</a>
+
+ Install the downloaded package python-ldap like described in the
+ download. You can find additional information abaout the installation
+ of this package under
+ <a href="http://python-ldap.sourceforge.net" target="_blank">http://python-ldap.sourceforge.net</a>
+
+ Copy this package "ldapadapter" to the "src" folder of your
+ Zope installation.
+
+ Add a file with the name "ldapadapter-configure.zcml" to the
+ package-includes folder of your installation and add the following
+ content
+
+ ::
+
+ <include package="ldapadapter"/>
+
+ Make shure there is a LDAP server available!
Property changes on: ldapadapter/trunk/help/ldapadapter.stx
___________________________________________________________________
Name: svn:eol-style
+ native
Added: ldapadapter/trunk/ldapadapter-configure.zcml.in
===================================================================
--- ldapadapter/trunk/ldapadapter-configure.zcml.in 2004-10-09 12:57:22 UTC (rev 27824)
+++ ldapadapter/trunk/ldapadapter-configure.zcml.in 2004-10-09 13:37:50 UTC (rev 27825)
@@ -0,0 +1,5 @@
+<configure xmlns='http://namespaces.zope.org/zope'>
+
+ <include package="ldapadapter" />
+
+</configure>
\ No newline at end of file
Property changes on: ldapadapter/trunk/ldapadapter-configure.zcml.in
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the Zope-CVS
mailing list