... because the parameter was removed from Horizon quite long ago[1].
[1] 3488ab3d40f90e9d01598912f7ee398c823f4385
Change-Id: Ic7486153d96fc2a731e0156468171803a61f8591
The following parmaeters were already removed from horizon,
so we can remove the from the teamplte file.
- FLAVOR_EXTRA_KEYS[1]
- SAHARA_AUTO_IP_ALLOCATION_ENABLED[2]
- OPENSTACK_TOKEN_HASH_ALGORITHM[3]
- OPENSTACK_TOKEN_HASH_ENABLED[4]
[1] 5101ebdc2814fc80c63419eee85291d8340fd078
[2] 0659f9a98a2f175847c7acb005ac8126d03059bc
[3] 069329eeb220f6fd49670894e4d45a1e3ec59c4f
[4] 71993e3c983b113ce5672fd1291e6a1200fd5a7b
Change-Id: Ie1c4fdfc5f95ce3103beea311223ec78597a38ec
"DROPDOWN_MAX_ITEMS" horizon parameter was hardcoded in a ruby
template. Hence, it was not possible to manage it using heat.
This fix will allow user to manage "DROPDOWN_MAX_ITEMS" from
heat template.
Change-Id: I121a4ad2070cfef173c572a3d25788abbbf16989
Closes-Bug: #1813786
Horizon is picky about the case of the value used for the
WEBSSO_ENABLED setting in local_settings. When enabled, it expects
the value to be "True". Currently, we set it to "true", which
causes Horizon to throw a 500 error when accessing the login page.
This patch sets the value using the proper case.
Change-Id: Ic71a6c4b50556a1820a5f86bfc5a3e5102955c7b
A (long) time ago keystone-bootstrap changed the
default member role that is created to member from
the legacy _member_ role.
This changes the default value in horizon to conform
with what is the actual default when bootstrapping
keystone.
Deployments that might still be using _member_ should
set this explicitly.
Change-Id: I8c18b585c71817ec7c5450c425e2ec7bc9a83f18
Used to control the title of the web pages
that horizon renders. Default value is set
to undef which means this option will not be
added to the configuration file and the horizon
default will be used.
If specified it will add the SITE_BRANDING option
to the local_settings file.
Change-Id: I683341f4f948fb9d639a35ce81a66959fe699962
Since the identity/roles view now uses angular, the
'OPENSTACK_KEYSTONE_BACKEND' value needs to be added to the
REST_API_REQUIRED_SETTINGS setting for it to work properly,
as per https://review.openstack.org/#/c/579085/
Change-Id: Ib632dca7f438b39e10903ff75ec2d8f9115cc520
If you want to use horizon with a different cacheing backend you
may run into problems. E.g. with redis it expects a database after
the port.
So introducing a new parameter which allows any string as LOCATION
solves this problem and maybe a couple of others.
Change-Id: Ida54599049f69573d27f477c395f14ae0ec26c3c
These parameters has been deprecated for
more than two years.
Let's remove them and add release notes.
Change-Id: I229f49ac4ce02e0b1ddbd0a2f111739ce3059f37
Closes-Bug: 1767114
When settings the root_url to a slash the
paths in the local_settings.py and apache config
will be wrong. This patch fixes that issue.
Change-Id: Ib64b22bb88b2827ea4be2eb8356aa404984ee0ba
Closes-Bug: 1651720
django.utils.log.NullHandler has been removed in django 1.9.
Switching to use NullHandler from logging module is needed to
upgrade django.
Change-Id: Ie4b97a715bedf967e28fbac5a6640a8252115f5e
Adds a new Puppet parameter "horizon_upload_mode" which goes into
the local_settings.py configuration file and allows to change
the parameter "HORIZON_IMAGES_UPLOAD_MODE"
to one of "legacy", "off" or "direct" (default is "legacy").
Change-Id: I2e36227d318dd74267ad23f14595481b379cbbd6
Closes-Bug: 1738814
Horizon has a global override mechanism available to perform
customizations. This change adds customization_module key
to HORIZON_CONFIG dictionary in local_settings.py. The
corresponding template file is also modified to configure the
parameter. Spec tests are added to test the configuration.
Change-Id: Id204b60b2676f49713fb6ce7eede6200221f7163
Closes-Bug: #1722653
New parameter accepts a hash value to configure
the LAUNCH_INSTANCE_DEFAULTS options in horizon
configuration.
Closes-Bug: #1721774
Change-Id: I778b3dc076d611d40205edbe0982141a815e1830
Horizon now has the option of selecting various defaults for the
create image panel. This patch allows configuring those options.
Change-Id: I01d9fc44d957394acc4243f3ee34e6e50eec0bdf
This change removes lines 587 to 590, as ENFORCE_PASSWORD_CHECK is
now situated at lines 157 to 163 as a HORIZON_CONFIG directive.
Change-Id: I8e7e6454955bea672042e20685ab96535b68dc47
Uncomments the `OPENSTACK_HEAT_STACK` dict and allows to
set `enable_user_pass` in the `local_settings.py.erb`
template
Change-Id: I97874af257a7cbb3eea862645952f6000e3fc3ce
Closes-Bug: #1676366
Horizon provides a password validation check, which OpenStack cloud
operators can use to enforce password complexity checks for users
within horizon.
A dictionary containing a regular expression can be used for
password validation with help text that is displayed if the password
does not pass validation.
HORIZON_CONFIG["password_validator"] = {
"regex": '.*', ]
"help_text": _("Your password does not meet the requirements."),
}
This change allows injection of the regex and help text into horizons
local_settings file.
Change-Id: If82a80ed6a8e6e65aecc2a25ee6d60640ae03c9a
Related-Bug: #1640800
DISALLOW_IFRAME_EMBED can be used to prevent Horizon from being embedded
within an iframe. Legacy browsers are still vulnerable to a Cross-Frame
Scripting (XFS) vulnerability, so this option allows extra security hardening
where iframes are not used in deployment
Change-Id: I5c540e552efe738bdec8598f9257fa22ae651a76
Related-Bug: #1641882
This is used to tell Django to take into account the X-Forwarded-Proto
header. It is disabled by default as it should only be enabled if one
is running horizon behind a proxy.
Change-Id: Ifed7d4c3409419c01c5b20c707221c1fc76ea09e
By setting ENFORCE_PASSWORD_CHECK to `True`, it displays an 'Admin
Password' field on the Change Password form to verify that it is indeed
the admin logged-in who wants to change the password.
Change-Id: If7af97df7a011569a7e14fbab4f880688d7b82c3
Related-Bug: #1640806
A user can disable the password reveal button in the horizon UI via the
configuration. This change adds the ability to toggle this to True via
the puppet modules.
Change-Id: Iacf899d595a2a3c522df1b96ca527731937ec698
Related-Bug: #1640492
In local_settings.py.erb this value was hardcoded to false.
This change enables the setting of this value as referenced in
https://review.openstack.org/#/c/61032/
Change-Id: Ica6932cf97fd6f2dc00f17d523e28215401a297f
Closes-Bug: 1639851
Review https://review.openstack.org/#/c/339122/ adds parameter
images_panel to HORIZON_CONFIG dict. It requires a default value
to work properly.
This patch add parameter images_panel to set the enabled panel
to legacy (default value) or angular.
Change-Id: I50ca03492464f9fb2f84963352b2e65c14d44953
Extends the class interface to allow the login form's password field
to be automatically completed by the client browser. Defaults to
'off' to maintain backwards compatibility with previous releases.
Change-Id: Id7e2ecd8502bb077679a2820ff0425ad519555d2
In local_settings.py.erb, OPENSTACK_KEYSTONE_BACKEND is hardcoded.
We needed a new parameter in the module in order to change this to be
configurable.
Change-Id: I3f0859cd0e73012f444191797afc076beb68d7e9
Closes-Bug: #1575227
The custom theme path option has been deprecated in mitaka and two
new config options are available relating to themes. The new params
are available_themes and default_theme.
Change-Id: Ibc95cf88da83b257493a2701467198a5833e1aca
This commit makes the inclusion of configuration for the syslog handler
conditional, based on the value of horizon::log_handler.
Change-Id: I284ffb7ca97ec7548bc9d98674d4a92d01c319ba
Closes-Bug: #1563239