An error occurred fetching the project authors.
  1. 08 Dec, 2017 1 commit
  2. 07 Oct, 2017 1 commit
    • Jacopo's avatar
      Replaces `tag: true` into `:tag` in the specs · 0ce67858
      Jacopo authored
      Replaces all the explicit include metadata syntax in the specs (tag:
      true) into the implicit one (:tag).
      Added a cop to prevent future errors and handle autocorrection.
      0ce67858
  3. 06 Oct, 2017 1 commit
    • Toon Claes's avatar
      Create idea of read-only database · d1366971
      Toon Claes authored
      In GitLab EE, a GitLab instance can be read-only (e.g. when it's a Geo
      secondary node). But in GitLab CE it also might be useful to have the
      "read-only" idea around. So port it back to GitLab CE.
      
      Also having the principle of read-only in GitLab CE would hopefully
      lead to less errors introduced, doing write operations when there
      aren't allowed for read-only calls.
      
      Closes gitlab-org/gitlab-ce#37534.
      d1366971
  4. 30 Aug, 2017 3 commits
    • Nick Thomas's avatar
      Address review comments · b84ca08e
      Nick Thomas authored
      b84ca08e
    • Nick Thomas's avatar
      Rework the permissions model for SSH key restrictions · 68470602
      Nick Thomas authored
      `allowed_key_types` is removed and the `minimum_<type>_bits` fields are
      renamed to `<tech>_key_restriction`. A special sentinel value (`-1`) signifies
      that the key type is disabled.
      
      This also feeds through to the UI - checkboxes per key type are out, inline
      selection of "forbidden" and "allowed" (i.e., no restrictions) are in.
      
      As with the previous model, unknown key types are disallowed, even if the
      underlying ssh daemon happens to support them. The defaults have also been
      changed from the lowest known bit size to "no restriction". So if someone
      does happen to have a 768-bit RSA key, it will continue to work on upgrade, at
      least until the administrator restricts them.
      68470602
    • Nick Thomas's avatar
      Add settings for minimum key strength and allowed key type · b0f982fb
      Nick Thomas authored
      This is an amalgamation of:
      
      * Cory Hinshaw: Initial implementation !5552
      * Rémy Coutable: Updates !9350
      * Nick Thomas: Resolve conflicts and add ED25519 support !13712
      b0f982fb
  5. 23 Aug, 2017 1 commit
  6. 18 Aug, 2017 2 commits
    • Robert Speicher's avatar
      Reduce duplication in GitAccess spec around error messages · 5b37f21b
      Robert Speicher authored
      - Adds a new `ProjectMovedError` class to encapsulate that error
        condition. Inherits from `NotFoundError` so existing rescues should
        continue to work.
      - Separating that condition out of `NotFoundError` allowed us to
        simplify the `raise_not_found` helper and avoid repeating the literal
        string.
      - Spec makes use of `ERROR_MESSAGES` hash to avoid repeating literal
        error message strings.
      5b37f21b
    • Robert Speicher's avatar
      Greatly reduce test duration for git_access_spec · bb40f4ab
      Robert Speicher authored
      - Combine multiple `it` blocks into one where it made sense
      - Use `set` for the top-level User record
      - Refactor permission matrix tests
      bb40f4ab
  7. 27 Jul, 2017 2 commits
  8. 16 Jun, 2017 1 commit
  9. 14 Jun, 2017 1 commit
  10. 05 Jun, 2017 5 commits
  11. 08 May, 2017 1 commit
  12. 20 Apr, 2017 1 commit
  13. 03 Apr, 2017 1 commit
  14. 24 Feb, 2017 1 commit
  15. 23 Feb, 2017 2 commits
    • Douwe Maan's avatar
      Enable Style/WordArray · 7d4b52b2
      Douwe Maan authored
      7d4b52b2
    • Sean McGivern's avatar
      Fix GitAccess specs · 485ac922
      Sean McGivern authored
      These specs never ran due to incorrect indentation: the `context` blocks
      were inside the `before`.
      
      Additionally, `GitHooksService` now has to yield itself to callers, and
      `GitAccess` never appears to have had an `allowed?` method.
      485ac922
  16. 05 Feb, 2017 1 commit
  17. 25 Jan, 2017 1 commit
  18. 20 Dec, 2016 1 commit
  19. 08 Dec, 2016 1 commit
  20. 18 Nov, 2016 1 commit
  21. 17 Nov, 2016 1 commit
  22. 16 Nov, 2016 1 commit
  23. 11 Nov, 2016 3 commits
  24. 09 Nov, 2016 1 commit
  25. 01 Nov, 2016 1 commit
  26. 18 Oct, 2016 1 commit
  27. 20 Sep, 2016 1 commit
  28. 16 Sep, 2016 1 commit
  29. 15 Sep, 2016 1 commit