11451 Commits

Author SHA1 Message Date
Timur Sufiev
02b9e2eb66 Fix intermittent integration test failures related to messages
Some recent changes in python selenium bindings library made it do
certain things faster. That rendered our code for accessing Horizon
messages too restrictive, since it didn't wait a second. Previously,
when selenium queries took longer, the modal message had enough time
to appear, but now sometimes selenium is able to query the browser
during a narrow window when the spinner from a previous modal have
already disappeared, but the modal message still hasn't been
rendered. Adapt to these change by introducing a small (0.1 seconds)
margin to wait until message element appears.

Change-Id: I8f23ecaac9d007a1d3302eb9425d4064f438ca14
2016-08-25 13:45:08 +03:00
Jenkins
28b6d6b30a Merge "Final changes to Angular Images before making default" 2016-08-25 05:55:31 +00:00
Jenkins
1d50ce8790 Merge "Supports extra properties in project and user" 2016-08-25 05:55:13 +00:00
Jenkins
18f83b804f Merge "Add HTML lists to preview page" 2016-08-25 05:53:21 +00:00
Jenkins
3bd7852746 Merge "Server-side filtering networks" 2016-08-25 04:23:03 +00:00
Jenkins
28f245dc09 Merge "hz-field-directive handle no value property" 2016-08-25 04:22:46 +00:00
Jenkins
4f294f84da Merge "Implement file update (edit) in Swift UI" 2016-08-25 01:13:47 +00:00
Jenkins
692d77fa1a Merge "Error in cinder quota RESTful api" 2016-08-24 23:55:06 +00:00
Travis Tripp
210d420749 hz-field-directive handle no value property
hz-field-directive was developed using hz images panel where every
single property had at least the no value filter applied. However,
when using it with properties that don't have the no value filter
applied and there is no value, we'll see the following in console.log

angular.js:12783 TypeError: Cannot read property 'then' of undefined

Change-Id: I14f8d56cc9086e7e25e11c081de34bc9d21389d0
Closes-Bug: #1614630
2016-08-24 14:57:34 +00:00
Jenkins
47b0f5b927 Merge "Add floating IP panel to admin dashboard" 2016-08-24 12:29:01 +00:00
Jenkins
a51ac1a828 Merge "Imported Translations from Zanata" 2016-08-24 12:25:21 +00:00
Jenkins
626f6fc675 Merge "Angular: Configuration of boot sources for launch instance" 2016-08-24 10:58:17 +00:00
jlopezgu
1a0e284106 Server-side filtering networks
Implements server-side filtering networks in:
  - Admin->System->Networks
  - Project->Network->Networks

Implements blueprint: server-side-filtering

Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
Change-Id: Ie05f58a77b62b12dbf087395fbaf4ff0dc1f8562
2016-08-24 03:15:33 +09:00
Matt Borland
2289190653 Final changes to Angular Images before making default
This addresses the suggestions found by Rob and Travis:

- The Admin panel doesn't show *all* images, just those either in the current
  project or exposed as public (same as Project). (Travis)

  FIX: The Admin panel now supplies is_public: None as the Python code does,
  which allows all images to be shown.

- The 'Is Public' attribute is in the drawer now (even on large screen sizes)
and we can't sort by shared, public etc, as far as I can tell. I don't think
we specifically need the buttons like the previous design had, but it feels
like a regression to have no filtering or sorting on that field? Perhaps
someone with better glance knowledge could correct me.

  FIX: Added 'visibility' as a synthesized field and added as a facet, making
  sure to use the current project to correctly identify 'Shared with Project'.
  Did *not* add 'Is Public' as that is a vestigial concept.

- Create/Edit Image > Image Details tab needs help text. Create has some info,
but Edit has nothing really. Also, we can drop that "description" header in
the help text; it doesnt add any value. This would be a nice improvement over
the Python version for novice users, and shouldnt take long to enter - just
pull info from the API docs.

  NO CHANGE: Let's not block enablement on verbiage. I think we need a better
  consistency and I don't believe the last-minute is the best time to add this
  because it's very easy to create/find nits.

- Create Volume help text is also entirely blank. We should fill that out
with some useful instructions, IMO.

  FIX: Added basic help text.

- Create Volume should default to the first Availability Zone if there is
only one, as it is a required field anyway.

  FIX: I added logic for this, and also added in some test features so we don't
  lose coverage.

- The Image Details page now longer lists the owner ID. I don't think this
is addressed by Travis' patch either.

  FIX: This is now under the 'Security' heading.

