Commit Graph

2421 Commits

Author SHA1 Message Date
Tony Breeds f77dc23e6b Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: Ifd8e31498ab45cbc5dc86f71a967e521046de6d7
2017-09-12 15:41:49 -06:00
OpenStack Proposal Bot a33ee4ba39 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ia5379e42d1dee26efb2c9f2454925760e8c76626
2017-07-25 07:23:20 +00:00
OpenStack Proposal Bot f265e1dcb8 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I3b7719661772115ce53cdafcbaa5a2d05aad421b
2017-07-23 07:19:07 +00:00
Jenkins 2d19338b45 Merge "Imported Translations from Zanata" 2017-07-22 00:19:37 +00:00
OpenStack Proposal Bot 1eff56731d Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I32636cc742a3633138b464c456f155a1fcf09466
2017-07-21 07:33:01 +00:00
OpenStack Proposal Bot fa108232e8 Updated from global requirements
Change-Id: I140c3dad9ad4fcbe0fbb25f1c5a54a15c1e807c9
2017-07-20 13:17:17 +00:00
Jenkins 7b1b801e60 Merge "Add table_actions_menu for Environments Table" 2017-07-17 21:44:12 +00:00
Jenkins b82f13986d Merge "Add fixed network mode for environments" 2017-07-16 18:36:00 +00:00
Jenkins ec4cfecb4b Merge "Fix create environment TypeError" 2017-07-14 14:42:21 +00:00
Jenkins 139a18d44f Merge "Updated from global requirements" 2017-07-14 14:25:41 +00:00
Jenkins 4fbff66ee0 Merge "Update URL home-page in documents according to document migration" 2017-07-14 14:25:35 +00:00
OpenStack Proposal Bot 13cf42b5ae Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ib6cfd94e448aa59ac568510df43fc564283ca0bf
2017-07-14 07:15:17 +00:00
Artem Tiumentcev 76cd701382 Add fixed network mode for environments
Introduce a fixed network mode for environments. Specifically,
when this mode is activated, in the environment creation dialog
user is no longer prompted for a network and instead a network
previously assigned to the current project is used.

Network is assigned to project using project metadata key (custom)
with network ID as the value.
Specify this metadata key in Horizon config to be able to use it

This behavior is disabled by default and could be enabled by adding:

USE_FIXED_NETWORK = yes
FIXED_MURANO_NETWORK = murano_network

to the Horizon configuration.

Change-Id: Ic464e1560cc89fdc7615d51e67beb0f50e11f24c
2017-07-14 09:18:44 +03:00
OpenStack Proposal Bot 72a5ef7e9e Updated from global requirements
Change-Id: Ib3338814792087a2f583e607c77ff8363931b67b
2017-07-14 05:01:03 +00:00
Luong Anh Tuan 9708811474 Update URL home-page in documents according to document migration
Change-Id: I9bdd89d4e1a7106b1eb98e534436ae60ace023dc
2017-07-14 03:22:39 +00:00
zhurong ecb019b58b Fix create environment TypeError
Now create environment give the error:
TypeError: get_form() takes exactly 2 arguments (1 given)

This patch fix this.

Change-Id: I4833b9c13249d547a91f13094b5764f788014dfb
Closes-Bug: #1703174
2017-07-14 08:59:08 +08:00
Jenkins 53c892e342 Merge "Revert "Fix murano-dashboard gate"" 2017-07-13 20:53:30 +00:00
Jenkins ab8ac60776 Merge "Wrap API module calls with KeyError handling" 2017-07-13 14:02:13 +00:00
Artem Tiumentcev 1ae03d181c Wrap API module calls with KeyError handling
It happens that applications do not have keys that murano-dashboard
uses explicitly, such as 'name' or 'description'.
So, when some required keys are absent, handle appeared error
and provide error to user.

Change-Id: I66216e47d30d14f63ae3746f532a493e0a119fca
2017-07-13 09:34:58 +03:00
zhurong 90762ee10f Revert "Fix murano-dashboard gate"
Revert this commit. since this had fix in horizon in this change [0].

