summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated from global requirementsliberty-eolstable/libertyOpenStack Proposal Bot2016-05-152-2/+2
| | | | Change-Id: Iaedd1b2ef41df29993ec3b56e1ad2079c6a05125
* Merge "Unscoped PKI token should no longer be hashed multiple times." into ↵Jenkins2016-03-111-7/+11
|\ | | | | | | stable/liberty
| * Unscoped PKI token should no longer be hashed multiple times.Einar Forselv2016-02-231-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Fix "Add API version to identity endpoint URLs"Thomas Bechtold2016-02-162-1/+30
|/ | | | | | | | | | | | | | 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
* Merge "Add API version to identity endpoint URLs" into stable/libertyJenkins2016-01-252-4/+18
|\
| * Add API version to identity endpoint URLsJohannes Grassler2016-01-112-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fixing backward compatibilityDavid Lyle2016-01-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | 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)
* | Revert - Cache the User's Project by Token IDlin-hua-cheng2015-12-233-97/+0
|/ | | | | | | | | | | | 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)
* Merge "Imported Translations from Zanata" into stable/libertyJenkins2015-11-301-12/+36
|\
| * Imported Translations from ZanataOpenStack Proposal Bot2015-11-201-12/+36
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I16a421a08f6097073d776db708951699a6a27ad9
* | Updated from global requirementsOpenStack Proposal Bot2015-11-171-1/+1
|/ | | | Change-Id: I336115f159943ddffe47ca85bb2be8eb1abf27a3
* Imported Translations from ZanataOpenStack Proposal Bot2015-10-2227-139/+111
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I487b654de000a03096ec41aad79cdb6f829aa8d6
* Imported Translations from ZanataOpenStack Proposal Bot2015-10-104-21/+109
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I4aab376f9e4a74d24ded16b2bd5e06166ea80799
* doa does not work with mysql2.0.1eric2015-10-011-1/+1
| | | | | | | | | | | | 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)
* Imported Translations from ZanataOpenStack Proposal Bot2015-10-0126-221/+342
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I666118421ce990ffe4aeff2458268fa189a608ba
* Updated from global requirementsOpenStack Proposal Bot2015-09-292-2/+2
| | | | Change-Id: I63e44a75d1601e98639425dc12d5c34bb446adb6
* Update .gitreview for stable/libertyDoug Hellmann2015-09-211-0/+1
| | | | Change-Id: Ie1a7beea65cec2dd27bdfbf0c72c9576cc952744
* Merge "Replace default User model PK"2.0.0Jenkins2015-09-182-0/+21
|\
| * Replace default User model PKRichard Jones2015-09-142-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "IDP specific websso"Jenkins2015-09-183-8/+111
|\ \
| * | IDP specific webssolin-hua-cheng2015-09-093-8/+111
| |/ | | | | | | | | | | | | Allow handling websso requests per IDP. Change-Id: Ie20e21eb95c2250e301165012eef5591243620e9 Implements: bp federation-idp-websso
* | Remove .tx/configAndreas Jaeger2015-09-151-9/+0
|/ | | | | | | Since we switched from Transifex to Zanata, this file is not needed any more. Remove it. Change-Id: I72b2630359523fe357df09f9282f2716dc28413e
* Merge "Fix missing region field on WebSSO setup"Jenkins2015-09-011-2/+1
|\
| * Fix missing region field on WebSSO setuplin-hua-cheng2015-08-311-2/+1
| | | | | | | | | | Change-Id: Id79491ba8097e0bf854725470498d86641638fed Closes-Bug: #1490772
* | Updated from global requirementsOpenStack Proposal Bot2015-09-011-1/+1
|/ | | | Change-Id: I1ea5e52054fc857629ff692a75d8394a2852c583
* Merge "Fix Python 3 issues"Jenkins2015-08-283-2/+25
|\
| * Fix Python 3 issuesVictor Stinner2015-08-273-2/+25
| | | | | | | | | | | | | | | | | | | | | | * 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
* | Merge "Removing hack for python 2.6 support"Jenkins2015-08-282-66/+2
|\ \
| * | Removing hack for python 2.6 supportDavid Lyle2015-08-252-66/+2
| |/ | | | | | | | | | | | | Python 2.6 support was dropped with the last release, we no longer need this code. Change-Id: I2957864a9a4ae81c6cd2042f226140a5f7af5457
* | Merge "Updated from global requirements"Jenkins2015-08-271-2/+2
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2015-08-271-2/+2
| |/ | | | | | | Change-Id: Idce747475a709e76e070572dbf11876a3bebeda7
* | Imported Translations from TransifexOpenStack Proposal Bot2015-08-271-3/+11
|/ | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I2075207c8603abf2acc1792afd71543daae212a9
* Merge "Imported Translations from Transifex"1.4.0Jenkins2015-08-201-3/+8
|\
| * Imported Translations from TransifexOpenStack Proposal Bot2015-08-201-3/+8
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I21a52a09d97012c22536cb9100466cb6f9dc3383
* | Merge "initialize the hasher for unscoped token"Jenkins2015-08-201-0/+1
|\ \ | |/ |/|
| * initialize the hasher for unscoped tokenMatthias Runge2015-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | 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
* | Imported Translations from TransifexOpenStack Proposal Bot2015-08-181-3/+7
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ie8a0e44b7aaf2554376e64e3028c50d2593ae58c
* | Imported Translations from TransifexOpenStack Proposal Bot2015-08-171-3/+12
|/ | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Iffb93b707ad1796000af9f8de1c772dc3b471ce5
* Updated from global requirementsOpenStack Proposal Bot2015-08-131-2/+2
| | | | Change-Id: I7e6e86c34d4457164308ba74bd2d326af961d29e
* Merge "Extend User from AbstractBaseUser and AnonymousUser"Jenkins2015-08-113-13/+16
|\
| * Extend User from AbstractBaseUser and AnonymousUserMatthias Runge2015-08-063-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Imported Translations from TransifexOpenStack Proposal Bot2015-08-102-6/+22
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I05e55bd61845309e107d1fcec847d9931e6cfbee
* | Imported Translations from TransifexOpenStack Proposal Bot2015-08-0427-59/+64
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Iabbf0932172073d84467ba73796563c3985a5bae
* | Imported Translations from TransifexOpenStack Proposal Bot2015-07-3128-59/+68
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I02b15b58bdd35ca7840fcb73fce51436d60890fc
* | Imported Translations from TransifexOpenStack Proposal Bot2015-07-2527-96/+127
| | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Id7bbed49e6e533b3ed0a8e9a5abe349b70444162
* | Merge "Fixes modules index generated by Sphinx"Jenkins2015-07-241-1/+1
|\ \
| * | Fixes modules index generated by Sphinxlin-hua-cheng2015-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | Sphinx was always using (o)penstack_auth for the prefix so the index wasn't very useful. Change-Id: I872b883688eba22631dd030dad9430b39a19f333
* | | Merge "Configurable token hashing"Jenkins2015-07-241-2/+4
|\ \ \
| * | | Configurable token hashinglin-hua-cheng2015-07-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Updated from global requirementsOpenStack Proposal Bot2015-07-231-2/+1
| | | | | | | | | | | | | | | | Change-Id: I6c31df5394442069bb4e00f5a4a0b9ba966d4c14