Read about our upcoming Code of Conduct on this issue

  1. 14 Nov, 2019 1 commit
  2. 29 Aug, 2019 1 commit
    • Stan Hu's avatar
      Fix snippets API not working with visibility level · 8f9f83fef89d
      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
      8f9f83fef89d
  3. 16 Jul, 2018 1 commit
  4. 06 Jun, 2018 1 commit
  5. 02 Feb, 2018 1 commit
  6. 31 Mar, 2017 1 commit
  7. 23 Feb, 2017 1 commit
  8. 14 Feb, 2017 1 commit
  9. 05 Oct, 2016 1 commit
    • Marc Siegfriedt's avatar
      multi-file commit · e5bf8f5f5bd7
      Marc Siegfriedt authored
      add docs and tests - add additional validation
      allow move without content
      updated response
      e5bf8f5f5bd7
  10. 30 Aug, 2016 1 commit
  11. 20 Mar, 2016 1 commit
  12. 20 Feb, 2016 2 commits
  13. 03 Nov, 2015 1 commit
  14. 11 Aug, 2015 2 commits
  15. 16 Jul, 2015 1 commit
  16. 08 Mar, 2015 1 commit
    • Vinnie Okada's avatar
      Enforce restricted visibilities for snippets · 4d867d486138
      Vinnie Okada authored
      Add new service classes to create and update project and personal
      snippets.  These classes are responsible for enforcing restricted
      visibility settings for non-admin users.
      4d867d486138
  17. 07 Mar, 2015 1 commit
  18. 22 Feb, 2015 1 commit
  19. 08 Jan, 2015 1 commit
  20. 19 Oct, 2014 1 commit
  21. 03 Oct, 2014 1 commit
  22. 21 Sep, 2014 1 commit
  23. 17 Jun, 2014 1 commit
  24. 02 Apr, 2014 1 commit
  25. 16 Jan, 2014 1 commit
  26. 05 Nov, 2013 1 commit
  27. 28 Jul, 2012 1 commit
  28. 20 Jul, 2012 1 commit
    • Dmitriy Zaporozhets's avatar
      BaseContext · 770f6b6c8942
      Dmitriy Zaporozhets authored
      Controllers refactoring with contexts
      Move commit compare logic to model
      770f6b6c8942