[0]: I23aae10a7e63494c1c9f656b47becd2f067c9058

This reverts commit 9960ceebed.

Change-Id: I44ce6b15aa4908c4e6aee59d74f796766dc05fc1
2017-07-13 02:05:22 +00:00
zhurong c5a7fa2f4f Add table_actions_menu for Environments Table
Now there are too many actions for the Environments table,
we can use table_actions_menu fuction to add some of the actions to the
More Actions menu, this can reduce the lenth of the table actions.

Change-Id: If1dd94f737f2e893e5d40492b1f8a65d5fc81d36
2017-07-11 14:45:08 +00:00
Jenkins e3074ccc71 Merge "Fix the BeautifulSoup warning" 2017-07-11 10:50:57 +00:00
Jenkins 13a1410220 Merge "Fix ValueError in services details page" 2017-07-11 10:50:47 +00:00
Jenkins c74d9e941e Merge "switch to openstackdocstheme" 2017-07-11 00:33:15 +00:00
Jenkins ad38530be3 Merge "Fixes Deployment History page incorrectly formatting status." 2017-07-11 00:28:12 +00:00
Jenkins a715c98ea9 Merge "Mark doc warnings as errors" 2017-07-10 16:45:13 +00:00
Jenkins 57a3434c3f Merge "Fix KeyError in deployment history page" 2017-07-10 16:44:44 +00:00
Jenkins b426085599 Merge "Using horizon utils get_timezone get timezone" 2017-07-10 16:44:35 +00:00
Jenkins 69a23fed3b Merge "Make UI forms data accessible using $forms variable" 2017-07-10 12:01:26 +00:00
zhurong 6eade2586b Fix the BeautifulSoup warning
To get rid of this warning, change code that looks like this:
 BeautifulSoup(YOUR_MARKUP})
to this:
 BeautifulSoup(YOUR_MARKUP, "html.parser")

This patch fix the warning

Change-Id: I60d338f9b8365a46f0acc611989e0e109759b748
2017-07-10 13:26:31 +08:00
zhurong 733df90b6f Fix ValueError in services details page
Deploy a environment, then go the environment details page,
click the services name link, will gives the error:
ValueError: Need 2 values to unpack in for loop; got 1.

This patch fix this error.

Change-Id: Id8c601b20eb9159d580f2e8fbfb1ee3967a00784
Closes-bug: #1703197
2017-07-09 20:57:13 +08:00
zhurong b9ea284b96 Fix KeyError in deployment history page
use package name as the service name when service have no name.

Change-Id: Ib7585b2c8742dde7c1c0a350db48dee96d1ad0a8
Closes-bug: #1703180
2017-07-09 19:32:37 +08:00
zhurong 31b7a5dcc3 Fixes Deployment History page incorrectly formatting status.
Currently, the all Deployment History page always adds a
red underline underneath every status table
cell, even for those in a non-error/non-warning status.
The red underline should only appear for error/warning status.

This patch ensures that only error/warning status has the red underline.

Change-Id: I606162174bd02da1851d03c303f6fd755ddf1563
Closes-Bug: #1703187
2017-07-09 18:05:22 +08:00
zhurong 0d92916cff Using horizon utils get_timezone get timezone
Now get timezone gives error:
Exception Value: 'NoneType' object has no attribute 'upper'

This patch use horizon utils get_timezone get timezone.

Change-Id: I1e1bb4cf645f3aed406f2e593b8bb18bf85627ef
Closes-Bug: #1703152
2017-07-09 17:12:07 +08:00
ellen 35685a469e Make UI forms data accessible using $forms variable
When creating context, save the context to the '$forms'
variable as well as to '$'.  The 'S' contents may change
during evalation of collections and their methods but '$forms'
will remain the same.  This allows the forms data to be used
as input to a collection's method.

