~launchpad-pqm/launchpad/devel

13155.1.17 by Curtis Hovey
Updated the copyrights in the very old branch.
1
<!-- Copyright 2010-2011 Canonical Ltd.  This software is licensed under the
8687.15.30 by Karl Fogel
Add the license header block to all .zcml files.
2
     GNU Affero General Public License version 3 (see the file LICENSE).
3
-->
4
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
5
<configure
6
    xmlns="http://namespaces.zope.org/zope"
7
    xmlns:browser="http://namespaces.zope.org/browser"
8
    xmlns:i18n="http://namespaces.zope.org/i18n"
9
    xmlns:xmlrpc="http://namespaces.zope.org/xmlrpc"
10
    i18n_domain="launchpad">
11
    <facet
12
        facet="bugs">
13
        <browser:page
14
            for="lp.bugs.interfaces.bugtarget.IHasBugs"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
15
            class="lp.bugs.browser.bugtask.BugTargetView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
16
            name="+portlet-latestbugs"
17
            permission="zope.Public"
18
            template="../templates/bugtarget-portlet-latestbugs.pt"/>
19
        <browser:page
20
            for="lp.bugs.interfaces.bugtarget.IHasBugs"
9570.15.19 by Gavin Panella
Make bugtarget-portlet-bugfilters-content.pt available via two views, one with stats, one without.
21
            class="lp.bugs.browser.bugtask.BugListingPortletInfoView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
22
            permission="zope.Public"
23
            name="+portlet-bugfilters"
24
            template="../templates/bugtarget-portlet-bugfilters.pt"/>
25
        <browser:page
26
            for="lp.bugs.interfaces.bugtarget.IHasBugs"
9570.15.19 by Gavin Panella
Make bugtarget-portlet-bugfilters-content.pt available via two views, one with stats, one without.
27
            class="lp.bugs.browser.bugtask.BugListingPortletInfoView"
28
            permission="zope.Public"
29
            name="+bugtarget-portlet-bugfilters-info"
30
            template="../templates/bugtarget-portlet-bugfilters-content.pt"/>
31
        <browser:page
32
            for="lp.bugs.interfaces.bugtarget.IHasBugs"
33
            class="lp.bugs.browser.bugtask.BugListingPortletStatsView"
34
            permission="zope.Public"
35
            name="+bugtarget-portlet-bugfilters-stats"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
36
            template="../templates/bugtarget-portlet-bugfilters-content.pt"/>
37
        <browser:page
38
            for="lp.bugs.interfaces.bugtarget.IHasBugs"
39
            class="lp.bugs.browser.bugtarget.BugTargetBugTagsView"
40
            permission="zope.Public"
41
            name="+portlet-bugtags"
42
            template="../templates/bugtarget-portlet-bugtags.pt"/>
43
        <browser:page
44
            for="lp.bugs.interfaces.bugtarget.IHasBugs"
45
            class="lp.bugs.browser.bugtarget.BugTargetBugTagsView"
46
            name="+bugtarget-portlet-tags-content"
47
            template="../templates/bugtarget-portlet-tags-content.pt"
48
            permission="zope.Public"/>
49
        <browser:page
11024.1.1 by Abel Deuring
proper 404 error for accesses of ~person/+bugs-text
50
            for="lp.bugs.interfaces.bugtarget.IBugTarget"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
51
            class="lp.bugs.browser.bugtask.TextualBugTaskSearchListingView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
52
            permission="zope.Public"
53
            name="+bugs-text"
54
            attribute="__call__"/>
55
        <browser:page
11057.2.1 by Abel Deuring
re-enable the +bugs-text page for project groups again
56
            for="lp.registry.interfaces.projectgroup.IProjectGroup"
57
            class="lp.bugs.browser.bugtask.TextualBugTaskSearchListingView"
58
            permission="zope.Public"
59
            name="+bugs-text"
60
            attribute="__call__"/>
61
        <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
62
            for="lp.bugs.interfaces.bugtarget.IHasBugs"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
63
            class="lp.bugs.browser.bugtask.BugTaskSearchListingView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
64
            permission="zope.Public"
65
            name="+bugs"
66
            template="../templates/buglisting-default.pt"/>
67
        <browser:page
68
            for="lp.bugs.interfaces.bugtarget.IBugTarget"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
69
            class="lp.bugs.browser.bugtask.BugTaskExpirableListingView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
70
            permission="zope.Public"
71
            name="+expirable-bugs"
72
            template="../templates/bug-listing-expirable.pt"/>
73
        <browser:page
74
            for="*"
75
            name="+filebug-macros"
76
            permission="zope.Public"
13678.1.2 by Benji York
checkpoint
77
            template="../templates/bugtarget-macros-filebug.pt"
78
            class="lp.app.browser.launchpad.Macro"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
79
        <browser:page
80
            name="+filebug"
81
            for="lp.bugs.interfaces.bugtarget.IBugTarget"
82
            class="lp.bugs.browser.bugtarget.FileBugGuidedView"
83
            permission="launchpad.AnyPerson"/>
84
        <browser:page
85
            name="+filebug-show-similar"
86
            for="lp.bugs.interfaces.bugtarget.IBugTarget"
87
            class="lp.bugs.browser.bugtarget.FilebugShowSimilarBugsView"
88
            template="../templates/bugtarget-filebug-show-similar.pt"
89
            permission="launchpad.AnyPerson"/>
90
        <browser:page
91
            name="+filebug-advanced"
92
            for="lp.bugs.interfaces.bugtarget.IBugTarget"
93
            class="lp.bugs.browser.bugtarget.FileBugAdvancedView"
94
            permission="launchpad.AnyPerson"/>
95
        <browser:page
9947.2.8 by Graham Binns
Merged old dupefinder work.
96
            name="+filebug-inline-form"
97
            for="lp.bugs.interfaces.bugtarget.IBugTarget"
98
            class="lp.bugs.browser.bugtarget.FilebugShowSimilarBugsView"
99
            template="../templates/bugtarget-filebug-inline-form.pt"
100
            permission="launchpad.AnyPerson"/>
101
        <browser:page
12811.2.2 by Ian Booth
Refactor bug submission form
102
            for="lp.bugs.interfaces.bugtarget.IHasBugs"
12811.2.11 by Ian Booth
Code review fixes and ensure changing products hides/shows the relevant bug detail fields
103
            class="lp.bugs.browser.bugtarget.FileBugReportingGuidelines"
104
            template="../templates/bugtarget-filebug-guidelines.pt"
105
            permission="launchpad.AnyPerson"
106
            name="+filebug-reporting-guidelines"/>
107
        <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
108
            name="+manage-official-tags"
109
            for="lp.bugs.interfaces.bugtarget.IOfficialBugTagTargetRestricted"
110
            class="lp.bugs.browser.bugtarget.OfficialBugTagsManageView"
11587.4.2 by Brian Murray
create launchpad.BugSupervisor permission
111
            permission="launchpad.BugSupervisor"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
112
            template="../templates/official-bug-target-manage-tags.pt"/>
10137.7.1 by Karl Fogel
Start on bug #506018 ("implement +patches view").
113
        <browser:page
114
            name="+patches"
10137.7.39 by Karl Fogel
* lib/lp/bugs/browser/configure.zcml: Put "+patches" view on IHasBugs
115
            for="lp.bugs.interfaces.bugtarget.IHasBugs"
10137.7.1 by Karl Fogel
Start on bug #506018 ("implement +patches view").
116
            class="lp.bugs.browser.bugtarget.BugsPatchesView"
117
            permission="zope.Public"
118
            template="../templates/bugtarget-patches.pt"/>
10137.10.1 by Gavin Panella
Get +patches working for people and teams.
119
        <browser:page
120
            name="+patches"
121
            for="lp.registry.interfaces.person.IPerson"
122
            class="lp.bugs.browser.bugtarget.BugsPatchesView"
123
            permission="zope.Public"
124
            template="../templates/bugtarget-patches.pt"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
125
    <browser:page
126
        name="+bugtarget-macros-search"
127
        for="*"
128
        permission="zope.Public"
13678.1.2 by Benji York
checkpoint
129
        template="../templates/bugtarget-macros-search.pt"
130
        class="lp.app.browser.launchpad.Macro"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
131
    <browser:page
132
        name="+unlinkbug"
10409.5.80 by Curtis Hovey
deglobed all the canonical.launchpad.interfaces in zcml.
133
        for="lp.bugs.interfaces.buglink.IBugLinkTarget"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
134
        class="lp.bugs.browser.buglinktarget.BugsUnlinkView"
135
        permission="launchpad.AnyPerson"
136
        template="../templates/buglinktarget-unlinkbugs.pt"/>
