Skip to content

Commit 5b90919

Browse files
author
GitLab Bot
committed
Add latest changes from gitlab-org/gitlab@master
1 parent a05b64a commit 5b90919

File tree

13 files changed

+41
-21
lines changed

13 files changed

+41
-21
lines changed

app/assets/javascripts/repository/components/header_area/blob_button_group.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default {
2323
},
2424
mixins: [getRefMixin, glFeatureFlagMixin()],
2525
inject: {
26-
targetBranch: {
26+
selectedBranch: {
2727
default: '',
2828
},
2929
originalBranch: {
@@ -125,7 +125,7 @@ export default {
125125
:ref="$options.replaceBlobModalId"
126126
:modal-id="$options.replaceBlobModalId"
127127
:commit-message="replaceCommitMessage"
128-
:target-branch="targetBranch || currentRef"
128+
:target-branch="selectedBranch || currentRef"
129129
:original-branch="originalBranch || currentRef"
130130
:can-push-code="userPermissions.pushCode"
131131
:can-push-to-branch="blobInfo.canCurrentUserPushToBranch"

app/assets/javascripts/repository/components/header_area/blob_delete_file_group.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
DeleteBlobModal,
1414
},
1515
inject: {
16-
targetBranch: {
16+
selectedBranch: {
1717
default: '',
1818
},
1919
originalBranch: {
@@ -101,7 +101,7 @@ export default {
101101
:delete-path="blobInfo.webPath"
102102
:modal-id="deleteModalId"
103103
:commit-message="deleteModalCommitMessage"
104-
:target-branch="targetBranch || currentRef"
104+
:target-branch="selectedBranch || currentRef"
105105
:original-branch="originalBranch || currentRef"
106106
:can-push-code="userPermissions.pushCode"
107107
:can-push-to-branch="blobInfo.canCurrentUserPushToBranch"

app/assets/stylesheets/framework/common.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,6 @@ hr {
157157

158158
.item-title { font-weight: $gl-font-weight-bold; }
159159

160-
.author-link {
161-
color: $blue-600;
162-
}
163-
164-
.author-link:hover {
165-
text-decoration: none;
166-
}
167-
168160
table {
169161
a code {
170162
position: relative;

app/helpers/projects_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def link_to_member(author, opts = {}, &block)
7171
testid: "author-link"
7272
}
7373

74-
inject_classes = ["author-link", opts[:extra_class]]
74+
inject_classes = ["author-link gl-text-link", opts[:extra_class]]
7575

7676
if opts[:name]
7777
inject_classes.concat(["js-user-link", opts[:mobile_classes]])

db/docs/batched_background_migrations/backfill_epic_issues_namespace_id.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ feature_category: portfolio_management
55
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156640
66
milestone: '17.3'
77
queued_migration_version: 20240618123929
8-
finalized_by: # version of the migration that finalized this BBM
8+
finalized_by: '20250217231408'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# frozen_string_literal: true
2+
3+
class FinalizeHkBackfillEpicIssuesNamespaceId < Gitlab::Database::Migration[2.2]
4+
milestone '17.10'
5+
6+
disable_ddl_transaction!
7+
8+
restrict_gitlab_migration gitlab_schema: :gitlab_main_cell
9+
10+
def up
11+
ensure_batched_background_migration_is_finished(
12+
job_class_name: 'BackfillEpicIssuesNamespaceId',
13+
table_name: :epic_issues,
14+
column_name: :id,
15+
job_arguments: [:namespace_id, :issues, :namespace_id, :issue_id],
16+
finalize: true
17+
)
18+
end
19+
20+
def down; end
21+
end

db/schema_migrations/20250217231408

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
75931898031ea16327d1991ad7bb2e5aace0d1c94336de6c667acca2b99aa8c8

doc/administration/clusters/kas.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ To disable the agent server on a single node:
4646

4747
#### Turn on KAS on multiple nodes
4848

49-
KAS instances communicate with each other by registering their private addresses in Redis at a well-known location. Each KAS must be configured with its specific location details so that other instances can reach it.
49+
KAS instances communicate with each other by registering their private addresses in Redis at a well-known location.
50+
Each KAS must be configured to present its private address details so that other instances can reach it.
5051

5152
To turn on KAS on multiple nodes:
5253

doc/ci/environments/external_deployment_tools.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ You can create a [project access token](../../user/project/settings/project_acce
4646

4747
### Example: Track deployments of ArgoCD
4848

49-
You can use [ArgoCD webhook](https://argocd-notifications.readthedocs.io/en/stable/services/webhook/) to send deployment events to GitLab Deployment API.
49+
You can use [ArgoCD webhook](https://argo-cd.readthedocs.io/en/stable/operator-manual/notifications/services/webhook/) to send deployment events to GitLab Deployment API.
5050
Here is an example setup that creates a `success` deployment record in GitLab when ArgoCD successfully deploys a new revision:
5151

5252
1. Create a new webhook. You can save the following manifest file and apply it by `kubectl apply -n argocd -f <manifiest-file-path>`:
@@ -93,7 +93,7 @@ Here is an example setup that creates a `success` deployment record in GitLab wh
9393
9494
{{< alert type="note" >}}
9595
96-
If a deployment wasn't created as expected, you can troubleshoot with [`argocd-notifications` tool](https://argocd-notifications.readthedocs.io/en/stable/troubleshooting/).
96+
If a deployment wasn't created as expected, you can troubleshoot with [`argocd-notifications` tool](https://argo-cd.readthedocs.io/en/stable/operator-manual/notifications/troubleshooting/).
9797
For example, `argocd-notifications template notify gitlab-deployment-status <your-app-name> --recipient gitlab:argocd-notifications`
9898
triggers API request immediately and renders an error message from GitLab API server if any.
9999

doc/user/compliance/audit_event_types.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ Audit event types belong to the following product categories.
149149
| [`allow_committer_approval_updated`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/102256) | Prevent approvals by users who add commits setting is updated | {{< icon name="check-circle" >}} Yes | GitLab [15.6](https://gitlab.com/gitlab-org/gitlab/-/issues/373949) | Group |
150150
| [`allow_overrides_to_approver_list_per_merge_request_updated`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/102256) | Prevent editing approval rules in projects and merge requests setting is updated | {{< icon name="check-circle" >}} Yes | GitLab [15.6](https://gitlab.com/gitlab-org/gitlab/-/issues/373949) | Group |
151151
| [`audit_events_streaming_headers_update`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/92068) | A streaming header for audit events is updated | {{< icon name="check-circle" >}} Yes | GitLab [15.3](https://gitlab.com/gitlab-org/gitlab/-/issues/366350) | Group |
152+
| [`compliance_control_status_fail`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/180107) | A compliance control status is updated to fail | {{< icon name="check-circle" >}} Yes | GitLab [17.10](https://gitlab.com/gitlab-org/gitlab/-/issues/513425) | Project |
153+
| [`compliance_control_status_pass`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/180107) | A compliance control status is updated to pass | {{< icon name="check-circle" >}} Yes | GitLab [17.10](https://gitlab.com/gitlab-org/gitlab/-/issues/513425) | Project |
152154
| [`compliance_framework_added`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/157893) | A compliance framework is applied to a project | {{< icon name="check-circle" >}} Yes | GitLab [17.2](https://gitlab.com/gitlab-org/gitlab/-/issues/464160) | Project |
153155
| [`compliance_framework_deleted`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/65343) | A compliance framework is removed from a project | {{< icon name="check-circle" >}} Yes | GitLab [14.1](https://gitlab.com/gitlab-org/gitlab/-/issues/329362) | Project |
154156
| [`compliance_framework_id_updated`](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/94711) | A compliance framework is updated for a project | {{< icon name="check-circle" >}} Yes | GitLab [15.7](https://gitlab.com/gitlab-org/gitlab/-/issues/369310) | Project |

locale/gitlab.pot

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24663,6 +24663,9 @@ msgstr ""
2466324663
msgid "Failed to update branch!"
2466424664
msgstr ""
2466524665

24666+
msgid "Failed to update compliance control status. Error: %{error_message}"
24667+
msgstr ""
24668+
2466624669
msgid "Failed to update compliance requirement"
2466724670
msgstr ""
2466824671

spec/frontend/repository/components/header_area/blob_button_group_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const DEFAULT_PROPS = {
1818
};
1919

2020
const DEFAULT_INJECT = {
21-
targetBranch: 'master',
21+
selectedBranch: 'root-main-patch-07420',
2222
originalBranch: 'master',
2323
blobInfo: blobControlsDataMock.repository.blobs.nodes[0],
2424
};
@@ -113,7 +113,7 @@ describe('BlobButtonGroup component', () => {
113113
it('renders UploadBlobModal', () => {
114114
expect(findUploadBlobModal().props()).toMatchObject({
115115
commitMessage: 'Replace file.js',
116-
targetBranch: 'master',
116+
targetBranch: 'root-main-patch-07420',
117117
originalBranch: 'master',
118118
canPushCode: true,
119119
path: 'some/file.js',

spec/frontend/repository/components/header_area/blob_delete_file_group_spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const DEFAULT_PROPS = {
1818
};
1919

2020
const DEFAULT_INJECT = {
21-
targetBranch: 'master',
21+
selectedBranch: 'root-main-patch-07420',
2222
originalBranch: 'master',
2323
blobInfo: blobControlsDataMock.repository.blobs.nodes[0],
2424
};
@@ -112,7 +112,7 @@ describe('BlobDeleteFileGroup component', () => {
112112
it('renders DeleteBlobModal', () => {
113113
expect(findDeleteBlobModal().props()).toMatchObject({
114114
commitMessage: 'Delete file.js',
115-
targetBranch: 'master',
115+
targetBranch: 'root-main-patch-07420',
116116
originalBranch: 'master',
117117
canPushCode: true,
118118
emptyRepo: false,

0 commit comments

Comments
 (0)