foreman_openscap 10.2.0 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_openscap/locale/cs_CZ/foreman_openscap.js +1 -1
  3. data/app/assets/javascripts/foreman_openscap/locale/de/foreman_openscap.js +1 -1
  4. data/app/assets/javascripts/foreman_openscap/locale/en/foreman_openscap.js +6 -6
  5. data/app/assets/javascripts/foreman_openscap/locale/en_GB/foreman_openscap.js +1 -1
  6. data/app/assets/javascripts/foreman_openscap/locale/es/foreman_openscap.js +1 -1
  7. data/app/assets/javascripts/foreman_openscap/locale/fr/foreman_openscap.js +9 -9
  8. data/app/assets/javascripts/foreman_openscap/locale/gl/foreman_openscap.js +1 -1
  9. data/app/assets/javascripts/foreman_openscap/locale/it/foreman_openscap.js +1 -1
  10. data/app/assets/javascripts/foreman_openscap/locale/ja/foreman_openscap.js +13 -13
  11. data/app/assets/javascripts/foreman_openscap/locale/ka/foreman_openscap.js +1 -1
  12. data/app/assets/javascripts/foreman_openscap/locale/ko/foreman_openscap.js +29 -29
  13. data/app/assets/javascripts/foreman_openscap/locale/pt_BR/foreman_openscap.js +1 -1
  14. data/app/assets/javascripts/foreman_openscap/locale/ru/foreman_openscap.js +1 -1
  15. data/app/assets/javascripts/foreman_openscap/locale/sv_SE/foreman_openscap.js +1 -1
  16. data/app/assets/javascripts/foreman_openscap/locale/zh_CN/foreman_openscap.js +6 -6
  17. data/app/assets/javascripts/foreman_openscap/locale/zh_TW/foreman_openscap.js +1 -1
  18. data/lib/foreman_openscap/engine.rb +1 -1
  19. data/lib/foreman_openscap/version.rb +1 -1
  20. data/locale/cs_CZ/LC_MESSAGES/foreman_openscap.mo +0 -0
  21. data/locale/cs_CZ/foreman_openscap.po +1 -1
  22. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  23. data/locale/de/foreman_openscap.po +1 -1
  24. data/locale/en/LC_MESSAGES/foreman_openscap.mo +0 -0
  25. data/locale/en/foreman_openscap.po +9 -9
  26. data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
  27. data/locale/en_GB/foreman_openscap.po +1 -1
  28. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  29. data/locale/es/foreman_openscap.po +1 -1
  30. data/locale/foreman_openscap.pot +6 -6
  31. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  32. data/locale/fr/foreman_openscap.po +9 -9
  33. data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
  34. data/locale/gl/foreman_openscap.po +1 -1
  35. data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
  36. data/locale/it/foreman_openscap.po +1 -1
  37. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  38. data/locale/ja/foreman_openscap.po +13 -13
  39. data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
  40. data/locale/ka/foreman_openscap.po +1 -1
  41. data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
  42. data/locale/ko/foreman_openscap.po +31 -29
  43. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  44. data/locale/pt_BR/foreman_openscap.po +1 -1
  45. data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
  46. data/locale/ru/foreman_openscap.po +1 -1
  47. data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
  48. data/locale/sv_SE/foreman_openscap.po +1 -1
  49. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  50. data/locale/zh_CN/foreman_openscap.po +6 -6
  51. data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
  52. data/locale/zh_TW/foreman_openscap.po +1 -1
  53. data/webpack/components/ConfirmModal.scss +1 -1
  54. data/webpack/components/EmptyState.js +1 -1
  55. data/webpack/components/HostExtentions/HostKebabItems.js +1 -1
  56. data/webpack/components/IndexLayout.js +1 -1
  57. data/webpack/components/IndexTable/index.js +6 -2
  58. data/webpack/components/OpenscapRemediationWizard/Footer.js +2 -2
  59. data/webpack/components/OpenscapRemediationWizard/index.js +2 -1
  60. data/webpack/components/OpenscapRemediationWizard/steps/ReviewHosts.js +1 -1
  61. data/webpack/components/OpenscapRemediationWizard/steps/ReviewRemediation.js +1 -1
  62. data/webpack/components/OpenscapRemediationWizard/steps/SnippetSelect.js +1 -1
  63. metadata +3 -6
@@ -6,7 +6,7 @@
6
6
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2016
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_openscap 10.1.0\n"
9
+ "Project-Id-Version: foreman_openscap 10.2.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "PO-Revision-Date: 2016-04-14 07:48+0000\n"
12
12
  "Last-Translator: FIRST AUTHOR <EMAIL@ADDRESS>, 2016\n"