137
    <browser:page
138
        name="+portlet-bugs"
10409.5.80 by Curtis Hovey
deglobed all the canonical.launchpad.interfaces in zcml.
139
        for="lp.bugs.interfaces.buglink.IBugLinkTarget"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
140
        class="lp.bugs.browser.buglinktarget.BugLinksListingView"
141
        permission="zope.Public"
142
        template="../templates/buglinktarget-portlet-bugs.pt"/>
143
    <browser:page
10409.5.80 by Curtis Hovey
deglobed all the canonical.launchpad.interfaces in zcml.
144
        for="lp.bugs.interfaces.buglink.IBugLinkTarget"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
145
        permission="zope.Public"
146
        name="unlinkbugs_template"
147
        template="../templates/buglinktarget-unlinkbugs.pt"/>
148
        <browser:page
149
            for="*"
150
            name="bugcomment-macros"
151
            permission="zope.Public"
13678.1.2 by Benji York
checkpoint
152
            template="../templates/bugcomment-macros.pt"
153
            class="lp.app.browser.launchpad.Macro"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
154
        <browser:page
155
            for="*"
156
            name="bug-attachment-macros"
157
            permission="zope.Public"
13678.1.2 by Benji York
checkpoint
158
            template="../templates/bug-attachment-macros.pt"
159
            class="lp.app.browser.launchpad.Macro"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
160
        <browser:defaultView
10409.5.80 by Curtis Hovey
deglobed all the canonical.launchpad.interfaces in zcml.
161
            for="lp.bugs.interfaces.bugmessage.IBugComment"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
162
            name="+index"/>
163
        <browser:url
10409.5.80 by Curtis Hovey
deglobed all the canonical.launchpad.interfaces in zcml.
164
            for="lp.bugs.interfaces.bugmessage.IBugComment"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
165
            path_expression="string:comments/${index}"
10762.3.9 by Tim Penhey
Fix the bugs breadcrumbs.
166
            attribute_to_parent="bugtask"
167
            rootsite="bugs"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
168
        <browser:page
10409.5.80 by Curtis Hovey
deglobed all the canonical.launchpad.interfaces in zcml.
169
            for="lp.bugs.interfaces.bugmessage.IBugComment"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
170
            name="+index"
171
            template="../templates/bugcomment-index.pt"
172
            class="lp.bugs.browser.bugcomment.BugCommentView"
173
            permission="launchpad.View"/>
174
        <browser:page
10409.5.80 by Curtis Hovey
deglobed all the canonical.launchpad.interfaces in zcml.
175
            for="lp.bugs.interfaces.bugmessage.IBugComment"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
176
            name="+box"
177
            template="../templates/bugcomment-box.pt"
178
            class="lp.bugs.browser.bugcomment.BugCommentBoxView"
179
            permission="launchpad.View"/>
180
        <browser:page
10409.5.80 by Curtis Hovey
deglobed all the canonical.launchpad.interfaces in zcml.
181
            for="lp.bugs.interfaces.bugmessage.IBugComment"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
182
            name="+box-expanded-reply"
183
            template="../templates/bugcomment-box.pt"
184
            class="lp.bugs.browser.bugcomment.BugCommentBoxExpandedReplyView"
185
            permission="launchpad.View"/>
8461.2.10 by Bjorn Tillenius
Merge RF.
186
    <adapter
8461.2.12 by Bjorn Tillenius
Correct another import.
187
         factory="lp.bugs.browser.bugcomment.BugCommentXHTMLRepresentation"
8461.2.10 by Bjorn Tillenius
Merge RF.
188
         name="lazr.restful.EntryResource"
189
        />
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
190
    <browser:url
191
        for="lp.bugs.interfaces.malone.IMaloneApplication"
192
        path_expression="string:bugs"
10409.5.52 by Curtis Hovey
Removed shim imports from webapp.
193
        parent_utility="canonical.launchpad.webapp.interfaces.ILaunchpadRoot"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
194
    <browser:menu
195
        id="malone_actions"
196
        title="Menu for Malone-related actions."/>
197
    <browser:menuItems
198
        menu="malone_actions"
199
        for="*">
200
        <browser:menuItem
201
            title="Bugs"
202
            action="+malone-index"/>
203
        <browser:menuItem
204
            title="Report a Bug"
205
            action="+filebug"/>
206
        <browser:menuItem
207
            title="Advanced Search"
208
            action="+advancedsearch"/>
209
        <browser:menuItem
210
            title="Admin"
211
            action="+admin"/>
212
    </browser:menuItems>
213
    <browser:defaultView
214
        for="lp.bugs.interfaces.malone.IMaloneApplication"
215
        name="+index"/>
216
    <browser:navigation
217
        module="lp.bugs.browser.malone"
218
        classes="
219
            MaloneApplicationNavigation"/>
220
    <browser:page
221
        for="lp.bugs.interfaces.malone.IMaloneApplication"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
222
        class="lp.bugs.browser.bug.MaloneView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
223
        permission="zope.Public"
224
        name="+index"
225
        template="../templates/malone-index.pt"/>
9332.1.1 by Deryck Hodge
Remove unused templates and update zcml.
226
    <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
227
        for="lp.bugs.interfaces.malone.IMaloneApplication"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
228
        class="lp.bugs.browser.bug.MaloneView"
9332.1.1 by Deryck Hodge
Remove unused templates and update zcml.
229
        permission="zope.Public"
230
        name="+portlet-stats"
231
        template="../templates/malone-portlet-stats.pt"/>
9186.2.14 by Gavin Panella
Add a related pages menu to the page, and improve the very basic index page test.
232
    <browser:menus
233
        classes="MaloneRelatedPages"
234
        module="lp.bugs.browser.malone"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
235
    <browser:page
236
        for="lp.bugs.interfaces.malone.IMaloneApplication"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
237
        class="lp.bugs.browser.bugtask.BugsBugTaskSearchListingView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
238
        permission="zope.Public"
239
        name="+bugs"
240
        template="../templates/buglisting-embedded-advanced-search.pt"/>
241
    <browser:page
13678.1.2 by Benji York
checkpoint
242
        for="lp.bugs.interfaces.structuralsubscription.IStructuralSubscriptionTarget"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
243
        name="+portlet-malone-bugmail-filtering-faq"
244
        template="../templates/malone-portlet-bugmail-filtering-faq.pt"
245
        permission="zope.Public"/>
246
    <browser:page
247
        for="lp.bugs.interfaces.malone.IMaloneApplication"
248
        name="assigned"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
249
        class="lp.bugs.browser.bug.DeprecatedAssignedBugsView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
250
        attribute="redirect_to_assignedbugs"
251
        permission="launchpad.AnyPerson"/>
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
252
    <browser:page
253
        for="lp.registry.interfaces.person.IPerson"
13829.2.1 by Nigel Jones
Made the person's teams portlet for +assignedbugs a macro, so it can be used for +subscribedbugs as well.
254
        name="+team-bugs-macro"
13829.2.2 by Nigel Jones
Fix incorrect template filename
255
        template="../templates/person-team-bugs-macro.pt"
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
256
        permission="zope.Public"
13829.2.1 by Nigel Jones
Made the person's teams portlet for +assignedbugs a macro, so it can be used for +subscribedbugs as well.
257
        class="lp.app.browser.launchpad.Macro"/>
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
258
    <browser:page
259
        name="+bugs"
260
        for="lp.registry.interfaces.person.IPerson"
261
        class="lp.registry.browser.person.PersonRelatedBugTaskSearchListingView"
262
        permission="zope.Public"
263
        template="../templates/buglisting-embedded-advanced-search.pt"/>
264
    <browser:page
14024.4.3 by mbp at canonical
Add +affectingbugs for people
265
        name="+affectingbugs"
266
        for="lp.registry.interfaces.person.IPerson"
267
        class="lp.registry.browser.person.PersonAffectingBugTaskSearchListingView"
268
        permission="zope.Public"
269
        template="../templates/buglisting-embedded-advanced-search.pt"/>
270
    <browser:page
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
271
        name="+assignedbugs"
272
        for="lp.registry.interfaces.person.IPerson"
273
        class="lp.registry.browser.person.PersonAssignedBugTaskSearchListingView"
274
        permission="zope.Public"
275
        template="../templates/buglisting-embedded-advanced-search.pt"/>
276
    <browser:page
277
        name="+commentedbugs"
278
        for="lp.registry.interfaces.person.IPerson"
279
        class="lp.registry.browser.person.PersonCommentedBugTaskSearchListingView"
280
        permission="zope.Public"
281
        template="../templates/buglisting-embedded-advanced-search.pt"/>
282
    <browser:page
283
        name="+packagebugs-search"
