An error occurred fetching the project authors.
- 29 Aug, 2019 1 commit
-
-
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
-
- 06 Mar, 2019 1 commit
-
-
Nick Thomas authored
Previously, you could only access personal snippets in the API if you had authored them. The documentation doesn't state that this is the case, and it's quite surprising.
-
- 18 Dec, 2018 1 commit
-
-
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 }`
-
- 23 Nov, 2018 1 commit
-
-
Francisco Javier López authored
-
- 27 Jun, 2018 1 commit
-
-
Robert Speicher authored
-
- 13 Jun, 2018 1 commit
-
-
Jan authored
-
- 09 Feb, 2018 1 commit
-
-
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
-
- 20 Oct, 2017 1 commit
-
-
Jacopo authored
-
- 29 Aug, 2017 1 commit
-
-
Maxim Rydkin authored
-
- 28 Aug, 2017 1 commit
-
-
Robert Schilling authored
-
- 09 Aug, 2017 1 commit
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- 06 Jul, 2017 3 commits
-
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
- 21 Jun, 2017 1 commit
-
-
Grzegorz Bizon authored
-
- 31 May, 2017 1 commit
-
-
Jarka Kadlecova authored
-
- 21 Apr, 2017 1 commit
-
-
Jacopo authored
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
-
- 02 Mar, 2017 1 commit
-
-
Toon Claes authored
-
- 28 Feb, 2017 1 commit
-
-
Robert Schilling authored
-
- 23 Feb, 2017 2 commits
-
-
Douwe Maan authored
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
-
Douwe Maan authored
-
- 21 Feb, 2017 1 commit
-
-
Oswaldo Ferreira authored
-
- 16 Feb, 2017 1 commit
-
-
Robert Schilling authored
-
- 02 Feb, 2017 1 commit
-
-
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.
-
- 01 Dec, 2016 1 commit
-
-
Guyzmo authored
Adding the necessary API for the new /snippets Restful resource added with this commit. Added a new Grape class `Snippets`, as well as a `PersonalSnippet` entity. Issue: #20042 Merge-Request: !6373 Signed-off-by:
Guyzmo <guyzmo+gitlab+pub@m0g.net>
-