summaryrefslogtreecommitdiff
path: root/spec/requests/api/project_snippets_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Correct "autorize" typosRobert Speicher2018-06-271-1/+1
|
* Fix the user-agent detail API endpoint for project snippetsNick Thomas2018-01-171-3/+10
|
* Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo2017-10-201-17/+17
|
* Merge branch 'api-delete-respect-headers' into 'master'Sean McGivern2017-08-301-3/+4
|\ | | | | | | | | API: Respect the 'If-Unmodified-Since' for delete endpoints See merge request !9621
| * Add tests for the unmodified headerRobert Schilling2017-08-281-3/+4
| |
* | replace `is_spam?` with `spam?`Maxim Rydkin2017-08-291-2/+2
|/
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* fix spec order issueJames Lopez2017-07-071-23/+22
|
* add spec and project snippet user agent details endpointJames Lopez2017-07-071-0/+21
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-16/+16
|
* Support descriptions for snippetsJarka Kadlecova2017-05-311-1/+27
|
* Unnecessary "include WaitForAjax" and "include ApiHelpers"Jacopo2017-04-211-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 StringToon Claes2017-03-021-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 V3Robert Schilling2017-02-281-1/+1
|
* Return 204 for delete endpointsRobert Schilling2017-02-281-2/+2
|
* Spam check and reCAPTCHA improvements28093-snippet-and-issue-spam-check-on-editOswaldo Ferreira2017-02-211-26/+66
|
* Add a custom pagination matcherRobert Schilling2017-02-161-1/+6
|
* Remove deprecated 'expires_at' from project snippets APIRobert Schilling2017-02-071-12/+0
|
* Use `add_$role` helper in snippets specssnippet-spamSean McGivern2017-02-021-2/+2
|
* Check public snippets for spamSean McGivern2017-02-021-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 classLivier2016-11-281-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-apiRobert Schilling2016-11-211-14/+50
|
* api: expose web_url for project entitiesBen Boeckel2016-08-241-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-coveragetiagonbotelho2016-08-091-1/+1
|
* Use HTTP matchers if possibleZ.J. van de Weg2016-06-271-6/+6
|
* Prevent private snippets in public/internal projects from being leaked via APIStan Hu2016-04-251-0/+87
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15580
* Don't remove `ProjectSnippet#expires_at` from APIrs-snippet-expires-apiRobert Speicher2016-03-091-0/+18
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3103 This partially reverts commit 836d5930332797192094ce4a3c8083e96f7e8c53.