Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2022-09-07 03:12:49 +00:00
parent cf63cda866
commit 8f8e5017dd
7 changed files with 18 additions and 10 deletions

View File

@ -91,7 +91,7 @@ export default {
data-qa-selector="assignee_link" data-qa-selector="assignee_link"
> >
<span class="js-assignee-tooltip"> <span class="js-assignee-tooltip">
<span class="bold d-block">{{ __('Assignee') }}</span> {{ assignee.name }} <span class="bold d-block">{{ s__('Label|Assignee') }}</span> {{ assignee.name }}
<span v-if="assignee.username" class="text-white-50">@{{ assignee.username }}</span> <span v-if="assignee.username" class="text-white-50">@{{ assignee.username }}</span>
</span> </span>
</user-avatar-link> </user-avatar-link>

View File

@ -160,10 +160,9 @@ module Projects
# #
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
def destroy_mr_diff_relations! def destroy_mr_diff_relations!
mr_batch_size = 100
delete_batch_size = 1000 delete_batch_size = 1000
project.merge_requests.each_batch(column: :iid, of: mr_batch_size) do |relation_ids| project.merge_requests.each_batch(column: :iid, of: BATCH_SIZE) do |relation_ids|
[MergeRequestDiffCommit, MergeRequestDiffFile].each do |model| [MergeRequestDiffCommit, MergeRequestDiffFile].each do |model|
loop do loop do
inner_query = model inner_query = model
@ -184,13 +183,12 @@ module Projects
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
def destroy_merge_request_diffs! def destroy_merge_request_diffs!
mr_batch_size = 100
delete_batch_size = 1000 delete_batch_size = 1000
project.merge_requests.each_batch(column: :iid, of: mr_batch_size) do |relation_ids| project.merge_requests.each_batch(column: :iid, of: BATCH_SIZE) do |relation|
loop do loop do
deleted_rows = MergeRequestDiff deleted_rows = MergeRequestDiff
.where(merge_request_id: relation_ids) .where(merge_request: relation)
.limit(delete_batch_size) .limit(delete_batch_size)
.delete_all .delete_all

View File

@ -3,5 +3,5 @@
\---- \----
%p %p
Don't want to receive updates from GitLab administrators? = s_("Notify|Don't want to receive updates from GitLab administrators?")
= link_to 'Unsubscribe', @unsubscribe_url = link_to _('Unsubscribe'), @unsubscribe_url

View File

@ -264,7 +264,6 @@ module Gitlab
config.assets.precompile << "page_bundles/cycle_analytics.css" config.assets.precompile << "page_bundles/cycle_analytics.css"
config.assets.precompile << "page_bundles/dashboard_projects.css" config.assets.precompile << "page_bundles/dashboard_projects.css"
config.assets.precompile << "page_bundles/dev_ops_reports.css" config.assets.precompile << "page_bundles/dev_ops_reports.css"
config.assets.precompile << "page_bundles/environments.css"
config.assets.precompile << "page_bundles/epics.css" config.assets.precompile << "page_bundles/epics.css"
config.assets.precompile << "page_bundles/error_tracking_details.css" config.assets.precompile << "page_bundles/error_tracking_details.css"
config.assets.precompile << "page_bundles/error_tracking_index.css" config.assets.precompile << "page_bundles/error_tracking_index.css"

View File

@ -317,7 +317,7 @@ FLAG:
On self-managed GitLab, by default this feature is available. To hide the On self-managed GitLab, by default this feature is available. To hide the
feature, ask an administrator to [disable the feature flag](feature_flags.md) named `audit_event_streaming_git_operations`. feature, ask an administrator to [disable the feature flag](feature_flags.md) named `audit_event_streaming_git_operations`.
Streaming audit events can be sent when signed-in users push or pull a project's remote Git repositories: Streaming audit events can be sent when signed-in users push, pull, or clone a project's remote Git repositories:
- [Using SSH](../user/ssh.md). - [Using SSH](../user/ssh.md).
- Using HTTP or HTTPS. - Using HTTP or HTTPS.

View File

@ -194,6 +194,11 @@ Example response:
## Schedule a repository storage move for a group ## Schedule a repository storage move for a group
Schedules a repository storage move for a group. This endpoint:
- Moves only group Wiki repositories.
- Doesn't move repositories for projects in a group. To schedule project moves, use the [Project repository storage moves](project_repository_storage_moves.md) API.
```plaintext ```plaintext
POST /groups/:group_id/repository_storage_moves POST /groups/:group_id/repository_storage_moves
``` ```

View File

@ -23037,6 +23037,9 @@ msgstr ""
msgid "Labels|Promoting %{labelTitle} will make it available for all projects inside %{groupName}. Existing project labels with the same title will be merged. If a group label with the same title exists, it will also be merged. This action cannot be reversed." msgid "Labels|Promoting %{labelTitle} will make it available for all projects inside %{groupName}. Existing project labels with the same title will be merged. If a group label with the same title exists, it will also be merged. This action cannot be reversed."
msgstr "" msgstr ""
msgid "Label|Assignee"
msgstr ""
msgid "Language" msgid "Language"
msgstr "" msgstr ""
@ -26862,6 +26865,9 @@ msgstr ""
msgid "Notify|CI/CD project settings" msgid "Notify|CI/CD project settings"
msgstr "" msgstr ""
msgid "Notify|Don't want to receive updates from GitLab administrators?"
msgstr ""
msgid "Notify|Fingerprint: %{fingerprint}" msgid "Notify|Fingerprint: %{fingerprint}"
msgstr "" msgstr ""