~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
13
      for="zope.publisher.interfaces.IRequest"
14
      provides=".interfaces.IClientId"
15
      factory=".session.ClientId"
16
      permission="zope.Public" 
17
      />
18
19
  <adapter
20
      for="zope.publisher.interfaces.IRequest"
21
      provides=".interfaces.ISession"
22
      factory=".session.Session"
23
      permission="zope.Public"
24
      />
25
26
  <adapter
27
      for="zope.publisher.interfaces.IRequest"
28
      provides="zope.app.traversing.interfaces.IPathAdapter"
29
      factory=".session.Session"
30
      name="session"
31
      permission="zope.Public"
32
      />
33
34
  <content class=".session.Session">
35
    <allow interface=".interfaces.ISession" />
36
    <implements interface="zope.app.traversing.interfaces.IPathAdapter" />
37
  </content>
38
39
  <content class=".http.CookieClientIdManager">
40
    <require
41
        interface=".http.ICookieClientIdManager"
42
        permission="zope.Public" />
43
    <require
44
        set_schema=".http.ICookieClientIdManager"
45
        permission="zope.ManageServices" />
46
  </content>
47
48
  <content class=".session.PersistentSessionDataContainer">
49
    <require
50
        interface=".interfaces.ISessionDataContainer"
51
        permission="zope.Public" />
52
    <require
53
        set_schema=".interfaces.ISessionDataContainer"
54
        permission="zope.ManageServices" />
55
  </content>
56
57
  <content class=".session.RAMSessionDataContainer">
58
    <require
59
        interface=".interfaces.ISessionDataContainer"
60
        permission="zope.Public" />
61
    <require
62
        set_schema=".interfaces.ISessionDataContainer"
63
        permission="zope.ManageServices" />
64
  </content>
65
66
  <content class=".session.SessionData">
67
    <allow interface=".interfaces.ISessionData" />
68
  </content>
69
70
  <content class=".session.SessionPkgData">
71
    <allow interface=".interfaces.ISessionPkgData" />
72
  </content>
73
  <!--  Don't want this.  Direct ZODB dependency.
74
  <subscriber
75
      for="zope.app.appsetup.IDatabaseOpenedEvent"
76
      factory=".bootstrap.bootStrapSubscriber"
77
      />
78
    -->
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.
79
    <!--
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
80
  <include file="browser.zcml" />
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.
81
  -->
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
82
</configure>