192
192
attribute="__call__"
193
193
permission="zope.Public"
198
name="+maintenancemessage"
199
template="../templates/launchpad-maintenance.pt"
200
class="canonical.launchpad.browser.MaintenanceMessage"
201
permission="zope.Public"
204
<!-- Macros for the forbidden pages; used by launchpad-forbidden.pt,
208
name="+forbidden-page-macros"
209
template="../templates/launchpad-forbidden-macros.pt"
210
permission="zope.Public"
214
<!-- The +basiclogin view is registered using Python code so that we can do
215
it only for development and tests. Below is what its declaration would
216
look like, and it's here so that someone grepping zcml files for its
219
for="canonical.launchpad.webapp.interfaces.ILaunchpadApplication"
220
class="canonical.launchpad.webapp.login.BasicLoginPage"
222
permission="zope.Public" />
225
<class class="canonical.launchpad.webapp.login.BasicLoginPage">
226
<allow attributes="__call__" />
227
<allow interface="zope.publisher.interfaces.browser.IBrowserPublisher" />
231
for="zope.processlifetime.ProcessStarting"
232
handler="canonical.launchpad.webapp.login.register_basiclogin"
235
<!-- OpenID RP views -->
237
for="canonical.launchpad.webapp.interfaces.ILaunchpadApplication"
238
class="canonical.launchpad.webapp.login.OpenIDLogin"
239
permission="zope.Public"
243
for="canonical.launchpad.webapp.interfaces.ILaunchpadApplication"
244
class="canonical.launchpad.webapp.login.OpenIDCallbackView"
245
permission="zope.Public"
246
name="+openid-callback"
252
class="canonical.launchpad.webapp.login.CookieLogoutPage"
253
permission="zope.Public"
260
template="../templates/launchpad-loginstatus.pt"
261
class="canonical.launchpad.browser.LoginStatus"
262
permission="zope.Public"
267
<!-- System Errors -->
269
for="zope.interface.common.interfaces.IException"
271
template="../templates/oops.pt"
272
permission="zope.Public"
273
class="canonical.launchpad.webapp.error.SystemErrorView"
276
<!-- Unauthorized -->
278
for="zope.exceptions.IUnauthorized"
280
permission="zope.Public"
281
class="canonical.launchpad.webapp.login.UnauthorizedView"
287
for="zope.publisher.interfaces.NotFound"
289
permission="zope.Public"
290
template="../templates/launchpad-notfound.pt"
291
class="canonical.launchpad.webapp.error.NotFoundView"
296
for="lp.app.errors.GoneError"
298
permission="zope.Public"
299
template="../templates/launchpad-gone.pt"
300
class="canonical.launchpad.webapp.error.GoneView"
303
<!-- RequestExpired -->
305
for="canonical.database.interfaces.IRequestExpired"
307
permission="zope.Public"
308
template="../templates/launchpad-requestexpired.pt"
309
class="canonical.launchpad.webapp.error.RequestExpiredView"
312
<!-- TimeoutError -->
314
for="canonical.lazr.timeout.TimeoutError"
316
permission="zope.Public"
317
template="../templates/launchpad-requestexpired.pt"
318
class="canonical.launchpad.webapp.error.RequestExpiredView"
321
<!-- UnexpectedFormData -->
323
for="lp.app.errors.UnexpectedFormData"
325
permission="zope.Public"
326
template="../templates/launchpad-unexpectedformdata.pt"
327
class="canonical.launchpad.webapp.error.SystemErrorView"
330
<!-- OffsiteFormPostError -->
332
for="canonical.launchpad.webapp.interfaces.OffsiteFormPostError"
334
permission="zope.Public"
335
template="../templates/launchpad-unexpectedformdata.pt"
336
class="canonical.launchpad.webapp.error.SystemErrorView"
339
<!-- NoReferrerError -->
341
for="canonical.launchpad.webapp.interfaces.NoReferrerError"
343
permission="zope.Public"
344
template="../templates/launchpad-noreferrer.pt"
345
class="canonical.launchpad.webapp.error.NoReferrerErrorView"
348
<!-- UnsafeFormGetSubmissionError -->
350
for="canonical.launchpad.webapp.interfaces.UnsafeFormGetSubmissionError"
352
permission="zope.Public"
353
template="../templates/launchpad-unexpectedformdata.pt"
354
class="canonical.launchpad.webapp.error.SystemErrorView"
357
<!-- InvalidBatchSizeError -->
359
for="lazr.batchnavigator.interfaces.InvalidBatchSizeError"
361
permission="zope.Public"
362
template="../templates/launchpad-invalidbatchsize.pt"
363
class="canonical.launchpad.webapp.error.InvalidBatchSizeView"
366
<!-- TranslationUnavailable -->
368
for="lp.app.errors.TranslationUnavailable"
370
permission="zope.Public"
371
template="../templates/launchpad-translationunavailable.pt"
372
class="canonical.launchpad.webapp.error.TranslationUnavailableView"
375
<!-- ReadOnlyModeViolation -->
377
for="canonical.launchpad.webapp.interfaces.ReadOnlyModeViolation"
379
permission="zope.Public"
380
template="../templates/launchpad-readonlyfailure.pt"
381
class="canonical.launchpad.webapp.error.ReadOnlyErrorView"
384
<!-- Vocabularies -->
387
permission="zope.Public"
388
class="canonical.launchpad.browser.vocabulary.HugeVocabularyJSONView"
389
name="+huge-vocabulary"
393
factory="canonical.launchpad.browser.vocabulary.default_pickerentry_adapter"
397
factory="canonical.launchpad.browser.vocabulary.person_to_pickerentry"
401
factory="canonical.launchpad.browser.vocabulary.branch_to_pickerentry"
405
factory="canonical.launchpad.browser.vocabulary.sourcepackagename_to_pickerentry"
197
408
<!-- TALES namespaces. -->
199
410
<!-- TALES lp: namespace (should be deprecated) -->