- Kernel ID and Ramdisk ID seem empty in angular image details, but populated
in the python equivalent.

  FIX: This was a regression that this patch fixes.

- Why are created/updated/ID separated into "Record Properties"? Is there
something in the API about this, or is it just a presentation construct?

  CHANGE: Moved into the general 'Image' header.  Added a filter so that these
  can be implemented as basic property registrations.

- I think 'Filename' in angular image details can be hidden if empty.

  CHANGE: Instead of hiding, we can show the standard '-' if no filename.

Change-Id: I4b770f9e61f9a8b1bd735d95c2ccc75bc21dd944
Partially-Implements: blueprint angularize-images-table
2016-08-23 09:22:58 -06:00
Jenkins
9612cbaee0 Merge "Add filter action to Template Versions tables" 2016-08-23 14:51:13 +00:00
Jenkins
d1498101ea Merge "Update the xstatic release process" 2016-08-23 12:06:53 +00:00
Jenkins
01b77c6b42 Merge "Prevent long names breaking table layouts" 2016-08-23 12:05:16 +00:00
OpenStack Proposal Bot
0c8b7c7c39 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I2e1757120e42ed324d2a8713a81397db92214f57
2016-08-23 08:05:21 +00:00
Jenkins
35bd21ea13 Merge "Use argparse instead of optparse" 2016-08-23 07:23:17 +00:00
Jenkins
a95159d148 Merge "Remove a misplaced double quote" 2016-08-22 14:18:22 +00:00
Jenkins
526e34839d Merge "Updated from global requirements" 2016-08-22 11:23:53 +00:00
Jenkins
c204d7ccab Merge "Imported Translations from Zanata" 2016-08-22 11:22:10 +00:00
Richard Jones
f5e8d61367 Update the xstatic release process
We no longer use tagging to trigger release, but rather
use the openstack release management project.

Change-Id: Idad9d8bd7297db2afff4ead4a029ebf001601371
Implements: blueprint xstatic-release-process
2016-08-22 14:57:23 +10:00
Richard Jones
053d0a669e Implement file update (edit) in Swift UI
The ability to update (edit contents of) an object was
never present in the previous Swift UI. It was
explicitly blocked due to code in the swift_upload_object()
function, which has been removed in this patch. To
replace that "upload would replace existing contents"
check, this patch implements a client-side check to warn
the user if the upload would do so.

Partially-Implements: blueprint swift-ui-functionality
Change-Id: I9fb57dda59322907f0661372f9ee223551ff8a6e
2016-08-22 14:47:23 +10:00
OpenStack Proposal Bot
eac20997fc Updated from global requirements
Change-Id: I608c5b192ba487f91a6f66f2c45113c04987d3de
2016-08-22 03:08:13 +00:00
Kenji Ishii
ab11eef92a Supports extra properties in project and user
This change is to support extra properties in project and user.
To show an extra property in project/user table, you can customize.
The explanation of the method to add an extra property is added
by this patch.
In addition, when you do a create or update user, you can specify a
value of extra property by setting in local_settings.py

Change-Id: Ifee491f2a55d9207fe5da70136f749e1fc4bab82
Implements: blueprint support-extra-prop-for-project-and-user
2016-08-21 22:13:35 +09:00
Jenkins
0e0b01fd27 Merge "Restrict user private network cidr input" 2016-08-21 12:15:32 +00:00
OpenStack Proposal Bot
11e38283e7 Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: Icdd7269ed243770fe8826abf7e578e230c10d727
2016-08-21 08:32:15 +00:00
Jenkins
32cad5eb90 Merge "Show wait spinner after submit of wizard modal" 2016-08-20 23:49:49 +00:00
Jenkins
4ee7e23cc6 Merge "Updated from global requirements" 2016-08-20 18:30:08 +00:00
Jenkins
df7c82f87c Merge "Update Plugin Registry" 2016-08-20 13:46:50 +00:00
Ying Zuo
ece7915bd4 Remove a misplaced double quote
Change-Id: I941f57337c6fd908e22b4c1f03ac0052fe49e016
Closes-bug: #1615107
2016-08-19 13:11:23 -07:00
OpenStack Proposal Bot
115ff51952 Updated from global requirements
Change-Id: Icedd66e03027d3ca56e1c9d697425cf5dc820fac
2016-08-19 19:46:54 +00:00
Jenkins
618145a82d Merge "Server-side filtering routers" 2016-08-19 19:12:26 +00:00
Jenkins
b8e89bcf54 Merge "Remove router rules extension" 2016-08-19 11:49:28 +00:00
Tatiana Ovchinnikova
88aaf89a08 Add filter action to Template Versions tables
Orchestration Template Versions table and Template Functions tables
(which are actually template versions details) need filter function.
This patch adds filters and removes appeared checkboxes.

