Commit Graph

619 Commits

Author SHA1 Message Date
Ghanshyam Mann 031814a7bd Moving IRC network reference to OFTC
Change-Id: Ib811fb321d18fc01f3786f8b3ab16b2eda558864
2021-07-08 18:33:13 -05:00
Akihiro Motoki 1134f57e1f Revert "Prepare transitional DOA package"
This reverts commit aa06f462a6.

We finally did not release the transitional package,
so the previous commit has no meaning.

Change-Id: I03f53dc45ec5c425863ac7278f2fb1a0d9a298f2
2018-03-22 18:12:48 +09:00
Akihiro Motoki aa06f462a6 Prepare transitional DOA package
It was suggested to create a new major version (which will be 4.0.0)
of DOA as a transitional package to stop providing any module itself.

http://lists.openstack.org/pipermail/openstack-dev/2018-January/126431.html

Queens release of horizon is planned to depend on the new DOA release.

Part of blueprint merge-openstack-auth
Change-Id: I3776fedcf21c1b4d669fede478f58518d489f0ef
2018-01-29 04:07:08 +09:00
Akihiro Motoki 2baea728dd Retire project
In Queens development cycle, openstack_auth code was merged
into the horizon repository.

blueprint merge-openstack-auth

Change-Id: I74b10a90fe79fc768cfb8de6f68d3cd2f4938e51
2017-12-23 03:22:21 +09:00
Colleen Murphy 1fa9ae26cc Don't add required attribute to html form fields
In Django 1.10 a new Form property was introduced, defaulting to True,
which enabled HTML form validation for fields marked "required" in
Django. This changed old behavior, which was that required fields were
only validated server-side. This patch restores old behavior by setting
use_required_attribute to False for the inherited AuthenticationForm.

This problem arose because when WebSSO is enabled and a
non-keystone-credentials authentication method is selected from the
dropdown list, the now-hidden username and password fields are still
marked "required" and still validated client-side, even though they are
invisible to the user and cannot be filled in. It would be nice to fix
the javascript to properly turn the "required" attribute on or off
depending on what authentication method is selected and whether the
"required" fields are even visible, but for now this just restores the
behavior we had before Djanto 1.10.

Change-Id: I3e798a2288d9c33396b40a86b07ea8c163d3b525
Closes-bug: #1703109
2017-11-02 18:19:09 +01:00
OpenStack Proposal Bot 3d5a5aadfd Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Idf5ecc6044c4470cf4496fe7ca1eda2ee1e99679
2017-10-15 10:31:40 +00:00
Jenkins 465fd56dc7 Merge "Imported Translations from Zanata" 2017-09-20 23:53:00 +00:00
OpenStack Proposal Bot 0352ed5941 Updated from global requirements
Change-Id: Ia77c55d2d92f90c693a8b0925c02a4b2cd6e9f18
2017-09-20 22:18:46 +00:00
OpenStack Proposal Bot 73941654bf Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Idc03c122787afcb1f3ba7d8ab630e0a15b5848a5
2017-09-20 10:58:49 +00:00
OpenStack Proposal Bot 58e881ec93 Updated from global requirements
Change-Id: Icf6fd31cc858e859379264abdea5326b0652a95d
2017-09-11 21:35:44 +00:00
OpenStack Proposal Bot e45760d904 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I8479435468d52b48f68fbd6d49de83b7de550598
2017-08-21 10:04:55 +00:00
OpenStack Proposal Bot 2704f95859 Updated from global requirements
Change-Id: I9bcb892cafa8caa9ff391205c287a2654d243541
2017-08-18 11:29:12 +00:00
Mathieu Gagné 346c36d798 Add support for policy directories per service
This change introduces the POLICY_DIRS setting which adds the ability
to define multiple policy directories per service.