284
        for="lp.registry.interfaces.person.IPerson"
285
        class="lp.registry.browser.person.BugSubscriberPackageBugsSearchListingView"
286
        permission="zope.Public"
287
        template="../templates/person-packagebugs-search.pt"/>
288
    <browser:page
289
        name="+packagebugs"
290
        for="lp.registry.interfaces.person.IPerson"
14424.3.1 by Aaron Bentley
Extract overview to BugSubscriberPackageBugsOverView and kill unused portal.
291
        class="lp.registry.browser.person.BugSubscriberPackageBugsOverView"
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
292
        permission="zope.Public"
293
        template="../templates/person-packagebugs-overview.pt"/>
294
    <browser:page
295
        name="+reportedbugs"
296
        for="lp.registry.interfaces.person.IPerson"
297
        class="lp.registry.browser.person.PersonReportedBugTaskSearchListingView"
298
        permission="zope.Public"
299
        template="../templates/buglisting-embedded-advanced-search.pt"/>
300
    <browser:page
301
        name="+subscribedbugs"
302
        for="lp.registry.interfaces.person.IPerson"
303
        class="lp.registry.browser.person.PersonSubscribedBugTaskSearchListingView"
304
        permission="zope.Public"
305
        template="../templates/buglisting-embedded-advanced-search.pt"/>
306
    <browser:page
307
        for="lp.registry.interfaces.product.IProduct"
308
        class="lp.bugs.browser.cvereport.CVEReportView"
309
        permission="zope.Public"
310
        name="+cve"
311
        template="../templates/product-cvereport.pt"/>
312
    <browser:page
313
        for="lp.registry.interfaces.distribution.IDistribution"
314
        name="+upstreamreport"
315
        class="lp.bugs.browser.distribution_upstream_bug_report.DistributionUpstreamBugReport"
316
        permission="zope.Public"
317
        template="../templates/distribution-upstream-bug-report.pt"/>
318
    <browser:page
319
        for="lp.registry.interfaces.distribution.IDistribution"
320
        class="lp.bugs.browser.cvereport.CVEReportView"
321
        permission="zope.Public"
322
        name="+cve"
323
        template="../templates/distribution-cvereport.pt"/>
324
    <browser:page
325
        for="lp.registry.interfaces.distroseries.IDistroSeries"
326
        class="lp.bugs.browser.cvereport.CVEReportView"
327
        permission="zope.Public"
328
        name="+cve"
329
        template="../templates/distroseries-cvereport.pt"/>
330
    <browser:page
331
        for="lp.registry.interfaces.distroseries.IDistroSeries"
332
        class="lp.bugs.browser.bugtarget.BugTargetBugListingView"
333
        permission="zope.Public"
334
        name="+portlet-bugtasklist-seriesbugs"
335
        template="../templates/bugtask-portlet-seriesbugs.pt"/>
336
    <browser:page
337
        for="lp.registry.interfaces.distroseries.IDistroSeries"
9448.1.1 by Deryck Hodge
Add a portlet for links to milestone-targeted bugs.
338
        class="lp.bugs.browser.bugtarget.BugTargetBugListingView"
339
        permission="zope.Public"
340
        name="+portlet-bugtasklist-milestonebugs"
341
        template="../templates/bugtask-portlet-milestonebugs.pt"/>
342
    <browser:page
343
        for="lp.registry.interfaces.distroseries.IDistroSeries"
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
344
        name="+nominations"
345
        class="lp.bugs.browser.bugtask.BugNominationsView"
346
        permission="zope.Public"
347
        template="../templates/series-bug-nominations.pt"/>
348
    <browser:page
10876.5.1 by Curtis Hovey
Move security contact to bugs, the only app that *ever* used the data.
349
        name="+securitycontact"
350
        for="lp.bugs.interfaces.securitycontact.IHasSecurityContact"
351
        class="lp.bugs.browser.securitycontact.SecurityContactEditView"
352
        permission="launchpad.Edit"
353
        template="../templates/securitycontact-edit.pt"/>
10898.5.2 by Curtis Hovey
Include the bug supervisor and security contact in the +configure-bugtraker.
354
    <adapter
355
        for="lp.registry.interfaces.product.IProduct"
356
        provides=".bugtarget.IProductBugConfiguration"
357
        factory=".bugtarget.product_to_productbugconfiguration" />
10876.5.1 by Curtis Hovey
Move security contact to bugs, the only app that *ever* used the data.
358
    <browser:page
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
359
        for="lp.registry.interfaces.product.IProduct"
11587.3.7 by Brian Murray
allow bug supervisor to view some +configure-bugtracker fields
360
        permission="launchpad.BugSupervisor"
10876.5.2 by Curtis Hovey
Remove configure-bugtracker and remove_product tests.
361
        name="+configure-bugtracker"
362
        template="../../app/templates/generic-edit.pt"
363
        class="lp.bugs.browser.bugtarget.ProductConfigureBugTrackerView"/>
364
    <browser:page
365
        for="lp.registry.interfaces.product.IProduct"
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
366
        class="lp.bugs.browser.bugtarget.BugTargetBugListingView"
367
        permission="zope.Public"
368
        name="+portlet-bugtasklist-seriesbugs"
369
        template="../templates/bugtask-portlet-seriesbugs.pt"/>
370
    <browser:page
9448.1.1 by Deryck Hodge
Add a portlet for links to milestone-targeted bugs.
371
        for="lp.registry.interfaces.product.IProduct"
372
        class="lp.bugs.browser.bugtarget.BugTargetBugListingView"
373
        permission="zope.Public"
374
        name="+portlet-bugtasklist-milestonebugs"
375
        template="../templates/bugtask-portlet-milestonebugs.pt"/>
376
    <browser:page
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
377
        for="lp.registry.interfaces.distribution.IDistribution"
378
        class="lp.bugs.browser.bugtarget.BugTargetBugListingView"
379
        permission="zope.Public"
380
        name="+portlet-bugtasklist-seriesbugs"
381
        template="../templates/bugtask-portlet-seriesbugs.pt"/>
382
    <browser:page
9448.1.1 by Deryck Hodge
Add a portlet for links to milestone-targeted bugs.
383
        for="lp.registry.interfaces.distribution.IDistribution"
384
        class="lp.bugs.browser.bugtarget.BugTargetBugListingView"
385
        permission="zope.Public"
386
        name="+portlet-bugtasklist-milestonebugs"
387
        template="../templates/bugtask-portlet-milestonebugs.pt"/>
388
    <browser:page
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
389
        name="+filebug"
10326.1.2 by Henning Eggers
Renamed project interfaces module to projectgroup.
390
        for="lp.registry.interfaces.projectgroup.IProjectGroup"
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
391
        class="lp.bugs.browser.bugtarget.ProjectFileBugGuidedView"
392
        permission="launchpad.AnyPerson"/>
393
    <browser:page
394
        name="+filebug-advanced"
10326.1.2 by Henning Eggers
Renamed project interfaces module to projectgroup.
395
        for="lp.registry.interfaces.projectgroup.IProjectGroup"
8971.19.14 by Graham Binns
Removed any unnecessary references to +filebug-advanced.
396
        class="lp.bugs.browser.bugtarget.FileBugAdvancedView"
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
397
        permission="launchpad.AnyPerson"/>
398
    <browser:page
399
        for="lp.registry.interfaces.productseries.IProductSeries"
400
        name="+filebug"
401
        class="lp.registry.browser.productseries.ProductSeriesFileBugRedirect"
402
        permission="zope.Public"/>
403
    <browser:page
404
        for="lp.registry.interfaces.productseries.IProductSeries"
405
        class="lp.bugs.browser.bugtarget.BugTargetBugListingView"
406
        permission="zope.Public"
407
        name="+portlet-bugtasklist-seriesbugs"
408
        template="../templates/bugtask-portlet-seriesbugs.pt"/>
409
    <browser:page
410
        for="lp.registry.interfaces.productseries.IProductSeries"
9448.1.1 by Deryck Hodge
Add a portlet for links to milestone-targeted bugs.
411
        class="lp.bugs.browser.bugtarget.BugTargetBugListingView"
412
        permission="zope.Public"
413
        name="+portlet-bugtasklist-milestonebugs"
414
        template="../templates/bugtask-portlet-milestonebugs.pt"/>
415
    <browser:page
416
        for="lp.registry.interfaces.productseries.IProductSeries"
8819.4.5 by Guilherme Salgado
Move bugs-related templates from lp.registry into lp.bugs
417
        name="+nominations"
418
        class="lp.bugs.browser.bugtask.BugNominationsView"
419
        permission="zope.Public"
420
        template="../templates/series-bug-nominations.pt"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
421
        <browser:menus