Change-Id: I4b32aa53cd7b56c07af7e593ead1736d81766ae7
Closes-Bug: 1700790
2017-07-08 20:48:10 -04:00
Jenkins 0f21fc1fba Merge "Use https instead of http in doc links" 2017-07-07 14:09:34 +00:00
iswarya_vakati 5cf7bce239 Use https instead of http in doc links
Change-Id: I6c2017fb5b5f28a11168dcab20a9d03fd1c99da6
2017-07-07 13:41:38 +00:00
Jenkins 605e93cefb Merge "Adjust stringified dates to the local timezone" 2017-07-07 13:05:47 +00:00
Kirill Zaitsev a0bfc472a2 Mark doc warnings as errors
Also remove unnecessary removal of build directory in the docs tox
target.

Change-Id: Ia91a7c473f2fc1a029a7462db70e8b5188468bbb
2017-07-07 13:01:56 +03:00
Artem Tiumentcev 9806d7487f Adjust stringified dates to the local timezone
Fetch local timezone from session variable 'django_timezone'. This
setting can be either set in Horizon manually or it defaults to the
value of setting TIME_ZONE (with 'UTC' value as a default).

Change-Id: I6c0bbf7b0e0763bd238ab9fa9c4c75e3fdf02fbd
2017-07-07 12:24:10 +03:00
zhurong a67b68acc4 switch to openstackdocstheme
Change-Id: Icc6e852398bfdb6cdfa9105e272d1dffe927aa3e
2017-07-07 15:45:09 +08:00
Jenkins 423a8c0f1e Merge "Updated from global requirements" 2017-07-06 10:51:37 +00:00
OpenStack Proposal Bot 462745747c Updated from global requirements
Change-Id: Id21792170bf23d253230a6e6d9bfbc6379c0c758
2017-07-06 01:37:32 +00:00
Margarita Shakhova 4e5cd3b63a Fix line wrapping for long app names
Change-Id: I8d8f983a299334834f9e4f5080c86aae3afca549
2017-07-05 21:42:17 +00:00
OpenStack Proposal Bot 8dd79ad101 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ief2de3916d14b75f0522725d7c752dc33bb79c7d
2017-07-05 07:03:39 +00:00
Jenkins a06d59eed3 Merge "Fix missing import package button in murano dashboard" 2017-07-04 01:06:39 +00:00
Felipe Monteiro 51cbeb6640 Fix missing import package button in murano dashboard
After https://review.openstack.org/#/c/476273/ was merged, murano
dashboard is throwing errors related to listing categories when
trying to import a package. Currently, python-muranoclient still
contains a function [0] for listing categories using the deprecated
API v1/packages/categories. The problem is that murano dashboard
calls this function [1][2][3] in python-muranoclient which throws a 404,
as the deprecated API was removed from murano.

This commit replaces instances of client.packages.categories() with
client.categories.list(). However, while the former returns a list
of category names, the latter returns of a list of category objects
-- so they then need to be iterated over to retrieve the list
of category names.

[0] 08411aa8d2/muranoclient/v1/packages.py (L52)
[1] f98e08d827/muranodashboard/packages/forms.py (L216)
[2] f98e08d827/muranodashboard/packages/forms.py (L288)
[3] bc8e4b97d0/muranodashboard/packages/tables.py (L54)

Change-Id: I715b1c9ccfdd044980596cc6d966062e0386884c
Partial-Bug: #1701067
2017-07-02 00:55:15 +00:00
zhurong 9960ceebed Fix murano-dashboard gate
Change-Id: I9359b3ba8e666f52598693d1e68154d11c3189c4
2017-07-01 10:42:41 +08:00
Jenkins f98e08d827 Merge "Fix security group choice field population" 2017-06-28 11:06:00 +00:00
OpenStack Proposal Bot a272550a3b Updated from global requirements
Change-Id: I065868d094822aacfaa742af72e76af8296f740d
2017-06-27 17:45:51 +00:00