horizon/openstack_dashboard
Bence Romsics 58b14a83bc transfer-table: Rethink CHANGED message handler
Part of the fix to bug #1489618 was working only accidentally. The
implicit update logic of the allocated table (and the allocatedIds dict)
treated ctrl.available.sourceItems and ctrl.allocated.sourceItems as
parallel arrays, while they were not parallel in fact.

This change allows the sender of the CHANGED message to specify all four
tables and by that spare any implicit logic of updating some of the
tables. However if a table is not included in the CHANGED message it
will be left unchanged. The event is also renamed according to the new
meaning.

The single sender of the original message from the horizon repo (ie.
Launch Instance / Source) is updated.

The original message type and its handler logic is removed without
deprecation. That theoretically could cause problems for horizon plugins
outside of the horizon repo. But I find that unlikely because if
somebody had relied on that logic they would have likely discovered
already that it was faulty.

Change-Id: I38972558e1823f9a88702d2ebcb8de5244cfe16a
Related-Change: I647b31c7a280af4e10040fb27b4436d489fd8163
Related-Bug: #1489618
2017-10-26 13:05:05 +02:00
..
api Add a checkbox to disable SNAT on routers 2017-10-23 16:10:48 +00:00
conf Update neutron policy file 2017-08-17 15:07:29 +02:00
contrib flake8-import-order: Ensure to place project imports last 2017-09-20 01:19:38 +00:00
dashboards transfer-table: Rethink CHANGED message handler 2017-10-26 13:05:05 +02:00
django_pyscss_fix Handle log message interpolation by the logger 2017-03-31 20:59:16 +09:00
enabled Remove license headers to openstack_dashboard/enabled/* files 2017-10-09 11:45:57 +03:00
local Merge "Clarify the comment for WEBSSO_INITIAL_CHOICE" 2017-09-27 23:07:41 +00:00
locale Imported Translations from Zanata 2017-10-24 06:21:28 +00:00
management extract_messages, update_catalog: Simplify help message 2017-08-29 12:35:30 +00:00
static Merge "Fix logo in IE11/Edge browsers" 2017-10-24 11:30:35 +00:00
templates Adds extensible header functionality 2017-10-03 17:11:06 +00:00
templatetags Added SELECTABLE_THEMES setting 2017-07-26 11:52:35 +01:00
test Merge "Switch Cinder-related tests to mock" 2017-10-24 11:30:29 +00:00
themes Adds extensible header functionality 2017-10-03 17:11:06 +00:00
usage Correct quota usage check for instances 2017-10-23 14:18:50 +00:00
utils Adds extensible header functionality 2017-10-03 17:11:06 +00:00
wsgi Normalise the path to resolve ../.. 2016-11-14 16:29:28 +11: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 KeyError for HORIZON_CONFIG['plugins'] in plugin UT 2017-07-07 11:33:40 +00:00
exceptions.py Excise Trove from Horizon 2015-12-22 02:01:07 -07:00
hooks.py
karma.conf.js Makes the xstatic files lookup dynamic in the tests 2017-07-27 10:01:33 -04:00
policy.py Specify POLICY_CHECK_FUNCTION as a string 2016-11-25 13:06:14 +01:00
settings.py Set Angular roles panel as the default 2017-10-11 22:12:25 -07:00
theme_settings.py Added SELECTABLE_THEMES setting 2017-07-26 11:52:35 +01:00
urls.py Adds extensible header functionality 2017-10-03 17:11:06 +00:00
views.py Adds extensible header functionality 2017-10-03 17:11:06 +00:00