[Buildbot-commits] [buildbot/buildbot] b9be7e: rework oauth

GitHub noreply at github.com
Wed Jun 18 19:42:49 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: b9be7ee490900579e77e86b20059325e27d8a0b6
      https://github.com/buildbot/buildbot/commit/b9be7ee490900579e77e86b20059325e27d8a0b6
  Author: Pierre Tardy <tardyp at gmail.com>
  Date:   2014-06-18 (Wed, 18 Jun 2014)

  Changed paths:
    M master/buildbot/test/unit/test_www_oauth.py
    M master/buildbot/www/oauth2.py
    M master/docs/developer/cls-auth.rst
    M master/docs/manual/cfg-www.rst

  Log Message:
  -----------
  rework oauth

Sanction actually makes things more complicated than it needs to be
When you look at the simplicity of the oauth protocol, better do its own implementation

Add e2e tests to verify that the negociation actually works against the real bearer

Signed-off-by: Pierre Tardy <tardyp at gmail.com>


  Commit: 1b6052ce916f2418dc488688ff0f2d121a90e5a2
      https://github.com/buildbot/buildbot/commit/1b6052ce916f2418dc488688ff0f2d121a90e5a2
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2014-06-18 (Wed, 18 Jun 2014)

  Changed paths:
    M master/buildbot/www/auth.py
    M master/buildbot/www/oauth2.py
    M www/src/app/common/directives/loginbar/loginbar.directive.coffee

  Log Message:
  -----------
  some more fixes for oauth2

- Add some more customization (option to skip ssl verif for dev)
- some oauth2 do posts instead of get for their redirect_url
- add autologin capability, so that UI enforce the connection to oauth server
- fix logout for oauth

Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>


  Commit: 1e42f4d338d1b90239068d3a06eeef3f7641a670
      https://github.com/buildbot/buildbot/commit/1e42f4d338d1b90239068d3a06eeef3f7641a670
  Author: Pierre Tardy <pierre.tardy at intel.com>
  Date:   2014-06-18 (Wed, 18 Jun 2014)

  Changed paths:
    M master/buildbot/test/unit/test_www_ldapuserinfo.py
    M master/buildbot/www/ldapuserinfo.py
    M master/docs/manual/cfg-www.rst

  Log Message:
  -----------
  ldap: use python3-ldap instead of python-ldap

python-ldap needs a c library
while python3-ldap is pure python

pure python is prefered for simplification of deployment with pip
(no need to apt-get builddeps, works better with paas)

unlike its name is suggesting, it support python 2

Signed-off-by: Pierre Tardy <pierre.tardy at intel.com>


  Commit: a27eb997bd8e46832875de9b0b216f33d564990e
      https://github.com/buildbot/buildbot/commit/a27eb997bd8e46832875de9b0b216f33d564990e
  Author: Pierre Tardy <tardyp at gmail.com>
  Date:   2014-06-18 (Wed, 18 Jun 2014)

  Changed paths:
    M master/buildbot/test/unit/test_www_auth.py
    M master/buildbot/test/unit/test_www_oauth.py

  Log Message:
  -----------
  minor unittests fixes

Signed-off-by: Pierre Tardy <tardyp at gmail.com>


  Commit: 33a82ee191f2be6fa6f45fa219dd6abfd6859126
      https://github.com/buildbot/buildbot/commit/33a82ee191f2be6fa6f45fa219dd6abfd6859126
  Author: Pierre Tardy <tardyp at gmail.com>
  Date:   2014-06-18 (Wed, 18 Jun 2014)

  Changed paths:
    M master/buildbot/buildslave/base.py
    M master/buildbot/config.py
    M master/buildbot/data/buildslaves.py
    M master/buildbot/status/words.py
    M master/buildbot/test/unit/test_data_buildslaves.py
    M master/buildbot/test/unit/test_status_words.py
    M master/buildbot/test/unit/test_util.py
    M master/docs/developer/mq.rst
    M master/docs/manual/cfg-changesources.rst
    M master/docs/manual/customization.rst
    M master/docs/relnotes/index.rst
    M www/codeparameter/setup.py
    M www/sample_plugin/setup.py
    M www/setup.py

  Log Message:
  -----------
  Merge branch 'master' of github.com:buildbot/buildbot into oauth


Compare: https://github.com/buildbot/buildbot/compare/93b0845b6cbd...33a82ee191f2


More information about the Commits mailing list