1. 31 8月, 2016 1 次提交
  2. 25 8月, 2016 2 次提交
  3. 01 8月, 2016 1 次提交
    • Z
      State specific default sort order for issuables · 84a3225b
      zs 提交于
      Provide more sensible default sort order for issues and merge requests
      based on the following table:
      
      | type           | state  | default sort order |
      |----------------|--------|--------------------|
      | issues         | open   | last created       |
      | issues         | closed | last updated       |
      | issues         | all    | last created       |
      | merge requests | open   | last created       |
      | merge requests | merged | last updated       |
      | merge requests | closed | last updated       |
      | merge requests | all    | last created       |
      84a3225b
  4. 14 7月, 2016 1 次提交
    • T
      Load Javascript U2F library selectively. · 4b33c4c6
      Timothy Andrew 提交于
      1. Only on supported Chrome versions
      
      2. Mainly, this lets us simplify the javascript-based U2F check to
         `window.u2f`, where `window.u2f` can either be loaded from the GitLab
         server (for Chrome) or from the Firefox extension.
      
      3. This is a better way to provide browser detection for U2F.
      4b33c4c6
  5. 18 6月, 2016 1 次提交
  6. 16 6月, 2016 1 次提交
    • T
      Implement @DouweM's feedback. · 7ee0898a
      Timothy Andrew 提交于
      - Extract a duplicated `redirect_to`
      - Fix a typo: "token", not "certificate"
      - Have the "Expires at" datepicker be attached to a text field, not inline
      - Have both private tokens and personal access tokens verified in a
        single "authenticate_from_private_token" method, both in the
        application and API. Move relevant logic to
        `User#find_by_personal_access_token`
      - Remove unnecessary constants relating to API auth. We don't need a
        separate constant for personal access tokens since the param is the
        same as for private tokens.
      7ee0898a
  7. 06 6月, 2016 3 次提交
    • D
      Add workhorse controller and API helpers · 8c3ba8d6
      Douwe Maan 提交于
      8c3ba8d6
    • T
      Implement U2F registration. · 128549f1
      Timothy Andrew 提交于
      - Move the `TwoFactorAuthsController`'s `new` action to `show`, since
        the page is not used to create a single "two factor auth" anymore. We
        can have a single 2FA authenticator app, along with any number of U2F
        devices, in any combination, so the page will be accessed after the
        first "two factor auth" is created.
      - Add the `u2f` javascript library, which provides an API to the
        browser's U2F implementation.
      - Add tests for the JS components
      128549f1
    • T
      Add a `U2fRegistrations` table/model. · 791cc913
      Timothy Andrew 提交于
      - To hold registrations from U2F devices, and to authenticate them.
      - Previously, `User#two_factor_enabled` was aliased to the
        `otp_required_for_login` column on `users`.
      - This commit changes things a bit:
          - `User#two_factor_enabled` is not a method anymore
          - `User#two_factor_enabled?` checks both the
            `otp_required_for_login` column, as well as `U2fRegistration`s
          - Change all instances of `User#two_factor_enabled` to
            `User#two_factor_enabled?`
      - Add the `u2f` gem, and implement registration/authentication at the
        model level.
      791cc913
  8. 03 6月, 2016 3 次提交
  9. 01 6月, 2016 3 次提交
  10. 31 5月, 2016 1 次提交
  11. 13 5月, 2016 1 次提交
  12. 11 5月, 2016 1 次提交
  13. 04 5月, 2016 1 次提交
  14. 29 4月, 2016 3 次提交
  15. 22 4月, 2016 1 次提交
  16. 15 4月, 2016 1 次提交
  17. 14 4月, 2016 2 次提交
  18. 10 4月, 2016 1 次提交
  19. 21 3月, 2016 1 次提交
  20. 20 3月, 2016 1 次提交
  21. 11 3月, 2016 2 次提交
  22. 10 3月, 2016 3 次提交
  23. 20 2月, 2016 1 次提交
  24. 16 2月, 2016 2 次提交
  25. 05 2月, 2016 2 次提交