Merge lp:~elachuni/ubuntu-webcatalog/name-change into lp:ubuntu-webcatalog

Proposed by Anthony Lenton
Status: Merged
Approved by: Anthony Lenton
Approved revision: 55
Merged at revision: 50
Proposed branch: lp:~elachuni/ubuntu-webcatalog/name-change
Merge into: lp:ubuntu-webcatalog
Diff against target: 749 lines (+152/-73)
44 files modified
LICENSE (+2/-2)
debian/control (+1/-1)
django_project/config/main.cfg (+6/-0)
fabtasks/__init__.py (+1/-1)
fabtasks/bootstrap.py (+1/-1)
fabtasks/django.py (+1/-1)
fabtasks/upgrade_from_package.py (+1/-1)
src/webcatalog/__init__.py (+17/-0)
src/webcatalog/admin.py (+2/-2)
src/webcatalog/api/__init__.py (+1/-1)
src/webcatalog/api/forms.py (+2/-2)
src/webcatalog/api/handlers.py (+2/-2)
src/webcatalog/api/urls.py (+2/-2)
src/webcatalog/auth.py (+2/-1)
src/webcatalog/context_processors.py (+2/-2)
src/webcatalog/department_filters.py (+1/-1)
src/webcatalog/forms.py (+2/-2)
src/webcatalog/management/commands/import_app_install_data.py (+1/-1)
src/webcatalog/management/commands/import_for_purchase_apps.py (+1/-1)
src/webcatalog/management/commands/import_ratings_stats.py (+1/-1)
src/webcatalog/middleware/exception.py (+2/-2)
src/webcatalog/models/__init__.py (+1/-1)
src/webcatalog/models/applications.py (+1/-1)
src/webcatalog/models/oauthtoken.py (+1/-1)
src/webcatalog/schema.py (+29/-13)
src/webcatalog/templates/webcatalog/department_overview.html (+2/-2)
src/webcatalog/templates/webcatalog/index.html (+2/-2)
src/webcatalog/templatetags/webcatalog.py (+2/-2)
src/webcatalog/tests/__init__.py (+1/-1)
src/webcatalog/tests/factory.py (+1/-1)
src/webcatalog/tests/helpers.py (+2/-2)
src/webcatalog/tests/test_api.py (+2/-2)
src/webcatalog/tests/test_commands.py (+2/-2)
src/webcatalog/tests/test_department_filters.py (+1/-1)
src/webcatalog/tests/test_forms.py (+2/-2)
src/webcatalog/tests/test_handlers.py (+2/-2)
src/webcatalog/tests/test_models.py (+1/-1)
src/webcatalog/tests/test_templatetags.py (+2/-2)
src/webcatalog/tests/test_utilities.py (+19/-0)
src/webcatalog/tests/test_views.py (+2/-2)
src/webcatalog/urls.py (+2/-2)
src/webcatalog/utilities.py (+3/-2)
src/webcatalog/views.py (+2/-2)
src/webcatalog/wsgi.py (+19/-0)
To merge this branch: bzr merge lp:~elachuni/ubuntu-webcatalog/name-change
Reviewer Review Type Date Requested Status
Michael Nelson (community) Needs Information
Review via email: mp+75011@code.launchpad.net

Commit message

Updated the name of the site to "Ubuntu Apps Directory".

Description of the change

Overview
========
Updated the name of the site to "Apps Directory".

Details
=======
The only crucial update was the UI main header on the front page.
Several other comments were updated too for consistency, but the name of the package was left unchanged, as were several references in config.

While I was there, I updated the schema to always use Django 1.3's schema as a base (as it will now pull in 1.3.1 by default).

To post a comment you must log in.
Revision history for this message
Michael Nelson (michael.nelson) wrote :

{{{
16:32 < achuni> noodles: real quickie when you have a minute: https://code.launchpad.net/~elachuni/ubuntu-webcatalog/name-change/+merge/75011
16:32 < noodles> sure
16:33 < noodles> achuni: sorry - I'm sure the discussion has already occured, but s/Apps Directory/Ubuntu Apps Directory ?
16:34 < achuni> noodles: it hasn't, and I'll need to check
16:34 < achuni> noodles: unluckily, sg isn't around atm
16:35 < noodles> OK, "Apps Directory" just sounds quite vague...
16:35 < achuni> yeah
16:36 < achuni> noodles: let's leave that unapproved until I verify
16:36 < noodles> achuni: sure. Also, I'm assuming you've grepped for 'catalog' or similar, and than tests all pass :)
16:36 * noodles marks needs-info
}}}

