1. 03 3月, 2017 1 次提交
  2. 27 2月, 2017 1 次提交
  3. 23 2月, 2017 1 次提交
  4. 22 2月, 2017 1 次提交
  5. 11 2月, 2017 1 次提交
  6. 20 12月, 2016 2 次提交
  7. 23 11月, 2016 1 次提交
  8. 22 11月, 2016 1 次提交
  9. 18 11月, 2016 1 次提交
  10. 24 10月, 2016 1 次提交
  11. 15 10月, 2016 1 次提交
  12. 14 10月, 2016 2 次提交
    • S
      Fix specs · 241cca01
      Sean McGivern 提交于
      241cca01
    • S
      Allow setting content for resolutions · 3f71c43e
      Sean McGivern 提交于
      When reading conflicts:
      
      1. Add a `type` field. `text` works as before, and has `sections`;
         `text-editor` is a file with ambiguous conflict markers that can only
         be resolved in an editor.
      2. Add a `content_path` field pointing to a JSON representation of the
         file's content for a single file.
      3. Hitting `content_path` returns a similar datastructure to the `file`,
         but without the `content_path` and `sections` fields, and with a
         `content` field containing the full contents of the file (with
         conflict markers).
      
      When writing conflicts:
      
      1. Instead of `sections` being at the top level, they are now in a
         `files` array. This matches the read format better.
      2. The `files` array contains file hashes, each of which must contain:
         a. `new_path`
         b. `old_path`
         c. EITHER `sections` (which works as before) or `content` (with the
            full content of the resolved file).
      3f71c43e
  13. 06 10月, 2016 1 次提交
  14. 01 9月, 2016 2 次提交
  15. 31 8月, 2016 1 次提交
  16. 25 8月, 2016 2 次提交
  17. 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
  18. 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
  19. 18 6月, 2016 1 次提交
  20. 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
  21. 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
  22. 03 6月, 2016 3 次提交
  23. 01 6月, 2016 3 次提交
  24. 31 5月, 2016 1 次提交
  25. 13 5月, 2016 1 次提交
  26. 11 5月, 2016 1 次提交
  27. 04 5月, 2016 1 次提交
  28. 29 4月, 2016 3 次提交