horizon/openstack_dashboard
Timur Sufiev 5398de264d Enable Launch Instance NG for the case when Nova quotas are disabled
Do this by representing every float('inf') python numeric as a 1e+999
JSON token - this way Javascript JSON.parse() correctly transforms it
to the Javascript Infinity object. The infinity value corresponds to
disabled limits.

The logic of representing infinity values as 1e+999 tokens is
implemented by means of custom `NaNJSONEncoder` which overrides
`iterencode` method of its `json.JSONEncoder` ancestor. Due to the
fact that the ancestor method could take an advantage of
`c_make_encoder` function (which is implemented in C) - and thus could
be much faster, I'm using the custom encoder only where it's really
needed, to not hamper Horizon performance.

Rewrite pie-chart directive rendering according to
https://invis.io/A4445BDSF

Change-Id: If498d9ccd5f0144c9e78ae58583ede2c1cf83f0b
Closes-Bug: #1482705
2015-09-18 17:55:59 +03:00
..
api Enable Launch Instance NG for the case when Nova quotas are disabled 2015-09-18 17:55:59 +03:00
conf Adding policy check in quota call 2015-06-25 22:04:50 +00:00
contrib Fix bug preventing clusters to be created 2015-09-14 15:39:59 -03:00
dashboards Merge "Swap and ephemeral fields should be optional" 2015-09-16 20:34:25 +00:00
django_pyscss_fix Workaround for 'File exists' test failure 2014-09-30 06:43:22 -05:00
enabled [Sahara] Add support for event logs 2015-08-27 08:33:14 -06:00
local Merge "Add config setting to require keypair on instance create" 2015-09-04 04:51:10 +00:00
locale Imported Translations from Transifex 2015-09-03 06:13:14 +00:00
management Detect apache version 2015-04-03 09:51:05 +02:00
static Fix angular pie charts appearance 2015-09-16 20:47:38 +00:00
templates Revert "Fix broken header dropdowns" 2015-08-26 18:10:21 +00:00
templatetags Horizon Context Selection should be to the right 2015-08-14 10:48:45 -07:00
test Enable Launch Instance NG for the case when Nova quotas are disabled 2015-09-18 17:55:59 +03:00
themes Nav checkbox placement fix 2015-09-09 08:32:07 -06:00
usage Fix unhandled exceptions from cinder in quota code 2015-09-04 10:27:35 -05:00
utils Replace dict.iteritems() with six.iteritems(dict) 2015-07-24 12:20:56 +02:00
wsgi Update WSGI app creation to be compatible with Django 1.7 2014-10-16 13:57:45 +01:00
__init__.py
.eslintrc Add selective ESLint rule activation for Horizon Legacy JS 2015-07-08 17:06:15 -07:00
context_processors.py Fix bug where WEBROOT is not respected 2015-07-22 04:10:50 +00:00
exceptions.py Revert "Refactoring the exceptions lists" 2015-04-06 16:49:17 -05:00
hooks.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
karma.conf.js Added karma threshold reporting & failure 2015-08-20 17:07:08 +01:00
policy_backend.py Remove files from oslo-incubator 2015-06-16 01:35:34 +00:00
policy.py Moving policy engine implementation 2015-01-22 15:55:19 -07:00
settings.py Merge "SCSS $webroot should inherit from settings.py" 2015-08-28 09:15:53 +00:00
static_settings.py Theming Mechanism now supports 3rd party themes 2015-09-02 07:47:15 -07:00
urls.py Allow specifying authentication URLs from settings 2015-03-18 11:44:30 +11:00
views.py Redirect initial hit to login page 2015-03-13 15:14:23 +11:00