Blueprint: policy-dirs
Change-Id: Ie42f1aa68539b7388661ddfe2c265255cd574736
2017-08-17 12:23:31 -04:00
OpenStack Proposal Bot 3688a8243f Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I0ee8e7c43990706cb2cc57e159a6c4d2eec90a2b
2017-08-07 10:18:10 +00:00
OpenStack Proposal Bot 5d78807403 Updated from global requirements
Change-Id: I94a765fbc12cc2701cf9c5ec9577e9c64774048c
2017-07-27 20:20:28 +00:00
Jenkins da9abf6a32 Merge "Imported Translations from Zanata" 2017-07-27 13:08:14 +00:00
OpenStack Proposal Bot 9ec35007f6 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ifed8fbafd93150cc869fed256c64c9e7526b32d3
2017-07-25 10:35:32 +00:00
OpenStack Proposal Bot 54701dba1a Updated from global requirements
Change-Id: I6e1925c33651b0640d3af9d639c92efd890e238d
2017-07-23 13:40:58 +00:00
Jenkins 3fa43f1431 Merge "Imported Translations from Zanata" 2017-07-20 16:01:29 +00:00
Jenkins 2ca726c68e Merge "Manually bump Django requirement" 2017-07-20 14:16:34 +00:00
Jenkins acd690ae6c Merge "Allow for manual setting of default service region in config" 2017-07-20 11:48:37 +00:00
Rob Cresswell 1c8fe2b75f Manually bump Django requirement
Change-Id: I3cd128b388f6efd9426d9db44ff3f407f7d1b503
2017-07-20 11:31:36 +01:00
OpenStack Proposal Bot 5af6603618 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I8169342b724fe533138d269a50d01b8797d23955
2017-07-20 10:12:40 +00:00
Jenkins c6c8982fc1 Merge "hacking: Drop import_exceptions from tox.ini" 2017-07-19 12:40:02 +00:00
Jenkins fb76589a26 Merge "Fix Django 1.11 Compatibility" 2017-07-18 15:06:39 +00:00
Rob Cresswell 601e1ad44c Fix Django 1.11 Compatibility
Implements: blueprint dj111
Change-Id: Idfaef58b2a069006f6d792e43041dd136097c413
Co-Authored-By: Adrian Turjak <adriant@catalyst.net.nz>
2017-07-18 12:30:37 +01:00
OpenStack Proposal Bot 33524c8d2c Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I859cd55204ac4837793d34ddc6b6bb014acc9779
2017-07-13 10:22:29 +00:00
Rob Cresswell a0af708a49 Fix default mutable arg in k2k.py
Change-Id: I9e8d838315d521874e6f92922a9f488ee7029dbc
2017-07-11 15:33:08 +01:00
Timur Sufiev 3227365bc6 Allow for manual setting of default service region in config
In case DEFAULT_SERVICE_REGIONS setting in Horizon config is specified
(on a per-endpoint basis), use it instead of a value stored in
cookies. This value is still checked for sanity, i.e. it should be
present in Keystone service catalog.

Change-Id: Ia4787b56db7ce7787bd8aac21b5c0ec8a95a6f09
Related-Bug: #1506825
Closes-Bug: #1703390
2017-07-10 16:27:20 +02:00
Akihiro Motoki 28144e9a2f hacking: Drop import_exceptions from tox.ini
Current hacking check actually does not check attribute-level
imports. We can safely drop import_exceptions from tox.ini.

Also drops noqa to guard import exceptions from the same reason.

Change-Id: I4e37931a7bfb0aa7867d027125ffcf66e414cf08
2017-07-08 23:19:23 +00:00
Rob Cresswell c15dfe5acd Bump Django requirements cap
Change-Id: I51d7d75e5d658b80763e552d1ccbaeb5f199b723
2017-07-06 06:39:13 +00:00
Akihiro Motoki 39137dc8be Migrate settings on a feature merged recently
Recently the support for domain drop-down menu at login was merged
into django_openstack_auth and the corresponding settings docs were
merged into horizon. This commit migrates the settings docs from
horizon as we recently moved django_openstack_auth settings into
the in-tree docuemnt.

Change-Id: Idc84a2535c1918079c6dcba09aef9110cf9be7df
2017-07-05 21:59:11 +09:00
Jenkins 50d18d50f1 Merge "doc: Add configuration reference" 2017-07-05 11:49:53 +00:00
Rob Cresswell 1af919009a Add Django 1.11 tox env
Change-Id: I274130c0c24c536dea8f150226c8f7f54c4e5ed5
2017-07-05 11:49:34 +01:00
Jenkins a1e421e0b7 Merge "Add support for a domain dropdown menu at login" 2017-07-03 21:01:15 +00:00
Colleen Murphy 35a2fb35a7 Add support for a domain dropdown menu at login
On clouds that use domain-specific Identity configuration[1], a user
must provide both their username and domain in order to log into
horizon. Without this patch, users must be aware of their domain's name
and enter it into a text box at login. This is sensible on public
clouds, because supplying potential domains to an unauthenticated user
exposes too much information about other customers and makes potential
attacks easier. On private clouds, however, it is a hinderance to
usability. For example, when migrating from a single-domain
configuration to a multi-domain configuration, users must now guess or
be informed of their domain in order to enter it in the text box. As
another example, when keystone domains are mapped to Active Directory
domains, the user may not be used to having to know their AD domains and
would prefer to select a likely one based on their geographical location
or department from a dropdown menu.