@@ -95,7 +95,7 @@ msgid "By default, remediation is applied to the current host. Optionally, remed
95
95
  msgstr "默认情况下,补救会应用到当前主机。(可选)修复任何规则失败的额外主机。"
96
96
 
97
97
  msgid "Can't find %{packages} RPM(s), are you sure it is installed on your server?"
98
- msgstr ""
98
+ msgstr "无法找到 %{packages} RPM,您确定是否已安装在服务器上?"
99
99
 
100
100
  msgid "Cancel"
101
101
  msgstr "取消"
@@ -311,7 +311,7 @@ msgid "Failed to delete %s compliance reports"
311
311
  msgstr "刪除 %s 合规报告失败"
312
312
 
313
313
  msgid "Failed to delete ARF Report for host %{host_name} reported at %{reported_at}"
314
- msgstr "无法删除主机 %%{host_name} 在 %%{reported_at} 报告的 ARF 报告"
314
+ msgstr "无法删除主机 %{host_name} 在 %{reported_at} 报告的 ARF 报告"
315
315
 
316
316
  msgid "Failed to downloaded ARF report as bzip: %s"
317
317
  msgstr "无法将 ARF 报告下载为 bzip:%s"
@@ -628,7 +628,7 @@ msgid "Please make sure you understand them by reading our"
628
628
  msgstr "请通过阅读我们的手册确保您了解它们"
629
629
 
630
630
  msgid "Please specify import type, received: %{received}, expected one of: %{expected}"
631
- msgstr "请指定导入类型,已收到:%%{received},预期为%%{expected} 中的一个"
631
+ msgstr "请指定导入类型,已收到:%{received},预期为%{expected} 中的一个"
632
632
 
633
633
  msgid "Policies"
634
634
  msgstr "策略"
@@ -733,7 +733,7 @@ msgid "Request timed out. Please try increasing Settings -> proxy_request_timeou
733
733
  msgstr "请求超时。请尝试增加 Settings -> proxy_request_timeout"
734
734
 
735
735
  msgid "Required %{msg_name} %{class} was not found, please ensure it is imported first."
736
- msgstr "没有找到所需的%%{msg_name}%%{class},请确认它已被导入。"
736
+ msgstr "没有找到所需的%{msg_name}%{class},请确认它已被导入。"
737
737
 
738
738
  msgid "Requires %s Puppet class. This will assign the class to the hosts or selected hostgroups."
739
739
  msgstr "需要 %s Puppet 类。这会将类分配给主机或所选主机组。"
@@ -914,7 +914,7 @@ msgstr ""
914
914
  " 配置问题的开源标准。"
915
915
 
916
916
  msgid "The following %{key_name} were missing for %{item_name}: %{key_names}. Make sure they are imported before proceeding."
917
- msgstr "%%{item_name} 缺少以下 %%{key_name}:%%{key_names}。在继续操作之前,请确保已将其导入。"
917
+ msgstr "%{item_name} 缺少以下 %{key_name}:%{key_names}。在继续操作之前,请确保已将其导入。"
918
918
 
919
919
  msgid "The identifier of the host"
920
920
  msgstr "主机 ID"
@@ -6,7 +6,7 @@
6
6
  # FIRST AUTHOR <EMAIL@ADDRESS>, 2016
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_openscap 10.1.0\n"
9
+ "Project-Id-Version: foreman_openscap 10.2.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "PO-Revision-Date: 2016-04-14 07:48+0000\n"
12
12
  "Last-Translator: FIRST AUTHOR <EMAIL@ADDRESS>, 2016\n"
