~launchpad-pqm/launchpad/devel

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