903 Commits

Author SHA1 Message Date
Keiichi Hikita
6c13231096 Fix installation procedure due to lack of process.
Current installation procedure in README.rst and
doc/source/install/installation_contents.rst does not have
installation process of heat-dashboard itself.
I added above procedure by this review request.

Change-Id: I97f7d114c1f1e978286bd218df558ddf5340d901
2017-11-21 18:15:15 +09:00
Zuul
314ea17fee Merge "Taken over policy file for heat from Horizon repository." 2017-11-20 00:34:06 +00:00
OpenStack Proposal Bot
8e9b3e6a41 Updated from global requirements
Change-Id: I2b56a87f2f9bb5b9c5897b91a597217163f896a1
2017-11-16 11:04:03 +00:00
Keiichi Hikita
ba1ccf4d9b Taken over policy file for heat from Horizon repository.
In future, Heat relevant files(like GUI, api client, policy files, ...)
will be split out from Horizon repository.

But now this repository does not have Heat policy file so I've copied
it from Horizon latest repository.

This review request also includes following changes.
- Added installation procedure document relates to heat_policy.json.
- Modified plugin.sh to install heat_policy.json.

Change-Id: I8dd386e392eb4467b03efd68c7959371d4b9576d
2017-11-16 11:08:03 +09:00
Zuul
569d70a09a Merge "In future, Horizon team is planning to remove heat relevant logic like, - Heat GUI part - API wrapper client - API rest endpoint creator (like api/rest/heat)" 2017-11-16 01:31:47 +00:00
Keiichi Hikita
7201c1835f In future, Horizon team is planning to remove heat relevant logic like,
- Heat GUI part
- API wrapper client
- API rest endpoint creator (like api/rest/heat)

According to above changes, I've fixed all unittest
that can work without Heat relevant logic in Horizon.

Change-Id: I7b8c61275e1fef9e27a34d7e65693ee00d07110d
2017-11-16 10:01:17 +09:00
OpenStack Proposal Bot
e1650a0daf Updated from global requirements
Change-Id: I240fa4f416719d5424e74d889a1df6065cdc01e3
2017-11-15 11:43:53 +00:00
Zuul
f4fe72e8fd Merge "Consume horizon in-tree django variant jobs" 2017-11-14 08:33:27 +00:00
Akihiro Motoki
01dfacef14 Consume horizon in-tree django variant jobs
The legacy jobs legacy-horizon-tox-py27dj1* needs to be clean up,
so it is not a good idea to consume them in horizon plugin jobs.
It prevents from pushing them away.
This commit tries to py27dj1* zuulv3 jobs defined in the horizon repo.

Needed-By: I23a95b36e73bb444f94683c801eda11fb1430aa8
Change-Id: I040b35a4830423dce6fa4279882a01b8e88ad5f9
2017-11-14 06:38:53 +00:00
Xinni Ge
1fafd501e1 Modify Neutron Router modal
Modify to show property external_gateway_info
 on the default tab.

Change-Id: I92757d9abb6043e16b3bc868678a5fa80bdbc5c9
2017-11-13 10:12:23 +09:00
Xinni Ge
b8d56d99ae Clean up npm package dependencies
npm dependency packages are installed for js unit tests,
and not necessary in production.
Move all contents from `dependencies` to `devDependencies`
 in package.json

Change-Id: I06c7a9b97c2dc6693bb35cee3510c3282d14d6ac
2017-11-07 01:33:50 +00:00
kaz_shinohara
a2a56c7062 Add in repo zuul job definition
Add .zuul.yaml file to make sure more flexible zuul job controll by
heat-dashboard team members, apart from project-config repo.
We will keep basic & common jobs in project-config repo,
also heat-dashboard repo will have specific jobs like as multi django
ver jobs.

Change-Id: Ia9084b10bf4bb1941e0eb21b51798c2090b459cc
2017-11-01 21:44:17 +09:00
Zuul
2d98c50fee Merge "Add unittests for template generator angular" 2017-11-01 00:36:20 +00:00
Keiichi Hikita
ad9eba2e20 Add initial files as devstack settings/documents/requirements.
Change-Id: I79e42375151d06dd93a7529b7c6b6c25eafa68df
2017-10-31 15:58:55 +09:00
Xinni Ge
52f2e318ad Add unittests for template generator angular
The following changes have been made.
 - Test cases for common components and individual resources.
 - Setup karma + jasmine test environment.
 - Setup eslint environment and rules.
 - Code style adjustment to satisfiy eslint rules.

