Merge lp:~elachuni/ubuntu-webcatalog/name-change into lp:ubuntu-webcatalog
- name-change
- Merge into trunk
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 |
Related bugs: |
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 : | # |
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
1 | === modified file 'LICENSE' |
2 | --- LICENSE 2011-04-12 14:02:57 +0000 |
3 | +++ LICENSE 2011-09-12 18:55:18 +0000 |
4 | @@ -1,7 +1,7 @@ |
5 | -Ubuntu-Webcatalog is Copyright 2011 Canonical Ltd. |
6 | +Apps Directory is Copyright 2011 Canonical Ltd. |
7 | |
8 | Canonical Ltd ("Canonical") distributes the source code for the |
9 | -Ubuntu Webcatalog under the GNU Affero General Public |
10 | +Apps Directory under the GNU Affero General Public |
11 | License, version 3 ("AGPLv3"). The full text of this licence is |
12 | given below. |
13 | |
14 | |
15 | === modified file 'debian/control' |
16 | --- debian/control 2011-07-27 08:54:23 +0000 |
17 | +++ debian/control 2011-09-12 18:55:18 +0000 |
18 | @@ -26,5 +26,5 @@ |
19 | python-wsgi-oops, |
20 | python-apt, |
21 | python-ubuntu-rnr-client |
22 | -Description: Ubuntu Web Catalog |
23 | +Description: Apps Directory |
24 | Providing web access to the Ubuntu Software Center. |
25 | |
26 | === modified file 'django_project/config/main.cfg' |
27 | --- django_project/config/main.cfg 2011-08-10 18:58:04 +0000 |
28 | +++ django_project/config/main.cfg 2011-09-12 18:55:18 +0000 |
29 | @@ -99,3 +99,9 @@ |
30 | |
31 | [rnr] |
32 | rnr_service_root = http://reviews.ubuntu.com/reviews/api/1.0 |
33 | + |
34 | +[sso_api] |
35 | +sso_api_service_root = https://login.staging.ubuntu.com/api/1.0 |
36 | +sso_api_auth_username = insert-your-sso-api-username-here |
37 | +sso_api_auth_password = insert-your-sso-api-password-here |
38 | +sso_auth_mode_no_ubuntu_sso_plaintext_only = True |
39 | |
40 | === modified file 'fabtasks/__init__.py' |
41 | --- fabtasks/__init__.py 2011-04-07 08:57:13 +0000 |
42 | +++ fabtasks/__init__.py 2011-09-12 18:55:18 +0000 |
43 | @@ -1,5 +1,5 @@ |
44 | # -*- coding: utf-8 -*- |
45 | -# This file is part of Ubuntu web catalog |
46 | +# This file is part of Apps Directory |
47 | # Copyright (C) 2011 Canonical Ltd. |
48 | # |
49 | # This program is free software: you can redistribute it and/or modify |
50 | |
51 | === modified file 'fabtasks/bootstrap.py' |
52 | --- fabtasks/bootstrap.py 2011-07-19 15:44:09 +0000 |
53 | +++ fabtasks/bootstrap.py 2011-09-12 18:55:18 +0000 |
54 | @@ -1,5 +1,5 @@ |
55 | # -*- coding: utf-8 -*- |
56 | -# This file is part of Ubuntu web catalog |
57 | +# This file is part of Apps Directory |
58 | # Copyright (C) 2011 Canonical Ltd. |
59 | # |
60 | # This program is free software: you can redistribute it and/or modify |
61 | |
62 | === modified file 'fabtasks/django.py' |
63 | --- fabtasks/django.py 2011-07-07 13:08:38 +0000 |
64 | +++ fabtasks/django.py 2011-09-12 18:55:18 +0000 |
65 | @@ -1,5 +1,5 @@ |
66 | # -*- coding: utf-8 -*- |
67 | -# This file is part of Ubuntu web catalog |
68 | +# This file is part of Apps Directory |
69 | # Copyright (C) 2011 Canonical Ltd. |
70 | # |
71 | # This program is free software: you can redistribute it and/or modify |
72 | |
73 | === modified file 'fabtasks/upgrade_from_package.py' |
74 | --- fabtasks/upgrade_from_package.py 2011-06-20 20:41:36 +0000 |
75 | +++ fabtasks/upgrade_from_package.py 2011-09-12 18:55:18 +0000 |
76 | @@ -1,5 +1,5 @@ |
77 | # -*- coding: utf-8 -*- |
78 | -# This file is part of Ubuntu web catalog |
79 | +# This file is part of Apps Directory |
80 | # Copyright (C) 2011 Canonical Ltd. |
81 | # |
82 | # This program is free software: you can redistribute it and/or modify |
83 | |
84 | === modified file 'src/webcatalog/__init__.py' |
85 | --- src/webcatalog/__init__.py 2011-06-17 15:33:40 +0000 |
86 | +++ src/webcatalog/__init__.py 2011-09-12 18:55:18 +0000 |
87 | @@ -1,1 +1,18 @@ |
88 | +# -*- coding: utf-8 -*- |
89 | +# This file is part of the Apps Directory |
90 | +# Copyright (C) 2011 Canonical Ltd. |
91 | +# |
92 | +# This program is free software: you can redistribute it and/or modify |
93 | +# it under the terms of the GNU Affero General Public License as |
94 | +# published by the Free Software Foundation, either version 3 of the |
95 | +# License, or (at your option) any later version. |
96 | +# |
97 | +# This program is distributed in the hope that it will be useful, |
98 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
99 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
100 | +# GNU Affero General Public License for more details. |
101 | +# |
102 | +# You should have received a copy of the GNU Affero General Public License |
103 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
104 | + |
105 | __version__ = '0.1-1; r19' |
106 | |
107 | === modified file 'src/webcatalog/admin.py' |
108 | --- src/webcatalog/admin.py 2011-07-20 21:30:25 +0000 |
109 | +++ src/webcatalog/admin.py 2011-09-12 18:55:18 +0000 |
110 | @@ -1,5 +1,5 @@ |
111 | # -*- coding: utf-8 -*- |
112 | -# This file is part of the Ubuntu Web Catalog |
113 | +# This file is part of the Apps Directory |
114 | # Copyright (C) 2011 Canonical Ltd. |
115 | # |
116 | # This program is free software: you can redistribute it and/or modify |
117 | @@ -15,7 +15,7 @@ |
118 | # You should have received a copy of the GNU Affero General Public License |
119 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
120 | |
121 | -"""Admin classes for the web catalog app.""" |
122 | +"""Admin classes for the Apps Directory.""" |
123 | |
124 | from __future__ import ( |
125 | absolute_import, |
126 | |
127 | === modified file 'src/webcatalog/api/__init__.py' |
128 | --- src/webcatalog/api/__init__.py 2011-06-27 16:31:36 +0000 |
129 | +++ src/webcatalog/api/__init__.py 2011-09-12 18:55:18 +0000 |
130 | @@ -1,4 +1,4 @@ |
131 | -# This file is part of the Ubuntu Web Catalog |
132 | +# This file is part of the Apps Directory |
133 | # Copyright (C) 2011 Canonical Ltd. |
134 | # |
135 | # This program is free software: you can redistribute it and/or modify |
136 | |
137 | === modified file 'src/webcatalog/api/forms.py' |
138 | --- src/webcatalog/api/forms.py 2011-07-27 16:44:52 +0000 |
139 | +++ src/webcatalog/api/forms.py 2011-09-12 18:55:18 +0000 |
140 | @@ -1,5 +1,5 @@ |
141 | # -*- coding: utf-8 -*- |
142 | -# This file is part of the Ubuntu Web Catalog |
143 | +# This file is part of the Apps Directory |
144 | # Copyright (C) 2011 Canonical Ltd. |
145 | # |
146 | # This program is free software: you can redistribute it and/or modify |
147 | @@ -15,7 +15,7 @@ |
148 | # You should have received a copy of the GNU Affero General Public License |
149 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
150 | |
151 | -"""Forms for using within the Ubuntu Web Catalog API.""" |
152 | +"""Forms for using within the Apps Directory API.""" |
153 | |
154 | from __future__ import absolute_import |
155 | |
156 | |
157 | === modified file 'src/webcatalog/api/handlers.py' |
158 | --- src/webcatalog/api/handlers.py 2011-07-29 15:57:17 +0000 |
159 | +++ src/webcatalog/api/handlers.py 2011-09-12 18:55:18 +0000 |
160 | @@ -1,5 +1,5 @@ |
161 | # -*- coding: utf-8 -*- |
162 | -# This file is part of the Ubuntu Web Catalog |
163 | +# This file is part of the Apps Directory |
164 | # Copyright (C) 2011 Canonical Ltd. |
165 | # |
166 | # This program is free software: you can redistribute it and/or modify |
167 | @@ -15,7 +15,7 @@ |
168 | # You should have received a copy of the GNU Affero General Public License |
169 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
170 | |
171 | -"""Piston handlers for the Ubuntu Web Catalog API.""" |
172 | +"""Piston handlers for the Apps Directory API.""" |
173 | |
174 | from __future__ import absolute_import |
175 | |
176 | |
177 | === modified file 'src/webcatalog/api/urls.py' |
178 | --- src/webcatalog/api/urls.py 2011-07-28 18:49:26 +0000 |
179 | +++ src/webcatalog/api/urls.py 2011-09-12 18:55:18 +0000 |
180 | @@ -1,4 +1,4 @@ |
181 | -# This file is part of the Ubuntu Web Catalog |
182 | +# This file is part of the Apps Directory |
183 | # Copyright (C) 2011 Canonical Ltd. |
184 | # |
185 | # This program is free software: you can redistribute it and/or modify |
186 | @@ -25,7 +25,7 @@ |
187 | ) |
188 | from webcatalog.auth import SSOOAuthAuthentication |
189 | |
190 | -auth = SSOOAuthAuthentication(realm="Ubuntu Web Catalog") |
191 | +auth = SSOOAuthAuthentication(realm="Ubuntu Apps Directory") |
192 | |
193 | class CSRFExemptResource(Resource): |
194 | """A Custom Resource that is csrf exempt""" |
195 | |
196 | === modified file 'src/webcatalog/auth.py' |
197 | --- src/webcatalog/auth.py 2011-06-27 16:31:36 +0000 |
198 | +++ src/webcatalog/auth.py 2011-09-12 18:55:18 +0000 |
199 | @@ -1,4 +1,5 @@ |
200 | -# This file is part of the Ubuntu Web Catalog |
201 | +# -*- coding: utf-8 -*- |
202 | +# This file is part of the Apps Directory |
203 | # Copyright (C) 2011 Canonical Ltd. |
204 | # |
205 | # This program is free software: you can redistribute it and/or modify |
206 | |
207 | === modified file 'src/webcatalog/context_processors.py' |
208 | --- src/webcatalog/context_processors.py 2011-06-29 09:24:48 +0000 |
209 | +++ src/webcatalog/context_processors.py 2011-09-12 18:55:18 +0000 |
210 | @@ -1,5 +1,5 @@ |
211 | # -*- coding: utf-8 -*- |
212 | -# This file is part of the Ubuntu Web Catalog |
213 | +# This file is part of the Apps Directory |
214 | # Copyright (C) 2011 Canonical Ltd. |
215 | # |
216 | # This program is free software: you can redistribute it and/or modify |
217 | @@ -15,7 +15,7 @@ |
218 | # You should have received a copy of the GNU Affero General Public License |
219 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
220 | |
221 | -"""Context processors web catalog app.""" |
222 | +"""Context processors for the Apps Directory.""" |
223 | |
224 | from django.conf import settings |
225 | |
226 | |
227 | === modified file 'src/webcatalog/department_filters.py' |
228 | --- src/webcatalog/department_filters.py 2011-04-19 18:46:21 +0000 |
229 | +++ src/webcatalog/department_filters.py 2011-09-12 18:55:18 +0000 |
230 | @@ -1,5 +1,5 @@ |
231 | # -*- coding: utf-8 -*- |
232 | -# This file is part of the Ubuntu Web Catalog |
233 | +# This file is part of the Apps Directory |
234 | # Copyright (C) 2011 Canonical Ltd. |
235 | # |
236 | # This program is free software: you can redistribute it and/or modify |
237 | |
238 | === modified file 'src/webcatalog/forms.py' |
239 | --- src/webcatalog/forms.py 2011-07-02 04:53:26 +0000 |
240 | +++ src/webcatalog/forms.py 2011-09-12 18:55:18 +0000 |
241 | @@ -1,5 +1,5 @@ |
242 | # -*- coding: utf-8 -*- |
243 | -# This file is part of the Ubuntu Web Catalog |
244 | +# This file is part of the Apps Directory |
245 | # Copyright (C) 2011 Canonical Ltd. |
246 | # |
247 | # This program is free software: you can redistribute it and/or modify |
248 | @@ -15,7 +15,7 @@ |
249 | # You should have received a copy of the GNU Affero General Public License |
250 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
251 | |
252 | -"""Forms used by the web catalog.""" |
253 | +"""Forms used by the Apps Directory.""" |
254 | |
255 | from __future__ import ( |
256 | absolute_import, |
257 | |
258 | === modified file 'src/webcatalog/management/commands/import_app_install_data.py' |
259 | --- src/webcatalog/management/commands/import_app_install_data.py 2011-07-19 11:59:10 +0000 |
260 | +++ src/webcatalog/management/commands/import_app_install_data.py 2011-09-12 18:55:18 +0000 |
261 | @@ -1,5 +1,5 @@ |
262 | # -*- coding: utf-8 -*- |
263 | -# This file is part of the Ubuntu Web Catalog |
264 | +# This file is part of the Apps Directory |
265 | # Copyright (C) 2011 Canonical Ltd. |
266 | # |
267 | # This program is free software: you can redistribute it and/or modify |
268 | |
269 | === modified file 'src/webcatalog/management/commands/import_for_purchase_apps.py' |
270 | --- src/webcatalog/management/commands/import_for_purchase_apps.py 2011-07-04 13:03:21 +0000 |
271 | +++ src/webcatalog/management/commands/import_for_purchase_apps.py 2011-09-12 18:55:18 +0000 |
272 | @@ -1,5 +1,5 @@ |
273 | # -*- coding: utf-8 -*- |
274 | -# This file is part of the Ubuntu Web Catalog |
275 | +# This file is part of the Apps Directory |
276 | # Copyright (C) 2011 Canonical Ltd. |
277 | # |
278 | # This program is free software: you can redistribute it and/or modify |
279 | |
280 | === modified file 'src/webcatalog/management/commands/import_ratings_stats.py' |
281 | --- src/webcatalog/management/commands/import_ratings_stats.py 2011-08-09 19:23:03 +0000 |
282 | +++ src/webcatalog/management/commands/import_ratings_stats.py 2011-09-12 18:55:18 +0000 |
283 | @@ -1,5 +1,5 @@ |
284 | # -*- coding: utf-8 -*- |
285 | -# This file is part of the Ubuntu Web Catalog |
286 | +# This file is part of the Apps Directory |
287 | # Copyright (C) 2011 Canonical Ltd. |
288 | # |
289 | # This program is free software: you can redistribute it and/or modify |
290 | |
291 | === modified file 'src/webcatalog/middleware/exception.py' |
292 | --- src/webcatalog/middleware/exception.py 2011-06-18 23:17:11 +0000 |
293 | +++ src/webcatalog/middleware/exception.py 2011-09-12 18:55:18 +0000 |
294 | @@ -1,5 +1,5 @@ |
295 | # -*- coding: utf-8 -*- |
296 | -# This file is part of the Ubuntu Web Catalog |
297 | +# This file is part of the Apps Directory |
298 | # Copyright (C) 2011 Canonical Ltd. |
299 | # |
300 | # This program is free software: you can redistribute it and/or modify |
301 | @@ -15,7 +15,7 @@ |
302 | # You should have received a copy of the GNU Affero General Public License |
303 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
304 | |
305 | -"""Exception logging middleware for the web catalog app.""" |
306 | +"""Exception logging middleware for the Apps Directory.""" |
307 | |
308 | import logging |
309 | import re |
310 | |
311 | === modified file 'src/webcatalog/models/__init__.py' |
312 | --- src/webcatalog/models/__init__.py 2011-07-27 16:52:06 +0000 |
313 | +++ src/webcatalog/models/__init__.py 2011-09-12 18:55:18 +0000 |
314 | @@ -1,4 +1,4 @@ |
315 | -# This file is part of the Ubuntu Web Catalog |
316 | +# This file is part of the Apps Directory |
317 | # Copyright (C) 2011 Canonical Ltd. |
318 | # |
319 | # This program is free software: you can redistribute it and/or modify |
320 | |
321 | === modified file 'src/webcatalog/models/applications.py' |
322 | --- src/webcatalog/models/applications.py 2011-08-09 19:47:52 +0000 |
323 | +++ src/webcatalog/models/applications.py 2011-09-12 18:55:18 +0000 |
324 | @@ -1,5 +1,5 @@ |
325 | # -*- coding: utf-8 -*- |
326 | -# This file is part of the Ubuntu Web Catalog |
327 | +# This file is part of the Apps Directory |
328 | # Copyright (C) 2011 Canonical Ltd. |
329 | # |
330 | # This program is free software: you can redistribute it and/or modify |
331 | |
332 | === modified file 'src/webcatalog/models/oauthtoken.py' |
333 | --- src/webcatalog/models/oauthtoken.py 2011-07-28 20:39:00 +0000 |
334 | +++ src/webcatalog/models/oauthtoken.py 2011-09-12 18:55:18 +0000 |
335 | @@ -1,4 +1,4 @@ |
336 | -# This file is part of the Ubuntu Web Catalog |
337 | +# This file is part of the Apps Directory |
338 | # Copyright (C) 2011 Canonical Ltd. |
339 | # |
340 | # This program is free software: you can redistribute it and/or modify |
341 | |
342 | === modified file 'src/webcatalog/schema.py' |
343 | --- src/webcatalog/schema.py 2011-07-28 20:39:00 +0000 |
344 | +++ src/webcatalog/schema.py 2011-09-12 18:55:18 +0000 |
345 | @@ -1,3 +1,22 @@ |
346 | +# -*- coding: utf-8 -*- |
347 | +# This file is part of the Apps Directory |
348 | +# Copyright (C) 2011 Canonical Ltd. |
349 | +# |
350 | +# This program is free software: you can redistribute it and/or modify |
351 | +# it under the terms of the GNU Affero General Public License as |
352 | +# published by the Free Software Foundation, either version 3 of the |
353 | +# License, or (at your option) any later version. |
354 | +# |
355 | +# This program is distributed in the hope that it will be useful, |
356 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
357 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
358 | +# GNU Affero General Public License for more details. |
359 | +# |
360 | +# You should have received a copy of the GNU Affero General Public License |
361 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
362 | + |
363 | +"""configglue schema for the Apps Directory.""" |
364 | + |
365 | import django |
366 | |
367 | from configglue.pyschema import ConfigSection |
368 | @@ -8,20 +27,9 @@ |
369 | LinesConfigOption, |
370 | StringConfigOption, |
371 | ) |
372 | -from django_configglue.schema import ( |
373 | - Django112Schema, |
374 | - schemas, |
375 | - ) |
376 | +from django_configglue.schema import schemas |
377 | |
378 | -# Currently we've updated to latest configglue/django-configglue |
379 | -# but they remove a registered schema for django 1.1.1, which is |
380 | -# the currently installed django version on our servers, resulting in: |
381 | -# http://razorgirl.info/job/software-center-agent-deploy/23/console |
382 | -# So we register the 112 schema to match until we upgrade. Once we |
383 | -# upgraded this should still work without updating (as the version |
384 | -# will be 1.3). |
385 | -schemas.register(Django112Schema, '1.1.1') |
386 | -DjangoSchema = schemas.get(django.get_version()) |
387 | +DjangoSchema = schemas.get('1.3') |
388 | |
389 | |
390 | class WebCatalogSchema(DjangoSchema): |
391 | @@ -67,3 +75,11 @@ |
392 | rnr = ConfigSection() |
393 | rnr.rnr_service_root = StringConfigOption( |
394 | default="http://reviews.ubuntu.com/reviews/api/1.0") |
395 | + |
396 | + sso_api = ConfigSection() |
397 | + sso_api.sso_api_service_root = StringConfigOption() |
398 | + sso_api.sso_api_auth_username = StringConfigOption() |
399 | + sso_api.sso_api_auth_password = StringConfigOption() |
400 | + sso_api.sso_api_identity_prefix = StringConfigOption() |
401 | + sso_api.sso_auth_mode_no_ubuntu_sso_plaintext_only = BoolConfigOption() |
402 | + sso_api.token_cache_expiry_hours = IntConfigOption(default=4) |
403 | |
404 | === modified file 'src/webcatalog/templates/webcatalog/department_overview.html' |
405 | --- src/webcatalog/templates/webcatalog/department_overview.html 2011-07-20 15:27:06 +0000 |
406 | +++ src/webcatalog/templates/webcatalog/department_overview.html 2011-09-12 18:55:18 +0000 |
407 | @@ -1,8 +1,8 @@ |
408 | {% extends "webcatalog/base.html" %} |
409 | {% load i18n %} |
410 | |
411 | -{% block title %}{% trans "Ubuntu web catalog" %} — {{ dept.name }}{% endblock %} |
412 | -{% block header %}{% trans "Ubuntu web catalog" %} — {{ dept.name }}{% endblock %} |
413 | +{% block title %}{% trans "Ubuntu Apps Directory" %} — {{ dept.name }}{% endblock %} |
414 | +{% block header %}{% trans "Ubuntu Apps Directory" %} — {{ dept.name }}{% endblock %} |
415 | |
416 | {% block content %} |
417 | {% include "webcatalog/breadcrumbs_snippet.html" %} |
418 | |
419 | === modified file 'src/webcatalog/templates/webcatalog/index.html' |
420 | --- src/webcatalog/templates/webcatalog/index.html 2011-06-23 14:51:21 +0000 |
421 | +++ src/webcatalog/templates/webcatalog/index.html 2011-09-12 18:55:18 +0000 |
422 | @@ -1,8 +1,8 @@ |
423 | {% extends "webcatalog/base.html" %} |
424 | {% load i18n %} |
425 | |
426 | -{% block title %}{% trans "Ubuntu web catalog" %}{% endblock %} |
427 | -{% block header %}{% trans "Ubuntu web catalog" %}{% endblock %} |
428 | +{% block title %}{% trans "Ubuntu Apps Directory" %}{% endblock %} |
429 | +{% block header %}{% trans "Ubuntu Apps Directory" %}{% endblock %} |
430 | {% block search %}{% endblock %} |
431 | |
432 | {% block content %} |
433 | |
434 | === modified file 'src/webcatalog/templatetags/webcatalog.py' |
435 | --- src/webcatalog/templatetags/webcatalog.py 2011-08-15 11:24:19 +0000 |
436 | +++ src/webcatalog/templatetags/webcatalog.py 2011-09-12 18:55:18 +0000 |
437 | @@ -1,5 +1,5 @@ |
438 | # -*- coding: utf-8 -*- |
439 | -# This file is part of the Ubuntu Web Catalog |
440 | +# This file is part of the Apps Directory |
441 | # Copyright (C) 2011 Canonical Ltd. |
442 | # |
443 | # This program is free software: you can redistribute it and/or modify |
444 | @@ -15,7 +15,7 @@ |
445 | # You should have received a copy of the GNU Affero General Public License |
446 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
447 | |
448 | -"""Custom template tags for the webcatalog app.""" |
449 | +"""Custom template tags for the Apps Directory.""" |
450 | |
451 | from __future__ import ( |
452 | absolute_import, |
453 | |
454 | === modified file 'src/webcatalog/tests/__init__.py' |
455 | --- src/webcatalog/tests/__init__.py 2011-07-28 20:39:00 +0000 |
456 | +++ src/webcatalog/tests/__init__.py 2011-09-12 18:55:18 +0000 |
457 | @@ -1,5 +1,5 @@ |
458 | # -*- coding: utf-8 -*- |
459 | -# This file is part of the Ubuntu Web Catalog |
460 | +# This file is part of the Apps Directory |
461 | # Copyright (C) 2011 Canonical Ltd. |
462 | # |
463 | # This program is free software: you can redistribute it and/or modify |
464 | |
465 | === modified file 'src/webcatalog/tests/factory.py' |
466 | --- src/webcatalog/tests/factory.py 2011-08-09 19:48:37 +0000 |
467 | +++ src/webcatalog/tests/factory.py 2011-09-12 18:55:18 +0000 |
468 | @@ -1,5 +1,5 @@ |
469 | # -*- coding: utf-8 -*- |
470 | -# This file is part of the Ubuntu Web Catalog |
471 | +# This file is part of the Apps Directory |
472 | # Copyright (C) 2011 Canonical Ltd. |
473 | # |
474 | # This program is free software: you can redistribute it and/or modify |
475 | |
476 | === modified file 'src/webcatalog/tests/helpers.py' |
477 | --- src/webcatalog/tests/helpers.py 2011-06-27 14:26:40 +0000 |
478 | +++ src/webcatalog/tests/helpers.py 2011-09-12 18:55:18 +0000 |
479 | @@ -1,5 +1,5 @@ |
480 | # -*- coding: utf-8 -*- |
481 | -# This file is part of the Ubuntu Web Catalog |
482 | +# This file is part of the Apps Directory |
483 | # Copyright (C) 2011 Canonical Ltd. |
484 | # |
485 | # This program is free software: you can redistribute it and/or modify |
486 | @@ -15,7 +15,7 @@ |
487 | # You should have received a copy of the GNU Affero General Public License |
488 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
489 | |
490 | -"""Helpers for testing the web catalog.""" |
491 | +"""Helpers for testing the Apps Directory.""" |
492 | |
493 | from __future__ import ( |
494 | absolute_import, |
495 | |
496 | === modified file 'src/webcatalog/tests/test_api.py' |
497 | --- src/webcatalog/tests/test_api.py 2011-07-29 15:57:17 +0000 |
498 | +++ src/webcatalog/tests/test_api.py 2011-09-12 18:55:18 +0000 |
499 | @@ -1,5 +1,5 @@ |
500 | # -*- coding: utf-8 -*- |
501 | -# This file is part of the Ubuntu Web Catalog |
502 | +# This file is part of the Apps Directory |
503 | # Copyright (C) 2011 Canonical Ltd. |
504 | # |
505 | # This program is free software: you can redistribute it and/or modify |
506 | @@ -15,7 +15,7 @@ |
507 | # You should have received a copy of the GNU Affero General Public License |
508 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
509 | |
510 | -"""WebCatalog API tests.""" |
511 | +"""Apps Directory API tests.""" |
512 | |
513 | from __future__ import absolute_import |
514 | |
515 | |
516 | === modified file 'src/webcatalog/tests/test_commands.py' |
517 | --- src/webcatalog/tests/test_commands.py 2011-08-09 19:23:03 +0000 |
518 | +++ src/webcatalog/tests/test_commands.py 2011-09-12 18:55:18 +0000 |
519 | @@ -1,5 +1,5 @@ |
520 | # -*- coding: utf-8 -*- |
521 | -# This file is part of the Ubuntu Web Catalog |
522 | +# This file is part of the Apps Directory |
523 | # Copyright (C) 2011 Canonical Ltd. |
524 | # |
525 | # This program is free software: you can redistribute it and/or modify |
526 | @@ -15,7 +15,7 @@ |
527 | # You should have received a copy of the GNU Affero General Public License |
528 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
529 | |
530 | -"""Test cases for the web catalog management commands.""" |
531 | +"""Test cases for the Apps Directory management commands.""" |
532 | |
533 | from __future__ import ( |
534 | absolute_import, |
535 | |
536 | === modified file 'src/webcatalog/tests/test_department_filters.py' |
537 | --- src/webcatalog/tests/test_department_filters.py 2011-04-13 02:24:17 +0000 |
538 | +++ src/webcatalog/tests/test_department_filters.py 2011-09-12 18:55:18 +0000 |
539 | @@ -1,5 +1,5 @@ |
540 | # -*- coding: utf-8 -*- |
541 | -# This file is part of the Ubuntu Web Catalog |
542 | +# This file is part of the Apps Directory |
543 | # Copyright (C) 2011 Canonical Ltd. |
544 | # |
545 | # This program is free software: you can redistribute it and/or modify |
546 | |
547 | === modified file 'src/webcatalog/tests/test_forms.py' |
548 | --- src/webcatalog/tests/test_forms.py 2011-08-09 19:47:52 +0000 |
549 | +++ src/webcatalog/tests/test_forms.py 2011-09-12 18:55:18 +0000 |
550 | @@ -1,5 +1,5 @@ |
551 | # -*- coding: utf-8 -*- |
552 | -# This file is part of the Ubuntu Web Catalog |
553 | +# This file is part of the Apps Directory |
554 | # Copyright (C) 2011 Canonical Ltd. |
555 | # |
556 | # This program is free software: you can redistribute it and/or modify |
557 | @@ -15,7 +15,7 @@ |
558 | # You should have received a copy of the GNU Affero General Public License |
559 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
560 | |
561 | -"""Test cases for the web catalog forms.""" |
562 | +"""Test cases for the Apps Directory forms.""" |
563 | |
564 | from __future__ import ( |
565 | absolute_import, |
566 | |
567 | === modified file 'src/webcatalog/tests/test_handlers.py' |
568 | --- src/webcatalog/tests/test_handlers.py 2011-07-29 15:57:17 +0000 |
569 | +++ src/webcatalog/tests/test_handlers.py 2011-09-12 18:55:18 +0000 |
570 | @@ -1,5 +1,5 @@ |
571 | # -*- coding: utf-8 -*- |
572 | -# This file is part of the Ubuntu Web Catalog |
573 | +# This file is part of the Apps Directory |
574 | # Copyright (C) 2011 Canonical Ltd. |
575 | # |
576 | # This program is free software: you can redistribute it and/or modify |
577 | @@ -15,7 +15,7 @@ |
578 | # You should have received a copy of the GNU Affero General Public License |
579 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
580 | |
581 | -"""Ubuntu Web Catalog handlers tests.""" |
582 | +"""Apps Directory handlers tests.""" |
583 | |
584 | from __future__ import absolute_import |
585 | |
586 | |
587 | === modified file 'src/webcatalog/tests/test_models.py' |
588 | --- src/webcatalog/tests/test_models.py 2011-07-04 11:52:26 +0000 |
589 | +++ src/webcatalog/tests/test_models.py 2011-09-12 18:55:18 +0000 |
590 | @@ -1,5 +1,5 @@ |
591 | # -*- coding: utf-8 -*- |
592 | -# This file is part of the Ubuntu Web Catalog |
593 | +# This file is part of the Apps Directory |
594 | # Copyright (C) 2011 Canonical Ltd. |
595 | # |
596 | # This program is free software: you can redistribute it and/or modify |
597 | |
598 | === modified file 'src/webcatalog/tests/test_templatetags.py' |
599 | --- src/webcatalog/tests/test_templatetags.py 2011-07-21 13:38:37 +0000 |
600 | +++ src/webcatalog/tests/test_templatetags.py 2011-09-12 18:55:18 +0000 |
601 | @@ -1,5 +1,5 @@ |
602 | # -*- coding: utf-8 -*- |
603 | -# This file is part of the Ubuntu Web Catalog |
604 | +# This file is part of the Apps Directory |
605 | # Copyright (C) 2011 Canonical Ltd. |
606 | # |
607 | # This program is free software: you can redistribute it and/or modify |
608 | @@ -15,7 +15,7 @@ |
609 | # You should have received a copy of the GNU Affero General Public License |
610 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
611 | |
612 | -"""Tests for the webcatalog template tags.""" |
613 | +"""Tests for the Apps Directory template tags.""" |
614 | |
615 | from __future__ import ( |
616 | absolute_import, |
617 | |
618 | === modified file 'src/webcatalog/tests/test_utilities.py' |
619 | --- src/webcatalog/tests/test_utilities.py 2011-07-01 15:32:24 +0000 |
620 | +++ src/webcatalog/tests/test_utilities.py 2011-09-12 18:55:18 +0000 |
621 | @@ -1,3 +1,22 @@ |
622 | +# -*- coding: utf-8 -*- |
623 | +# This file is part of the Apps Directory |
624 | +# Copyright (C) 2011 Canonical Ltd. |
625 | +# |
626 | +# This program is free software: you can redistribute it and/or modify |
627 | +# it under the terms of the GNU Affero General Public License as |
628 | +# published by the Free Software Foundation, either version 3 of the |
629 | +# License, or (at your option) any later version. |
630 | +# |
631 | +# This program is distributed in the hope that it will be useful, |
632 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
633 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
634 | +# GNU Affero General Public License for more details. |
635 | +# |
636 | +# You should have received a copy of the GNU Affero General Public License |
637 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
638 | + |
639 | +"""Tests for the Apps Directory utilities.""" |
640 | + |
641 | import os |
642 | |
643 | from webcatalog.tests.factory import TestCaseWithFactory |
644 | |
645 | === modified file 'src/webcatalog/tests/test_views.py' |
646 | --- src/webcatalog/tests/test_views.py 2011-08-15 11:24:19 +0000 |
647 | +++ src/webcatalog/tests/test_views.py 2011-09-12 18:55:18 +0000 |
648 | @@ -1,5 +1,5 @@ |
649 | # -*- coding: utf-8 -*- |
650 | -# This file is part of the Ubuntu Web Catalog |
651 | +# This file is part of the Apps Directory |
652 | # Copyright (C) 2011 Canonical Ltd. |
653 | # |
654 | # This program is free software: you can redistribute it and/or modify |
655 | @@ -15,7 +15,7 @@ |
656 | # You should have received a copy of the GNU Affero General Public License |
657 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
658 | |
659 | -"""Test cases for the Ubuntu web catalog views.""" |
660 | +"""Test cases for the Apps Directory views.""" |
661 | |
662 | from __future__ import ( |
663 | absolute_import, |
664 | |
665 | === modified file 'src/webcatalog/urls.py' |
666 | --- src/webcatalog/urls.py 2011-07-07 20:54:45 +0000 |
667 | +++ src/webcatalog/urls.py 2011-09-12 18:55:18 +0000 |
668 | @@ -1,5 +1,5 @@ |
669 | # -*- coding: utf-8 -*- |
670 | -# This file is part of the Ubuntu Web Catalog |
671 | +# This file is part of the Apps Directory |
672 | # Copyright (C) 2011 Canonical Ltd. |
673 | # |
674 | # This program is free software: you can redistribute it and/or modify |
675 | @@ -15,7 +15,7 @@ |
676 | # You should have received a copy of the GNU Affero General Public License |
677 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
678 | |
679 | -"""Url configuration for the Ubuntu Web Catalog.""" |
680 | +"""Url configuration for the Apps Directory.""" |
681 | |
682 | from __future__ import ( |
683 | absolute_import, |
684 | |
685 | === modified file 'src/webcatalog/utilities.py' |
686 | --- src/webcatalog/utilities.py 2011-07-01 15:27:44 +0000 |
687 | +++ src/webcatalog/utilities.py 2011-09-12 18:55:18 +0000 |
688 | @@ -1,4 +1,5 @@ |
689 | -# This file is part of the Ubuntu Web Catalog |
690 | +# -*- coding: utf-8 -*- |
691 | +# This file is part of the Apps Directory |
692 | # Copyright (C) 2011 Canonical Ltd. |
693 | # |
694 | # This program is free software: you can redistribute it and/or modify |
695 | @@ -14,7 +15,7 @@ |
696 | # You should have received a copy of the GNU Affero General Public License |
697 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
698 | |
699 | -"""Utilities used by various modules of the web catalog.""" |
700 | +"""Utilities used by various modules of the Apps Directory.""" |
701 | |
702 | |
703 | from __future__ import absolute_import |
704 | |
705 | === modified file 'src/webcatalog/views.py' |
706 | --- src/webcatalog/views.py 2011-07-07 20:54:45 +0000 |
707 | +++ src/webcatalog/views.py 2011-09-12 18:55:18 +0000 |
708 | @@ -1,5 +1,5 @@ |
709 | # -*- coding: utf-8 -*- |
710 | -# This file is part of the Ubuntu Web Catalog |
711 | +# This file is part of the Apps Directory |
712 | # Copyright (C) 2011 Canonical Ltd. |
713 | # |
714 | # This program is free software: you can redistribute it and/or modify |
715 | @@ -15,7 +15,7 @@ |
716 | # You should have received a copy of the GNU Affero General Public License |
717 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
718 | |
719 | -"""Views for the web catalog app.""" |
720 | +"""Views for the Apps Directory app.""" |
721 | |
722 | from __future__ import ( |
723 | absolute_import, |
724 | |
725 | === modified file 'src/webcatalog/wsgi.py' |
726 | --- src/webcatalog/wsgi.py 2011-06-20 20:52:04 +0000 |
727 | +++ src/webcatalog/wsgi.py 2011-09-12 18:55:18 +0000 |
728 | @@ -1,3 +1,22 @@ |
729 | +# -*- coding: utf-8 -*- |
730 | +# This file is part of the Apps Directory |
731 | +# Copyright (C) 2011 Canonical Ltd. |
732 | +# |
733 | +# This program is free software: you can redistribute it and/or modify |
734 | +# it under the terms of the GNU Affero General Public License as |
735 | +# published by the Free Software Foundation, either version 3 of the |
736 | +# License, or (at your option) any later version. |
737 | +# |
738 | +# This program is distributed in the hope that it will be useful, |
739 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
740 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
741 | +# GNU Affero General Public License for more details. |
742 | +# |
743 | +# You should have received a copy of the GNU Affero General Public License |
744 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
745 | + |
746 | +"""wsgi stack for the Apps Directory.""" |
747 | + |
748 | import logging.config |
749 | import platform |
750 |
{{{ /code.launchpad .net/~elachuni/ ubuntu- webcatalog/ name-change/ +merge/ 75011
16:32 < achuni> noodles: real quickie when you have a minute: https:/
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
}}}