summaryrefslogtreecommitdiff
path: root/spec/requests/api/todos_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-09-081-0/+23
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-06-241-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-05-121-0/+40
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-231-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-301-33/+39
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-031-6/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-291-0/+2
|
* Significantly reduce N+1 queries in /api/v4/todos endpointStan Hu2019-03-061-5/+47
| | | | | | | | | | | By preloading associations and batching issuable metadata lookups, we can significantly cut the number of SQL queries needed to load the Todos API endpoint. On GitLab.com, my own tests showed my user's SQL queries went from 365 to under 60 SQL queries. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/40378
* Update specs to rails5 formatblackst0ne-convert-specs-rails5-styleblackst0ne2018-12-191-6/+6
| | | | | | | | | | 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 }`
* Add changes from the EEJarka Kadlecová2018-08-061-1/+13
|
* Merge branch 'security-10-4-todo-api-reveals-sensitive-information' into ↵Robert Speicher2018-02-091-0/+6
| | | | | | 'security-10-4' Restrict Todo API mark_as_done endpoint to the user's todos only
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-221-3/+3
|
* Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo2017-10-201-6/+6
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-011-1/+1
|
* Fix the :project factory by not copying the test repo twicerc/fix-tests-factoriesRémy Coutable2017-07-271-1/+1
| | | | | | | Also, fixing some calls to the :project factory with the :test_repo trait since this trait is already included in the :project factory. Signed-off-by: Rémy Coutable <remy@rymai.me>
* 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`
* Migrate the Todos API to use `issuable_iid`Timothy Andrew2017-03-071-3/+3
| | | | - Instead of `issuable_id`
* Merge branch '22951-fix-todos-api-endpoint-error-for-commits' into 'master' Sean McGivern2017-03-011-2/+2
|\ | | | | | | | | | | | | Fix todos API endpoint application error Closes #22951 See merge request !9351
| * Add spec for todo with target_type CommitGeorge Andrinopoulos2017-02-211-2/+2
| |
* | API: Use POST requests to mark todos as doneRobert Schilling2017-02-211-13/+14
| |
* | Add a custom pagination matcherRobert Schilling2017-02-161-0/+6
|/
* Merge branch 'fix-api-mr-permissions' into 'security'Robert Speicher2017-01-231-1/+14
| | | | | | Ensure that only privileged users can access merge requests in the API See merge request !2053
* Replace many :project with :empty_projects in API specsuse-empty_project-factory-in-api-specsRémy Coutable2017-01-171-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use cache for todos counter calling TodoServicePaco Guzman2016-08-121-0/+12
|
* Return the number of marked todosapi-delete-todosRobert Schilling2016-07-191-2/+1
|
* Support creating a todo on issuables via APItodos-apiRobert Schilling2016-07-011-1/+48
|
* Expose target, filter by state as stringRobert Schilling2016-07-011-3/+12
|
* Expose action_nameRobert Schilling2016-07-011-0/+1
|
* Assert response bodyRobert Schilling2016-07-011-1/+12
|
* Add user to project to see todosRobert Schilling2016-07-011-0/+5
|
* Make tests follow the guidelinesRobert Schilling2016-07-011-10/+20
|
* Add Todos APIDouglas Barbosa Alexandre2016-07-011-0/+107