422
            module="lp.bugs.browser.bugtask"
423
            classes="
9315.2.1 by Abel Deuring
buglisting-default.pt converted to 3.0 layout
424
                BugTaskContextMenu
425
                BugTaskSearchListingMenu"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
426
        <browser:page
427
            for="*"
428
            name="+bugtask-macros-tableview"
429
            permission="zope.Public"
13678.1.2 by Benji York
checkpoint
430
            template="../templates/bugtask-macros-tableview.pt"
431
            class="lp.app.browser.launchpad.Macro"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
432
        <browser:page
433
            for="*"
434
            name="bugtask-macros-cve"
435
            permission="zope.Public"
13678.1.2 by Benji York
checkpoint
436
            template="../templates/bugtask-macros-cve.pt"
437
            class="lp.app.browser.launchpad.Macro"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
438
        <browser:defaultView
439
            for="lp.bugs.interfaces.bugtask.IBugTask"
440
            name="+index"/>
441
        <browser:url
442
            for="lp.bugs.interfaces.bugtask.IBugTask"
443
            path_expression="string:+bug/${bug/id}"
444
            attribute_to_parent="target"
445
            rootsite="bugs"/>
446
        <browser:navigation
447
            module="lp.bugs.browser.bugtask"
448
            classes="
449
                BugTaskNavigation
450
                BugTaskSetNavigation"/>
451
        <browser:page
12678.2.1 by Graham Binns
Added tests and fix for bug 741821.
452
            for="lp.bugs.interfaces.bug.IBug"
13247.1.1 by Danilo Segan
Reapply bug 772754 fix with packagecopyjob changes removed.
453
            class="lp.bugs.browser.bug.BugSubscriptionPortletView"
12678.2.1 by Graham Binns
Added tests and fix for bug 741821.
454
            permission="launchpad.View"
7675.1160.3 by Gary Poster
add basics of new portlet
455
            name="+portlet-subscription"
456
            template="../templates/bug-portlet-subscription.pt"/>
457
        <browser:page
458
            for="lp.bugs.interfaces.bug.IBug"
459
            class="lp.bugs.browser.bug.BugView"
460
            permission="launchpad.View"
12678.2.1 by Graham Binns
Added tests and fix for bug 741821.
461
            name="+portlet-subscribers"
462
            template="../templates/bug-portlet-subscribers.pt"/>
463
        <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
464
            for="lp.bugs.interfaces.bugtask.IBugTask"
14433.2.26 by Curtis Hovey
Moved page_title into new view.
465
            class="lp.bugs.browser.bug.BugActivity"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
466
            permission="launchpad.View"
467
            name="+activity"
468
            template="../templates/bug-activity.pt"/>
11530.1.1 by Brian Murray
export bug activity in the API
469
        <browser:url
470
            for="lp.bugs.interfaces.bugactivity.IBugActivity"
471
            path_expression="string:activity"
472
            attribute_to_parent="bug"
473
            rootsite="bugs"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
474
        <browser:page
475
            for="lp.bugs.interfaces.bugtask.IBugTask"
476
            class="lp.bugs.browser.bugtask.BugTaskTableRowView"
477
            permission="launchpad.View"
13723.2.1 by Gary Poster
Make some micro-optimizations for rendering tasks that shave off about .8 seconds locally when you have many tasks: use Chameleon, and calculate data for the template before rendering, carefully.
478
            name="+bugtasks-and-nominations-table-row"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
479
        <browser:page
13543.10.1 by William Grant
Display a faded statusless row for the parents of orphaned bugtasks.
480
            for="lp.bugs.interfaces.bugtarget.IBugTarget"
481
            permission="zope.Public"
482
            name="+bugtasks-and-nominations-table-row"
483
            template="../templates/bugtarget-tasks-and-nominations-table-row.pt"/>
484
        <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
485
            for="lp.bugs.interfaces.bugtask.IBugTask"
7675.382.2 by Edwin Grubbs
Added pillar info to bugs on person index page.
486
            name="+bugtask-macros-listing"
487
            template="../templates/bugtask-macros-listing.pt"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
488
            permission="zope.Public"/>
489
        <browser:page
490
            name="+edit"
491
            for="lp.bugs.interfaces.bugtask.IBugTask"
492
            class="lp.bugs.browser.bug.BugEditView"
9105.4.8 by Deryck Hodge
Return to using bug-edit.pt to get notifications
493
            template="../templates/bug-edit.pt"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
494
            permission="launchpad.Edit"/>
495
        <browser:page
14186.3.1 by Ian Booth
Add bugtask deletion to ui, html only
496
            name="+delete"
497
            for="lp.bugs.interfaces.bugtask.IBugTask"
498
            class="lp.bugs.browser.bugtask.BugTaskDeletionView"
499
            template="../templates/bugtask-delete.pt"
500
            permission="launchpad.Delete"/>
501
        <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
502
            name="+secrecy"
503
            for="lp.bugs.interfaces.bugtask.IBugTask"
504
            class="lp.bugs.browser.bug.BugSecrecyEditView"
505
            permission="launchpad.Edit"
506
            template="../templates/bug-secrecy.pt"/>
507
        <browser:page
508
            name="+duplicate"
509
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
510
            class="lp.bugs.browser.bug.BugMarkAsDuplicateView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
511
            permission="launchpad.AnyPerson"
512
            template="../templates/bug-mark-as-duplicate.pt"/>
513
        <browser:page
514
            for="lp.bugs.interfaces.bugtask.IBugTask"
515
            name="+text"
516
            class="lp.bugs.browser.bugtask.BugTaskTextView"
517
            permission="zope.Public"
518
            attribute="__call__"/>
519
        <browser:page
520
            name="+affectsmetoo"
521
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
522
            class="lp.bugs.browser.bug.BugMarkAsAffectingUserView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
523
            permission="launchpad.AnyPerson"
524
            template="../templates/bug-mark-as-affecting-user.pt"/>
525
        <browser:defaultView
526
            for="lp.bugs.interfaces.bugtask.IBugTaskSet"
527
            name="+index"/>
528
        <browser:pages
529
            for="lp.bugs.interfaces.bugtask.IBugTaskSet"
530
            permission="zope.Public">
531
            <browser:page
532
                name="+index"
533
                template="../templates/bugtasks-index.pt"/>
534
        </browser:pages>
535
        <browser:page
536
            name="+addcomment"
537
            for="lp.bugs.interfaces.bugtask.IBugTask"
9113.5.2 by Deryck Hodge
Use BugMessageAddFormView for adding a comment.
538
            class="lp.bugs.browser.bugmessage.BugMessageAddFormView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
539
            permission="launchpad.Edit"
540
            template="../templates/bug-comment-add.pt"/>
541
        <browser:page
542
            name="+addcomment-form"
543
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
544
            class="lp.bugs.browser.bugmessage.BugMessageAddFormView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
545
            permission="launchpad.Edit"
546
            template="../templates/bug-comment-add-form.pt"/>
547
        <browser:page
548
            name="+nominate"
549
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
550
            class="lp.bugs.browser.bugnomination.BugNominationView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
551
            permission="launchpad.Edit"
552
            template="../templates/bug-nominate-for-series.pt"/>
553
        <browser:page
554
            name="+addbranch"
555
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
556
            class="lp.bugs.browser.bugbranch.BugBranchAddView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
557
            permission="launchpad.AnyPerson"
558
            template="../templates/bug-branch-add.pt"/>
559
        <browser:page
560
            name="+index"
561
            for="lp.bugs.interfaces.bugtask.IBugTask"
562
            class="lp.bugs.browser.bugtask.BugTaskView"
563
            permission="launchpad.View"
564
            template="../templates/bugtask-index.pt"/>
565
        <browser:page
13752.3.1 by Graham Binns
Added a batched comments view, which appears to work. I don't trust that it's actually this simple, but we'll pretend that it is for the sake of argument.
566
            name="+batched-comments"
567
            for="lp.bugs.interfaces.bugtask.IBugTask"
568
            class="lp.bugs.browser.bugtask.BugTaskBatchedCommentsAndActivityView"
569
            permission="launchpad.View"
570
            template="../templates/bugtask-batched-comments.pt"/>
571
        <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
572
            name="+choose-affected-product"
573
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
574
            class="lp.bugs.browser.bugalsoaffects.BugAlsoAffectsProductMetaView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
575
            permission="launchpad.AnyPerson"/>
576
        <browser:page
577
            name="+affects-new-product"
578
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
579
            class="lp.bugs.browser.bugalsoaffects.BugAlsoAffectsProductWithProductCreationView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
580
            permission="launchpad.AnyPerson"
581
            template="../templates/bugtask-affects-new-product.pt"/>
582
        <browser:page
