Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add latest changes from gitlab-org/gitlab@13-0-stable-ee | GitLab Bot | 2020-05-20 | 1 | -58/+40 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-04-01 | 1 | -4/+4 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-03-26 | 1 | -0/+24 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-03-19 | 1 | -1/+13 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-03-04 | 1 | -16/+20 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-03-03 | 1 | -3/+51 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-02-28 | 1 | -0/+38 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-02-27 | 1 | -25/+25 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-02-17 | 1 | -3/+3 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-01-30 | 1 | -2/+2 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@masterogolowinski-master-patch-80898 | GitLab Bot | 2019-12-16 | 1 | -2/+6 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-10-29 | 1 | -0/+2 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2019-09-25 | 1 | -3/+3 |
| | |||||
* | Merge branch '66741-remove-spec-rails_helper-rb' into 'master' | Grzegorz Bizon | 2019-09-03 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | Remove spec/rails_helper.rb Closes #66741 See merge request gitlab-org/gitlab-ce!32380 | ||||
| * | Replace rails_helper.rb with spec_helper.rb66741-remove-spec-rails_helper-rb | Ash McKenzie | 2019-08-30 | 1 | -1/+1 |
| | | | | | | | | | | rails_helper.rb's only logic was to require spec_helper.rb. | ||||
* | | Merge branch 'sh-fix-snippet-visibility-api' into 'master' | Rémy Coutable | 2019-08-29 | 1 | -1/+24 |
|\ \ | | | | | | | | | | | | | | | | | | | Fix snippets API not working with visibility level Closes #66050 See merge request gitlab-org/gitlab-ce!32286 | ||||
| * | | Fix snippets API not working with visibility levelsh-fix-snippet-visibility-api | Stan Hu | 2019-08-28 | 1 | -1/+24 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Standardize use of `content` parameter in snippets APIsh-support-content-for-snippets-api | Stan Hu | 2019-08-28 | 1 | -0/+42 |
|/ | | | | | | | | | | | | | | | | 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 | ||||
* | Update specs to rails5 formatblackst0ne-convert-specs-rails5-style | blackst0ne | 2018-12-19 | 1 | -8/+8 |
| | | | | | | | | | | 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 }` | ||||
* | API: Catch empty code content for project snippets | Robert Schilling | 2018-08-21 | 1 | -0/+16 |
| | |||||
* | Correct "autorize" typos | Robert Speicher | 2018-06-27 | 1 | -1/+1 |
| | |||||
* | Fix the user-agent detail API endpoint for project snippets | Nick Thomas | 2018-01-17 | 1 | -3/+10 |
| | |||||
* | Refactor `have_http_status` into `have_gitlab_http_status` in the specs | Jacopo | 2017-10-20 | 1 | -17/+17 |
| | |||||
* | Merge branch 'api-delete-respect-headers' into 'master' | Sean McGivern | 2017-08-30 | 1 | -3/+4 |
|\ | | | | | | | | | API: Respect the 'If-Unmodified-Since' for delete endpoints See merge request !9621 | ||||
| * | Add tests for the unmodified header | Robert Schilling | 2017-08-28 | 1 | -3/+4 |
| | | |||||
* | | replace `is_spam?` with `spam?` | Maxim Rydkin | 2017-08-29 | 1 | -2/+2 |
|/ | |||||
* | Change all `:empty_project` to `:project`rs-empty_project-default | Robert Speicher | 2017-08-02 | 1 | -1/+1 |
| | |||||
* | fix spec order issue | James Lopez | 2017-07-07 | 1 | -23/+22 |
| | |||||
* | add spec and project snippet user agent details endpoint | James Lopez | 2017-07-07 | 1 | -0/+21 |
| | |||||
* | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | 2017-06-21 | 1 | -16/+16 |
| | |||||
* | Support descriptions for snippets | Jarka Kadlecova | 2017-05-31 | 1 | -1/+27 |
| | |||||
* | Unnecessary "include WaitForAjax" and "include ApiHelpers" | Jacopo | 2017-04-21 | 1 | -3/+1 |
| | | | | | Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true` | ||||
* | Expose Project's & ProjectSnippet's VisibilityLevel as String | Toon Claes | 2017-03-02 | 1 | -8/+8 |
| | | | | | | | | | | 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. | ||||
* | Backport API to V3 | Robert Schilling | 2017-02-28 | 1 | -1/+1 |
| | |||||
* | Return 204 for delete endpoints | Robert Schilling | 2017-02-28 | 1 | -2/+2 |
| | |||||
* | Spam check and reCAPTCHA improvements28093-snippet-and-issue-spam-check-on-edit | Oswaldo Ferreira | 2017-02-21 | 1 | -26/+66 |
| | |||||
* | Add a custom pagination matcher | Robert Schilling | 2017-02-16 | 1 | -1/+6 |
| | |||||
* | Remove deprecated 'expires_at' from project snippets API | Robert Schilling | 2017-02-07 | 1 | -12/+0 |
| | |||||
* | Use `add_$role` helper in snippets specssnippet-spam | Sean McGivern | 2017-02-02 | 1 | -2/+2 |
| | |||||
* | Check public snippets for spam | Sean McGivern | 2017-02-02 | 1 | -1/+47 |
| | | | | | | 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. | ||||
* | Changed API spec files to describe the correct class | Livier | 2016-11-28 | 1 | -1/+1 |
| | | | | | | | | Restore changes for api spec files Fix error in rspec Users Delete extra space Repositories-spec | ||||
* | Grapify the projects snippet APIgrapify-project-snippet-api | Robert Schilling | 2016-11-21 | 1 | -14/+50 |
| | |||||
* | api: expose web_url for project entities | Ben Boeckel | 2016-08-24 | 1 | -0/+1 |
| | | | | | This allows web hooks to have a URL back to entities without having to generate it themselves. | ||||
* | adds second batch of tests changed to active tenseactive-tense-test-coverage | tiagonbotelho | 2016-08-09 | 1 | -1/+1 |
| | |||||
* | Use HTTP matchers if possible | Z.J. van de Weg | 2016-06-27 | 1 | -6/+6 |
| | |||||
* | Prevent private snippets in public/internal projects from being leaked via API | Stan Hu | 2016-04-25 | 1 | -0/+87 |
| | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15580 | ||||
* | Don't remove `ProjectSnippet#expires_at` from APIrs-snippet-expires-api | Robert Speicher | 2016-03-09 | 1 | -0/+18 |
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3103 This partially reverts commit 836d5930332797192094ce4a3c8083e96f7e8c53. |