This patch adds support for a new config option,
"OPENSTACK_KEYSTONE_DOMAIN_DROPDOWN" for enabling a dropdown menu
instead of a textbox when MULTIDOMAIN_SUPPORT is enabled. The dropdown
is disabled by default. If enabled, choices for domains to display and
submit are configured in "OPENSTACK_KEYSTONE_DOMAIN_CHOICES". It is not
possible to dynamically generate a list of domains before the user has
authenticated and this would be a huge security hole if this was
possible. Requiring the admin to statically set the domain list allows
them to hide private domains like the service users domain.

[1] https://docs.openstack.org/developer/keystone/configuration.html#domain-specific-drivers

Change-Id: Ie0a7e36b9975342fab81ddebb87880608d3ef187
Needed-By: I71d64182524d1f54745d9e42347b3a605fa2a920
2017-07-03 10:37:41 +02:00
Jenkins 011c2274a0 Merge "doc: cleanup doc build configuration" 2017-06-30 12:25:21 +00:00
Akihiro Motoki 0390301e40 doc: Add configuration reference
Previously most (not all) openstack_auth configuration options
are documented in the horizon documentation.
It would be nice if we have the config reference in the same repo
so that we can easily manage the contents.

Horizon document will be updated to refer to this.

Change-Id: Ie1986a77bc5d69e27ae52f3b59377a41c3462e2b
2017-06-30 05:49:44 +09:00
Jenkins c1b1d37b44 Merge "Imported Translations from Zanata" 2017-06-29 17:47:30 +00:00
Akihiro Motoki 43c6e3157c doc: cleanup doc build configuration
* Populate doc build timestamp
* Fix the title of reference/user.rst as openstackdocstheme does not
  handle a title string with backquoted string in the nav icons.
* Remove unnecessary build configurations (manpage, latex, texinfo)
* Remove the heading "Indices and tables" in index.rst.
  It simplifies the toc of the top page.

Change-Id: If35bd99ee203105418ea49eb921b2d6d428e0187
2017-06-30 02:02:14 +09:00
OpenStack Proposal Bot dd3b786895 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ic6cc1494aa1ce4cdbb97912507d323fdf3fa1516
2017-06-29 10:19:12 +00:00
OpenStack Proposal Bot 1faa079779 Updated from global requirements
Change-Id: I693e39d07f57248e792582340e5677c24af64c06
2017-06-29 02:16:40 +00:00
Doug Hellmann d1efd47a0b switch from oslosphinx to openstackdocstheme
Change-Id: I98caec52c74b44d94372ff5c1f4ddc695a0c3d4c
Depends-On: Ifc5512c0e2373cf3387e0e0498268eab092e52bb
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-26 15:58:00 -04:00
Doug Hellmann 8455ebcf9d move documentation into the new standard layout
Change-Id: Ie16878c132794f74209d450670e12eaed80efd6a
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-26 15:57:47 -04:00
OpenStack Proposal Bot 08a5622853 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: I19eab7d5dcdb2d1b8c505abba1fc44ef32d0ab99
2017-06-08 10:54:41 +00:00
OpenStack Proposal Bot 243654a342 Updated from global requirements
Change-Id: Iddc30f7ebe482b4548ba3190a5ce25dc3b3a12d3
2017-06-07 13:26:50 +00:00
Akihiro Motoki b0a2a39508 Fix doc build
Starting in Django 1.7, standalone scripts, such as a sphinx build
require that django.setup() be called first. See:
https://docs.djangoproject.com/en/1.8/releases/1.7/#standalone-scripts

This should be added to the horizon/docs/source/conf.py

setenv DJANGO_SETTINGS_MODULE for docs env in tox.ini
is no longer needed as it is configured in doc/source/conf.py.

Change-Id: I910dae37770ab9767689918a0c61b78d9c56115a
2017-06-05 09:39:31 +00:00
OpenStack Proposal Bot 525b76dc32 Imported Translations from Zanata
For more information about this automatic import see:
http://docs.openstack.org/developer/i18n/reviewing-translation-import.html

Change-Id: Ica9d6ec65228b7815975c583ed0f62c9eebc0869
2017-05-22 10:32:46 +00:00
OpenStack Proposal Bot 0dd54977b9 Updated from global requirements
Change-Id: Ie3f344e4beb65ddbfc2896acc77a7c2eba699ad8
2017-05-17 03:47:05 +00:00
OpenStack Proposal Bot 45311106cb Updated from global requirements
Change-Id: Ie5d1be3313abf7314cb919b4d930fdb01f62b58e
2017-05-03 12:12:15 +00:00