583
            name="+distrotask"
584
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
585
            class="lp.bugs.browser.bugalsoaffects.BugAlsoAffectsDistroMetaView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
586
            permission="launchpad.AnyPerson"/>
587
        <browser:page
12599.4.2 by Leonard Richardson
Merge from trunk.
588
            name="+editstatus"
589
            for="lp.bugs.interfaces.bugtask.IBugTask"
590
            class="lp.bugs.browser.bugtask.BugTaskEditView"
591
            permission="launchpad.Edit"
592
            template="../templates/bugtask-edit.pt"/>
593
        <browser:page
13479.2.1 by William Grant
Stop using I*BugTask marker interfaces in ZCML.
594
            name="+edit-form"
595
            for="lp.bugs.interfaces.bugtask.IBugTask"
596
            class="lp.bugs.browser.bugtask.BugTaskEditView"
597
            permission="launchpad.Edit"
598
            template="../templates/bugtask-edit-form.pt" />
599
        <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
600
            name="+listing-view"
601
            for="lp.bugs.interfaces.bugtask.IBugTask"
602
            class="lp.bugs.browser.bugtask.BugTaskListingView"
603
            permission="launchpad.View">
604
                </browser:page>
605
        <browser:page
606
            for="lp.bugs.interfaces.bugtask.IBugTask"
607
            name="+create-question"
608
            class="lp.bugs.browser.bugtask.BugTaskCreateQuestionView"
609
            permission="launchpad.Edit"
610
            template="../templates/bug-create-question.pt"/>
611
        <browser:page
612
            for="lp.bugs.interfaces.bugtask.IBugTask"
613
            name="+remove-question"
614
            class="lp.bugs.browser.bugtask.BugTaskRemoveQuestionView"
615
            permission="launchpad.Edit"
616
            template="../templates/bug-remove-question.pt"/>
617
        <browser:page
618
            for="lp.bugs.interfaces.bugtask.IBugTask"
12348.1.1 by Graham Binns
Added a vestigial page.
619
            name="+subscriptions"
620
            class="lp.bugs.browser.bugsubscription.BugSubscriptionListView"
621
            permission="launchpad.AnyPerson"
622
            template="../templates/bug-subscription-list.pt"/>
623
        <browser:page
624
            for="lp.bugs.interfaces.bugtask.IBugTask"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
625
            name="+subscribe"
11654.2.2 by Graham Binns
Big refactoring for BugSubscription view stuff.
626
            class="lp.bugs.browser.bugsubscription.BugSubscriptionSubscribeSelfView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
627
            permission="launchpad.AnyPerson"
628
            template="../templates/bug-subscription.pt"/>
629
        <browser:page
12622.1.1 by Graham Binns
The mute view does its thing. Hurrah.
630
            for="lp.bugs.interfaces.bugtask.IBugTask"
631
            name="+mute"
632
            class="lp.bugs.browser.bugsubscription.BugMuteSelfView"
633
            permission="launchpad.AnyPerson"
634
            template="../templates/bug-mute.pt"/>
635
        <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
636
            name="+linkcve"
637
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
638
            class="lp.bugs.browser.cve.CveLinkView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
639
            permission="launchpad.AnyPerson"
640
            template="../templates/bug-cve.pt">
641
                </browser:page>
642
        <browser:page
643
            name="+unlinkcve"
644
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
645
            class="lp.bugs.browser.cve.CveUnlinkView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
646
            permission="launchpad.AnyPerson"
647
            template="../templates/bug-removecve.pt">
648
                </browser:page>
649
        <browser:page
650
            name="+addsubscriber"
651
            for="lp.bugs.interfaces.bugtask.IBugTask"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
652
            class="lp.bugs.browser.bugsubscription.BugSubscriptionAddView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
653
            permission="launchpad.AnyPerson"
654
            template="../templates/bug-addsubscriber.pt"/>
655
    <browser:url
656
        for="lp.bugs.interfaces.bugattachment.IBugAttachment"
657
        urldata="lp.bugs.browser.bugattachment.BugAttachmentURL"/>
658
    <browser:defaultView
659
        for="lp.bugs.interfaces.bugattachment.IBugAttachment"
660
        name="+edit"/>
661
    <browser:page
662
        for="lp.bugs.interfaces.bugattachment.IBugAttachment"
663
        class="lp.bugs.browser.bugattachment.BugAttachmentEditView"
664
        name="+edit"
665
        permission="launchpad.AnyPerson"
666
        template="../templates/bug-attachment-edit.pt"/>
10104.4.4 by Abel Deuring
new view +confirm-is-patch shown when a bugattachment is added or when the patch flag of an existing attachment is changed and when LP treats the patch flag setting by the user as possibly wrong.
667
    <browser:page
668
        for="lp.bugs.interfaces.bugattachment.IBugAttachment"
669
        class="lp.bugs.browser.bugattachment.BugAttachmentPatchConfirmationView"
670
        name="+confirm-is-patch"
671
        permission="launchpad.AnyPerson"
672
        template="../templates/bug-attachment-confirm-is-patch.pt"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
673
    <browser:navigation
674
        module="lp.bugs.browser.bugattachment"
675
        classes="
11235.6.1 by Abel Deuring
navigation class added that allows to access Librarian files of bug attachments vir ProxiedLibraryFileAlias; some lint fixes.
676
            BugAttachmentSetNavigation BugAttachmentFileNavigation"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
677
    <browser:page
678
        name="+bugsupervisor"
679
        for="lp.bugs.interfaces.bugsupervisor.IHasBugSupervisor"
680
        class="lp.bugs.browser.bugsupervisor.BugSupervisorEditView"
681
        permission="launchpad.Edit"
682
        template="../templates/edit-bug-supervisor.pt"/>
683
        <browser:menus
684
            module="lp.bugs.browser.bugtracker"
685
            classes="
9215.1.7 by Gavin Panella
Add a navigation menu to the bug tracker overview page.
686
                BugTrackerSetContextMenu
687
                BugTrackerNavigationMenu"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
688
        <browser:navigation
689
            module="lp.bugs.browser.bugtracker"
690
            classes="
691
                BugTrackerNavigation
7675.888.28 by Bryce Harrington
From Gavin - Registration of the new navigation class, and canonical URL
692
                BugTrackerSetNavigation
693
                BugTrackerComponentGroupNavigation"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
694
        <browser:defaultView
695
            for="lp.bugs.interfaces.bugtracker.IBugTracker"
696
            name="+index"/>
697
        <browser:url
698
            for="lp.bugs.interfaces.bugtracker.IBugTracker"
699
            path_expression="string:${name}"
9215.1.10 by Gavin Panella
Defer the decision of rootsite to the ICanonicalUrlData provided, rather than hard-coding it in the breadcrumb.
700
            parent_utility="lp.bugs.interfaces.bugtracker.IBugTrackerSet"
701
            rootsite="bugs"/>
7675.888.28 by Bryce Harrington
From Gavin - Registration of the new navigation class, and canonical URL
702
        <browser:url
703
            for="lp.bugs.interfaces.bugtracker.IBugTrackerComponentGroup"
704
            path_expression="string:+components/${name}"
705
            attribute_to_parent="bug_tracker"
706
            rootsite="bugs"/>
707
        <browser:url
708
            for="lp.bugs.interfaces.bugtracker.IBugTrackerComponent"
709
            path_expression="name"
710
            attribute_to_parent="component_group"
711
            rootsite="bugs"/>
7675.1188.8 by Bryce Harrington
Allow a +edit view for components
712
        <browser:page
713
            name="+edit"
714
            for="lp.bugs.interfaces.bugtracker.IBugTrackerComponent"
715
            class="lp.bugs.browser.bugtracker.BugTrackerEditComponentView"
716
            permission="launchpad.AnyPerson"
13155.1.12 by Curtis Hovey
Use the standard template.
717
            template="../../app/templates/generic-edit.pt"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
718
        <browser:pages
719
            for="lp.bugs.interfaces.bugtracker.IBugTracker"
720
            class="lp.bugs.browser.bugtracker.BugTrackerView"
721
            permission="zope.Public">
722
            <browser:page
723
                name="+index"
724
                template="../templates/bugtracker-index.pt"/>
725
            <browser:page
726
                name="+portlet-details"
727
                template="../templates/bugtracker-portlet-details.pt"/>
728
            <browser:page
7675.1188.1 by Bryce Harrington
Hook in UI for displaying list of component groups with components
729
                name="+portlet-components"
730
                template="../templates/bugtracker-portlet-components.pt"/>
731
            <browser:page
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
732
                name="+portlet-projects"
733
                template="../templates/bugtracker-portlet-projects.pt"/>
