1. 23 2月, 2017 1 次提交
  2. 31 1月, 2017 1 次提交
    • D
      Reduce hits to LDAP on Git HTTP auth by reordering auth mechanisms · 29414ab0
      Drew Blessing 提交于
      We accept half a dozen different authentication mechanisms for
      Git over HTTP. Fairly high in the list we were checking user
      password, which would also query LDAP. In the case of LFS,
      OAuth tokens or personal access tokens, we were unnecessarily
      hitting LDAP when the authentication will not succeed. This
      was causing some LDAP/AD systems to lock the account. Now,
      user password authentication is the last mechanism tried since
      it's the most expensive.
      29414ab0
  3. 16 12月, 2016 2 次提交
    • T
      View-related (and other minor) changes to !5951 based on @rymai's review. · f706a973
      Timothy Andrew 提交于
      - The `scopes_form` partial can be used in the `admin/applications` view
        as well
      
      - Don't allow partials to access instance variables directly. Instead, pass
        in the instance variables as local variables, and use `local_assigns.fetch`
        to assert that the variables are passed in as expected.
      
      - Change a few instances of `render :partial` to `render`
      
      - Remove an instance of `required: false` in a view, since this is the default
      
      - Inline many instances of a local variable (`ip = 'ip'`) in `auth_spec`
      f706a973
    • T
      Validate access token scopes in `Gitlab::Auth` · 36b3210b
      Timothy Andrew 提交于
      - This module is used for git-over-http, as well as JWT.
      
      - The only valid scope here is `api`, currently.
      36b3210b
  4. 29 9月, 2016 1 次提交
  5. 20 9月, 2016 1 次提交
  6. 19 9月, 2016 3 次提交
  7. 16 9月, 2016 10 次提交
  8. 15 9月, 2016 1 次提交
  9. 01 9月, 2016 1 次提交
  10. 09 8月, 2016 1 次提交
  11. 16 6月, 2016 2 次提交
  12. 13 6月, 2016 1 次提交
  13. 10 6月, 2016 1 次提交
    • J
      Improve Gitlab::Auth method names · 0e896ffe
      Jacob Vosmaer 提交于
      Auth.find was a very generic name for a very specific method.
      Auth.find_in_gitlab_or_ldap was inaccurate in GitLab EE where it also
      looks in Kerberos.
      0e896ffe
  14. 03 6月, 2016 1 次提交
  15. 02 6月, 2016 1 次提交
  16. 02 5月, 2016 1 次提交
  17. 30 4月, 2016 1 次提交
  18. 09 12月, 2015 1 次提交
  19. 22 6月, 2015 2 次提交
  20. 31 10月, 2014 1 次提交
  21. 13 10月, 2014 1 次提交
  22. 08 9月, 2014 2 次提交
  23. 29 8月, 2014 1 次提交
  24. 26 11月, 2013 1 次提交
  25. 04 9月, 2013 1 次提交