Skip to content
Snippets Groups Projects
  1. Sep 13, 2019
  2. Jul 26, 2019
  3. May 06, 2019
  4. Apr 08, 2019
  5. Mar 19, 2019
  6. Feb 06, 2019
  7. Feb 04, 2019
    • James Edwards-Jones's avatar
      Avoid CSRF check on SAML failure endpoint · 6548e01f
      James Edwards-Jones authored
      SAML and OAuth failures should cause a message to be presented, as well
      as logging that an attempt was made. These were incorrectly prevented by
      the CSRF check on POST endpoints such as SAML.
      
      In addition we were using a NullSession forgery protection, which made
      testing more difficult and could have allowed account linking to take
      place if a CSRF was ever needed but not present.
      6548e01f
  8. Jan 10, 2019
  9. Sep 19, 2018
    • gfyoung's avatar
      Enable frozen string in app/controllers/**/*.rb · 73322a0e
      gfyoung authored
      Enables frozen string for the following:
      
      * app/controllers/*.rb
      * app/controllers/admin/**/*.rb
      * app/controllers/boards/**/*.rb
      * app/controllers/ci/**/*.rb
      * app/controllers/concerns/**/*.rb
      
      Partially addresses #47424.
      73322a0e
  10. Jun 25, 2018
  11. Jun 21, 2018
  12. May 21, 2018
  13. May 04, 2018
  14. Apr 30, 2018
  15. Apr 23, 2018
  16. Apr 22, 2018
  17. Mar 22, 2018
  18. Mar 21, 2018
  19. Feb 28, 2018
  20. Feb 02, 2018
  21. Jan 17, 2018
  22. Jan 11, 2018
  23. Nov 23, 2017
  24. Nov 17, 2017
  25. Aug 24, 2017
  26. Aug 15, 2017
  27. Aug 07, 2017
  28. Jul 06, 2017
    • Timothy Andrew's avatar
      Fix build for !11963. · 7c2f5bb4
      Timothy Andrew authored
      - Don't use `request.env['omniauth.params']` if it isn't present.
      
      - Remove the `saml` section from the `gitlab.yml` test section. Some tests
        depend on this section not being initially present, so it can be overridden
        in the test. This MR doesn't add any tests for SAML, so we didn't really need
        this in the first place anyway.
      
      - Clean up the test -> omniauth section of `gitlab.yml`
      7c2f5bb4
    • Timothy Andrew's avatar
      Implement "remember me" for OAuth-based login. · 633793cf
      Timothy Andrew authored
      - Pass a `remember_me` query parameter along with the initial OAuth request, and
        pick this parameter up during the omniauth callback from
        request.env['omniauth.params']`.
      
      - For 2FA-based login, copy the `remember_me` param from `omniauth.params` to
        `params`, which the 2FA process will pick up.
      
      - For non-2FA-based login, simply call the `remember_me` devise method to set
        the session cookie.
      633793cf
  29. Jul 05, 2017
  30. Jul 03, 2017
    • Timothy Andrew's avatar
      Fix build for !11963. · 9a0f5bd5
      Timothy Andrew authored
      - Don't use `request.env['omniauth.params']` if it isn't present.
      
      - Remove the `saml` section from the `gitlab.yml` test section. Some tests
        depend on this section not being initially present, so it can be overridden
        in the test. This MR doesn't add any tests for SAML, so we didn't really need
        this in the first place anyway.
      
      - Clean up the test -> omniauth section of `gitlab.yml`
      9a0f5bd5
    • Timothy Andrew's avatar
      Implement "remember me" for OAuth-based login. · 5b649ac6
      Timothy Andrew authored
      - Pass a `remember_me` query parameter along with the initial OAuth request, and
        pick this parameter up during the omniauth callback from
        request.env['omniauth.params']`
      
      - For 2FA-based login, copy the `remember_me` param from `omniauth.params` to
        `params`, which the 2FA process will pick up.
      
      - For non-2FA-based login, simply call the `remember_me` devise method to set
        the session cookie.
      5b649ac6
  31. Jun 21, 2017
  32. May 05, 2017
  33. Feb 23, 2017
Loading