Change-Id: If3c5dfdb3f5915ee0b464c675d976f67ebb09be3
Closes-Bug: #1614889
2016-08-19 12:40:55 +03:00
Rob Cresswell
07d33cf462 Prevent long names breaking table layouts
Adds a word-break class that can be added to tables to prevent large
column values breaking the table shape.

Change-Id: Icca10d9c29254d176dc7f8b7c039bc19c3f52c72
Related-Bug: 1565724
Closes-Bug: 1584785
2016-08-19 09:21:33 +01:00
LIU Yulong
5c238e9117 Add floating IP panel to admin dashboard
Now system administrators have CRUD abilities to manage floating IP.
1.floating IP list table
2.allocate floating IP to specific tenant
3.release/delete floating IP

Partially implements blueprint: manage-ips
Partially implements blueprint: syspanel-floating-ip-list

Change-Id: Ie5ec59740887d3845b933b37e6e875dbf08a4918
2016-08-19 12:15:55 +08:00
Jenkins
3f35caf180 Merge "Re-work static_settings to clean up" 2016-08-19 03:17:18 +00:00
Jenkins
94709da2a3 Merge "Fix AttributeError in context_selection.py" 2016-08-19 03:17:08 +00:00
Jenkins
de29bbce85 Merge "Removed inline_edit functionality for tables" 2016-08-19 03:15:34 +00:00
Jenkins
aae0360048 Merge "Remove Orchestration Resource Types names restriction" 2016-08-18 21:21:29 +00:00
Jenkins
73630ca4af Merge "Fix the loss of JSON types when using multipart/form-data" 2016-08-18 16:39:30 +00:00
Richard Jones
348069364c Re-work static_settings to clean up
This patch reduces duplication arbitrary directory choices for
xstatic package locations in the static directory.

It moves the xstatic configuration from the library into the
settings file, and the supporting functions move to
the openstack_dashboard.utils.settings module. Having the xstatic
module list in settings allows deployers to add new modules.

It standardises the paths the files are served from, reducing
potential conflicts.

It simplifies the interaction with the xstatic modules, and also uses
the new MAIN variable if present to determine the entry points used.

Since some of the xstatic packages were installed into special
snowflakes directories (not following a pattern) the references to
those (bootstrap_scss and font_awesome) have been fixed.

Change-Id: Ia5be0e96fff1a4ddd6058d6b030ddf96da4b46e7
2016-08-18 16:28:57 +03:00
Jenkins
9959405323 Merge "Imported Translations from Zanata" 2016-08-18 13:18:19 +00:00
Jenkins
56e5182d5d Merge "Support project column in admin view of NG images" 2016-08-18 12:59:34 +00:00
Luis Daniel Castellanos
241eda4273 Removed inline_edit functionality for tables
As per agreed in Austin summit and then confirmed in the midcycle,
the inline_edit form/functionality is more an issue than a solution.
It leads to many bugs and UX is not the best.

Implements: blueprint remove-table-inline-edit
Change-Id: I91394e4a63afadb66659b6b7c04cb7f8da948ff8
2016-08-18 09:45:52 +00:00
OpenStack Proposal Bot
25ce4d751d Imported Translations from Zanata
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure

Change-Id: I41ef61bbde86c0674e7c0bc3149ed384a301ec83
2016-08-18 08:57:03 +00:00
Shu Muto
db9aebb031 Update Plugin Registry
Zaqar-UI has individual Launchpad.

Change-Id: I2235b5c78e9e3c330379bf701f2da8feafbc3edb
2016-08-18 16:48:37 +09:00
Timur Sufiev
f85d2fdbb7 Fix the loss of JSON types when using multipart/form-data
To pass a binary blob in a POST request, browser sets the header
'Content-Type: multipart/form-data', which in turn causes all form
fields' values to be passed as strings. Circumvent this by storing
original field values as a JSON string on client-side and decoding it
on server-side. As a result the setting HORIZON_IMAGES_UPLOAD_MODE =
'legacy' will start working together with Glance V2.

Closes-Bug: #1613703
Change-Id: I53a8fbba15e4c3c6c17d6ef1ffe701634efda149
2016-08-18 06:19:13 +00:00