9215.1.26 by Gavin Panella
Move the portlets into the main body of the bug tracker page and switch the page layout to main_only if the user is not logged-in.
734
            <browser:page
735
                name="+portlet-watches"
736
                template="../templates/bugtracker-portlet-watches.pt"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
737
        </browser:pages>
738
        <browser:page
739
            name="+edit"
740
            for="lp.bugs.interfaces.bugtracker.IBugTracker"
741
            class="lp.bugs.browser.bugtracker.BugTrackerEditView"
742
            permission="launchpad.AnyPerson"
743
            template="../templates/bugtracker-edit.pt"/>
744
        <browser:defaultView
745
            for="lp.bugs.interfaces.bugtracker.IBugTrackerSet"
746
            name="+index"/>
747
        <browser:url
748
            for="lp.bugs.interfaces.bugtracker.IBugTrackerSet"
749
            path_expression="string:bugtrackers"
10409.5.77 by Curtis Hovey
Fix the path to the I*Applications classes.
750
            parent_utility="lp.bugs.interfaces.malone.IMaloneApplication"
9215.1.10 by Gavin Panella
Defer the decision of rootsite to the ICanonicalUrlData provided, rather than hard-coding it in the breadcrumb.
751
            rootsite="bugs"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
752
        <browser:pages
753
            for="lp.bugs.interfaces.bugtracker.IBugTrackerSet"
754
            class="lp.bugs.browser.bugtracker.BugTrackerSetView"
755
            permission="zope.Public">
756
            <browser:page
757
                name="+index"
758
                template="../templates/bugtrackers-index.pt"/>
759
        </browser:pages>
760
        <browser:page
761
            name="+newbugtracker"
762
            for="lp.bugs.interfaces.bugtracker.IBugTrackerSet"
763
            class="lp.bugs.browser.bugtracker.BugTrackerAddView"
764
            permission="launchpad.AnyPerson"
9215.1.35 by Gavin Panella
Change the bug tracker add page to use generic-edit.pt.
765
            template="../../app/templates/generic-edit.pt"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
766
        <browser:url
767
            for="lp.bugs.interfaces.bugtracker.IRemoteBug"
768
            path_expression="string:${remotebug}"
9215.1.36 by Gavin Panella
Fix up some test failures.
769
            attribute_to_parent="bugtracker"
770
            rootsite="bugs"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
771
        <browser:defaultView
772
            for="lp.bugs.interfaces.bugtracker.IRemoteBug"
773
            name="+index"/>
774
        <browser:pages
775
            for="lp.bugs.interfaces.bugtracker.IRemoteBug"
14433.2.47 by Curtis Hovey
Removed unused page title and page_title.
776
            class="lp.bugs.browser.bugtracker.RemoteBugView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
777
            permission="zope.Public">
778
            <browser:page
779
                name="+index"
780
                template="../templates/remotebug-index.pt"/>
781
        </browser:pages>
782
    <browser:page
783
        for="lp.bugs.interfaces.bugbranch.IBugBranch"
784
        name="+hierarchy"
785
        class="lp.code.browser.branch.BranchHierarchy"
9225.1.17 by Michael Nelson
Fixed broken config for bugs BranchHierarchy.
786
        template="../../app/templates/launchpad-hierarchy.pt"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
787
        permission="zope.Public"/>
788
    <browser:url
789
        for="lp.bugs.interfaces.bugbranch.IBugBranch"
790
        path_expression="string:+bug/${bug/id}"
791
        attribute_to_parent="branch"/>
792
    <browser:defaultView
793
        for="lp.bugs.interfaces.bugbranch.IBugBranch"
794
        name="+edit"/>
8339.2.22 by Paul Hummer
Fix broken tests
795
    <browser:page
796
        name="+delete"
797
        for="lp.bugs.interfaces.bugbranch.IBugBranch"
798
        class="lp.bugs.browser.bugbranch.BugBranchDeleteView"
799
        permission="launchpad.Edit"
800
        template="../templates/bugbranch-delete.pt"/>
8971.31.4 by Graham Binns
BugBranches are now added to the linked branches list as they're linked.
801
    <browser:page
802
        name="+bug-branch"
803
        for="lp.bugs.interfaces.bugbranch.IBugBranch"
9691.7.2 by Tim Penhey
Give the bug branch a view, and ready the template for the merge proposal rendering.
804
        class="lp.bugs.browser.bugbranch.BugBranchView"
8971.31.4 by Graham Binns
BugBranches are now added to the linked branches list as they're linked.
805
        permission="launchpad.View"
806
        template="../templates/bug-branch.pt"/>
807
    <adapter
808
         factory="lp.bugs.browser.bugbranch.BugBranchXHTMLRepresentation"
809
         name="lazr.restful.EntryResource"
810
        />
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
811
        <browser:menus
812
            module="lp.bugs.browser.cve"
813
            classes="
814
                CveContextMenu
815
                CveSetContextMenu"/>
816
        <browser:url
817
            for="lp.bugs.interfaces.cve.ICve"
818
            path_expression="sequence"
12243.5.11 by Leonard Richardson
Cleared up some more test failures and things that shouldn't publish web_link.
819
            parent_utility="lp.bugs.interfaces.cve.ICveSet"
820
            rootsite="bugs" />
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
821
        <browser:defaultView
822
            for="lp.bugs.interfaces.cve.ICve"
823
            name="+index"/>
824
        <browser:pages
825
            for="lp.bugs.interfaces.cve.ICve"
826
            permission="zope.Public">
827
            <browser:page
828
                name="+listing-detailed"
829
                template="../templates/cve-listing-detailed.pt"/>
830
            <browser:page
831
                name="+portlet-details"
832
                template="../templates/cve-portlet-details.pt"/>
833
            <browser:page
834
                name="+portlet-references"
835
                template="../templates/cve-portlet-references.pt"/>
836
        </browser:pages>
837
        <browser:page
838
            name="+index"
839
            for="lp.bugs.interfaces.cve.ICve"
14433.2.9 by Curtis Hovey
Created CveIndexView so that cve's get their own page title.
840
            class="lp.bugs.browser.cve.CveIndexView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
841
            template="../templates/cve-index.pt"
842
            permission="zope.Public"/>
843
        <browser:page
844
            name="+linkbug"
845
            for="lp.bugs.interfaces.cve.ICve"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
846
            class="lp.bugs.browser.buglinktarget.BugLinkView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
847
            permission="launchpad.AnyPerson"
848
            template="../templates/cve-linkbug.pt"/>
849
        <browser:page
850
            name="+unlinkbug"
851
            for="lp.bugs.interfaces.cve.ICve"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
852
            class="lp.bugs.browser.buglinktarget.BugsUnlinkView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
853
            permission="launchpad.AnyPerson"
854
            template="../templates/cve-unlinkbugs.pt"/>
855
        <browser:defaultView
856
            for="lp.bugs.interfaces.cve.ICveSet"
857
            name="+index"/>
858
        <browser:url
859
            for="lp.bugs.interfaces.cve.ICveSet"
860
            path_expression="string:cve"
10409.5.77 by Curtis Hovey
Fix the path to the I*Applications classes.
861
            parent_utility="lp.bugs.interfaces.malone.IMaloneApplication"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
862
        <browser:navigation
863
            module="lp.bugs.browser.cve"
864
            classes="
865
                CveSetNavigation"/>
866
        <browser:pages
867
            for="lp.bugs.interfaces.cve.ICveSet"
868
            class="lp.bugs.browser.cve.CveSetView"
869
            permission="zope.Public">
870
            <browser:page
871
                name="+index"
872
                template="../templates/cveset-index.pt"/>
873
            <browser:page
874
                name="+all"
875
                template="../templates/cveset-all.pt"/>
876
        </browser:pages>
877
        <browser:pages
878
            for="lp.bugs.interfaces.cve.ICveSet"
879
            permission="zope.Public">
880
            <browser:page
881
                name="+portlet-details"
882
                template="../templates/cveset-portlet-details.pt"/>
883
        </browser:pages>
884
        <browser:page
885
            name="+portlet-bugs"
886
            for="lp.bugs.interfaces.cve.ICve"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
887
            class="lp.bugs.browser.buglinktarget.BugLinksListingView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
888
            permission="zope.Public"
889
            template="../templates/cve-portlet-bugs2.pt"/>
890
    <browser:url
891
        for="lp.bugs.interfaces.bugsubscription.IBugSubscription"
892
        path_expression="string:+subscription/${person/name}"
893
        attribute_to_parent="bug"
894
        rootsite="bugs"/>
895
        <browser:menus
896
            module="lp.bugs.browser.bug"
897
            classes="
898
                BugContextMenu"/>
899
        <browser:menus
