- 10 Dec, 2019 3 commits
-
-
Lukas Eipert authored
If the feature flag `ci_dag_limit_needs` is turned on for a GitLab instance, a job can now depend on up to ten jobs instead of five
-
Add table to store the sentry event and issue ids that are related to a gitlab issue
-
Aleksei Lipniagov authored
-
- 09 Dec, 2019 6 commits
-
-
Cédric Tabin authored
-
George Koltsov authored
This MR extracts a lot of functinality from ProjectTreeRestorer into RelationTreeRestorer in order to introduce a new GroupTreeRestorer that is going to utilize this logic as well. This MR Also changes a few other classes to make them compatible with groups.
-
David Fernandez authored
-
Shinya Maeda authored
This commit persists and controls auto stop date for environments
-
.
-
Create new service to do template variable replacement on the query parameter of the Prometheus proxy API.
-
- 08 Dec, 2019 1 commit
-
-
Stan Hu authored
Stubs for Gitaly calls are memoized by storage and service names in the `@stubs` class variable. Normally this doesn't cause a problem, but an example in `spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb` expected that a new stub would always be instantiated. Since `spec/services/projects/cleanup_service_spec.rb` preceded `spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb`, the stub had already been instantiated, causing the test to fail. To fix this problem, we just clear out the Gitaly stubs for `spec/lib/gitlab/gitaly_client/cleanup_service_spec.rb`. Closes https://gitlab.com/gitlab-org/gitlab/issues/38535
-
- 06 Dec, 2019 8 commits
-
-
Felipe Artur authored
Adds missing spec for fogbugz importer
-
Arturo Herrero authored
Auto-correct some references in RSpec as: - expect_any_instance_of -> expect_next_instance_of - allow_any_instance_of -> allow_next_instance_of Related to https://gitlab.com/gitlab-org/gitlab/issues/34997
-
Andreas Brandl authored
* API::Helpers::Pagination#paginate only exposes offset pagination * API::Helpers::Pagination#paginate_and_retrieve! supports both types I wanted to make it explicit that keyset pagination returns an array instead of a relation. This does not match the behavior of offset pagination, hence not mixing those in #paginate.
-
Andreas Brandl authored
This is in line with what we document: https://docs.gitlab.com/ee/api/README.html#status-codes
-
Andreas Brandl authored
This aligns with offset pagination, where we also allow up to 100 records max.
-
Andreas Brandl authored
This is the squashed together change from https://gitlab.com/gitlab-org/gitlab/merge_requests/19623 that had been reverted previously. Based on the refactoring in https://gitlab.com/gitlab-org/gitlab/merge_requests/21130
-
Ahmad Sherif authored
It works the same way as https://gitlab.com/gitlab-org/gitlab/merge_requests/14846: It consists of two parts: 1. Redirecting users to the configured external storage 1. Allowing the external storage to request the static object(s) on behalf of the user by means of specific tokens Related to https://gitlab.com/gitlab-com/gl-infra/scalability/issues/4
-
Relates to https://gitlab.com/gitlab-org/gitlab/merge_requests/20244 Co-Authored-By:
Thong Kuah <tkuah@gitlab.com>
-
- 05 Dec, 2019 11 commits
-
-
Oswaldo Ferreir authored
It uses the existing cache for the MergeRequestDiffBatch collection class.
-
Andreas Brandl authored
-
Fabio Pitino authored
Add a layer of CI configuration on top of the .gitlab-ci.yml which uses `include:` feature to include a file from repository, from a remote URL or from a template (Auto-DevOps)
-
Andreas Brandl authored
-
Andreas Brandl authored
-
Andreas Brandl authored
The idea here is to make it explicit that at this point we are handling an array and not a relation anymore.
-
Andreas Brandl authored
This separates the "relation builder" from the "batch counting" concern.
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
George Koltsov authored
- Refactor ActionRateLimiter - Add rate limits to Project Export API
-
-
Etienne Baqué authored
Updated release controller spec file. Added new API entity spec file.
-
- 04 Dec, 2019 3 commits
-
-
If `gitlab_rails['rack_attack']['admin_area_protected_paths']` is true, then the Admin Area settings take priority over the Omnibus-managed protected path throttle settings.
-
Lucas Charles authored
Adds partial indices to keys within `ci_variables` and `ci_pipeline_variables` tables to track configuration of Web Application Firewall for running environments
-
Bob Van Landuyt authored
This avoids leaking information into Rails.cache that could influence other specs.
-
- 03 Dec, 2019 4 commits
-
-
Bob Van Landuyt authored
Reuse the `Support::GitAccessActor` to find an actor for the internal API. That way we're a bit closer to having a single way of accessing the user.
-
Heinrich Lee Yu authored
We block IP addresses when failed Git auths reach a certain threshold. This block applied to all requests so for every request, we had to check Redis to see if the IP is blocked. This caused unnecessary Redis load. This MR changes the block to only apply to Git requests as it is described in the documentation
-
Nick Thomas authored
-
Thong Kuah authored
Also, add docs on how to use this template to install GitLab managed apps (v2)
-
- 02 Dec, 2019 4 commits
-
-
- Add RBAC permission to list deployments in knative-serving namespace - Ensure service account has new permission - Update documentation to instruct people to add the ability to list deployments in knative-serving - Add get_cluster_role_bindings delegation to kubeclient - Add KnativeVersionRoleBindingFinder - Add knative_version_role_binding to KubernetesNamespace prereq - Update tests for knative version role and binding Relates to https://gitlab.com/gitlab-org/gitlabktl/issues/17 Co-Authored-By:
Matt Kasa <mkasa@gitlab.com>
-
Fabio Huser authored
-
Fabio Huser authored
-
Alper Akgun authored
-