| `bodyHtml` | String | The GitLab Flavored Markdown rendering of `note` |
| `bodyHtml` | String | The GitLab Flavored Markdown rendering of `note` |
| `confidential` | Boolean | Indicates if this note is confidential |
| `createdAt` | Time! | Timestamp of the note creation |
| `createdAt` | Time! | Timestamp of the note creation |
| `discussion` | Discussion | The discussion this note is a part of |
| `discussion` | Discussion | The discussion this note is a part of |
| `id` | ID! | ID of the note |
| `id` | ID! | ID of the note |
...
@@ -925,6 +926,7 @@ Information about pagination in a connection.
...
@@ -925,6 +926,7 @@ Information about pagination in a connection.
| `tagList` | String | List of project tags |
| `tagList` | String | List of project tags |
| `userPermissions` | ProjectPermissions! | Permissions for the current user on the resource |
| `userPermissions` | ProjectPermissions! | Permissions for the current user on the resource |
| `visibility` | String | Visibility of the project |
| `visibility` | String | Visibility of the project |
| `vulnerabilitySeveritiesCount` | VulnerabilitySeveritiesCount | Counts for each severity of vulnerability of the project. Available only when feature flag `first_class_vulnerabilities` is enabled |
| `webUrl` | String | Web URL of the project |
| `webUrl` | String | Web URL of the project |
| `wikiEnabled` | Boolean | (deprecated) Does this project have wiki enabled?. Use `wiki_access_level` instead |
| `wikiEnabled` | Boolean | (deprecated) Does this project have wiki enabled?. Use `wiki_access_level` instead |
...
@@ -1442,3 +1444,16 @@ Represents a vulnerability.
...
@@ -1442,3 +1444,16 @@ Represents a vulnerability.
| `state` | VulnerabilityState | State of the vulnerability (DETECTED, DISMISSED, RESOLVED, CONFIRMED) |
| `state` | VulnerabilityState | State of the vulnerability (DETECTED, DISMISSED, RESOLVED, CONFIRMED) |
| `title` | String | Title of the vulnerability |
| `title` | String | Title of the vulnerability |
| `vulnerabilityPath` | String | URL to the vulnerability's details page |
| `vulnerabilityPath` | String | URL to the vulnerability's details page |
## VulnerabilitySeveritiesCount
Represents vulnerability counts by severity
| Name | Type | Description |
| --- | ---- | ---------- |
| `critical` | Int | Number of vulnerabilities of CRITICAL severity of the project |
| `high` | Int | Number of vulnerabilities of HIGH severity of the project |
| `info` | Int | Number of vulnerabilities of INFO severity of the project |
| `low` | Int | Number of vulnerabilities of LOW severity of the project |
| `medium` | Int | Number of vulnerabilities of MEDIUM severity of the project |
| `unknown` | Int | Number of vulnerabilities of UNKNOWN severity of the project |
# Migration model namespace isolated from application code.
classPrometheus
defself.statuses
{
errored: -1,
installed: 3,
updated: 5
}
end
end
end
# Migration model namespace isolated from application code.
classCluster<ActiveRecord::Base
self.table_name='clusters'
enumcluster_type: {
instance_type: 1,
group_type: 2
}
defself.has_prometheus_application?
joins("INNER JOIN clusters_applications_prometheus ON clusters_applications_prometheus.cluster_id = clusters.id
AND clusters_applications_prometheus.status IN (#{Applications::Prometheus.statuses[:installed]}, #{Applications::Prometheus.statuses[:updated]})").exists?
end
end
# Migration model namespace isolated from application code.
logger.info(message: "#{self.class}: updated inconsistent services for #{result['number_of_updated_records']} projects in id=#{from_id}...#{to_id}")
end
# there is no uniq constraint on project_id and type pair, which prevents us from using ON CONFLICT
defcreate_sql(from_id,to_id)
<<~SQL
WITH created_records AS (
INSERT INTO services (project_id, #{DEFAULTS.keys.map{|key|%("#{key}")}.join(',')}, created_at, updated_at)
#{select_insert_values_sql(from_id,to_id)}
RETURNING *
)
SELECT COUNT(*) as number_of_created_records
FROM created_records
SQL
end
# there is no uniq constraint on project_id and type pair, which prevents us from using ON CONFLICT
defupdate_sql(from_id,to_id)
<<~SQL
WITH updated_records AS (
UPDATE services SET active = TRUE
WHERE services.project_id BETWEEN #{Integer(from_id)} AND #{Integer(to_id)} AND services.properties = '{}' AND services.type = '#{Migratable::PrometheusService.type}'
AND #{group_cluster_condition(from_id,to_id)} AND services.active = FALSE
RETURNING *
)
SELECT COUNT(*) as number_of_updated_records
FROM updated_records
SQL
end
defgroup_cluster_condition(from_id,to_id)
return'1 = 1'ifmigrate_instance_cluster?
<<~SQL
EXISTS (
#{Migratable::Project.select(1).with_group_prometheus_installed.where("projects.id BETWEEN ? AND ?",Integer(from_id),Integer(to_id)).to_sql}
)
SQL
end
defselect_insert_values_sql(from_id,to_id)
scope=Migratable::Project
.select_for_insert
.with_prometheus_services(from_id,to_id)
.where("projects.id BETWEEN ? AND ? AND services.id IS NULL",Integer(from_id),Integer(to_id))
msgid "GitLab is obtaining a Let's Encrypt SSL certificate for this domain. This process can take some time. Please try again later."
msgid "GitLab is obtaining a Let's Encrypt SSL certificate for this domain. This process can take some time. Please try again later."
msgstr ""
msgstr ""
msgid "GitLab is undergoing maintenance and is operating in a read-only mode."
msgstr ""
msgid "GitLab member or Email address"
msgid "GitLab member or Email address"
msgstr ""
msgstr ""
...
@@ -11305,6 +11311,9 @@ msgstr ""
...
@@ -11305,6 +11311,9 @@ msgstr ""
msgid "Jira import feature is disabled."
msgid "Jira import feature is disabled."
msgstr ""
msgstr ""
msgid "Jira import is already running."
msgstr ""
msgid "Jira integration not configured."
msgid "Jira integration not configured."
msgstr ""
msgstr ""
...
@@ -11590,7 +11599,7 @@ msgstr ""
...
@@ -11590,7 +11599,7 @@ msgstr ""
msgid "Labels|Promote Label"
msgid "Labels|Promote Label"
msgstr ""
msgstr ""
msgid "Labels|Promoting %{labelTitle} will make it available for all projects inside %{groupName}. Existing project labels with the same title will 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 "Labels|and %{count} more"
msgid "Labels|and %{count} more"
...
@@ -12136,6 +12145,9 @@ msgstr ""
...
@@ -12136,6 +12145,9 @@ msgstr ""
msgid "Made this issue confidential."
msgid "Made this issue confidential."
msgstr ""
msgstr ""
msgid "Maintenance mode"
msgstr ""
msgid "Make and review changes in the browser with the Web IDE"
msgid "Make and review changes in the browser with the Web IDE"
msgstr ""
msgstr ""
...
@@ -13486,6 +13498,9 @@ msgstr ""
...
@@ -13486,6 +13498,9 @@ msgstr ""
msgid "Nodes"
msgid "Nodes"
msgstr ""
msgstr ""
msgid "Non-admin users can sign in with read-only access and make read-only API requests."
msgstr ""
msgid "None"
msgid "None"
msgstr ""
msgstr ""
...
@@ -14859,6 +14874,9 @@ msgstr ""
...
@@ -14859,6 +14874,9 @@ msgstr ""
msgid "Prevent users from modifing merge request approvers list"
msgid "Prevent users from modifing merge request approvers list"
msgstr ""
msgstr ""
msgid "Prevent users from performing write operations on GitLab while performing maintenance."
msgstr ""
msgid "Preview"
msgid "Preview"
msgstr ""
msgstr ""
...
@@ -23157,6 +23175,9 @@ msgstr ""
...
@@ -23157,6 +23175,9 @@ msgstr ""
msgid "You do not have permission to run the Web Terminal. Please contact a project administrator."
msgid "You do not have permission to run the Web Terminal. Please contact a project administrator."
msgstr ""
msgstr ""
msgid "You do not have permissions to run the import."
msgstr ""
msgid "You do not have the correct permissions to override the settings from the LDAP group sync."
msgid "You do not have the correct permissions to override the settings from the LDAP group sync."