Commit Graph

47 Commits

Author SHA1 Message Date
Gabriel Hurley 9742842795 Re-architects the OpenStack Dashboard for modularity and extensibility.
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
2011-11-07 12:59:21 -08:00
Gabriel Hurley 93c670eb24 Migrates Horizon to use KeystoneClient
References blueprint novaclient-migration. Fixes bug 848399. As a bonus it also fixes bug 882784.

This merge moves Horizon off of openstackx and novaclient for authentication and keystone management. Instead it uses the new python-keystoneclient library.

Change-Id: Idce4410b473aa51539f2246e8d852a7fe0aeb349
2011-10-28 14:37:59 -07:00
Devin Carlen 4fd4a6afb2 Merge pull request #172 from jeffjapan/localization-fix2
Corrected localized format strings and updated internationalization files
2011-10-27 13:41:18 -07:00
Devin Carlen 11c7d20844 Fixed RAM quota to use MB instead of KB 2011-10-27 13:09:55 -07:00
jeffjapan cd6966cb04 Corrected localized format strings and updated internationalization files 2011-10-27 14:04:57 +09:00
Gabriel Hurley 5719b50ff3 Updates every usage of the messages framework with ugettext. 2011-10-26 14:14:27 -07:00
Gabriel Hurley 9c1f5410bb Internationalizes all form labels. 2011-10-26 13:58:54 -07:00
jeffjapan 425652f3be localized django-openstack views 2011-10-17 15:20:21 +09:00
Jake Dahn 6572902c5a fixed other nits 2011-09-30 15:20:26 -07:00
Jake Dahn cac45eb883 fixing style nits 2011-09-30 11:00:50 -07:00
Jake Dahn a5816d684d merging master 2011-09-30 10:43:33 -07:00
Jake Dahn 9f06bd040e adding delete form to index, so images owned by a user can be deleted by them 2011-09-30 10:42:41 -07:00
Jake Dahn ffd93c5334 adding edit/delete capability for owner of an image through the user dashboard 2011-09-30 10:42:41 -07:00
Jake Dahn 36544a8513 adding normalize_newline to userdata box on launch instances form 2011-09-28 16:04:38 -07:00
Gabriel Hurley cf115bf8ae Fixed Bug 849488 -- use log.exception instead of log.error. 2011-09-26 17:25:50 -07:00
Gabriel Hurley ebca6f7a6a Fixed issue 858649 on Launchpad -- Distinguishes between tenant name and tenant id.
The recent changes to keystone switched from sending the tenant id to sending the tenant name as "tenant", thus breaking various tenant-related calls. This patch differentiates the two and names them as separate attributes on request.user. It also switches to using novaclient for the api.tenant_quota_get function.
2011-09-26 14:39:03 -07:00
Devin Carlen 597ce86189 Fixed license headers 2011-09-19 14:51:10 -07:00
Jake Dahn dfc5ce85bd fixing keypair list in image launch page 2011-09-16 14:51:44 -07:00
Gabriel Hurley 3391957ff6 Renamed templates within their new directory structures to remove unnecessary duplication of information. Updated views and tests. Removed duplicate copy of _messages.html. All tests pass, click-through successful. 2011-09-14 14:15:34 -07:00
Gabriel Hurley 94c4b1ed83 Fixes bug #846771 on LaunchPad -- moves django_openstack templates out of openstack_dashboard and into directories in the django_openstack app grouped logically according to modules. Site-specific templates (not referenced by the django_openstack app) remain in the openstack_dashboard project. 2011-09-13 18:30:00 -07:00
Devin Carlen 495c815c54 Merge pull request #108 from heckj/pep8
pep8 cleanup
2011-09-12 15:39:32 -07:00
Joe Heck 9c4a04bb7e pep8 cleanup 2011-09-12 10:28:12 -07:00
Anthony Young 5908219179 use novaclient exceptions 2011-09-09 15:39:52 -07:00
Jake Dahn c889af9736 merging api.py 2011-08-30 16:55:06 -07:00
Mark Gius 28f0076933 Better error reporting for keystone errors
Add tests
2011-07-22 11:02:35 -07:00
Anthony Young 93511729df address mgius review comments 2011-07-19 11:51:04 -07:00
Anthony Young 093fe4f74f make tests pass again 2011-07-16 01:14:07 -07:00
termie 6b2c9d2b84 intermediate commit 2011-07-13 17:10:05 -07:00
termie dda978611d big ugly merge 2011-07-13 13:24:43 -07:00
Jake Dahn 10557dc50a fixing conflict 2011-07-11 13:57:39 -07:00
Jake Dahn c81089eaa3 adding relevant quota information to the image launch page 2011-07-09 00:26:31 -07:00
Jake Dahn 2cffb6bf3d attempting to get quota info on image launch page for user 2011-07-08 23:32:22 -07:00
Mark Gius babec8a0a5 Full unit test coverage of dash/views/images.py
Rebase commit messages follow:

This aught to fake keystone out

Full coverage of dashboard images views

Pep 8 fixes
2011-07-07 13:30:24 -07:00
Anthony Young 20e48bb3e7 improve error handling when keystone and other services are down 2011-07-06 12:24:17 -07:00
Devin Carlen 2c2f1b2319 Updated license headers 2011-07-03 20:55:00 -07:00
Mark Gius dca89b5375 That ought to do it. 2011-06-29 18:32:02 -07:00
Anthony Young aa3504dfde also allow underscores and dashes 2011-06-29 08:05:20 -07:00
Anthony Young bbbd0ff257 allow periods in group names 2011-06-29 00:13:15 -07:00
Mark Gius a46df8dbbe Totally out of band diff of improve_logging_again
improves logging in dashboard, mostly error logging.
Some informational and debugging
2011-06-28 11:29:29 -07:00
Anthony Young c921066598 fix paramater ordering in server_create 2011-06-27 18:11:25 -07:00
Anthony Young 4745c60faf make length requirement more lax 2011-06-25 23:05:28 -07:00
Anthony Young b1c51bbc47 order fields 2011-06-25 22:50:09 -07:00
Anthony Young 8087fb5d59 UI to add security groups 2011-06-25 22:42:26 -07:00
Anthony Young 33502c971f assorted cosmetic and ergonomic changes: Group terminated instances
on user dash.  Don't require keypair.
2011-06-24 23:20:34 -07:00
Anthony Young 83f82f8610 fix redirect on image launch 2011-06-22 14:50:45 -07:00
termie a960144e20 factor out api calls 2011-06-22 11:33:09 -07:00
termie 764efad3b6 move django_openstack out of src 2011-06-22 09:47:45 -07:00