~launchpad-pqm/launchpad/devel

1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
1
<configure
2
    xmlns="http://namespaces.zope.org/zope"
3
    xmlns:i18n="http://namespaces.zope.org/i18n"
4
    i18n_domain="zope"
5
    >
6
7
  <!-- Meta configuration (new directives) -->
8
  <include package="zope.app" file="meta.zcml" />
3258.4.1 by Steve Alexander
Disable trebuchet. Make XMLRPC work, with an (untested) self-check API.
9
  <include package="zope.app.publisher.xmlrpc" file="meta.zcml" />
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
10
11
  <!-- Note that we need to do this early, as later startup
12
       subscribers may break without fixups -->
13
14
  <include package="zope.app.component" />
15
  <!-- We don't need generations, as they are zodb specific.
16
  <include package="zope.app.generations" file="subscriber.zcml" />
17
    -->
18
  <!-- Ordinary Application (non-view) configuration) -->
19
  <include package="zope.app.interface" />
20
  <include package="zope.app.security" />
21
  <include package="zope.app.event" />
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.
22
  <!--
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
23
  <include package="zope.app.observable" />
24
  <include package="zope.app.annotation" />
25
  <include package="zope.app.dependable" />
26
27
  <include package="zope.app" file="menus.zcml" />
28
  <include package="zope.app.location" />
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.
29
  -->
30
  <!--
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
31
  <include package="zope.app.container" />
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.
32
-->
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
33
  <include package="zope.app.publisher" />
2976.10.50 by Stuart Bishop
Factories for the publication machinery to lookup correct request type
34
35
  <include package="zope.app.publication" file="meta.zcml" />
3673.5.2 by Bjorn Tillenius
convert the xmlrpc server to WSGIHTTPServer.
36
  <!-- We don't need any of the default publications. -->
37
  <!-- include package="zope.app.publication" / -->
2976.10.50 by Stuart Bishop
Factories for the publication machinery to lookup correct request type
38
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.
39
  <!-- selected things from zope.app.traversing -->
40
<adapter
41
    for="*"
42
    factory="zope.app.traversing.adapters.Traverser"
43
    provides="zope.app.traversing.interfaces.ITraverser" />
44
45
<adapter
46
    for="*"
47
    factory="zope.app.traversing.adapters.DefaultTraversable"
48
    provides="zope.app.traversing.interfaces.ITraversable" />
49
<view
50
    name="view" type="*"
51
    provides="zope.app.traversing.interfaces.ITraversable" for="*"
52
    factory="zope.app.traversing.namespace.view"
53
    />
54
55
<view
56
    name="resource" type="*"
57
    provides="zope.app.traversing.interfaces.ITraversable" for="*"
58
    factory="zope.app.traversing.namespace.resource"
59
    />
60
  <!-- end of selected things from zope.app.traversing -->
61
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
62
  <include package="zope.app.pagetemplate" />
2976.10.50 by Stuart Bishop
Factories for the publication machinery to lookup correct request type
63
  <include package="zope.app.zapi" />
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
64
65
  <!-- Views -->
66
  <include package="zope.app.http" />
67
68
  <!-- Translations -->
69
  <!-- XXX it is not possible to include a 'package' attribute in the
70
       registerTranslations directive.  This seems to be a shortcoming
71
       in the 'path' field design, where it can't be made relative to
72
       a package given in this directive.
73
  <i18n:registerTranslations package="zope.app" directory="translation_files" />
74
  -->
3973.1.92 by Steve Alexander
add registration of i18n adapters we use into zopeapp.zcml. move PlotKit_Packed.js to icing. pack FormatAndColor.js from MochiKit and move to icing. Change bugtarget-bugs.pt to use these.
75
  <!--
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
76
  <include package="zope.app.i18n" />
3973.1.92 by Steve Alexander
add registration of i18n adapters we use into zopeapp.zcml. move PlotKit_Packed.js to icing. pack FormatAndColor.js from MochiKit and move to icing. Change bugtarget-bugs.pt to use these.
77
  -->
78
79
  <!-- Setup charset negotiation -->
80
  <adapter factory="zope.publisher.http.HTTPCharsets"
81
      for="zope.publisher.interfaces.http.IHTTPRequest"
82
      provides="zope.i18n.interfaces.IUserPreferredCharsets"
83
      />
84
  <adapter factory="zope.app.publisher.browser.ModifiableBrowserLanguages"
85
      for="zope.publisher.interfaces.http.IHTTPRequest"
86
      provides="zope.i18n.interfaces.IModifiableUserPreferredLanguages"
87
      />
88
89
2976.10.50 by Stuart Bishop
Factories for the publication machinery to lookup correct request type
90
  <include package="zope.app.wsgi" />
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
91
3673.5.9 by Bjorn Tillenius
include default xmlrpc pre_marshallers
92
  <!-- Default XMLRPC pre-marshalling. -->
93
  <include package="zope.publisher" />
94
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
95
</configure>