review: Needs Information
53. By Anthony Lenton

s/Apps Directory/Ubuntu Apps Directory/

54. By Anthony Lenton

Added missing sso_api schema section.

55. By Anthony Lenton

Added [sso_api] section to dev settings.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'LICENSE'
--- LICENSE 2011-04-12 14:02:57 +0000
+++ LICENSE 2011-09-12 18:55:18 +0000
@@ -1,7 +1,7 @@
1Ubuntu-Webcatalog is Copyright 2011 Canonical Ltd.1Apps Directory is Copyright 2011 Canonical Ltd.
22
3Canonical Ltd ("Canonical") distributes the source code for the3Canonical Ltd ("Canonical") distributes the source code for the
4Ubuntu Webcatalog under the GNU Affero General Public4Apps Directory under the GNU Affero General Public
5License, version 3 ("AGPLv3"). The full text of this licence is5License, version 3 ("AGPLv3"). The full text of this licence is
6given below.6given below.
77
88
=== modified file 'debian/control'
--- debian/control 2011-07-27 08:54:23 +0000
+++ debian/control 2011-09-12 18:55:18 +0000
@@ -26,5 +26,5 @@
26 python-wsgi-oops,26 python-wsgi-oops,
27 python-apt,27 python-apt,
28 python-ubuntu-rnr-client28 python-ubuntu-rnr-client
29Description: Ubuntu Web Catalog29Description: Apps Directory
30 Providing web access to the Ubuntu Software Center.30 Providing web access to the Ubuntu Software Center.
3131
=== modified file 'django_project/config/main.cfg'
--- django_project/config/main.cfg 2011-08-10 18:58:04 +0000
+++ django_project/config/main.cfg 2011-09-12 18:55:18 +0000
@@ -99,3 +99,9 @@
9999
100[rnr]100[rnr]
101rnr_service_root = http://reviews.ubuntu.com/reviews/api/1.0101rnr_service_root = http://reviews.ubuntu.com/reviews/api/1.0
102
103[sso_api]
104sso_api_service_root = https://login.staging.ubuntu.com/api/1.0
105sso_api_auth_username = insert-your-sso-api-username-here
106sso_api_auth_password = insert-your-sso-api-password-here
107sso_auth_mode_no_ubuntu_sso_plaintext_only = True
102108
=== modified file 'fabtasks/__init__.py'
--- fabtasks/__init__.py 2011-04-07 08:57:13 +0000
+++ fabtasks/__init__.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of Ubuntu web catalog2# This file is part of Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'fabtasks/bootstrap.py'
--- fabtasks/bootstrap.py 2011-07-19 15:44:09 +0000
+++ fabtasks/bootstrap.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of Ubuntu web catalog2# This file is part of Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'fabtasks/django.py'
--- fabtasks/django.py 2011-07-07 13:08:38 +0000
+++ fabtasks/django.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of Ubuntu web catalog2# This file is part of Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'fabtasks/upgrade_from_package.py'
--- fabtasks/upgrade_from_package.py 2011-06-20 20:41:36 +0000
+++ fabtasks/upgrade_from_package.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of Ubuntu web catalog2# This file is part of Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/__init__.py'
--- src/webcatalog/__init__.py 2011-06-17 15:33:40 +0000
+++ src/webcatalog/__init__.py 2011-09-12 18:55:18 +0000
@@ -1,1 +1,18 @@
1# -*- coding: utf-8 -*-
2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU Affero General Public License as
7# published by the Free Software Foundation, either version 3 of the
8# License, or (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU Affero General Public License for more details.
14#
15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
1__version__ = '0.1-1; r19'18__version__ = '0.1-1; r19'
219
=== modified file 'src/webcatalog/admin.py'
--- src/webcatalog/admin.py 2011-07-20 21:30:25 +0000
+++ src/webcatalog/admin.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Admin classes for the web catalog app."""18"""Admin classes for the Apps Directory."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/api/__init__.py'
--- src/webcatalog/api/__init__.py 2011-06-27 16:31:36 +0000
+++ src/webcatalog/api/__init__.py 2011-09-12 18:55:18 +0000
@@ -1,4 +1,4 @@
1# This file is part of the Ubuntu Web Catalog1# This file is part of the Apps Directory
2# Copyright (C) 2011 Canonical Ltd.2# Copyright (C) 2011 Canonical Ltd.
3#3#
4# This program is free software: you can redistribute it and/or modify4# This program is free software: you can redistribute it and/or modify
55
=== modified file 'src/webcatalog/api/forms.py'
--- src/webcatalog/api/forms.py 2011-07-27 16:44:52 +0000
+++ src/webcatalog/api/forms.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Forms for using within the Ubuntu Web Catalog API."""18"""Forms for using within the Apps Directory API."""
1919
20from __future__ import absolute_import20from __future__ import absolute_import
2121
2222
=== modified file 'src/webcatalog/api/handlers.py'
--- src/webcatalog/api/handlers.py 2011-07-29 15:57:17 +0000
+++ src/webcatalog/api/handlers.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Piston handlers for the Ubuntu Web Catalog API."""18"""Piston handlers for the Apps Directory API."""
1919
20from __future__ import absolute_import20from __future__ import absolute_import
2121
2222
=== modified file 'src/webcatalog/api/urls.py'
--- src/webcatalog/api/urls.py 2011-07-28 18:49:26 +0000
+++ src/webcatalog/api/urls.py 2011-09-12 18:55:18 +0000
@@ -1,4 +1,4 @@
1# This file is part of the Ubuntu Web Catalog1# This file is part of the Apps Directory
2# Copyright (C) 2011 Canonical Ltd.2# Copyright (C) 2011 Canonical Ltd.
3#3#
4# This program is free software: you can redistribute it and/or modify4# This program is free software: you can redistribute it and/or modify
@@ -25,7 +25,7 @@
25)25)
26from webcatalog.auth import SSOOAuthAuthentication26from webcatalog.auth import SSOOAuthAuthentication
2727
28auth = SSOOAuthAuthentication(realm="Ubuntu Web Catalog")28auth = SSOOAuthAuthentication(realm="Ubuntu Apps Directory")
2929
30class CSRFExemptResource(Resource):30class CSRFExemptResource(Resource):
31 """A Custom Resource that is csrf exempt"""31 """A Custom Resource that is csrf exempt"""
3232
=== modified file 'src/webcatalog/auth.py'
--- src/webcatalog/auth.py 2011-06-27 16:31:36 +0000
+++ src/webcatalog/auth.py 2011-09-12 18:55:18 +0000
@@ -1,4 +1,5 @@
1# This file is part of the Ubuntu Web Catalog1# -*- coding: utf-8 -*-
2# This file is part of the Apps Directory
2# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
3#4#
4# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
56
=== modified file 'src/webcatalog/context_processors.py'
--- src/webcatalog/context_processors.py 2011-06-29 09:24:48 +0000
+++ src/webcatalog/context_processors.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Context processors web catalog app."""18"""Context processors for the Apps Directory."""
1919
20from django.conf import settings20from django.conf import settings
2121
2222
=== modified file 'src/webcatalog/department_filters.py'
--- src/webcatalog/department_filters.py 2011-04-19 18:46:21 +0000
+++ src/webcatalog/department_filters.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/forms.py'
--- src/webcatalog/forms.py 2011-07-02 04:53:26 +0000
+++ src/webcatalog/forms.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Forms used by the web catalog."""18"""Forms used by the Apps Directory."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/management/commands/import_app_install_data.py'
--- src/webcatalog/management/commands/import_app_install_data.py 2011-07-19 11:59:10 +0000
+++ src/webcatalog/management/commands/import_app_install_data.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/management/commands/import_for_purchase_apps.py'
--- src/webcatalog/management/commands/import_for_purchase_apps.py 2011-07-04 13:03:21 +0000
+++ src/webcatalog/management/commands/import_for_purchase_apps.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/management/commands/import_ratings_stats.py'
--- src/webcatalog/management/commands/import_ratings_stats.py 2011-08-09 19:23:03 +0000
+++ src/webcatalog/management/commands/import_ratings_stats.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/middleware/exception.py'
--- src/webcatalog/middleware/exception.py 2011-06-18 23:17:11 +0000
+++ src/webcatalog/middleware/exception.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Exception logging middleware for the web catalog app."""18"""Exception logging middleware for the Apps Directory."""
1919
20import logging20import logging
21import re21import re
2222
=== modified file 'src/webcatalog/models/__init__.py'
--- src/webcatalog/models/__init__.py 2011-07-27 16:52:06 +0000
+++ src/webcatalog/models/__init__.py 2011-09-12 18:55:18 +0000
@@ -1,4 +1,4 @@
1# This file is part of the Ubuntu Web Catalog1# This file is part of the Apps Directory
2# Copyright (C) 2011 Canonical Ltd.2# Copyright (C) 2011 Canonical Ltd.
3#3#
4# This program is free software: you can redistribute it and/or modify4# This program is free software: you can redistribute it and/or modify
55
=== modified file 'src/webcatalog/models/applications.py'
--- src/webcatalog/models/applications.py 2011-08-09 19:47:52 +0000
+++ src/webcatalog/models/applications.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/models/oauthtoken.py'
--- src/webcatalog/models/oauthtoken.py 2011-07-28 20:39:00 +0000
+++ src/webcatalog/models/oauthtoken.py 2011-09-12 18:55:18 +0000
@@ -1,4 +1,4 @@
1# This file is part of the Ubuntu Web Catalog1# This file is part of the Apps Directory
2# Copyright (C) 2011 Canonical Ltd.2# Copyright (C) 2011 Canonical Ltd.
3#3#
4# This program is free software: you can redistribute it and/or modify4# This program is free software: you can redistribute it and/or modify
55
=== modified file 'src/webcatalog/schema.py'
--- src/webcatalog/schema.py 2011-07-28 20:39:00 +0000
+++ src/webcatalog/schema.py 2011-09-12 18:55:18 +0000
@@ -1,3 +1,22 @@
1# -*- coding: utf-8 -*-
2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU Affero General Public License as
7# published by the Free Software Foundation, either version 3 of the
8# License, or (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU Affero General Public License for more details.
14#
15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18"""configglue schema for the Apps Directory."""
19
1import django20import django
221
3from configglue.pyschema import ConfigSection22from configglue.pyschema import ConfigSection
@@ -8,20 +27,9 @@
8 LinesConfigOption,27 LinesConfigOption,
9 StringConfigOption,28 StringConfigOption,
10 )29 )
11from django_configglue.schema import (30from django_configglue.schema import schemas
12 Django112Schema,
13 schemas,
14 )
1531
16# Currently we've updated to latest configglue/django-configglue32DjangoSchema = schemas.get('1.3')
17# but they remove a registered schema for django 1.1.1, which is
18# the currently installed django version on our servers, resulting in:
19# http://razorgirl.info/job/software-center-agent-deploy/23/console
20# So we register the 112 schema to match until we upgrade. Once we
21# upgraded this should still work without updating (as the version
22# will be 1.3).
23schemas.register(Django112Schema, '1.1.1')
24DjangoSchema = schemas.get(django.get_version())
2533
2634
27class WebCatalogSchema(DjangoSchema):35class WebCatalogSchema(DjangoSchema):
@@ -67,3 +75,11 @@
67 rnr = ConfigSection()75 rnr = ConfigSection()
68 rnr.rnr_service_root = StringConfigOption(76 rnr.rnr_service_root = StringConfigOption(
69 default="http://reviews.ubuntu.com/reviews/api/1.0")77 default="http://reviews.ubuntu.com/reviews/api/1.0")
78
79 sso_api = ConfigSection()
80 sso_api.sso_api_service_root = StringConfigOption()
81 sso_api.sso_api_auth_username = StringConfigOption()
82 sso_api.sso_api_auth_password = StringConfigOption()
83 sso_api.sso_api_identity_prefix = StringConfigOption()
84 sso_api.sso_auth_mode_no_ubuntu_sso_plaintext_only = BoolConfigOption()
85 sso_api.token_cache_expiry_hours = IntConfigOption(default=4)
7086
=== modified file 'src/webcatalog/templates/webcatalog/department_overview.html'
--- src/webcatalog/templates/webcatalog/department_overview.html 2011-07-20 15:27:06 +0000
+++ src/webcatalog/templates/webcatalog/department_overview.html 2011-09-12 18:55:18 +0000
@@ -1,8 +1,8 @@
1{% extends "webcatalog/base.html" %}1{% extends "webcatalog/base.html" %}
2{% load i18n %}2{% load i18n %}
33
4{% block title %}{% trans "Ubuntu web catalog" %} &mdash; {{ dept.name }}{% endblock %}4{% block title %}{% trans "Ubuntu Apps Directory" %} &mdash; {{ dept.name }}{% endblock %}
5{% block header %}{% trans "Ubuntu web catalog" %} &mdash; {{ dept.name }}{% endblock %}5{% block header %}{% trans "Ubuntu Apps Directory" %} &mdash; {{ dept.name }}{% endblock %}
66
7{% block content %}7{% block content %}
8 {% include "webcatalog/breadcrumbs_snippet.html" %}8 {% include "webcatalog/breadcrumbs_snippet.html" %}
99
=== modified file 'src/webcatalog/templates/webcatalog/index.html'
--- src/webcatalog/templates/webcatalog/index.html 2011-06-23 14:51:21 +0000
+++ src/webcatalog/templates/webcatalog/index.html 2011-09-12 18:55:18 +0000
@@ -1,8 +1,8 @@
1{% extends "webcatalog/base.html" %}1{% extends "webcatalog/base.html" %}
2{% load i18n %}2{% load i18n %}
33
4{% block title %}{% trans "Ubuntu web catalog" %}{% endblock %}4{% block title %}{% trans "Ubuntu Apps Directory" %}{% endblock %}
5{% block header %}{% trans "Ubuntu web catalog" %}{% endblock %}5{% block header %}{% trans "Ubuntu Apps Directory" %}{% endblock %}
6{% block search %}{% endblock %}6{% block search %}{% endblock %}
77
8{% block content %}8{% block content %}
99
=== modified file 'src/webcatalog/templatetags/webcatalog.py'
--- src/webcatalog/templatetags/webcatalog.py 2011-08-15 11:24:19 +0000
+++ src/webcatalog/templatetags/webcatalog.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Custom template tags for the webcatalog app."""18"""Custom template tags for the Apps Directory."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/tests/__init__.py'
--- src/webcatalog/tests/__init__.py 2011-07-28 20:39:00 +0000
+++ src/webcatalog/tests/__init__.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/tests/factory.py'
--- src/webcatalog/tests/factory.py 2011-08-09 19:48:37 +0000
+++ src/webcatalog/tests/factory.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/tests/helpers.py'
--- src/webcatalog/tests/helpers.py 2011-06-27 14:26:40 +0000
+++ src/webcatalog/tests/helpers.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Helpers for testing the web catalog."""18"""Helpers for testing the Apps Directory."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/tests/test_api.py'
--- src/webcatalog/tests/test_api.py 2011-07-29 15:57:17 +0000
+++ src/webcatalog/tests/test_api.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""WebCatalog API tests."""18"""Apps Directory API tests."""
1919
20from __future__ import absolute_import20from __future__ import absolute_import
2121
2222
=== modified file 'src/webcatalog/tests/test_commands.py'
--- src/webcatalog/tests/test_commands.py 2011-08-09 19:23:03 +0000
+++ src/webcatalog/tests/test_commands.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Test cases for the web catalog management commands."""18"""Test cases for the Apps Directory management commands."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/tests/test_department_filters.py'
--- src/webcatalog/tests/test_department_filters.py 2011-04-13 02:24:17 +0000
+++ src/webcatalog/tests/test_department_filters.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/tests/test_forms.py'
--- src/webcatalog/tests/test_forms.py 2011-08-09 19:47:52 +0000
+++ src/webcatalog/tests/test_forms.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Test cases for the web catalog forms."""18"""Test cases for the Apps Directory forms."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/tests/test_handlers.py'
--- src/webcatalog/tests/test_handlers.py 2011-07-29 15:57:17 +0000
+++ src/webcatalog/tests/test_handlers.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Ubuntu Web Catalog handlers tests."""18"""Apps Directory handlers tests."""
1919
20from __future__ import absolute_import20from __future__ import absolute_import
2121
2222
=== modified file 'src/webcatalog/tests/test_models.py'
--- src/webcatalog/tests/test_models.py 2011-07-04 11:52:26 +0000
+++ src/webcatalog/tests/test_models.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
66
=== modified file 'src/webcatalog/tests/test_templatetags.py'
--- src/webcatalog/tests/test_templatetags.py 2011-07-21 13:38:37 +0000
+++ src/webcatalog/tests/test_templatetags.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Tests for the webcatalog template tags."""18"""Tests for the Apps Directory template tags."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/tests/test_utilities.py'
--- src/webcatalog/tests/test_utilities.py 2011-07-01 15:32:24 +0000
+++ src/webcatalog/tests/test_utilities.py 2011-09-12 18:55:18 +0000
@@ -1,3 +1,22 @@
1# -*- coding: utf-8 -*-
2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU Affero General Public License as
7# published by the Free Software Foundation, either version 3 of the
8# License, or (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU Affero General Public License for more details.
14#
15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18"""Tests for the Apps Directory utilities."""
19
1import os20import os
221
3from webcatalog.tests.factory import TestCaseWithFactory22from webcatalog.tests.factory import TestCaseWithFactory
423
=== modified file 'src/webcatalog/tests/test_views.py'
--- src/webcatalog/tests/test_views.py 2011-08-15 11:24:19 +0000
+++ src/webcatalog/tests/test_views.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Test cases for the Ubuntu web catalog views."""18"""Test cases for the Apps Directory views."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/urls.py'
--- src/webcatalog/urls.py 2011-07-07 20:54:45 +0000
+++ src/webcatalog/urls.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Url configuration for the Ubuntu Web Catalog."""18"""Url configuration for the Apps Directory."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/utilities.py'
--- src/webcatalog/utilities.py 2011-07-01 15:27:44 +0000
+++ src/webcatalog/utilities.py 2011-09-12 18:55:18 +0000
@@ -1,4 +1,5 @@
1# This file is part of the Ubuntu Web Catalog1# -*- coding: utf-8 -*-
2# This file is part of the Apps Directory
2# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
3#4#
4# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -14,7 +15,7 @@
14# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
15# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1617
17"""Utilities used by various modules of the web catalog."""18"""Utilities used by various modules of the Apps Directory."""
1819
1920
20from __future__ import absolute_import21from __future__ import absolute_import
2122
=== modified file 'src/webcatalog/views.py'
--- src/webcatalog/views.py 2011-07-07 20:54:45 +0000
+++ src/webcatalog/views.py 2011-09-12 18:55:18 +0000
@@ -1,5 +1,5 @@
1# -*- coding: utf-8 -*-1# -*- coding: utf-8 -*-
2# This file is part of the Ubuntu Web Catalog2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.3# Copyright (C) 2011 Canonical Ltd.
4#4#
5# This program is free software: you can redistribute it and/or modify5# This program is free software: you can redistribute it and/or modify
@@ -15,7 +15,7 @@
15# You should have received a copy of the GNU Affero General Public License15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.16# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717
18"""Views for the web catalog app."""18"""Views for the Apps Directory app."""
1919
20from __future__ import (20from __future__ import (
21 absolute_import,21 absolute_import,
2222
=== modified file 'src/webcatalog/wsgi.py'
--- src/webcatalog/wsgi.py 2011-06-20 20:52:04 +0000
+++ src/webcatalog/wsgi.py 2011-09-12 18:55:18 +0000
@@ -1,3 +1,22 @@
1# -*- coding: utf-8 -*-
2# This file is part of the Apps Directory
3# Copyright (C) 2011 Canonical Ltd.
4#
5# This program is free software: you can redistribute it and/or modify
6# it under the terms of the GNU Affero General Public License as
7# published by the Free Software Foundation, either version 3 of the
8# License, or (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU Affero General Public License for more details.
14#
15# You should have received a copy of the GNU Affero General Public License
16# along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18"""wsgi stack for the Apps Directory."""
19
1import logging.config20import logging.config
2import platform21import platform
322

Subscribers

People subscribed via source and target branches