From 7a7345366550f509c03595e0dada7cbd0d73103d Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 22 Apr 2020 15:09:27 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../merge_request_templates/Documentation.md | 2 +- .../blob/components/blob_header.vue | 2 +- .../blob_header_viewer_switcher.vue | 2 +- app/models/ci/pipeline_schedule.rb | 4 + app/models/concerns/limitable.rb | 27 +++++ app/models/hooks/project_hook.rb | 3 + app/models/namespace.rb | 15 +++ app/models/plan.rb | 38 +++++++ app/models/plan_limits.rb | 23 ++++ app/models/project.rb | 1 + .../projects/propagate_service_template.rb | 54 +++++----- .../update_repository_storage_service.rb | 6 +- .../212549-padding-in-snippet-blob-header.yml | 5 + .../214834-propagate-service-tempate.yml | 5 + ...n-resource-weight-events-created-at-pd.yml | 5 + .../shard_move_capture_all_errors.yml | 5 + danger/roulette/Dangerfile | 5 +- ...nd_created_at_on_resource_weight_events.rb | 19 ++++ ...415153154_add_unique_index_on_plan_name.rb | 19 ++++ db/structure.sql | 6 +- .../graphql/reference/gitlab_schema.graphql | 14 +++ doc/api/graphql/reference/gitlab_schema.json | 43 ++++++++ doc/api/graphql/reference/index.md | 1 + doc/development/application_limits.md | 2 +- doc/install/aws/index.md | 16 +++ .../2_plan/issue/create_issue_spec.rb | 2 +- spec/factories/plan_limits.rb | 11 ++ spec/factories/plans.rb | 13 +++ .../__snapshots__/blob_header_spec.js.snap | 2 +- .../ajax_variable_list_spec.js | 100 +++++++----------- .../ci_variable_list/ci_variable_list_spec.js | 76 ++++++------- .../native_form_variable_list_spec.js | 0 spec/models/ci/pipeline_schedule_spec.rb | 4 + spec/models/hooks/project_hook_spec.rb | 4 + spec/models/plan_spec.rb | 17 +++ .../graphql/boards/board_lists_query_spec.rb | 24 ++--- .../propagate_service_template_spec.rb | 36 ++++++- .../update_repository_storage_service_spec.rb | 1 + .../concerns/limitable_shared_examples.rb | 36 +++++++ ...ages_domain_cron_worker_shared_examples.rb | 10 +- 40 files changed, 492 insertions(+), 166 deletions(-) create mode 100644 app/models/concerns/limitable.rb create mode 100644 app/models/plan.rb create mode 100644 app/models/plan_limits.rb create mode 100644 changelogs/unreleased/212549-padding-in-snippet-blob-header.yml create mode 100644 changelogs/unreleased/214834-propagate-service-tempate.yml create mode 100644 changelogs/unreleased/38096-add-index-on-resource-weight-events-created-at-pd.yml create mode 100644 changelogs/unreleased/shard_move_capture_all_errors.yml create mode 100644 db/migrate/20200406141452_add_index_to_issue_id_and_created_at_on_resource_weight_events.rb create mode 100644 db/migrate/20200415153154_add_unique_index_on_plan_name.rb create mode 100644 spec/factories/plan_limits.rb create mode 100644 spec/factories/plans.rb rename spec/{javascripts => frontend/ci_variable_list}/ci_variable_list/ajax_variable_list_spec.js (70%) rename spec/{javascripts => frontend/ci_variable_list}/ci_variable_list/ci_variable_list_spec.js (83%) rename spec/{javascripts => frontend/ci_variable_list}/ci_variable_list/native_form_variable_list_spec.js (100%) create mode 100644 spec/models/plan_spec.rb create mode 100644 spec/support/shared_examples/models/concerns/limitable_shared_examples.rb diff --git a/.gitlab/merge_request_templates/Documentation.md b/.gitlab/merge_request_templates/Documentation.md index ddba36efc17..7e9a0b7133a 100644 --- a/.gitlab/merge_request_templates/Documentation.md +++ b/.gitlab/merge_request_templates/Documentation.md @@ -29,7 +29,7 @@ When applicable: - [ ] Link docs to and from the higher-level index page, plus other related docs where helpful. - [ ] Add [GitLab's version history note(s)](https://docs.gitlab.com/ee/development/documentation/styleguide.html#text-for-documentation-requiring-version-text). - [ ] Add the [product tier badge](https://docs.gitlab.com/ee/development/documentation/styleguide.html#product-badges). -- [ ] Add/update the [feature flag section](https://docs.gitlab.com/ee/development/documentation/styleguide.html#feature-flags). +- [ ] Add/update the [feature flag section](https://docs.gitlab.com/ee/development/documentation/feature_flags.html). - [ ] If you're changing document headings, search `doc/*`, `app/views/*`, and `ee/app/views/*` for old headings replacing with the new ones to [avoid broken anchors](https://docs.gitlab.com/ee/development/documentation/styleguide.html#anchor-links). ## Review checklist diff --git a/app/assets/javascripts/blob/components/blob_header.vue b/app/assets/javascripts/blob/components/blob_header.vue index b7d9600ec40..e5e01caa9a5 100644 --- a/app/assets/javascripts/blob/components/blob_header.vue +++ b/app/assets/javascripts/blob/components/blob_header.vue @@ -66,7 +66,7 @@ export default { -
+
diff --git a/app/assets/javascripts/blob/components/blob_header_viewer_switcher.vue b/app/assets/javascripts/blob/components/blob_header_viewer_switcher.vue index 7155a1d35b1..ed03213d7cf 100644 --- a/app/assets/javascripts/blob/components/blob_header_viewer_switcher.vue +++ b/app/assets/javascripts/blob/components/blob_header_viewer_switcher.vue @@ -45,7 +45,7 @@ export default { };