summaryrefslogtreecommitdiff
path: root/spec/services
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/security/gitlab@12-7-stable-eeGitLab Bot2020-02-284-59/+75
|
* Add latest changes from gitlab-org/security/gitlab@12-7-stable-eeGitLab Bot2020-02-281-0/+44
|
* Add latest changes from gitlab-org/security/gitlab@12-7-stable-eeGitLab Bot2020-02-121-0/+36
|
* Add latest changes from gitlab-org/gitlab@12-7-stable-eeGitLab Bot2020-01-311-3/+15
|
* Add latest changes from gitlab-org/security/gitlab@12-7-stable-eeGitLab Bot2020-01-281-2/+37
|
* Add latest changes from gitlab-org/security/gitlab@12-7-stable-eeGitLab Bot2020-01-283-3/+46
|
* Add latest changes from gitlab-org/gitlab@12-7-stable-eeGitLab Bot2020-01-244-110/+52
|
* Add latest changes from gitlab-org/gitlab@12-7-stable-eeGitLab Bot2020-01-245-76/+112
|
* Add latest changes from gitlab-org/gitlab@12-7-stable-eeGitLab Bot2020-01-21100-1587/+2894
|
* Add latest changes from gitlab-org/gitlab@12-6-stable-eeGitLab Bot2020-01-095-34/+31
|
* Add latest changes from gitlab-org/gitlab@12-6-stable-eeGitLab Bot2019-12-2093-593/+2228
|
* Add latest changes from gitlab-org/gitlab@12-5-stable-eeGitLab Bot2019-12-031-5/+3
|
* Add latest changes from gitlab-org/gitlab@12-5-stable-eeGitLab Bot2019-11-1978-731/+3349
|
* Merge branch 'security-mask-sentry-token-12-4-ce' into '12-4-stable'GitLab Release Tools Bot2019-10-252-0/+34
|\ | | | | | | | | Mask Sentry auth token See merge request gitlab/gitlabhq!3504
| * Mask Sentry auth tokenRyan Cobb2019-10-242-0/+34
| | | | | | | | | | This makes it so we mask Sentry's auth token. This mask only occurs in the UI.
* | Merge branch 'security-bvl-validate-force-remove-branch-on-mrs-12-4-ce' into ↵GitLab Release Tools Bot2019-10-245-6/+101
|\ \ | | | | | | | | | | | | | | | | | | '12-4-stable' Only assign merge params when allowed See merge request gitlab/gitlabhq!3487
| * | Only assign merge params when allowedBob Van Landuyt2019-10-235-6/+101
| |/ | | | | | | | | | | | | | | | | When a user updates a merge request coming from a fork, they should not be able to set `force_remove_source_branch` if they cannot push code to the source project. Otherwise developers of the target project could remove the source branch of the source project by setting this flag through the API.
* | Merge branch 'security-developer-transfer-project-12-4' into '12-4-stable'GitLab Release Tools Bot2019-10-241-0/+18
|\ \ | | | | | | | | | | | | Require Maintainer permission on group where project is transferred to See merge request gitlab/gitlabhq!3486
| * | Require maintainer permission to transfer projectsmanojmj2019-10-231-0/+18
| |/
* | Pick only those groups that the viewing user has access to,Aakriti Gupta2019-10-241-0/+104
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in a project members' list. Add tests for possible scenarios Re-factor and remove N + 1 queries Remove author from changelog Don't use memoisation when not needed Include users part of parents of project's group Re-factor tests Create and add users according to roles Re-use group created earlier Add incomplete test for ancestoral groups Rename method to clarify category of groups Skip pending test, remove comments not needed Remove extra line Include ancestors from invited groups as well Add specs for participants service Add more specs Add more specs use instead of Use public group owner instead of project maintainer to test owner acess Remove tests that have now been moved into participants_service_spec Use :context instead of :all Create nested group instead of creating an ancestor separately Add comment explaining doubt on the failing spec Imrpove test setup Optimize sql queries Refactor specs file Add rubocop disablement Add special case for project owners Add small refactor Add explanation to the docs Fix wording Refactor group check Add small changes in specs Add cr remarks Add cr remarks Add specs Add small refactor Add code review remarks Refactor for better database usage Fix failing spec Remove rubocop offences Add cr remarks
* Add latest changes from gitlab-org/gitlab@12-4-stable-eeGitLab Bot2019-10-2262-1005/+2671
|
* Merge branch 'security-fp-stop-jobs-when-blocking-user-12-3' into '12-3-stable'GitLab Release Tools Bot2019-09-261-0/+23
|\ | | | | | | | | Cancel all running CI jobs when user is blocked See merge request gitlab/gitlabhq!3436
| * Cancel all running CI jobs when user is blockedFabio Pitino2019-09-241-0/+23
| | | | | | | | | | | | This prevents a MITM attack where attacker could still access Git repository if any jobs were running long enough.
* | Add latest changes from gitlab-org/gitlab@12-3-stable-eeGitLab Bot2019-09-241-23/+43
|/
* Add latest changes from gitlab-org/gitlab@12-3-stableGitLab Bot2019-09-202-136/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-191-0/+120
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-181-0/+16
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-185-9/+19
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-171-35/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-172-2/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-171-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-161-0/+16
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-164-27/+88
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-162-0/+19
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-141-0/+243
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+6
|
* Fix create MR from issue using a tag as ref🙈 jacopo beschi 🙉2019-09-121-0/+16
| | | | | Creating a MR from an issue using a tag as ref correctly creates the source branch starting from the tag.
* Enables Run Pipeline button to be renderedFilipa Lacerda2019-09-111-0/+4
| | | | | | | | | | | | | | | | | | | | In the Merge Request view, under pipelines tab the user can see a run pipeline button Adds axios post request to button click Adds the logic to handle the user click, refresh the table and disable the button while thee request is being made Updates UI for desktop and mobile Adds specs Regenerates potfile Follow-up after review Uses .finally to avoid code repetition
* Prevent archived projects from showing up in global searchDavid Palubin2019-09-101-0/+8
|
* Remove ignore_column occurence in CE coderemove-old-ignore-columnDmitriy Zaporozhets2019-09-101-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'fj-62807-not-prefill-target-branch' into 'master'Lin Jen-Shin2019-09-101-48/+60
|\ | | | | | | | | | | | | Avoid filling target branch when unknown and source is default branch Closes #62807 See merge request gitlab-org/gitlab-ce!32701
| * Avoid setting merge request target branch when source if default branchfj-62807-not-prefill-target-branchFrancisco Javier López2019-09-101-48/+60
| | | | | | | | | | | | | | In case the source and the target project are the same, the source branch is the default branch, and the target branch is not present, we will avoid prefilling the target branch with the repository default branch. Letting the user decide.
* | Passing job:rules downstream and E2E specs for job:rules configurationdrew2019-09-091-20/+315
| |
* | Only show `/copy_metadata` when usableLee Tickett2019-09-061-0/+13
| |
* | Merge branch 'sh-add-sidekiq-logging-for-bad-ci' into 'master'Grzegorz Bizon2019-09-061-0/+14
|\ \ | | | | | | | | | | | | Log errors for failed pipeline creation in PostReceive See merge request gitlab-org/gitlab-ce!32633
| * | Log errors for failed pipeline creation in PostReceivesh-add-sidekiq-logging-for-bad-ciStan Hu2019-09-051-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a pipeline fails to create in `PostReceive`, the error is silently discarded, making it difficult to understand why a pipeline was not created. We now add a Sidekiq warning message for this. Adding a Sentry exception when this happens would generate a lot of noise for invalid CI files. Relates to https://gitlab.com/gitlab-org/gitlab-ee/issues/14720
* | | Merge branch 'ce-detect-github-pull-requests' into 'master'Kamil Trzciński2019-09-062-2/+224
|\ \ \ | |/ / |/| | | | | | | | Port CreateGithubPullRequestEvents migration from EE See merge request gitlab-org/gitlab-ce!31802
| * | CE port for pipelines for external pull requestsce-detect-github-pull-requestsFabio Pitino2019-09-052-2/+224
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Detect if pipeline runs for a GitHub pull request When using a mirror for CI/CD only we register a pull_request webhook. When a pull_request webhook is received, if the source branch SHA matches the actual head of the branch in the repository we create immediately a new pipeline for the external pull request. Otherwise we store the pull request info for when the push webhook is received. When using "only/except: external_pull_requests" we can detect if the pipeline has a open pull request on GitHub and create or not the job based on that.
* | Merge branch 'add-label-push-opts' into 'master'Ash McKenzie2019-09-061-0/+145
|\ \ | | | | | | | | | | | | | | | | | | Support adding and removing labels w/ push opts Closes #5942 See merge request gitlab-org/gitlab-ce!31831
| * | Support adding and removing labels w/ push optsChristian Couder2019-09-041-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MergeRequests::PushOptionsHandlerService has been updated to allow adding and removing labels to a merge request using git push options. To create a new merge request and add 2 labels to it: git push -u origin -o merge_request.create \ -o merge_request.label="My label 1" \ -o merge_request.label="My label 2" To update an existing merge request and remove a label while adding a different label: git push -u origin -o merge_request.label="My added label" \ -o merge_request.unlabel="My removed label" Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/64320