An error occurred fetching the project authors.
  1. 29 Aug, 2019 1 commit
    • Stan Hu's avatar
      Fix snippets API not working with visibility level · 680f4377
      Stan Hu authored
      When a restricted visibility level of `private` is set in the instance,
      creating a snippet with the `visibility` level would always fail.
      This happened because:
      
      1. `params[:visibility]` was a string (e.g. "public")
      2. `CreateSnippetService` and `UpdateSnippetService` only looked
         at `params[:visibility_level]`, which was `nil`.
      
      To fix this, we:
      
      1. Make `CreateSnippetService` look at the newly-built
         `snippet.visibility_level`, since the right value is assigned by the
         `VisibilityLevel#visibility=` method.
      2. Modify `UpdateSnippetService` to handle both `visibility_level` and
      `visibility` parameters.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66050
      680f4377
  2. 06 Mar, 2019 1 commit
  3. 18 Dec, 2018 1 commit
    • blackst0ne's avatar
      Update specs to rails5 format · b44a2c80
      blackst0ne authored
      Updates specs to use new rails5 format.
      
      The old format:
      `get :show, { some: params }, { some: headers }`
      
      The new format:
      `get :show, params: { some: params }, headers: { some: headers }`
      b44a2c80
  4. 23 Nov, 2018 1 commit
  5. 27 Jun, 2018 1 commit
  6. 13 Jun, 2018 1 commit
  7. 09 Feb, 2018 1 commit
    • Douwe Maan's avatar
      Merge branch... · 5e9e5692
      Douwe Maan authored
      Merge branch 'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4'
      
      [Port for security-10-4]: Makes SnippetFinder ensure feature visibility
      5e9e5692
  8. 20 Oct, 2017 1 commit
  9. 29 Aug, 2017 1 commit
  10. 28 Aug, 2017 1 commit
  11. 09 Aug, 2017 1 commit
  12. 06 Jul, 2017 3 commits
  13. 21 Jun, 2017 1 commit
  14. 31 May, 2017 1 commit
  15. 21 Apr, 2017 1 commit
  16. 02 Mar, 2017 1 commit
  17. 28 Feb, 2017 1 commit
  18. 23 Feb, 2017 2 commits
  19. 21 Feb, 2017 1 commit
  20. 16 Feb, 2017 1 commit
  21. 02 Feb, 2017 1 commit
    • Sean McGivern's avatar
      Check public snippets for spam · c63194ce
      Sean McGivern authored
      Apply the same spam checks to public snippets (either personal snippets
      that are public, or public snippets on public projects) as to issues on
      public projects.
      c63194ce
  22. 01 Dec, 2016 1 commit