Change-Id: Icb3e48be11beaebc4e410644c62e0df86b345207
2017-10-26 09:55:53 +09:00
Keiichi Hikita
867749f5b3 add docs 2017-10-06 14:49:25 +09:00
Keiichi Hikita
2a40503658 add release notes. 2017-10-06 14:48:46 +09:00
Keiichi Hikita
6ea30d1100 fix tox.ini 2017-10-06 14:48:22 +09:00
Keiichi Hikita
e63ec107c5 add initial files. 2017-10-06 14:46:17 +09:00
Keiichi Hikita
6e046521a0 update files by working files. 2017-10-06 14:44:50 +09:00
Keiichi Hikita
2865d31cb4 add template generator 2017-10-06 14:44:14 +09:00
Keiichi Hikita
ce9ca6e62b move files. 2017-10-06 14:42:23 +09:00
Keiichi Hikita
70988a5615 move all files under heat_dashboard directory 2017-10-06 14:34:25 +09:00
Jenkins
cc71a5490f Merge "flake8-import-order: Ensure to place project imports last" 2017-10-03 21:46:21 +00:00
Akihiro Motoki
c23d74ce8e flake8-import-order: Ensure to place project imports last
To ensure project imports are placed after third party import,
we need to specify application-import-names.
Previously flake8-import-check checks only standard imports or not.

Change-Id: I9beb2105f686dc7d9aebfce8e21c5e182698e2fe
2017-09-20 01:19:38 +00:00
Jenkins
0de5c284d7 Merge "Make nosehtmloutput an optional test requirement" 2017-08-22 16:03:56 +00:00
Thomas Bechtold
96e75f2336 Make nosehtmloutput an optional test requirement
It is not strictly needed.

Change-Id: I37b2623ec834533a7ecae63084e2c2c04ecc1751
2017-08-21 15:25:44 +02:00
Jenkins
e3fd40332b Merge "Add exceptions for action" 2017-08-15 09:30:07 +00:00
yaraat
a9a088e3e3 Add exceptions for action
In ResumeStack.action use try/except for action resume, delete, suspend

Closes-Bug: #1535571

Change-Id: I5f1ed830e16ca60cd11c78dcaaef3596b338b4ce
2017-08-14 13:41:32 +03:00
Diana Whitten
c897e690ba Added SELECTABLE_THEMES setting
Currently themes machinery works in such way that if we rely on
default theme in our branded theme, we have to include them both into
AVAILABLE_THEMES setting, otherwise default theme assets will be
unavailable and the branded theme assets compilation will fail. On
the other hand, mentioning them both leads to theme picker being
shown - which we would like to avoid (per marketing wish).

SELECTABLE_THEMES setting was added to allow limiting the user facing
themes by configuration.

Closes-bug: #1564543
Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>

Change-Id: Ic00a9201d2d352685b1089a37a25987b75d6636d
2017-07-26 11:52:35 +01:00
Jenkins
ff65c6f793 Merge "Use doc8 check" 2017-07-20 08:04:22 +00:00
Akihiro Motoki
467a96190c Use doc8 check
doc8 is a linter for documents and used in openstack-manuals.
It is better to enforce document linters for simple checking.

The current rules are really simple like:
- line length check (80 chars)
- new line at the end of file

Change-Id: I3810df521068ffc97e25a5fc56b72397bf9783bc
2017-07-19 10:31:16 +00:00
Jenkins
bbc2869767 Merge "Fix py27dj18 definition" 2017-07-09 13:57:28 +00:00
Akihiro Motoki
3d6022527c Fix py27dj18 definition
py27dj18 currently uses Django 1.10 (from upper-constraints.txt).
The Django version should be specified explicitly.

Change-Id: I23a6dda4da52a0758e2f3e3bff26795c161babb8
2017-07-08 21:02:44 +00:00
Jenkins
4bccde78c5 Merge "Add '*.pyc' clean up for unit_tests" 2017-07-07 13:25:59 +00:00
Michael Dovgal
7c08192705 Add '*.pyc' clean up for unit_tests
After updating code from actual branch we still use old *.pyc files.
It can give an unexpected result, for instance, a lot of tests are
broken due to unknown reasons.
This patch fixes this issue.

