From 37939fbd29f63c9a730f706e53aece2eea573491 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 15 Nov 2024 00:33:27 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .../forms/components/integration_form.vue | 2 +- .../components/error_tracking_form.vue | 4 +- .../components/project_dropdown.vue | 2 +- .../commit_sidebar/message_field.vue | 2 +- .../permissions/components/settings_panel.vue | 2 +- .../account/components/update_username.vue | 2 +- .../approvals/approvals_summary_optional.vue | 2 +- .../components/mr_widget_pipeline.vue | 2 +- .../components/states/ready_to_merge.vue | 2 +- .../webhooks/components/push_events.vue | 7 ++- app/assets/stylesheets/framework/forms.scss | 2 +- app/assets/stylesheets/page_bundles/ide.scss | 4 +- .../stylesheets/page_bundles/projects.scss | 2 +- .../stylesheets/page_bundles/settings.scss | 6 +-- .../mutations/ci/job/artifacts_destroy.rb | 4 -- app/graphql/mutations/ci/job/base.rb | 4 -- app/models/current.rb | 16 ++++++ app/models/personal_access_token.rb | 6 ++- app/views/abuse_reports/new.html.haml | 2 +- .../_account_and_limit.html.haml | 6 +-- .../application_settings/_ci_cd.html.haml | 20 ++++---- .../_default_branch.html.haml | 2 +- .../_diagramsnet.html.haml | 2 +- .../_diff_limits.html.haml | 6 +-- .../admin/application_settings/_eks.html.haml | 4 +- .../application_settings/_email.html.haml | 4 +- ...ernal_authorization_service_form.html.haml | 12 ++--- .../application_settings/_gitaly.html.haml | 6 +-- .../_gitlab_shell_operation_limits.html.haml | 2 +- .../application_settings/_gitpod.html.haml | 2 +- .../application_settings/_grafana.html.haml | 2 +- .../application_settings/_help_page.html.haml | 6 +-- .../_import_and_export.html.haml | 10 ++-- .../application_settings/_ip_limits.html.haml | 2 +- .../application_settings/_kroki.html.haml | 4 +- .../_localization.html.haml | 4 +- .../_note_limits.html.haml | 2 +- .../application_settings/_outbound.html.haml | 2 +- .../application_settings/_pages.html.haml | 8 +-- .../_performance.html.haml | 6 +-- .../application_settings/_plantuml.html.haml | 2 +- .../_prometheus.html.haml | 2 +- .../_protected_paths.html.haml | 2 +- .../application_settings/_realtime.html.haml | 2 +- .../application_settings/_registry.html.haml | 6 +-- .../_repository_check.html.haml | 4 +- ...etting_registration_features_cta.html.haml | 2 +- .../_repository_static_objects.html.haml | 4 +- .../_search_limits.html.haml | 2 +- .../_security_txt.html.haml | 2 +- .../application_settings/_sentry.html.haml | 8 +-- .../_sidekiq_job_limits.html.haml | 6 +-- .../application_settings/_signin.html.haml | 6 +-- .../application_settings/_slack.html.haml | 6 +-- .../application_settings/_snowplow.html.haml | 6 +-- .../_sourcegraph.html.haml | 2 +- .../application_settings/_spam.html.haml | 10 ++-- .../application_settings/_terminal.html.haml | 2 +- .../application_settings/_terms.html.haml | 2 +- .../_terraform_limits.html.haml | 2 +- .../_users_api_limits.html.haml | 2 +- .../_visibility_and_access.html.haml | 4 +- app/views/admin/applications/_form.html.haml | 2 +- app/views/admin/hooks/_form.html.haml | 4 +- app/views/admin/initial_setup/new.html.haml | 2 +- .../clusters/_advanced_settings.html.haml | 2 +- .../clusters/clusters/_namespace.html.haml | 4 +- .../clusters/_provider_details_form.html.haml | 6 +-- .../clusters/clusters/user/_form.html.haml | 14 ++--- app/views/devise/passwords/new.html.haml | 2 +- .../_totp_recovery_code_or_webauthn.html.haml | 2 +- app/views/groups/settings/_general.html.haml | 2 +- .../settings/_git_access_protocols.html.haml | 2 +- ...iction_registration_features_cta.html.haml | 2 +- .../_remove_dormant_members.html.haml | 2 +- .../settings/_two_factor_auth.html.haml | 2 +- .../groups/settings/ci_cd/_form.html.haml | 2 +- .../repository/_default_branch.html.haml | 2 +- app/views/import/manifest/_form.html.haml | 4 +- app/views/profiles/preferences/show.html.haml | 4 +- .../profiles/two_factor_auths/show.html.haml | 2 +- .../_classification_policy_settings.html.haml | 2 +- .../_branch_names_fields.html.haml | 2 +- app/views/projects/branches/new.html.haml | 2 +- .../projects/maintenance/_cleanup.html.haml | 2 +- .../mattermosts/_team_selection.html.haml | 4 +- .../projects/mirrors/_ssh_host_keys.html.haml | 2 +- .../project_templates/_template.html.haml | 2 +- .../shared/_create_protected_tag.html.haml | 2 +- .../projects/settings/_general.html.haml | 2 +- .../projects/settings/ci_cd/_form.html.haml | 8 +-- ...ge_request_merge_commit_template.html.haml | 2 +- ...quest_merge_suggestions_settings.html.haml | 2 +- ...e_request_squash_commit_template.html.haml | 2 +- .../shared/_create_protected_branch.html.haml | 2 +- .../shared/_protected_branch.html.haml | 2 +- ...etting_registration_features_cta.html.haml | 2 +- app/views/shared/_visibility_radios.html.haml | 2 +- .../shared/access_tokens/_form.html.haml | 2 +- .../deploy_keys/_project_group_form.html.haml | 4 +- .../doorkeeper/applications/_form.html.haml | 2 +- .../doorkeeper/applications/_index.html.haml | 2 +- .../issuable/form/_type_selector.html.haml | 2 +- app/views/shared/labels/_form.html.haml | 2 +- app/views/shared/web_hooks/_form.html.haml | 4 +- .../user_settings/passwords/edit.html.haml | 2 +- .../user_settings/ssh_keys/_form.html.haml | 6 +-- ...llback_current_organization_to_default.yml | 17 +++++++ .../ops/track_organization_fallback.yml | 9 ++++ ...llback_current_organization_to_default.yml | 25 +++++++++ db/docs/ai_settings.yml | 10 ++++ ...ackages_debian_publications_project_id.yml | 5 +- .../backfill_related_epic_links_group_id.yml | 2 +- .../backfill_release_links_project_id.yml | 2 +- .../20241107232900_add_ai_settings_table.rb | 21 ++++++++ ...packages_debian_publications_project_id.rb | 21 ++++++++ ...ze_backfill_related_epic_links_group_id.rb | 21 ++++++++ ...alize_backfill_release_links_project_id.rb | 21 ++++++++ db/schema_migrations/20241107232900 | 1 + db/schema_migrations/20241113232546 | 1 + db/schema_migrations/20241113232650 | 1 + db/schema_migrations/20241113232731 | 1 + db/structure.sql | 26 ++++++++++ .../location_aware_external_url.md | 10 ---- doc/development/documentation/versions.md | 13 ----- doc/development/documentation/workflow.md | 2 +- .../merge_request_widget_extensions.md | 13 ----- .../observabillty_java_tutorial.md | 13 ----- doc/update/upgrade_paths.md | 5 +- .../policies/scan-execution-policies.md | 13 ----- .../policies/scan-result-policies.md | 13 ----- .../pipeline/customize_rulesets.md | 13 ----- doc/user/project/merge_requests/auto_merge.md | 1 + lib/gitlab/current/organization.rb | 8 ++- locale/gitlab.pot | 20 +++++--- scripts/lint-doc.sh | 2 +- .../__snapshots__/push_events_spec.js.snap | 8 +-- spec/lib/gitlab/current/organization_spec.rb | 46 ++++++++++------- spec/lib/gitlab/database/sharding_key_spec.rb | 4 +- spec/models/current_spec.rb | 25 +++++++++ spec/models/personal_access_token_spec.rb | 51 ++++++++++++++----- .../explore/catalog_controller_spec.rb | 9 ++-- 142 files changed, 511 insertions(+), 341 deletions(-) create mode 100644 config/events/fallback_current_organization_to_default.yml create mode 100644 config/feature_flags/ops/track_organization_fallback.yml create mode 100644 config/metrics/counts_all/count_total_fallback_current_organization_to_default.yml create mode 100644 db/docs/ai_settings.yml create mode 100644 db/migrate/20241107232900_add_ai_settings_table.rb create mode 100644 db/post_migrate/20241113232546_finalize_backfill_packages_debian_publications_project_id.rb create mode 100644 db/post_migrate/20241113232650_finalize_backfill_related_epic_links_group_id.rb create mode 100644 db/post_migrate/20241113232731_finalize_backfill_release_links_project_id.rb create mode 100644 db/schema_migrations/20241107232900 create mode 100644 db/schema_migrations/20241113232546 create mode 100644 db/schema_migrations/20241113232650 create mode 100644 db/schema_migrations/20241113232731 delete mode 100644 doc/administration/geo/secondary_proxy/location_aware_external_url.md delete mode 100644 doc/development/documentation/versions.md delete mode 100644 doc/development/fe_guide/merge_request_widget_extensions.md delete mode 100644 doc/tutorials/observability/observabillty_java_tutorial.md delete mode 100644 doc/user/application_security/policies/scan-execution-policies.md delete mode 100644 doc/user/application_security/policies/scan-result-policies.md delete mode 100644 doc/user/application_security/secret_detection/pipeline/customize_rulesets.md diff --git a/app/assets/javascripts/clusters/forms/components/integration_form.vue b/app/assets/javascripts/clusters/forms/components/integration_form.vue index 02f24bcfb85..4265df48fcc 100644 --- a/app/assets/javascripts/clusters/forms/components/integration_form.vue +++ b/app/assets/javascripts/clusters/forms/components/integration_form.vue @@ -114,7 +114,7 @@ export default { class="col-md-6" type="text" /> -
+
-

+

{{ s__( "ErrorTracking|If you self-host Sentry, enter your Sentry instance's full URL. If you use Sentry's hosted solution, enter https://sentry.io", @@ -78,7 +78,7 @@ export default {

{{ s__('ErrorTracking|Connection failed. Check Auth Token and try again.') }}

-

+

{{ s__( 'ErrorTracking|After adding your Auth Token, select the Connect button to load projects.', diff --git a/app/assets/javascripts/error_tracking_settings/components/project_dropdown.vue b/app/assets/javascripts/error_tracking_settings/components/project_dropdown.vue index cd101f57d4f..b6c592b88d5 100644 --- a/app/assets/javascripts/error_tracking_settings/components/project_dropdown.vue +++ b/app/assets/javascripts/error_tracking_settings/components/project_dropdown.vue @@ -77,7 +77,7 @@ export default {

{{ invalidProjectLabel }}

-

+

{{ projectSelectionLabel }}

diff --git a/app/assets/javascripts/ide/components/commit_sidebar/message_field.vue b/app/assets/javascripts/ide/components/commit_sidebar/message_field.vue index 372ff9812ac..9eb8d6fdb1e 100644 --- a/app/assets/javascripts/ide/components/commit_sidebar/message_field.vue +++ b/app/assets/javascripts/ide/components/commit_sidebar/message_field.vue @@ -81,7 +81,7 @@ export default {
  • {{ __('Commit Message') }}
    - + -
    +
    -

    {{ path }}

    +

    {{ path }}

    - {{ s__('mrWidget|Approval is optional') }} + {{ s__('mrWidget|Approval is optional') }}
  • -

    +