Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2022-05-04 06:08:31 +00:00
parent 89a1014b46
commit 7d4987ae65
5 changed files with 38 additions and 7 deletions

View file

@ -17,7 +17,12 @@ export default function initClonePanel() {
$('a', $cloneOptions).on('click', (e) => { $('a', $cloneOptions).on('click', (e) => {
const $this = $(e.currentTarget); const $this = $(e.currentTarget);
const url = $this.attr('href'); const url = $this.attr('href');
if (url && (url.startsWith('vscode://') || url.startsWith('xcode://'))) { if (
url &&
(url.startsWith('vscode://') ||
url.startsWith('xcode://') ||
url.startsWith('jetbrains://'))
) {
// Clone with "..." should open like a normal link // Clone with "..." should open like a normal link
return; return;
} }

View file

@ -30,13 +30,23 @@
%label.label-bold{ class: 'gl-px-4!' } %label.label-bold{ class: 'gl-px-4!' }
= _('Open in your IDE') = _('Open in your IDE')
- if ssh_enabled? - if ssh_enabled?
%a.dropdown-item.open-with-link{ href: 'vscode://vscode.git/clone?url=' + CGI.escape(project.ssh_url_to_repo) } - escaped_ssh_url_to_repo = CGI.escape(project.ssh_url_to_repo)
%a.dropdown-item.open-with-link{ href: 'vscode://vscode.git/clone?url=' + escaped_ssh_url_to_repo }
.gl-new-dropdown-item-text-wrapper .gl-new-dropdown-item-text-wrapper
= _('Visual Studio Code (SSH)') = _('Visual Studio Code (SSH)')
- if http_enabled? - if http_enabled?
%a.dropdown-item.open-with-link{ href: 'vscode://vscode.git/clone?url=' + CGI.escape(project.http_url_to_repo) } - escaped_http_url_to_repo = CGI.escape(project.http_url_to_repo)
%a.dropdown-item.open-with-link{ href: 'vscode://vscode.git/clone?url=' + escaped_http_url_to_repo }
.gl-new-dropdown-item-text-wrapper .gl-new-dropdown-item-text-wrapper
= _('Visual Studio Code (HTTPS)') = _('Visual Studio Code (HTTPS)')
- if ssh_enabled?
%a.dropdown-item.open-with-link{ href: 'jetbrains://idea/checkout/git?idea.required.plugins.id=Git4Idea&checkout.repo=' + escaped_ssh_url_to_repo }
.gl-new-dropdown-item-text-wrapper
= _('IntelliJ IDEA (SSH)')
- if http_enabled?
%a.dropdown-item.open-with-link{ href: 'jetbrains://idea/checkout/git?idea.required.plugins.id=Git4Idea&checkout.repo=' + escaped_http_url_to_repo }
.gl-new-dropdown-item-text-wrapper
= _('IntelliJ IDEA (HTTPS)')
- if show_xcode_link?(@project) - if show_xcode_link?(@project)
%a.dropdown-item.open-with-link{ href: xcode_uri_to_repo(@project) } %a.dropdown-item.open-with-link{ href: xcode_uri_to_repo(@project) }
.gl-new-dropdown-item-text-wrapper .gl-new-dropdown-item-text-wrapper

View file

@ -338,6 +338,13 @@ pgbouncer['databases'] = {
... ...
} }
# Allow the praefect user to connect to PgBouncer
pgbouncer['users'] = {
'praefect': {
'password': PRAEFECT_SQL_PASSWORD_HASH,
}
}
``` ```
Both `praefect_production` and `praefect_production_direct` use the same database endpoint Both `praefect_production` and `praefect_production_direct` use the same database endpoint

View file

@ -6164,6 +6164,9 @@ msgstr ""
msgid "BoardScope|Current iteration" msgid "BoardScope|Current iteration"
msgstr "" msgstr ""
msgid "BoardScope|Don't filter milestone"
msgstr ""
msgid "BoardScope|Edit" msgid "BoardScope|Edit"
msgstr "" msgstr ""
@ -20837,6 +20840,12 @@ msgstr ""
msgid "Integrations|can't exceed %{recipients_limit}" msgid "Integrations|can't exceed %{recipients_limit}"
msgstr "" msgstr ""
msgid "IntelliJ IDEA (HTTPS)"
msgstr ""
msgid "IntelliJ IDEA (SSH)"
msgstr ""
msgid "Interactive mode" msgid "Interactive mode"
msgstr "" msgstr ""
@ -25728,9 +25737,6 @@ msgstr ""
msgid "No matching results..." msgid "No matching results..."
msgstr "" msgstr ""
msgid "No member provided"
msgstr ""
msgid "No members found" msgid "No members found"
msgstr "" msgstr ""
@ -43389,6 +43395,9 @@ msgstr ""
msgid "You can only add up to %{max_contacts} contacts at one time" msgid "You can only add up to %{max_contacts} contacts at one time"
msgstr "" msgstr ""
msgid "You can only approve an indivdual user, member, or all members"
msgstr ""
msgid "You can only edit files when you are on a branch" msgid "You can only edit files when you are on a branch"
msgstr "" msgstr ""

View file

@ -14,7 +14,7 @@ module Gitlab
span :purchased_usage_total span :purchased_usage_total
div :ci_purchase_successful_alert, text: /You have successfully purchased CI minutes/ div :ci_purchase_successful_alert, text: /You have successfully purchased CI minutes/
div :storage_purchase_successful_alert, text: /You have successfully purchased a storage/ div :storage_purchase_successful_alert, text: /You have successfully purchased a storage/
h4 :storage_available_alert, text: /purchased storage is available/ h2 :storage_available_alert, text: /purchased storage is available/
def plan_ci_limits def plan_ci_limits
plan_ci_minutes_element.span.text[%r{([^/ ]+)$}] plan_ci_minutes_element.span.text[%r{([^/ ]+)$}]