Change-Id: I3bdbad9748dc3d94d6d8914156604eab7ad877a0
2017-07-07 13:42:36 +03:00
Rob Cresswell
8e150351cf Add Django 1.11 tox env
Change-Id: If26325ec260135064e178fa2254ddf7026bbce67
2017-07-05 11:12:16 +01:00
Jenkins
30662c09e4 Merge "Use flake8-import-order plugin" 2017-07-03 20:14:35 +00:00
Jenkins
25a5737f0b Merge "Split out FWaaS dashboard" 2017-07-03 11:12:02 +00:00
Jenkins
ef0496dcfe Merge "Split out VPNaaS dashboard" 2017-07-03 11:03:12 +00:00
Akihiro Motoki
01f2a69a64 Use flake8-import-order plugin
In reviews we usually check import grouping but it is boring.
By using flake8-import-order plugin, we can avoid this.
This flake8 plugin is already used in tempest.
It enforces loose checking so it sounds good to use.

Note that flake8-import-order version is pinned to avoid unexpected
breakage of pep8 job.

Change-Id: I8ccd05eb70350a2441cc2a4d1eafc09ee690b83b
2017-07-03 08:02:23 +00:00
Jenkins
32eb4185fb Merge "doc: cleanup formatting" 2017-06-29 09:56:04 +00:00
Jenkins
dc99ab8d27 Merge "test helper: Ensure to populate JS_CATALOG in context" 2017-06-29 09:51:45 +00:00
Akihiro Motoki
8353ee416b doc: cleanup formatting
* Clean up unnecessary vertical quotes at the left side
  caused by extra spaces at the beginning of lines.
* Do not use backquotes in the title lines
  (ref/run_tests.rst, ref/horizon.rst)
  When backquotes are used in the first-level title,
  it will be included in the navigation at the top-right corner
  https://docs.openstack.org/developer/horizon/contributor/ref/index.html
* Remove duplicated contents:: directive in ref/run_tests.sh.
  openstackdocstheme generates the toc by default, so having contents::
  directive leads to duplicated toc in a page.

Change-Id: Icc641927ad7cd7a8d79632c64a3ce212f0dc0b64
2017-06-29 17:59:09 +09:00
Jenkins
1b8ae17672 Merge "Horizon Forms should allow themable number spinners" 2017-06-29 08:26:47 +00:00
Diana Whitten
ba35724341 Horizon Forms should allow themable number spinners
Much like the themable selects and checkboxes, number spinners
should also be themable.

Standard number spinners are not very customizable.  We should use
existing buttons and fonts to add their functionality to allow a
richer experience if desired downstream.

An example of how to customize the spinner was placed in Material.
The example shows how to use flexbox to change layout type from
column to row, change icon order, and how to override the icons.

'autocomplete' needs to be false on this new element, otherwise
the browser will retain and load the last value without actually
triggering any JavaScript events by which we can key on and update
the state of the spinner buttons.

Change-Id: Ifd266cd515a903841e2d28e2f4731879116e3513
Closes-bug: #1598311
2017-06-28 15:50:27 -07:00
Akihiro Motoki
4f5ed965d4 Split out FWaaS dashboard
Implement blueprint split-out-neutron-xaas-dashboards
Change-Id: Ieaca88dbe28cc2330d9b333082ff7e92c91e8639
2017-06-27 14:20:03 +00:00
Akihiro Motoki
be9bc3c78a Split out VPNaaS dashboard
Implement blueprint split-out-neutron-xaas-dashboards
Change-Id: Ib304ddef381d80011f7030fdd5049aab0e901ae6
2017-06-27 14:20:03 +00:00
Akihiro Motoki
eaefa89a33 test helper: Ensure to populate JS_CATALOG in context
_script_i18n.html which tries to access 'jsi18n' url assumes
context['JS_CATALOG'] is populated, but openstack_dashboard test
helper clears it by mocking a context processor.
This leads to a error in rendering templates in unit tests.
Note that template rendering error is caught by a rendering engine
so unit test itself succeeds even when this happens.

Change-Id: I0f5013c4e9ed7b166c527b1aacd0302413948d51
Closes-Bug: #1699509
2017-06-21 14:00:27 +00:00
Jenkins
4acdd5d796 Merge "Add instance locked status on instances table" 2017-06-15 12:12:10 +00:00