summaryrefslogtreecommitdiff
path: root/spec/requests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'fix-users-api-500-error' into 'master' Rémy Coutable2017-01-061-0/+8
|\ | | | | | | | | | | | | Fix 500 errors when creating a user with identity via API Closes #26295 See merge request !8442
| * Add a failing spec to the POST /users APIRémy Coutable2017-01-041-0/+8
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch ↵Rémy Coutable2017-01-051-1/+66
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | '19966-api-call-to-move-project-to-different-group-fails-when-using-group-and-project-names-instead-of-id' into 'master' Fix groups API to accept path when transferring a project Closes #19966 See merge request !8408
| * | Fix groups API to accept path when transferring a projectMark Fletcher2017-01-031-1/+66
| | | | | | | | | | | | * Use standard helpers for finding group and project
* | | Merge branch ↵Rémy Coutable2017-01-051-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '26261-post-api-v3-projects-idorproject-commits-commits-does-not-work-with-project-path' into 'master' Fix Commits API to accept a Project path upon POST Closes #26261 See merge request !8406
| * | | Fix Commits API to accept a Project path upon POSTMark Fletcher2017-01-031-0/+10
| |/ /
* | | Merge branch 'zj-404-slack-error' into 'master' Kamil Trzciński2017-01-051-36/+57
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Add API route slack slash commands Closes #25954 See merge request !8362
| * | Add API route slack slash commandszj-404-slack-errorZ.J. van de Weg2017-01-031-36/+57
| | |
* | | Fix project hooks paramsfix-api-project-hooks-paramsRobert Schilling2017-01-031-2/+3
|/ /
* | API: extern_uid is a stringapi-fix-extern-uid-validationRobert Schilling2017-01-031-2/+2
|/
* Merge branch 'grapify-settings-api' into 'master' Sean McGivern2016-12-291-2/+1
|\ | | | | | | | | Grapify the settings API See merge request !8336
| * Grapify the settings APIgrapify-settings-apiRobert Schilling2016-12-291-2/+1
| |
* | Merge branch 'fix-api-deprecation' into 'master' Robert Schilling2016-12-281-2/+2
|\ \ | |/ |/| | | | | Fix a Grape deprecation, use `#request_method` instead of `#route_method` See merge request !8297
| * Fix a Grape deprecation, use `#request_method` instead of `#route_method`fix-api-deprecationRémy Coutable2016-12-231-2/+2
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'feature/1376-allow-write-access-deploy-keys' into 'master' Douwe Maan2016-12-271-1/+15
|\ \ | | | | | | | | | | | | | | | | | | Allow to add deploy keys with write-access Closes #1376 See merge request !7383
| * \ Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-12-2011-70/+246
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/1376-allow-write-access-deploy-keys * upstream/master: (538 commits) Reject blank environment vcariables in Gitlab::Git::RevList Add online terminal documentation Add changelog entry Add terminal UI and controller actions Fix specs Even out padding on plus button in breadcrumb menu Update font size of detail page header to 14px Update CHANGELOG.md for 8.13.10 Update CHANGELOG.md for 8.14.5 Fix Route#rename_children behavior Remove inline-block styling from status Add terminals to the Kubernetes deployment service Add a ReactiveCaching concern for use in the KubernetesService Add xterm.js 2.1.0 and a wrapper class to the asset pipeline Remove unnecessary hidden svg elements for icons. Fix consistent typo in environment.js Use a block to insert extra check for authenticate_build! Align milestone column header with count number Add Wiki import to BB importer Make CI badge hitboxes better match container ...
| * \ \ Merge CSSFilipa Lacerda2016-12-1211-107/+497
| |\ \ \
| * | | | Fix tests and also add tests for non-existing repoLin Jen-Shin2016-12-101-1/+15
| | | | |
* | | | | Merge branch 'feature/more-storage-statistics' into 'master' Sean McGivern2016-12-262-1/+88
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | Add more storage statistics See merge request !7754
| * | | | Add more storage statisticsMarkus Koller2016-12-212-1/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds counters for build artifacts and LFS objects, and moves the preexisting repository_size and commit_count from the projects table into a new project_statistics table. The counters are displayed in the administration area for projects and groups, and also available through the API for admins (on */all) and normal users (on */owned) The statistics are updated through ProjectCacheWorker, which can now do more granular updates with the new :statistics argument.
| * | | | Don't expose all namespace fields in APIMarkus Koller2016-12-211-0/+12
| | | | |
* | | | | Fix state_event parameter to reopen an issuefixes-issues-api-reopenRobert Schilling2016-12-221-0/+7
|/ / / /
* | | | Ensure nil User-Agent doesn't break the CI APIRémy Coutable2016-12-211-0/+5
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Improve specs for Files API4269-public-files-apiRémy Coutable2016-12-202-34/+51
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Allow unauthenticated access to Repositories Files API GET endpointsRémy Coutable2016-12-201-11/+26
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Merge branch '4269-public-repositories-api' into 'master' Sean McGivern2016-12-201-131/+353
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Allow Repositories API GET endpoints to be requested anonymously Closes #4269 See merge request !8148
| * | | Improve specs for Repositories API4269-public-repositories-apiRémy Coutable2016-12-201-113/+223
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | Allow Repositories API GET endpoints to be requested anonymouslyRémy Coutable2016-12-191-82/+194
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Spaces around literal hashLin Jen-Shin2016-12-191-2/+2
| | | | | | | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/builds/7617209
* | | | Just set the status rather than calling eventLin Jen-Shin2016-12-191-5/+2
| | | | | | | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20239558
* | | | Define actions in let so that it could be overriddenLin Jen-Shin2016-12-191-10/+13
| | | | | | | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091/diffs#note_20236356
* | | | Delete the project when building the buildLin Jen-Shin2016-12-191-10/+7
| | | | | | | | | | | | | | | | | | | | Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8091#note_20222756
* | | | Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin2016-12-196-22/+60
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix-forbidden-for-build-api-for-deleted-project * upstream/master: (333 commits) Fix typo Always use `fixture_file_upload` helper to upload files in tests. Add CHANGELOG Move admin application spinach test to rspec Move admin deploy keys spinach test to rspec Fix rubocop failures Store mattermost_url in settings Improve Mattermost Session specs Ensure the session is destroyed Improve session tests Setup mattermost session Fix query in Projects::ProjectMembersController to fetch members Improve test for sort dropdown on members page Fix sort dropdown alignment Undo changes on members search button stylesheet Use factories to create project/group membership on specs Remove unused id from shared members sort dropdown Fix sort functionality on project/group members to return invited users Refactor MembersHelper#filter_group_project_member_path Remove unnecessary curly braces from sort dropdown partial ...
| * | | Enable Style/MultilineOperationIndentation in Rubocop, fixes #25741Rydkin Maxim2016-12-161-1/+1
| | | |
| * | | Modify `ApiHelpers` spec to adhere to the Four-Phase test style.Timothy Andrew2016-12-161-0/+12
| | | | | | | | | | | | | | | | - Use whitespace to separate the setup, expectation and teardown phases.
| * | | Validate access token scopes in `Gitlab::Auth`Timothy Andrew2016-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - This module is used for git-over-http, as well as JWT. - The only valid scope here is `api`, currently.
| * | | Calls to the API are checked for scope.Timothy Andrew2016-12-162-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move the `Oauth2::AccessTokenValidationService` class to `AccessTokenValidationService`, since it is now being used for personal access token validation as well. - Each API endpoint declares the scopes it accepts (if any). Currently, the top level API module declares the `api` scope, and the `Users` API module declares the `read_user` scope (for GET requests). - Move the `find_user_by_private_token` from the API `Helpers` module to the `APIGuard` module, to avoid littering `Helpers` with more auth-related methods to support `find_user_by_private_token`
| * | | Add an environment slugNick Thomas2016-12-151-0/+17
| | | |
| * | | Add Gitlab::Middleware::MultipartJacob Vosmaer2016-12-151-2/+2
| | | |
* | | | Give forbidden if project for the build was deletedLin Jen-Shin2016-12-151-0/+19
|/ / / | | | | | | | | | Closes #25309
* | | Fix wrong error message expectation in API::Commits spec25651-fix-masterRémy Coutable2016-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | This was because the MR was a bit behind master and the error message got updated in the meantime by 79aad815. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge branch 'api-cherry-pick' into 'master' Rémy Coutable2016-12-131-0/+70
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Adds the ability to cherry pick a commit via the API. Right now it only supports to directly cherry pick a commit and not starting a MR from it. Shall we do that also for the API? Closes #25450 See merge request !8047
| * | | Make rubocop happyapi-cherry-pickRobert Schilling2016-12-131-1/+1
| | | |
| * | | API: Ability to cherry-pick a commitRobert Schilling2016-12-131-0/+70
| | | |
* | | | Merge branch '25482-fix-api-sudo' into 'master' Sean McGivern2016-12-132-44/+68
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Memoize the current_user so that the sudo can work properly Closes #25482 See merge request !8017
| * | | | Be smarter when finding a sudoed user in API::Helpers25482-fix-api-sudoRémy Coutable2016-12-131-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * | | | API: Memoize the current_user so that the sudo can work properlyRémy Coutable2016-12-122-42/+66
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue was arising when `#current_user` was called a second time after a user was impersonated: the `User#is_admin?` check would be performed on it and it would fail. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Merge branch 'api-simple-group-project' into 'master' Rémy Coutable2016-12-131-2/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API: Ability to get group's project in simple representation Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/25412 See merge request !8060
| * | | | API: Ability to get group's project in simple representationapi-simple-group-projectRobert Schilling2016-12-131-2/+13
| | | | |
* | | | | Merge branch 'api-dont-allow-blank-mr-titles' into 'master' Sean McGivern2016-12-131-0/+16
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Don't allow blank MR titles in API Closes #25033 See merge request !7848