horizon/horizon
Richard Jones f9b3bc7b2b Remove use of scope from action service
The scope being handed to (and retained on) the action
service was being used for two purposes:

1. handing data down to the underlying wizard steps, and
2. receiving data back from the underlying wizard steps.

This patch provides a mechanism for passing data down through
injection, and removes the need for event-based data return
by explicitly passing the captured wizard data to the submit()
resolution.

It also adds the controller scope to the allowed() and
perform() action service handlers to grant access to
contextual information without needing to attach state
to the service.

Change-Id: Ieb293d0a849cd84d15e7aae0a68558fde80fd2c2
Fixes-Bug: 1640049
2016-11-24 18:42:49 +11:00
..
browsers Fix Flake8 style warnings in horizon/ 2014-07-29 20:38:49 +00:00
conf Move out integration tests scaffolds from Horizon production code 2016-05-31 10:01:21 +00:00
contrib Panel static finder 2016-06-01 02:14:17 +00:00
forms Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-08 18:19:34 +08:00
hacking Eliminate mutable default arguments 2015-12-17 09:58:46 +00:00
locale Imported Translations from Zanata 2016-11-22 07:34:32 +00:00
management [Django 1.9] Stop using django.utils.importlib 2016-01-26 11:19:23 +00:00
middleware Merge "py3:Remove six.iterXXX" 2016-11-16 12:31:57 +00:00
static Remove use of scope from action service 2016-11-24 18:42:49 +11:00
tables Merge "Fix docstring warnings" 2016-09-30 20:29:13 +00:00
tabs Modify exception message style according to i18n guidelines 2016-06-13 15:36:47 +08:00
templates Improve Horizon nav sidebar 2016-11-23 16:17:13 +00:00
templatetags Fix docstring warnings 2016-09-24 20:44:48 +09:00
test Fix docstring warnings 2016-09-24 20:44:48 +09:00
utils Fix docstring warnings 2016-09-24 20:44:48 +09:00
workflows Merge "py3:Remove six.iterXXX" 2016-11-16 12:31:57 +00:00
__init__.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
base.py Fix compatibility issues with Django 1.10 2016-09-20 12:29:16 +01:00
context_processors.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
decorators.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
exceptions.py Fix docstring warnings 2016-09-24 20:44:48 +09:00
karma.conf.js Add Angular Schema Form 2016-08-04 16:53:41 +00:00
loaders.py Remove all pre-Django 1.8 workarounds 2016-01-24 22:12:02 +00:00
messages.py Uniquify horizon messages returned in a single response 2014-09-17 13:45:07 +00:00
notifications.py Add message of the day option 2016-01-22 11:31:36 -08:00
site_urls.py Update URLs to Django 1.8+ style 2016-03-28 11:03:08 +01:00
themes.py Fix missing 'THEME' key 2016-08-03 20:06:36 +00:00
version.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
views.py Document and improve PageTitleMixin readability 2015-02-11 16:16:20 +00:00