An error occurred fetching the project authors.
- 19 May, 2020 1 commit
-
-
Francisco Javier López authored
-
- 18 May, 2020 1 commit
-
-
Amparo Luna authored
-
- 04 May, 2020 1 commit
-
-
Vijay Hawoldar authored
-
- 27 Apr, 2020 2 commits
-
-
Stan Hu authored
This reverts merge request !27276
-
Stan Hu authored
This brings in Ruby 2.7 suport and a number of fixes: https://github.com/ruby-grape/grape/blob/master/CHANGELOG.md 1. Move all inherited Grape::API -> Grape::API::Instance 2. Remove use of Virtus since this has been removed from Grape. 3. Extract Rack::Response from API error 4. Grape v1.2.3 pulled in a fix used in SafeFile: https://github.com/ruby-grape/grape/pull/1844, so we no longer need to maintain our custom type. 5. Adapt WorkhorseFile with the latest changes to make custom types work with Grape and dry-types. 6. Ensure Array[String] is coerced properly. The change from Virtus to dry-types now requires all strings to be coerced to arrays. Before this was done within Virtus. 7. Coerce Array[Integer] types to arrays of integers The change from Virtus to dry-types now requires all strings to be coerced to arrays of integers. Before this was done within Virtus.
-
- 20 Apr, 2020 1 commit
-
-
Francisco Javier López authored
This commit fixed the raw endpoints in both personal and project snippets. We were always returning the snippet content from db. If the feature flag is enabled and the repo is not empty, we must return the content from the repository.
-
- 03 Mar, 2020 1 commit
-
-
Vijay Hawoldar authored
When querying the project snippets API endpoint, it should check if the project has snippets enabled and 403 if not
-
- 23 Jan, 2020 1 commit
-
-
Alex Pooley authored
Mostly a search and replace for *_project_snippet and *_personal_snippet abilities across app and spec files. Replaced with just *_snippet and falling back on the type of subject to determine which policies to apply. There are some less trivial changes included which relate to inferring an abilities name from the subject class. Because ProjectSnippet is a child of Snippet there is some special handling around the place. There is perhaps potential to clean this up a bit as there is the same logic spread out in various locations. Various changes required after review - Renamed before_action names - Fixed snippet note mailer with spec - Removed incorrect/unecessary policy parameter - Fix personal snippet note policy spec
-
- 16 Jan, 2020 1 commit
-
-
Amparo Luna authored
- Renamed CreateSnippetService into Snippets::CreateService - Return a ServiceResponse from the CreateService - Refactor Snippets::CreateService spec
-
- 29 Aug, 2019 1 commit
-
-
Stan Hu authored
There was some confusion over whether `code` or `content` is the right parameter for snippets. Internally, the database stores `content`. However: 1. Project snippets use `code`. `code` gets remapped in `content` in `lib/api/project_snippets.rb`. 2. Personal snippets use `content`. To unify these APIs, allow an alias of `content` to work for project snippets. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66673
-
- 30 Nov, 2018 1 commit
-
-
Imre Farkas authored
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
-
- 28 Nov, 2018 1 commit
-
-
Imre Farkas authored
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
-
- 30 Sep, 2018 1 commit
-
-
gfyoung authored
Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
-
- 11 Sep, 2018 2 commits
-
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
Yorick Peterse authored
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
-
- 21 Aug, 2018 1 commit
-
-
Robert Schilling authored
-
- 18 Apr, 2018 1 commit
-
-
🙈 jacopo beschi 🙉 authored
-
- 14 Apr, 2018 1 commit
-
-
Jacopo authored
-
- 17 Jan, 2018 1 commit
-
-
Nick Thomas authored
-
- 11 Jan, 2018 2 commits
-
-
🙈 jacopo beschi 🙉 authored
-
Jacopo authored
Adds a Rubocop rule (with autocorrect) to ensure line break around conditionals. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 31 Aug, 2017 1 commit
-
-
Robert Schilling authored
-
- 29 Aug, 2017 2 commits
-
-
Robert Schilling authored
-
Robert Schilling authored
-
- 28 Aug, 2017 2 commits
-
-
Robert Schilling authored
-
Robert Schilling authored
-
- 20 Jul, 2017 1 commit
-
-
Dmitriy Zaporozhets authored
New version of the gem returns 200 status code on delete with content instead of 204 so we explicitly set status code to keep existing behavior Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 07 Jul, 2017 1 commit
-
-
James Lopez authored
-
- 31 May, 2017 1 commit
-
-
Jarka Kadlecova authored
-
- 10 May, 2017 2 commits
-
-
Douwe Maan authored
Refactor snippets finder & dont return internal snippets for external users See merge request !2094
-
Douwe Maan authored
Refactor snippets finder & dont return internal snippets for external users See merge request !2094
-
- 16 Mar, 2017 1 commit
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 02 Mar, 2017 4 commits
-
-
Toon Claes authored
Add `visibility` & `visibility=` methods to the `Gitlab::VisibilityLevel` module so the `visibility_level` can be get/set with a string value.
-
Toon Claes authored
Instead of exposing the VisibilityLevel as Integer, expose it as String `visibility` for Project and ProjectSnippet. Filter queries also accept the `visibility` as String instead of `visibility_level` as Integer. Also remove the `public` boolean.
-
Toon Claes authored
Add `visibility` & `visibility=` methods to the `Gitlab::VisibilityLevel` module so the `visibility_level` can be get/set with a string value.
-
Toon Claes authored
Instead of exposing the VisibilityLevel as Integer, expose it as String `visibility` for Project and ProjectSnippet. Filter queries also accept the `visibility` as String instead of `visibility_level` as Integer. Also remove the `public` boolean.
-
- 21 Feb, 2017 1 commit
-
-
Oswaldo Ferreira authored
-
- 02 Feb, 2017 2 commits
-
-
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.
-
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.
-
- 05 Dec, 2016 1 commit
-
-
Robert Schilling authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-