~launchpad-pqm/launchpad/devel

8687.15.30 by Karl Fogel
Add the license header block to all .zcml files.
1
<!-- Copyright 2009 Canonical Ltd.  This software is licensed under the
2
     GNU Affero General Public License version 3 (see the file LICENSE).
3
-->
4
2976.10.13 by Stuart Bishop
Add translation directives
5
<configure
6
    xmlns="http://namespaces.zope.org/zope"
7
    xmlns:i18n="http://namespaces.zope.org/i18n"
8
    i18n_domain="zope"
9
    package="zope.app.session"
10
    >
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
11
12
  <!-- The following is a direct copy of zope/app/session/configure.zcml
13
       but with the parts that directly depend on the ZODB taken out.
14
    -->
15
16
  <adapter
6061.16.1 by Curtis Hovey
Removed deprecation warning supression code. Updated ZCML, tests, and code to use
17
      factory="zope.session.session.ClientId"
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
18
      permission="zope.Public" 
19
      />
20
21
  <adapter
6061.16.1 by Curtis Hovey
Removed deprecation warning supression code. Updated ZCML, tests, and code to use
22
      factory="zope.session.session.Session"
23
      provides="zope.session.interfaces.ISession"
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
24
      permission="zope.Public"
25
      />
26
27
  <adapter
6061.16.1 by Curtis Hovey
Removed deprecation warning supression code. Updated ZCML, tests, and code to use
28
      factory="zope.session.session.Session"
6061.2.20 by Curtis Hovey
Resolved merge conflicts. Added an XXX and condition to getTopLevelPublications.
29
      provides="zope.traversing.interfaces.IPathAdapter"
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
30
      name="session"
31
      />
32
6061.16.1 by Curtis Hovey
Removed deprecation warning supression code. Updated ZCML, tests, and code to use
33
  <class class="zope.session.session.Session">
34
    <allow interface="zope.session.interfaces.ISession" />
6061.2.20 by Curtis Hovey
Resolved merge conflicts. Added an XXX and condition to getTopLevelPublications.
35
    <implements interface="zope.traversing.interfaces.IPathAdapter" />
6061.16.1 by Curtis Hovey
Removed deprecation warning supression code. Updated ZCML, tests, and code to use
36
  </class>
37
38
  <class class="zope.session.http.CookieClientIdManager">
39
    <require
40
        interface="zope.session.http.ICookieClientIdManager"
41
        permission="zope.Public" />
42
    <require
43
        set_schema="zope.session.http.ICookieClientIdManager"
44
        permission="zope.ManageServices" />
45
    <require
46
        interface="zope.location.ILocation"
47
        permission="zope.Public" />
48
    <require
49
        set_schema="zope.location.ILocation"
50
        permission="zope.ManageServices" />
51
  </class>
52
53
  <class class="zope.session.session.PersistentSessionDataContainer">
54
    <require
55
        interface="zope.session.interfaces.ISessionDataContainer"
56
        permission="zope.Public" />
57
    <require
58
        set_schema="zope.session.interfaces.ISessionDataContainer"
59
        permission="zope.ManageServices" />
60
    <require
61
        interface="zope.location.ILocation"
62
        permission="zope.Public" />
63
    <require
64
        set_schema="zope.location.ILocation"
65
        permission="zope.ManageServices" />
66
  </class>
67
68
  <class class="zope.session.session.RAMSessionDataContainer">
69
    <require
70
        interface="zope.session.interfaces.ISessionDataContainer"
71
        permission="zope.Public" />
72
    <require
73
        set_schema="zope.session.interfaces.ISessionDataContainer"
74
        permission="zope.ManageServices" />
75
    <require
76
        interface="zope.location.ILocation"
77
        permission="zope.Public" />
78
    <require
79
        set_schema="zope.location.ILocation"
80
        permission="zope.ManageServices" />
81
  </class>
82
83
  <class class="zope.session.session.SessionData">
84
    <allow interface="zope.session.interfaces.ISessionData" />
85
  </class>
86
87
  <class class="zope.session.session.SessionPkgData">
88
    <allow interface="zope.session.interfaces.ISessionPkgData" />
89
  </class>
90
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
91
  <!--  Don't want this.  Direct ZODB dependency.
92
  <subscriber
93
      for="zope.app.appsetup.IDatabaseOpenedEvent"
6061.16.1 by Curtis Hovey
Removed deprecation warning supression code. Updated ZCML, tests, and code to use
94
      handler="zope.session.bootstrap.bootStrapSubscriber"
95
      />
96
      
97
  <subscriber
98
      for="zope.publisher.interfaces.http.IHTTPVirtualHostChangedEvent"
99
      handler="zope.session.http.notifyVirtualHostChanged"
100
      />
101
  -->
102
  <!--
103
  <configure
104
      xmlns:apidoc="http://namespaces.zope.org/apidoc"
105
      xmlns:zcml="http://namespaces.zope.org/zcml"
106
      zcml:condition="have apidoc">
107
108
    <apidoc:bookchapter
109
        id="session"
110
        title="Sessions"
111
        doc_path="design.txt"
112
        />
113
    <apidoc:bookchapter
114
        id="api"
115
        title="API"
116
        doc_path="api.txt"
117
        parent="session"
118
        />
119
120
  </configure>
3973.1.76 by Steve Alexander
remove or comment out a load of zcml imports from zope that we are not actually using. turn off debug namespace in general, but turn it on just for developer machines.
121
  -->
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
122
</configure>