@@ -1,3 +1,3 @@
1
- .pf-c-backdrop {
1
+ .pf-v5-c-backdrop {
2
2
  z-index: 1040;
3
3
  }
@@ -39,7 +39,7 @@ const EmptyState = ({
39
39
  ouiaEmptyStateTitleId,
40
40
  }) => (
41
41
  <Bullseye>
42
- <PfEmptyState variant={EmptyStateVariant.small}>
42
+ <PfEmptyState variant={EmptyStateVariant.sm}>
43
43
  <EmptyStateIcon error={!!error} search={search} lock={lock} />
44
44
  <Title ouiaId={ouiaEmptyStateTitleId} headingLevel="h2" size="lg">
45
45
  {title}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { useSelector } from 'react-redux';
3
- import { DropdownItem } from '@patternfly/react-core';
3
+ import { DropdownItem } from '@patternfly/react-core/deprecated';
4
4
  import { SecurityIcon } from '@patternfly/react-icons';
5
5
  import { selectAPIResponse } from 'foremanReact/redux/API/APISelectors';
6
6
  import { useAPI } from 'foremanReact/common/hooks/API/APIHooks';
@@ -19,7 +19,7 @@ const IndexLayout = ({ pageTitle, children, contentWidthSpan }) => (
19
19
  </Helmet>
20
20
  <ToastsList />
21
21
  <Grid className="scap-page-grid">
22
- <GridItem span={12} className="pf-u-pb-xl">
22
+ <GridItem span={12} className="pf-v5-u-pb-xl">
23
23
  <TextContent>
24
24
  <Text ouiaId="oscap-index-title" component={TextVariants.h1}>
25
25
  {pageTitle}
@@ -1,6 +1,10 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { Table, TableHeader, TableBody } from '@patternfly/react-table';
3
+ import {
4
+ Table,
5
+ TableHeader,
6
+ TableBody,
7
+ } from '@patternfly/react-table/deprecated';
4
8
  import { Flex, FlexItem } from '@patternfly/react-core';
5
9
  import Pagination from 'foremanReact/components/Pagination';
6
10
  import { refreshPage } from './IndexTableHelper';
@@ -25,7 +29,7 @@ const IndexTable = ({
25
29
 
26
30
  return (
27
31
  <React.Fragment>
28
- <Flex className="pf-u-pt-md">
32
+ <Flex className="pf-v5-u-pt-md">
29
33
  <FlexItem>{toolbarBtns}</FlexItem>
30
34
  <FlexItem align={{ default: 'alignRight' }}>
31
35
  <Pagination
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
+ import { Button } from '@patternfly/react-core';
2
3
  import {
3
- Button,
4
4
  WizardFooter,
5
5
  WizardContextConsumer,
6
- } from '@patternfly/react-core';
6
+ } from '@patternfly/react-core/deprecated';
7
7
  import { translate as __ } from 'foremanReact/common/I18n';
8
8
  import { WIZARD_TITLES } from './constants';
9
9
 
@@ -1,7 +1,8 @@
1
1
  import React, { useState, useRef } from 'react';
2
2
  import { useDispatch, useSelector } from 'react-redux';
3
3
  import PropTypes from 'prop-types';
4
- import { Button, Wizard } from '@patternfly/react-core';
4
+ import { Button } from '@patternfly/react-core';
5
+ import { Wizard } from '@patternfly/react-core/deprecated';
5
6
 
6
7
  import { sprintf, translate as __ } from 'foremanReact/common/I18n';
7
8
  import { API_OPERATIONS, get } from 'foremanReact/redux/API';
@@ -152,7 +152,7 @@ const ReviewHosts = () => {
152
152
  if (!isSelecting) setIsAllHostsSelected(false);
153
153
  },
154
154
  isSelected: rowData.id === hostId || isSelected(rowData.id),
155
- disable: rowData.id === hostId || false,
155
+ isDisabled: rowData.id === hostId || false,
156
156
  }}
157
157
  />
158
158
  );
@@ -161,7 +161,7 @@ const ReviewRemediation = () => {
161
161
  label={__('Reboot the system(s)')}
162
162
  name="reboot-checkbox"
163
163
  isChecked={isRebootSelected}
164
- onChange={selected => setIsRebootSelected(selected)}
164
+ onChange={(_event, selected) => setIsRebootSelected(selected)}
165
165
  />
166
166
  </GridItem>
167
167
  )}
@@ -113,7 +113,7 @@ const SnippetSelect = () => {
113
113
  ouiaId="snippet-select"
114
114
  isRequired
115
115
  value={snippet}
116
- onChange={value => setSnippet(value)}
116
+ onChange={(_event, value) => setSnippet(value)}
117
117
  aria-label="FormSelect Input"
118
118
  >
119
119
  <FormSelectOption
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_openscap
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.2.0
4
+ version: 11.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - slukasik@redhat.com
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-02-08 00:00:00.000000000 Z
10
+ date: 2025-03-26 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -438,7 +437,6 @@ homepage: https://github.com/theforeman/foreman_openscap
438
437
  licenses:
439
438
  - GPL-3.0
440
439
  metadata: {}
441
- post_install_message:
442
440
  rdoc_options: []
443
441
  require_paths:
444
442
  - lib
@@ -453,8 +451,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
453
451
  - !ruby/object:Gem::Version
454
452
  version: '0'
455
453
  requirements: []
456
- rubygems_version: 3.3.27
457
- signing_key:
454
+ rubygems_version: 3.6.2
458
455
  specification_version: 4
459
456
  summary: Foreman plug-in for displaying OpenSCAP audit reports
460
457
  test_files: