summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* Check for all scalar types60800-properly-authorize-our-own-graphql-scalar-typesBrett Walker2019-04-221-1/+15
|
* Merge branch 'retry-review-deploy-twice' into 'master'Lin Jen-Shin2019-04-191-2/+2
|\ | | | | | | | | Retry the review-deploy job twice and make the Review App cleanup more efficient See merge request gitlab-org/gitlab-ce!27489
| * Make the Review App cleanup more efficientretry-review-deploy-twiceRémy Coutable2019-04-191-2/+2
| | | | | | | | | | | | Ensure that the cleanup starts right away. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'bvl-graphql-only-authorize-rendered-fields' into 'master'Lin Jen-Shin2019-04-192-59/+76
|\ \ | |/ |/| | | | | | | | | Only check abilities on rendered GraphQL nodes Closes #58647 and #60355 See merge request gitlab-org/gitlab-ce!27273
| * Only check abilities on rendered GraphQL nodesBob Van Landuyt2019-04-182-59/+76
| | | | | | | | | | With this we only check abilities on the rendered edges of a GraphQL connection instead of all the nodes in it.
* | Migrate correlation and tracing code to LabKitan-use-labkitAndrew Newdigate2019-04-1813-611/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change is a fairly straightforward refactor to extract the tracing and correlation-id code from the gitlab rails codebase into the new LabKit-Ruby project. The corresponding import into LabKit-Ruby was in https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1 The code itself remains very similar for now. Extracting it allows us to reuse it in other projects, such as Gitaly-Ruby. This will give us the advantages of correlation-ids and distributed tracing in that project too.
* | Merge branch ↵Kamil Trzciński2019-04-171-2/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | '60500-disable-jit-kubernetes-resource-creation-for-project-level-clusters' into 'master' Disable JIT Kubernetes resource creation for project level clusters Closes #60500 See merge request gitlab-org/gitlab-ce!27352
| * | Disable JIT resource creation for project clusters60500-disable-jit-kubernetes-resource-creation-for-project-level-clustersTiger2019-04-161-2/+8
| |/ | | | | | | | | | | | | | | | | | | | | | | JIT resource creation blocks deployments if a user is self-managing their cluster, as it will fail the build if unable to create a namespace and service account. Using a custom namespace and service account was previously supported for project level clusters, so we should preserve this functionality. https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27352
* | Put four flaky specs in quanrantineRémy Coutable2019-04-171-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'sh-backport-list-commits-by-oid-rugged' into 'master'Douwe Maan2019-04-171-1/+36
|\ \ | | | | | | | | | | | | Bring back Rugged implementation of ListCommitsByOid See merge request gitlab-org/gitlab-ce!27441
| * | Bring back Rugged implementation of ListCommitsByOidStan Hu2019-04-171-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings back changes in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20432. For users using Gitaly on top of NFS, accessing the Git data directly via Rugged may be faster than going through than Gitaly. This merge request introduces the feature flag `rugged_list_commits_by_oid` to activate the Rugged method. For one customer, we saw that ListCommitsByOid was the second highest used endpoint that may be causing increased load.
* | | Add a feature flag for subdirectory archivesNick Thomas2019-04-161-25/+58
| | |
* | | JSON-encoded binary fields should use Base64::encode64Nick Thomas2019-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | It is not interoperable to use Base64::urlsafe_encode64 for fields in JSON that contain binary (as opposed to UTF8-safe) data. For instance, the Golang JSON decoder (which is what gitlab-workhorse uses) insists upon the standard base64 encoding.
* | | Revert "Revert "Merge branch '24704-download-repository-path' into 'master'""Nick Thomas2019-04-162-13/+29
|/ / | | | | | | This reverts commit 171818df0a72097aa1a804c8213666b3f66b0966.
* | Merge branch 'gt-fix-styling-for-pages-status' into 'master'Filipa Lacerda2019-04-162-2/+2
|\ \ | | | | | | | | | | | | | | | | | | Fix styling for `app/assets/stylesheets/pages/status.scss` Closes #59929 See merge request gitlab-org/gitlab-ce!26875
| * | Rename CI related selectorsGeorge Tsiolis2019-04-162-2/+2
| | |
* | | Merge branch '53138-add-metrics-usage-ping' into 'master'Grzegorz Bizon2019-04-161-0/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Adds instance metrics to usage ping Closes #53138 See merge request gitlab-org/gitlab-ce!27238
| * | Adds instance metrics to usage pingRyan Cobb2019-04-101-0/+2
| | | | | | | | | | | | | | | This adds influxdb_metrics_enabled and prometheus_metrics_enabled to usage ping.
* | | Merge branch 'helm_uninstall_command' into 'master'Sean McGivern2019-04-161-0/+72
|\ \ \ | | | | | | | | | | | | | | | | Helm DeleteCommand See merge request gitlab-org/gitlab-ce!27348
| * | | Implement commands to uninstall cluster applicationshelm_uninstall_commandThong Kuah2019-04-161-0/+72
| | |/ | |/| | | | | | | | | | This is the backend part which just allows uninstalling Prometheus for now.
* | | Merge branch 'ci-lint-ssl-error' into 'master'Kamil Trzciński2019-04-161-0/+22
|\ \ \ | | | | | | | | | | | | | | | | Reporting SSL certificate verify errors in CI external config See merge request gitlab-org/gitlab-ce!26750
| * | | catching and cleanly reporting SSL errors in Ci::Config::External::Processordrew cimino2019-04-151-0/+22
| | | |
* | | | Merge branch 'forbid-the-usage-of-reload' into 'master'Lin Jen-Shin2019-04-151-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forbid the usage of reload Closes #60218 See merge request gitlab-org/gitlab-ce!27125
| * | | | Forbid the use of `#reload` and prefer `#reset`forbid-the-usage-of-reloadKamil Trzciński2019-04-151-2/+2
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | The `#reload` makes to load all objects into memory, and the main purpose of `#reload` is to drop the association cache. The `#reset` seems to solve exactly that case.
* | | | Merge branch 'osw-remote-multi-line-suggestions-ff' into 'master'Lin Jen-Shin2019-04-151-23/+4
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | Remove multi-line suggestions feature flag Closes #59178 See merge request gitlab-org/gitlab-ce!27219
| * | | Remove multi-line suggestions feature flagosw-remote-multi-line-suggestions-ffOswaldo Ferreira2019-04-101-23/+4
| | |/ | |/| | | | | | | That's a straightforward feature flag code removal for 11.10
* | | Merge branch 'sh-validate-ref-name-in-commit' into 'master'Rémy Coutable2019-04-151-0/+30
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Validate refs used in controllers don't have spaces Closes #58572 and gitaly#1425 See merge request gitlab-org/gitlab-ce!24037
| * | | Validate refs used in controllers don't have spacessh-validate-ref-name-in-commitStan Hu2019-04-141-0/+30
| | |/ | |/| | | | | | | | | | | | | | | | This avoids an unnecessary call to Gitaly and reduces gRPC errors. * Closes https://gitlab.com/gitlab-org/gitaly/issues/1425 * Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/58572
* | | Added write_repository scope for personal access tokenHoratiu Eugen Vlad2019-04-151-16/+59
| | |
* | | Un-quarantine speccherry-pick-39eb16aaKamil Trzciński2019-04-151-3/+3
| | |
* | | Merge branch 'require-all-templates-to-include-default-stages' into 'master'Sean McGivern2019-04-152-37/+30
|/ / | | | | | | | | | | | | | | | | | | | | Require all templates to use default stages Closes #59992 See merge request gitlab-org/gitlab-ce!26954 (cherry picked from commit 39eb16aab2dbac3347f61f83fb60f5448d44e965) e0df05cf Require all templates to use default stages
* | Squashed commits and modified visibility level outputSara Ahbabou2019-04-121-0/+8
| | | | | | | | Added changelog and rebased
* | Merge branch 'restore-hipchat' into 'master'Nick Thomas2019-04-112-0/+23
|\ \ | | | | | | | | | | | | | | | | | | Revert "Remove HipChat integration from GitLab" Closes #60042 See merge request gitlab-org/gitlab-ce!27172
| * | Revert "Remove HipChat integration from GitLab"Sean McGivern2019-04-102-0/+23
| |/ | | | | | | This reverts commit a5378665a1dc0b9c8dc3a4fa279a0eb78aac5aac.
* | Merge branch 'revert-24704-download-repository-path' into 'master'Rémy Coutable2019-04-112-29/+13
|\ \ | | | | | | | | | | | | Revert "Merge branch '24704-download-repository-path' into 'master'" See merge request gitlab-org/gitlab-ce!27249
| * | Revert "Merge branch '24704-download-repository-path' into 'master'"revert-24704-download-repository-pathPatrick Bajao2019-04-112-29/+13
| | | | | | | | | | | | | | | This reverts commit 6c75bd015cba181f028bc87c396c3d8e43b5dc3e, reversing changes made to 1be7f5aaa38aba79843eae8835be6c99c025e982.
* | | Merge branch 'jc-guard-against-empty-dereferenced_target' into 'master'Sean McGivern2019-04-111-0/+7
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Guard against nil dereferenced_target Closes #60076 See merge request gitlab-org/gitlab-ce!27192
| * | Guard against nil dereferenced_targetjc-guard-against-empty-dereferenced_targetJohn Cai2019-04-101-0/+7
| | |
* | | Align UrlValidator to validate_url gem implementation.Thong Kuah2019-04-111-3/+3
| | | | | | | | | | | | | | | | | | | | | Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement. Make use of the options attribute of the parent class ActiveModel::EachValidator. Add more options: allow_nil, allow_blank, message. Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
* | | Revert "Merge branch 'tz-reorganise-digests-json' into 'master'"tz-revert-new-emojis-loadingTim Zallmann2019-04-101-1/+1
| |/ |/| | | | | Reverts the loading of emojis and its images to move forward with RC
* | Merge branch '47327-fix-github-project-import-visibility' into 'master'Douwe Maan2019-04-101-3/+13
|\ \ | | | | | | | | | | | | Fix GitHub project import visibility See merge request gitlab-org/gitlab-ce!27133
| * | Address style review commentDaniel Wyatt2019-04-091-2/+0
| | |
| * | Add test for github project import to user namespace.Daniel Wyatt2019-04-091-0/+12
| | |
| * | Fix GitHub project import visibilityDaniel Wyatt2019-04-081-2/+2
| | |
* | | Add more info logging to cluster appsDylan Griffith2019-04-101-0/+27
| |/ |/| | | | | | | Log events so that it's easy to see when different requests are starting.
* | Move Contribution Analytics related spec in ↵Imre Farkas2019-04-097-0/+439
| | | | | | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* | Merge branch 'osw-multi-assignees-merge-requests' into 'master'Nick Thomas2019-04-095-5/+14
|\ \ | | | | | | | | | | | | [Backport] Support multiple assignees for merge requests See merge request gitlab-org/gitlab-ce!27089
| * | [CE] Support multiple assignees for merge requestsosw-multi-assignees-merge-requestsOswaldo Ferreira2019-04-085-5/+14
| | | | | | | | | | | | | | | Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161 (code out of ee/ folder).
* | | Merge branch '43263-git-push-option-to-create-mr' into 'master'Nick Thomas2019-04-091-0/+103
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Git push options to create a merge request, set target_branch and set merge when pipeline succeeds Closes #53198 and #43263 See merge request gitlab-org/gitlab-ce!26752
| * | | Use Gitlab::PushOptions for `ci.skip` push optionLuke Duncalfe2019-04-091-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the raw push option Array was sent to Pipeline::Chain::Skip. This commit updates this class (and the chain of classes that pass the push option parameters from the API internal `post_receive` endpoint to that class) to treat push options as a Hash of options parsed by GitLab::PushOptions. The GitLab::PushOptions class takes options like this: -o ci.skip -o merge_request.create -o merge_request.target=branch and turns them into a Hash like this: { ci: { skip: true }, merge_request: { create: true, target: 'branch' } } This now how Pipeline::Chain::Skip is determining if the `ci.skip` push option was used.