900
            module="lp.bugs.browser.bug"
901
            classes="
902
                BugFacets"/>
903
        <browser:defaultView
904
            for="lp.bugs.interfaces.bug.IBug"
905
            name="+index"/>
906
        <browser:url
907
            for="lp.bugs.interfaces.bug.IBug"
908
            urldata="lp.bugs.browser.bug.BugURL"/>
909
        <browser:navigation
910
            module="lp.bugs.browser.bug"
911
            classes="
912
                BugNavigation"/>
913
        <browser:page
914
            for="lp.bugs.interfaces.bug.IBug"
915
            name="+index"
916
            class="lp.bugs.browser.bug.BugWithoutContextView"
917
            permission="zope.Public"
918
            attribute="redirectToNewBugPage"/>
919
        <browser:page
920
            for="lp.bugs.interfaces.bug.IBug"
8565.1.1 by Bjorn Tillenius
Remove some from foo import * imports from canonical.launchpad.browser.__init__.py
921
            class="lp.bugs.browser.bugtask.BugTasksAndNominationsView"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
922
            permission="launchpad.View"
14186.3.8 by Ian Booth
Add ajax bug task delete functionality
923
            name="+bugtasks-and-nominations-portal"
924
            template="../templates/bugtasks-and-nominations-portal.pt"/>
925
        <browser:page
926
            for="lp.bugs.interfaces.bug.IBug"
927
            class="lp.bugs.browser.bugtask.BugTasksAndNominationsView"
928
            permission="launchpad.View"
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
929
            name="+bugtasks-and-nominations-table"
930
            template="../templates/bugtasks-and-nominations-table.pt"/>
931
        <browser:page
932
            for="lp.bugs.interfaces.bug.IBug"
933
            name="+text"
934
            class="lp.bugs.browser.bug.BugTextView"
935
            permission="zope.Public"
936
            attribute="__call__"/>
937
        <browser:page
938
            for="lp.bugs.interfaces.bug.IBug"
939
            name="+listing-detailed"
940
            template="../templates/bug-listing-detailed.pt"
941
            permission="zope.Public"/>
942
        <browser:pages
943
            for="lp.bugs.interfaces.bug.IBug"
944
            class="lp.bugs.browser.bug.BugView"
945
            permission="zope.Public">
946
            <browser:page
947
                name="+portlet-privacy"
948
                template="../templates/bug-portlet-privacy.pt"/>
949
            <browser:page
950
                name="+portlet-watch"
951
                template="../templates/bug-portlet-watch.pt"/>
952
            <browser:page
953
                name="+portlet-specs"
954
                template="../templates/bug-portlet-specs.pt"/>
955
            <browser:page
956
                name="+portlet-questions"
957
                template="../templates/bug-portlet-questions.pt"/>
958
            <browser:page
959
                name="+portlet-duplicates"
960
                template="../templates/bug-portlet-duplicates.pt"/>
961
            <browser:page
962
                name="+portlet-attachments"
963
                template="../templates/bug-portlet-attachments.pt"/>
964
            <browser:page
965
                name="+portlet-notified"
966
                template="../templates/bug-portlet-notified.pt"/>
9389.9.7 by Graham Binns
Moved actions out into a portlet.
967
            <browser:page
968
                name="+portlet-actions"
969
                template="../templates/bug-portlet-actions.pt"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
970
        </browser:pages>
971
        <browser:page
972
            for="lp.bugs.interfaces.bug.IBug"
13247.1.1 by Danilo Segan
Reapply bug 772754 fix with packagecopyjob changes removed.
973
            name="+bug-portlet-subscribers-details"
974
            class="
975
              lp.bugs.browser.bugsubscription.BugPortletSubscribersWithDetails"
7675.1193.16 by Danilo Segan
Better performing version of subscribers loading.
976
            permission="zope.Public"/>
13251.1.1 by Danilo Segan
Show the subscribers list for anonymous users.
977
        <browser:page
978
            for="lp.bugs.interfaces.bugtask.IBugTask"
979
            name="+bug-portlet-subscribers-details"
980
            class="
981
              lp.bugs.browser.bugsubscription.BugPortletSubscribersWithDetails"
982
            permission="zope.Public"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
983
        <browser:navigation
984
            module="lp.bugs.browser.bug"
985
            classes="
986
                BugSetNavigation"/>
987
        <browser:url
988
            for="lp.bugs.interfaces.bug.IBugSet"
989
            path_expression="string:bugs"
10409.5.77 by Curtis Hovey
Fix the path to the I*Applications classes.
990
            parent_utility="lp.bugs.interfaces.malone.IMaloneApplication"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
991
        <browser:menus
992
            module="lp.bugs.browser.bugnomination"
993
            classes="
994
                BugNominationContextMenu"/>
995
        <browser:page
996
            for="lp.bugs.interfaces.bugnomination.IBugNomination"
997
            class="lp.bugs.browser.bugnomination.BugNominationTableRowView"
998
            permission="launchpad.View"
999
            name="+bugtasks-and-nominations-table-row"
1000
            template="../templates/bugnomination-tasks-and-nominations-table-row.pt"/>
1001
        <browser:page
1002
            for="lp.bugs.interfaces.bugnomination.IBugNomination"
1003
            name="+editstatus"
1004
            class="lp.bugs.browser.bugnomination.BugNominationEditView"
1005
            permission="launchpad.Driver"
1006
            template="../templates/bugnomination-edit.pt"/>
1007
        <browser:page
1008
            for="lp.bugs.interfaces.bugnomination.IBugNomination"
1009
            name="+edit-form"
1010
            class="lp.bugs.browser.bugnomination.BugNominationEditView"
1011
            permission="launchpad.Driver"
1012
            template="../templates/bugnomination-edit-form.pt"/>
1013
        <browser:url
1014
            for="lp.bugs.interfaces.bugnomination.IBugNomination"
1015
            path_expression="string:nominations/${id}"
12243.5.11 by Leonard Richardson
Cleared up some more test failures and things that shouldn't publish web_link.
1016
            attribute_to_parent="bug"
1017
            rootsite="bugs" />
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
1018
        <browser:url
1019
            for="lp.bugs.interfaces.bugwatch.IBugWatch"
1020
            path_expression="string:+watch/${id}"
12243.5.11 by Leonard Richardson
Cleared up some more test failures and things that shouldn't publish web_link.
1021
            attribute_to_parent="bug"
1022
            rootsite="bugs"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
1023
        <browser:defaultView
1024
            for="lp.bugs.interfaces.bugwatch.IBugWatch"
1025
            name="+edit"/>
1026
        <browser:page
1027
            for="lp.bugs.interfaces.bugwatch.IBugWatch"
1028
            name="+comments"
1029
            class="lp.bugs.browser.bugwatch.BugWatchView"
1030
            permission="launchpad.AnyPerson"
1031
            template="../templates/bugwatch-comments.pt"/>
1032
        <browser:page
1033
            for="lp.bugs.interfaces.bugwatch.IBugWatch"
1034
            name="+edit"
1035
            class="lp.bugs.browser.bugwatch.BugWatchEditView"
1036
            permission="launchpad.AnyPerson"
1037
            template="../templates/bugwatch-editform.pt"/>
10635.3.10 by Graham Binns
Added pagetests for the bug watch activity on BugWatch +edit.
1038
        <browser:page
1039
            for="lp.bugs.interfaces.bugwatch.IBugWatch"
1040
            name="+portlet-activity"
7675.635.5 by Graham Binns
Further UI changes.
1041
            class="lp.bugs.browser.bugwatch.BugWatchActivityPortletView"
10635.3.10 by Graham Binns
Added pagetests for the bug watch activity on BugWatch +edit.
1042
            permission="launchpad.AnyPerson"
1043
            template="../templates/bugwatch-portlet-activity.pt"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
1044
        <browser:pages
1045
            for="lp.bugs.interfaces.bugwatch.IBugWatch"
1046
            permission="launchpad.AnyPerson">
1047
            <browser:page
11625.3.13 by Graham Binns
More cleanup.
1048
                name="+portlet-bugtasks"
1049
                template="../templates/bugwatch-portlet-bugtasks.pt"/>
1050
            <browser:page
7675.635.5 by Graham Binns
Further UI changes.
1051
                name="+portlet-details"
1052
                template="../templates/bugwatch-portlet-details.pt"/>
10901.1.1 by Graham Binns
Added inline help template for bug watches.
1053
            <browser:page
1054
                name="+error-help"
1055
                template="../templates/bugwatch-error-help.pt"/>
8523.3.1 by Gavin Panella
Bugs tree reorg after automated migration.
1056
        </browser:pages>
1057
        <browser:url
