- Mar 13, 2012
-
-
Gabriel Hurley authored
This allows moving the call to get authorized tenants out of the middleware (which was a wasteful call on many requests), and allows the value to be re-used anytime it's accessed more than once per request. Fixes bug 942074. Change-Id: Ic09b15adbffb16c0358bb28aec73345cc01834ad
-
- Mar 07, 2012
-
-
Gabriel Hurley authored
* Allow exceptions.handle to include user-defined exception types. Fixes bug 948536. * Adds a wrapper around the form/table header/table in the base _data_table.html template for easier targeting/styling. * Moves the rest of the main nav templating into a single template for easier customization. Fixes bug 948508. Change-Id: I045c29744ee01f60b080f2c1bbdc79ea5acf1b86
-
- Feb 29, 2012
-
-
Gabriel Hurley authored
There are no longer two separate projects living inside the horizon repository. There is a single project now with a single setup.py, single README, etc. The openstack-dashboard/dashboard django project is now named "openstack_dashboard" and lives as an example project in the topmost horizon directory. The "horizon/horizon" directory has been bumped up a level and now is directly on the path when the root horizon directory is on your python path. Javascript media which the horizon module directly relies upon now ships in the horizon/static dir rather than openstack-dashboard/dashboard/static. All the corresponding setup, installation, build, and env scripts have been updated accordingly. Implements blueprint unified-packaging. Change-Id: Ieed8e3c777432cd046c3e0298869a9428756ab62
-
Tihomir Trifonov authored
Fixes bug 929309 Note: The authentication logic is slightly changed - login_required decorator is replaced by a Horizon decorator, that raises NotAuthorized exception instead redirecting to login page. Then, all unauthorized requests are now handled by Horizon Middleware, and performs a check if the request is from ajax call(then returns error 401), otherwise - redirects to login page, persisting the requested page in ?next= variable. Change-Id: Ic90658bff2eabfe630b1f9912cf4a5aa45edf58e
-
- Feb 21, 2012
-
-
Paul McMillan authored
Added compatibility for Django 1.4, and removed an unused workaround. Change-Id: I11d3ed85408ddde4367dd611d8cc240da3a03292
-
- Feb 13, 2012
-
-
Gabriel Hurley authored
There are no longer any dependencies on settings for whether or not particular components are made available in the site. Implements blueprint toggle-features. Also fixes bug 929983, making the Horizon object a proper singleton and ensuring test isolation for the base horizon tests. Fixes a case where a missing service catalog would cause a 500 error. Fixes bug 930833, Change-Id: If19762afe75859e63aa7bd5128a6795655df2c90
-
- Feb 10, 2012
-
-
Emma Steimann authored
* fixes bug 916953 Change-Id: I44bdbb735fa1ac068c38997844591c8f256c62fb
-
- Jan 22, 2012
-
-
Gabriel Hurley authored
Change-Id: I31e1e8204062e3fd0a615940e837b52f930809a2
-
- Jan 16, 2012
-
-
Gabriel Hurley authored
Change-Id: I435a4cbca669a7fdb6fa9ac483984c3c5fb2a58d
-
- Jan 04, 2012
-
-
Zhongyue Luo authored
Fixes bug #911531 The None, True, and False values are singletons. All variable *comparisons* to singletons should use 'is' or 'is not'. All variable *evaluations* to boolean should use 'if' or 'if not'. All Object type comparisons should use isinstance() instead of comparing types directly Change-Id: Ie1b3e18bad22a2baeb79d50928267a4cac0a55e4
-
- Dec 09, 2011
-
-
Gabriel Hurley authored
Change-Id: I177ac498f9ca83ae866b1d7d1f7184a0c093d3be
-
- Dec 07, 2011
-
-
Gabriel Hurley authored
Fixed bug 900148. Change-Id: I2b1f6dab8b5a0e1edc59ff89f59f48a0391b9b10
-
- Dec 05, 2011
-
-
Gabriel Hurley authored
Change-Id: Ib0eaaef4885cc17a55e061f2d5f9bc25a305abfc
-
- Dec 04, 2011
-
-
Gabriel Hurley authored
Change-Id: I5025823a508e4c20df751b25a0e80a649f349c08
-
- Nov 23, 2011
-
-
Tres Henry authored
for tenants/projects. Change-Id: I505d22f808a34cf43921ebb716f599459f5c9095
-
- Nov 07, 2011
-
-
Gabriel Hurley authored
Implements blueprint extensible-architecture. Implements blueprint improve-dev-documentation. Implements blueprint gettext-everywhere. Implements blueprint sphinx-docs. Complete re-architecture of the dashboard to transform it from a standalone django-openstack app to a Horizon framework for building dashboards. See the docs for more information. Incidentally fixes the following bugs: Fixes bug 845868 -- no PEP8 violations. Fixes bug 766096 -- the dashboard can now be installed at any arbitrary URL. Fixes bug 879111 -- tenant id is now controlled solely by the tenant switcher, not the url (which was disregarded anyway) Fixes bug 794754 -- output of venv installation is considerably reduced. Due to the scale and scope of this patch I recommend reviewing it on github: https://github.com/gabrielhurley/horizon/tree/extensible_architecture Change-Id: I8e63f7ea235f904247df40c33cb66338d973df9e
-