| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Iaedd1b2ef41df29993ec3b56e1ad2079c6a05125
|
|\
| |
| |
| | |
stable/liberty
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When token hashing is used with pki tokens, the unscoped token
gets re-hashed when switching project. This fix checks
if the unscoped token needs to be hashed before doing so.
The project list operation when switching project in horizon
failed because the unscoped token could for example be an
md5 of an md5.
Change-Id: I64684ca251eb4d0c6164e58c078cf7d132eb3cc1
Closes-Bug: #1487372
(cherry picked from commit 5ab3908cff64fa5b5a5bd5ea4877c42096172dd3)
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change Ieff5a6cdd1ad352a9731d46785802e8c36adcdd1 introduced an
uncomplete fix when trying to fix the auth_url.
Given the case that a auth url already has a version included, an extra
version was added. This leads to messages in the keystone.log that
horizon is trying to authenticate with "POST /v3/v3/auth/tokens
HTTP/1.1".
Use urlparse correctly and also add a testcase for fix_auth_url_version().
Change-Id: I80fb310d95e8fdab1212fc5b092a37fd7b26a37a
(cherry picked from commit e008112d0f964b00bd5cb633262365ebc7f9395b)
Closes-Bug: 1508421
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change adds the Keystone API version to the identity endpoint URL
retrieved from Keystone's endpoint list. This is neccessary in Kilo and
later, since identity endpoint URLs retrieved from Keystone no longer
contain the API version path they used to contain until Juno. See
https://bugs.launchpad.net/horizon/+bug/1508421 for a detailed analysis
of the problem.
Closes-Bug: 1508421
(cherry picked from commit 58ce9d7edeac81dbd7e7f77efde33c97e8d1e00c)
Change-Id: I771555bc3133bc7e140822511ccd12aff8c35fca
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The remove_project_cache method was removed because the underlying
functionality never really worked. Unfortunately, that method was
called directly from Horizon in the Liberty release. An empty
signature is being added back to fix backward compatibility.
Change-Id: I9ee475d94dee38e8a76b4aee371b962640f76f31
Closes-Bug: #1526572
(cherry picked from commit e7814b2b8eb7e835a076d2b59ec106ce3bf3bd71)
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The caching is done only per process, so the cleanup during logout
does not really work since the during could be handled by another
process. So the cache will just keep on growing.
This reverts commit bd9fd598e6c2ff11f8c31098cd25c7a42a97d761.
Change-Id: If878d77533ea5fac86fbb73127f26908f1097091
Closes-Bug: #1451943
(cherry picked from commit 91dec7239da7eb7c6dad385b42aa8aa5a7efa422)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I16a421a08f6097073d776db708951699a6a27ad9
|
|/
|
|
| |
Change-Id: I336115f159943ddffe47ca85bb2be8eb1abf27a3
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I487b654de000a03096ec41aad79cdb6f829aa8d6
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I4aab376f9e4a74d24ded16b2bd5e06166ea80799
|
|
|
|
|
|
|
|
|
|
|
|
| |
recent change to specify db user model and it's key
are not compliant with mysql
This change modifies the character limit to be 255 instead of 256,
which is compliant with mysql.
Change-Id: I85f984c690297003d0e6d696f3103ad5fcf34045
Closes-bug: #1499856
(cherry picked from commit 731fc62fb77d1ae1f29a8a8257a19a638e052203)
|
|
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I666118421ce990ffe4aeff2458268fa189a608ba
|
|
|
|
| |
Change-Id: I63e44a75d1601e98639425dc12d5c34bb446adb6
|
|
|
|
| |
Change-Id: Ie1a7beea65cec2dd27bdfbf0c72c9576cc952744
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The default Django User model PK is an int() AutoField
and django-openstack-auth sets this to a hash string. Django
then breaks trying to coerce that string to an int().
This patch adds a new explicit PK to the d-o-a User
model. It also adds the standard Django "models.py" so
that the consumer application (Horizon) may use it.
The consumer application must set:
AUTH_USER_MODEL = 'openstack_auth.User'
to use the new model in place of the default 'auth.User'.
The approach in this patch was inspired by Lin Hua
Cheng <os.lcheng@gmail.com>.
Partial-Bug: 1491117
Change-Id: I549209eb0bb0ddf36d92ee9dc1a9bac799ce67e5
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
Allow handling websso requests per IDP.
Change-Id: Ie20e21eb95c2250e301165012eef5591243620e9
Implements: bp federation-idp-websso
|
|/
|
|
|
|
|
| |
Since we switched from Transifex to Zanata, this file is not needed
any more. Remove it.
Change-Id: I72b2630359523fe357df09f9282f2716dc28413e
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: Id79491ba8097e0bf854725470498d86641638fed
Closes-Bug: #1490772
|
|/
|
|
| |
Change-Id: I1ea5e52054fc857629ff692a75d8394a2852c583
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Replace unicode() with six.text_type
* Replace basestring with six.string_types
* Add unit tests for User.has_perms()
This change is required to port Horizon to Python 3.
Partial-Implements: blueprint porting-python3
Change-Id: I028a37d51ba1eda69336d4c81a47606f7c66f83f
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
Python 2.6 support was dropped with the last release, we
no longer need this code.
Change-Id: I2957864a9a4ae81c6cd2042f226140a5f7af5457
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: Idce747475a709e76e070572dbf11876a3bebeda7
|
|/
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I2075207c8603abf2acc1792afd71543daae212a9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I21a52a09d97012c22536cb9100466cb6f9dc3383
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using PKI tokens results in an empty
projects list in horizon and a 403 error from
keystone.
Change-Id: If6853343125112340e447e760ee7d997e6e7384f
Closes-Bug: #1484499
Closes-Bug: #1486745
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ie8a0e44b7aaf2554376e64e3028c50d2593ae58c
|
|/
|
|
|
|
|
| |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Iffb93b707ad1796000af9f8de1c772dc3b471ce5
|
|
|
|
| |
Change-Id: I7e6e86c34d4457164308ba74bd2d326af961d29e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Django-1.8 added _meta classes for User models,
which aren't supported by AnonymousUsers, the
AbstractBaseUser provides default implementation
for _meta classes.
SimpleTest has been deprecated since Django-1.6 and
was now removed.
Unfortunately, this change drops Django-1.6 (and earlier) compatibility.
Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com>
Partially Implements: blueprint django18
Change-Id: Ie243fd2304421694023f579f49f8fa201e761ba3
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I05e55bd61845309e107d1fcec847d9931e6cfbee
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Iabbf0932172073d84467ba73796563c3985a5bae
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I02b15b58bdd35ca7840fcb73fce51436d60890fc
|
| |
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Id7bbed49e6e533b3ed0a8e9a5abe349b70444162
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Sphinx was always using (o)penstack_auth for the prefix so the index
wasn't very useful.
Change-Id: I872b883688eba22631dd030dad9430b39a19f333
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Provide an option for operator to turn off token
hashing to be performed by horizon.
In some deployment where PKI token format is used
for keystone, token hashing causes issue and results
to 401 error in horizon.
Change-Id: I187b1486db2e453fd49298e1478e30abe97e54fe
Closes-Bug: #1473588
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I6c31df5394442069bb4e00f5a4a0b9ba966d4c14
|