1058
            for="lp.bugs.interfaces.bugwatch.IBugWatchSet"
1059
            path_expression="string:watches"
1060
            attribute_to_parent="bug"/>
1061
        <browser:defaultView
1062
            for="lp.bugs.interfaces.bugwatch.IBugWatchSet"
1063
            name="+index"/>
1064
        <browser:navigation
1065
            module="lp.bugs.browser.bugwatch"
1066
            classes="
1067
                BugWatchSetNavigation"/>
7675.764.1 by Abel Deuring
class SafeStreamOrRedirectLibraryFileAliasView added which always sets the HTTP header Content-Disposition to 'attachment' for restricted LFAs; used this class to serve LFAs of bug attachments
1068
7675.1025.1 by Gary Poster
structural subscriptions are moved from registry to bugs. moved tests pass.
1069
    <!-- Structural subscriptions -->
1070
        <browser:page
1071
            for="lp.bugs.interfaces.structuralsubscription.IStructuralSubscriptionTarget"
1072
            name="+subscribe"
1073
            permission="launchpad.AnyPerson"
1074
            class="lp.bugs.browser.structuralsubscription.StructuralSubscriptionView"
1075
            template="../templates/structural-subscriptions-manage.pt"/>
1076
        <browser:page
1077
            for="lp.bugs.interfaces.structuralsubscription.IStructuralSubscriptionTarget"
1078
            name="+portlet-structural-subscribers"
1079
            permission="zope.Public"
1080
            class="lp.bugs.browser.structuralsubscription.StructuralSubscribersPortletView"
1081
            template="../templates/structural-subscription-target-portlet-subscribers.pt"/>
12584.1.1 by Gary Poster
add a simple page to start building JS on
1082
        <browser:page
1083
            for="lp.bugs.interfaces.structuralsubscription.IStructuralSubscriptionTarget"
1084
            name="+subscriptions"
1085
            class="lp.bugs.browser.bugtarget.TargetSubscriptionView"
1086
            permission="launchpad.AnyPerson"
1087
            template="../templates/bugtarget-subscription-list.pt"/>
7675.1025.1 by Gary Poster
structural subscriptions are moved from registry to bugs. moved tests pass.
1088
1089
    <browser:url
1090
        for="lp.bugs.interfaces.structuralsubscription.IStructuralSubscription"
1091
        path_expression="string:+subscription/${subscriber/name}"
1092
        attribute_to_parent="target"/>
1093
    <browser:navigation
1094
        module="lp.bugs.browser.structuralsubscription"
1095
        classes="StructuralSubscriptionNavigation"/>
1096
11896.1.1 by Gavin Panella
Provide and test the canonical URL for a bug subscription filter.
1097
    <!-- Bug Subscription Filters -->
1098
      <browser:url
1099
          for="lp.bugs.interfaces.bugsubscriptionfilter.IBugSubscriptionFilter"
1100
          path_expression="string:+filter/${id}"
1101
          attribute_to_parent="structural_subscription"
1102
          rootsite="bugs" />
12164.1.1 by Gavin Panella
First stab at a page for bug subscription filters.
1103
      <browser:page
1104
          for="lp.bugs.interfaces.bugsubscriptionfilter.IBugSubscriptionFilter"
1105
          class=".bugsubscriptionfilter.BugSubscriptionFilterView"
1106
          template="../templates/bug-subscription-filter.pt"
1107
          permission="launchpad.View"
12164.1.9 by Gavin Panella
Change the name of the bug filter view.
1108
          name="+definition" />
12164.2.2 by Gavin Panella
First go at an bug subscription filter edit form.
1109
      <browser:page
1110
          for="lp.bugs.interfaces.bugsubscriptionfilter.IBugSubscriptionFilter"
1111
          class=".bugsubscriptionfilter.BugSubscriptionFilterEditView"
12164.3.9 by Gavin Panella
Use generic-edit.
1112
          template="../../app/templates/generic-edit.pt"
12164.2.2 by Gavin Panella
First go at an bug subscription filter edit form.
1113
          permission="launchpad.Edit"
1114
          name="+edit" />
12164.3.10 by Gavin Panella
View for creating a bug subscription filter.
1115
      <browser:page
7675.1025.1 by Gary Poster
structural subscriptions are moved from registry to bugs. moved tests pass.
1116
          for="lp.bugs.interfaces.structuralsubscription.IStructuralSubscription"
12164.3.10 by Gavin Panella
View for creating a bug subscription filter.
1117
          class=".bugsubscriptionfilter.BugSubscriptionFilterCreateView"
1118
          template="../../app/templates/generic-edit.pt"
1119
          permission="launchpad.View"
1120
          name="+new-filter" />
11896.1.1 by Gavin Panella
Provide and test the canonical URL for a bug subscription filter.
1121
12164.2.7 by Gavin Panella
Move registration of BugWidget to lp.bugs.browser.widgets.
1122
    <!-- Widgets -->
1123
    <include package=".widgets"/>
1124
13130.1.3 by Curtis Hovey
Moved batch navigator templates and views to their respective lp apps.
1125
    <!-- batching -->
1126
    <browser:page
1127
        for="canonical.launchpad.webapp.interfaces.ITableBatchNavigator"
1128
        name="+table-view"
1129
        template="../templates/bugs-listing-table.pt"
1130
        permission="zope.Public" />
1131
1132
    <browser:page
1133
        for="canonical.launchpad.webapp.interfaces.ITableBatchNavigator"
1134
        name="+table-view-without-navlinks"
1135
        template="../templates/bugs-listing-table-without-navlinks.pt"
1136
        permission="zope.Public" />
1137
1138
    <browser:page
1139
        for="lp.bugs.interfaces.bugtask.INominationsReviewTableBatchNavigator"
1140
        class="lp.bugs.browser.bugtask.NominationsReviewTableBatchNavigatorView"
1141
        name="+table-view-without-navlinks"
1142
        template="../templates/bugs-listing-nominations-table-without-navlinks.pt"
1143
        permission="zope.Public" />
1144
14391.1.3 by William Grant
Pull bugs, registry, soyuz facets up.
1145
    </facet>
14422.1.1 by Aaron Bentley
Move default BugLayer views to bugs/browser/configure.zcml
1146
    <browser:defaultView
1147
        for="lp.registry.interfaces.distribution.IDistribution"
1148
        layer="lp.bugs.publisher.BugsLayer"
14422.1.2 by Aaron Bentley
Default to +bugs for product, productseries, distro, distroseries.
1149
        name="+bugs"/>
14422.1.1 by Aaron Bentley
Move default BugLayer views to bugs/browser/configure.zcml
1150
    <browser:defaultView
1151
        for="lp.registry.interfaces.distroseries.IDistroSeries"
1152
        layer="lp.bugs.publisher.BugsLayer"
14422.1.2 by Aaron Bentley
Default to +bugs for product, productseries, distro, distroseries.
1153
        name="+bugs"/>
14422.1.1 by Aaron Bentley
Move default BugLayer views to bugs/browser/configure.zcml
1154
    <browser:defaultView
1155
        for="lp.registry.interfaces.distributionsourcepackage.IDistributionSourcePackage"
1156
        layer="lp.bugs.publisher.BugsLayer"
1157
        name="+bugs"/>
1158
    <browser:defaultView
1159
        for="lp.registry.interfaces.person.IPerson"
1160
        layer="lp.bugs.publisher.BugsLayer"
1161
        name="+bugs"/>
1162
    <browser:defaultView
1163
        for="lp.registry.interfaces.product.IProduct"
1164
        layer="lp.bugs.publisher.BugsLayer"
14422.1.2 by Aaron Bentley
Default to +bugs for product, productseries, distro, distroseries.
1165
        name="+bugs"/>
14422.1.1 by Aaron Bentley
Move default BugLayer views to bugs/browser/configure.zcml
1166
    <browser:defaultView
1167
        for="lp.registry.interfaces.productseries.IProductSeries"
1168
        layer="lp.bugs.publisher.BugsLayer"
14422.1.2 by Aaron Bentley
Default to +bugs for product, productseries, distro, distroseries.
1169
        name="+bugs"/>
14422.1.1 by Aaron Bentley
Move default BugLayer views to bugs/browser/configure.zcml
1170
    <browser:defaultView
1171
        for="lp.registry.interfaces.projectgroup.IProjectGroup"
1172
        name="+bugs"
1173
        layer="lp.bugs.publisher.BugsLayer"/>
1174
    <browser:defaultView
1175
        for="lp.registry.interfaces.sourcepackage.ISourcePackage"
1176
        layer="lp.bugs.publisher.BugsLayer"
1177
        name="+bugs"/>
8461.2.10 by Bjorn Tillenius
Merge RF.
1178
</configure>