Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
e33526ea
Commit
e33526ea
authored
Mar 30, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move general meta/configure statements into files in Zope2/App
parent
1ec27b1a
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
44 deletions
+35
-44
src/Products/Five/configure.zcml
src/Products/Five/configure.zcml
+2
-4
src/Products/Five/deprecated.zcml
src/Products/Five/deprecated.zcml
+0
-5
src/Products/Five/event.zcml
src/Products/Five/event.zcml
+0
-5
src/Products/Five/i18n.zcml
src/Products/Five/i18n.zcml
+0
-6
src/Products/Five/meta.zcml
src/Products/Five/meta.zcml
+1
-15
src/Products/Five/permissions.zcml
src/Products/Five/permissions.zcml
+0
-2
src/Products/Five/publisher.zcml
src/Products/Five/publisher.zcml
+0
-5
src/Zope2/App/configure.zcml
src/Zope2/App/configure.zcml
+11
-0
src/Zope2/App/meta.zcml
src/Zope2/App/meta.zcml
+20
-0
src/Zope2/utilities/skel/etc/site.zcml
src/Zope2/utilities/skel/etc/site.zcml
+1
-2
No files found.
src/Products/Five/configure.zcml
View file @
e33526ea
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five">
<include package="Zope2.App" file="configure.zcml" />
<include file="meta.zcml" />
<include file="permissions.zcml" />
<include package="zope.traversing" />
<include package="OFS "/>
<include package="ZPublisher" />
<include package=".component" />
<include package=".browser" />
<include package=".skin" />
...
...
src/Products/Five/deprecated.zcml
deleted
100644 → 0
View file @
1ec27b1a
<configure xmlns="http://namespaces.zope.org/zope">
<include package="OFS" file="deprecated.zcml"/>
</configure>
src/Products/Five/event.zcml
deleted
100644 → 0
View file @
1ec27b1a
<configure xmlns="http://namespaces.zope.org/zope">
<include package="OFS" file="event.zcml"/>
</configure>
src/Products/Five/i18n.zcml
deleted
100644 → 0
View file @
1ec27b1a
<configure
xmlns="http://namespaces.zope.org/zope">
<include package="ZPublisher" file="i18n.zcml" />
</configure>
src/Products/Five/meta.zcml
View file @
e33526ea
...
...
@@ -2,23 +2,9 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta">
<include package="AccessControl" file="meta.zcml" />
<include package="OFS" file="meta.zcml" />
<include package="zope.component" file="meta.zcml" />
<include package="zope.i18n" file="meta.zcml" />
<include package="Zope2.App" file="meta.zcml" />
<include package=".browser" file="meta.zcml" />
<meta:directives namespace="http://namespaces.zope.org/zope">
<meta:directive
name="view"
schema="zope.component.zcml.IViewDirective"
handler="zope.component.zcml.view"
/>
</meta:directives>
<meta:directives namespace="http://namespaces.zope.org/five">
<!-- specific to Five -->
...
...
src/Products/Five/permissions.zcml
View file @
e33526ea
<configure xmlns="http://namespaces.zope.org/zope"
i18n_domain="Five">
<include package="AccessControl" file="permissions.zcml" />
<permission
id="five.ManageSite"
title="Manage Five local sites"
...
...
src/Products/Five/publisher.zcml
deleted
100644 → 0
View file @
1ec27b1a
<configure xmlns="http://namespaces.zope.org/zope">
<include package="ZPublisher" file="publisher.zcml"/>
</configure>
src/Zope2/App/configure.zcml
0 → 100644
View file @
e33526ea
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five">
<include file="meta.zcml" />
<include package="AccessControl" file="permissions.zcml" />
<include package="zope.traversing" />
<include package="OFS "/>
<include package="ZPublisher" />
</configure>
src/Zope2/App/meta.zcml
0 → 100644
View file @
e33526ea
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta">
<include package="AccessControl" file="meta.zcml" />
<include package="OFS" file="meta.zcml" />
<include package="zope.component" file="meta.zcml" />
<include package="zope.i18n" file="meta.zcml" />
<meta:directives namespace="http://namespaces.zope.org/zope">
<meta:directive
name="view"
schema="zope.component.zcml.IViewDirective"
handler="zope.component.zcml.view"
/>
</meta:directives>
</configure>
src/Zope2/utilities/skel/etc/site.zcml
View file @
e33526ea
...
...
@@ -3,10 +3,10 @@
xmlns:meta="http://namespaces.zope.org/meta"
xmlns:five="http://namespaces.zope.org/five">
<include package="Zope2.App" />
<include package="Products.Five" />
<meta:redefinePermission from="zope2.Public" to="zope.Public" />
<!-- Load the meta -->
<include files="package-includes/*-meta.zcml" />
<five:loadProducts file="meta.zcml"/>
...
...
@@ -19,7 +19,6 @@
<includeOverrides files="package-includes/*-overrides.zcml" />
<five:loadProductsOverrides />
<securityPolicy
component="AccessControl.security.SecurityPolicy" />
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment