~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!-- Copyright 2009 Canonical Ltd.  This software is licensed under the
     GNU Affero General Public License version 3 (see the file LICENSE).
-->

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    xmlns:i18n="http://namespaces.zope.org/i18n"
    i18n_domain="launchpad">

    <browser:navigation
        module=".server"
        classes="TestOpenIDApplicationNavigation"
        />

    <adapter
        provides="canonical.launchpad.webapp.interfaces.ICanonicalUrlData"
        for="..interfaces.server.ITestOpenIDApplication"
        factory=".server.TestOpenIDRootUrlData"
        />

    <browser:defaultView
        for="..interfaces.server.ITestOpenIDApplication"
        name="+index"
        />

    <browser:page
        for="..interfaces.server.ITestOpenIDApplication"
        class=".server.TestOpenIDView"
        permission="zope.Public"
        name="+openid"
        />
    <browser:page
        for="..interfaces.server.ITestOpenIDApplication"
        class=".server.TestOpenIDIndexView"
        permission="zope.Public"
        name="+index"
        />
    <browser:page
        for="..interfaces.server.ITestOpenIDApplication"
        class=".server.TestOpenIDLoginView"
        permission="zope.Public"
        name="+auth"
        />

    <browser:url
        for="..interfaces.server.ITestOpenIDPersistentIdentity"
        path_expression="string:${openid_identifier}"
        parent_utility="..interfaces.server.ITestOpenIDApplication"
        />

    <browser:defaultView
        for="..interfaces.server.ITestOpenIDPersistentIdentity"
        name="+index"
        />

    <browser:page
        for="..interfaces.server.ITestOpenIDPersistentIdentity"
        name="+index"
        template="../templates/persistentidentity-index.pt"
        permission="zope.Public"
        class=".server.PersistentIdentityView"
        />

    <browser:page
        name=""
        for="..interfaces.server.ITestOpenIDApplication"
        class="lp.app.browser.launchpad.LaunchpadImageFolder"
        permission="zope.Public"
        layer="canonical.launchpad.layers.TestOpenIDLayer"
        />

    <!-- A simple view used by the page tests. -->
    <browser:page
        for="..interfaces.server.ITestOpenIDApplication"
        name="+echo"
        permission="zope.Public"
        class="..testing.helpers.EchoView"
        layer="canonical.launchpad.layers.PageTestLayer"
        />

</configure>