~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/browser/root.py

  • Committer: Curtis Hovey
  • Date: 2011-12-18 15:13:07 UTC
  • mto: This revision was merged to the branch mainline in revision 14547.
  • Revision ID: curtis.hovey@canonical.com-20111218151307-sdm2gzobt5tplbe0
Moved badges to lp.app.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright 2009-2011 Canonical Ltd.  This software is licensed under the
 
1
# Copyright 2009 Canonical Ltd.  This software is licensed under the
2
2
# GNU Affero General Public License version 3 (see the file LICENSE).
3
3
"""Browser code for the Launchpad root page."""
4
4
 
21
21
from zope.schema.interfaces import TooLong
22
22
from zope.schema.vocabulary import getVocabularyRegistry
23
23
 
24
 
from lp import _
 
24
from canonical.config import config
 
25
from canonical.launchpad import _
 
26
from canonical.launchpad.interfaces.launchpadstatistic import (
 
27
    ILaunchpadStatisticSet,
 
28
    )
 
29
from canonical.launchpad.webapp import LaunchpadView
 
30
from canonical.launchpad.webapp.authorization import check_permission
 
31
from canonical.launchpad.webapp.batching import BatchNavigator
 
32
from canonical.launchpad.webapp.publisher import canonical_url
 
33
from canonical.launchpad.webapp.vhosts import allvhosts
 
34
from canonical.lazr.timeout import urlfetch
25
35
from lp.answers.interfaces.questioncollection import IQuestionSet
26
36
from lp.app.browser.launchpadform import (
27
37
    action,
38
48
from lp.registry.interfaces.person import IPersonSet
39
49
from lp.registry.interfaces.pillar import IPillarNameSet
40
50
from lp.registry.interfaces.product import IProductSet
41
 
from lp.services.config import config
42
51
from lp.services.googlesearch.interfaces import (
43
52
    GoogleResponseError,
44
53
    ISearchService,
45
54
    )
46
55
from lp.services.propertycache import cachedproperty
47
 
from lp.services.statistics.interfaces.statistic import ILaunchpadStatisticSet
48
 
from lp.services.timeout import urlfetch
49
 
from lp.services.webapp import LaunchpadView
50
 
from lp.services.webapp.authorization import check_permission
51
 
from lp.services.webapp.batching import BatchNavigator
52
 
from lp.services.webapp.publisher import canonical_url
53
 
from lp.services.webapp.vhosts import allvhosts
54
56
 
55
57
 
56
58
shipit_faq_url = 'http://www.ubuntu.com/getubuntu/shipit-faq'