foreman_openscap 10.0.3 → 10.1.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 (94) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_openscap/arf_reports.js +3 -3
  3. data/app/assets/javascripts/foreman_openscap/locale/cs_CZ/foreman_openscap.js +2 -2
  4. data/app/assets/javascripts/foreman_openscap/locale/de/foreman_openscap.js +2 -2
  5. data/app/assets/javascripts/foreman_openscap/locale/en/foreman_openscap.js +2 -2
  6. data/app/assets/javascripts/foreman_openscap/locale/en_GB/foreman_openscap.js +2 -2
  7. data/app/assets/javascripts/foreman_openscap/locale/es/foreman_openscap.js +2 -2
  8. data/app/assets/javascripts/foreman_openscap/locale/fr/foreman_openscap.js +3 -3
  9. data/app/assets/javascripts/foreman_openscap/locale/gl/foreman_openscap.js +2 -2
  10. data/app/assets/javascripts/foreman_openscap/locale/it/foreman_openscap.js +2 -2
  11. data/app/assets/javascripts/foreman_openscap/locale/ja/foreman_openscap.js +3 -3
  12. data/app/assets/javascripts/foreman_openscap/locale/ka/foreman_openscap.js +3 -3
  13. data/app/assets/javascripts/foreman_openscap/locale/ko/foreman_openscap.js +208 -210
  14. data/app/assets/javascripts/foreman_openscap/locale/pt_BR/foreman_openscap.js +2 -2
  15. data/app/assets/javascripts/foreman_openscap/locale/ru/foreman_openscap.js +2 -2
  16. data/app/assets/javascripts/foreman_openscap/locale/sv_SE/foreman_openscap.js +2 -2
  17. data/app/assets/javascripts/foreman_openscap/locale/zh_CN/foreman_openscap.js +3 -3
  18. data/app/assets/javascripts/foreman_openscap/locale/zh_TW/foreman_openscap.js +2 -2
  19. data/app/assets/javascripts/foreman_openscap/policy_edit.js +1 -1
  20. data/app/assets/javascripts/foreman_openscap/reports.js +1 -1
  21. data/app/controllers/api/v2/compliance/scap_contents_controller.rb +0 -2
  22. data/app/controllers/arf_reports_controller.rb +8 -2
  23. data/{lib → app/services}/foreman_openscap/bulk_upload.rb +14 -7
  24. data/app/views/arf_reports/_list.html.erb +1 -1
  25. data/lib/foreman_openscap/engine.rb +1 -1
  26. data/lib/foreman_openscap/version.rb +1 -1
  27. data/lib/tasks/foreman_openscap_tasks.rake +0 -1
  28. data/locale/cs_CZ/LC_MESSAGES/foreman_openscap.mo +0 -0
  29. data/locale/cs_CZ/foreman_openscap.edit.po +1442 -0
  30. data/locale/cs_CZ/foreman_openscap.po +2 -2
  31. data/locale/cs_CZ/foreman_openscap.po.time_stamp +0 -0
  32. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  33. data/locale/de/foreman_openscap.edit.po +1450 -0
  34. data/locale/de/foreman_openscap.po +2 -2
  35. data/locale/de/foreman_openscap.po.time_stamp +0 -0
  36. data/locale/en/LC_MESSAGES/foreman_openscap.mo +0 -0
  37. data/locale/en/foreman_openscap.edit.po +1439 -0
  38. data/locale/en/foreman_openscap.po +2 -2
  39. data/locale/en/foreman_openscap.po.time_stamp +0 -0
  40. data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
  41. data/locale/en_GB/foreman_openscap.edit.po +1440 -0
  42. data/locale/en_GB/foreman_openscap.po +2 -2
  43. data/locale/en_GB/foreman_openscap.po.time_stamp +0 -0
  44. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  45. data/locale/es/foreman_openscap.edit.po +1445 -0
  46. data/locale/es/foreman_openscap.po +2 -2
  47. data/locale/es/foreman_openscap.po.time_stamp +0 -0
  48. data/locale/foreman_openscap.pot +60 -62
  49. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  50. data/locale/fr/foreman_openscap.edit.po +1459 -0
  51. data/locale/fr/foreman_openscap.po +3 -3
  52. data/locale/fr/foreman_openscap.po.time_stamp +0 -0
  53. data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
  54. data/locale/gl/foreman_openscap.edit.po +1440 -0
  55. data/locale/gl/foreman_openscap.po +2 -2
  56. data/locale/gl/foreman_openscap.po.time_stamp +0 -0
  57. data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
  58. data/locale/it/foreman_openscap.edit.po +1442 -0
  59. data/locale/it/foreman_openscap.po +2 -2
  60. data/locale/it/foreman_openscap.po.time_stamp +0 -0
  61. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  62. data/locale/ja/foreman_openscap.edit.po +1452 -0
  63. data/locale/ja/foreman_openscap.po +3 -3
  64. data/locale/ja/foreman_openscap.po.time_stamp +0 -0
  65. data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
  66. data/locale/ka/foreman_openscap.edit.po +1448 -0
  67. data/locale/ka/foreman_openscap.po +3 -3
  68. data/locale/ka/foreman_openscap.po.time_stamp +0 -0
  69. data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
  70. data/locale/ko/foreman_openscap.edit.po +1444 -0
  71. data/locale/ko/foreman_openscap.po +208 -210
  72. data/locale/ko/foreman_openscap.po.time_stamp +0 -0
  73. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  74. data/locale/pt_BR/foreman_openscap.edit.po +1450 -0
  75. data/locale/pt_BR/foreman_openscap.po +2 -2
  76. data/locale/pt_BR/foreman_openscap.po.time_stamp +0 -0
  77. data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
  78. data/locale/ru/foreman_openscap.edit.po +1444 -0
  79. data/locale/ru/foreman_openscap.po +2 -2
  80. data/locale/ru/foreman_openscap.po.time_stamp +0 -0
  81. data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
  82. data/locale/sv_SE/foreman_openscap.edit.po +1440 -0
  83. data/locale/sv_SE/foreman_openscap.po +2 -2
  84. data/locale/sv_SE/foreman_openscap.po.time_stamp +0 -0
  85. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  86. data/locale/zh_CN/foreman_openscap.edit.po +1451 -0
  87. data/locale/zh_CN/foreman_openscap.po +3 -3
  88. data/locale/zh_CN/foreman_openscap.po.time_stamp +0 -0
  89. data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
  90. data/locale/zh_TW/foreman_openscap.edit.po +1441 -0
  91. data/locale/zh_TW/foreman_openscap.po +2 -2
  92. data/locale/zh_TW/foreman_openscap.po.time_stamp +0 -0
  93. data/test/lib/foreman_openscap/bulk_upload_test.rb +3 -4
  94. metadata +50 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8c8a169f1c1e90376b52d4556ada89aa9631ea492f1181550cc5d98da4559fc
4
- data.tar.gz: 45b58ae2024ad69d9738ee10b938f6f309a2906b2b21a2a4b864c9f1cb864470
3
+ metadata.gz: 99477093ef8367f5665ae531c5f4fc9b04076133d2518fdebd6090ceffac5042
4
+ data.tar.gz: 45f208e897338d09b0cf032d52257df497c9c1760ab7dac701c5269b8b1c1de1
5
5
  SHA512:
6
- metadata.gz: 2040e1b7f5a6b75ebfe2c0fa3a33f15f610a28b503d8b36f9d8cdffbf55fcb77c56b93db44a801c5f29d2a5e0f83bd878483b2bf85d7795659eb4fd8908ecce6
7
- data.tar.gz: acdc0b5bc0c94b8336632a86758ace9a89b8abb8d685b0a8a543b2fc6d64c27ece0ed4ff69c58fdb63a93ba3d3fe2be0026e4cbcaa5eaa6a9c05ddd040c3eccf
6
+ metadata.gz: '009f9195a8031f350a79f5bd09735a3dc7d0c9e98f6fa3af0a5e5607da38cf0a1b39069dcda965659953fb3b0aa298dea0e776816514de1eb168ade1fd1e650e'
7
+ data.tar.gz: bfcdb2e5b51f652a5b03020b92f474c61e94d03af53bc1e3630975160ead3caa2d3cf1c99ed88e4a9d8e4a99f2e76d58381e151199495e7d42bd6780be5c2131
@@ -1,8 +1,8 @@
1
1
  function readFromCookie() {
2
2
  try {
3
- var r = $.cookie(cookieName);
3
+ var r = tfm.Cookies.get(cookieName);
4
4
  if (r) {
5
- return $.parseJSON(r);
5
+ return JSON.parse(r);
6
6
  }
7
7
  return [];
8
8
  } catch (err) {
@@ -12,7 +12,7 @@ function readFromCookie() {
12
12
  }
13
13
 
14
14
  function removeCookie() {
15
- $.removeCookie(cookieName);
15
+ tfm.Cookies.remove(cookieName);
16
16
  }
17
17
 
18
18
  var cookieName = '_ForemanSelected' + window.location.pathname.replace(/\//, '');
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "Pavel Borecki <pavel.borecki@gmail.com>, 2018-2020",
@@ -93,7 +93,7 @@
93
93
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
94
94
  ""
95
95
  ],
96
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
96
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
97
97
  ""
98
98
  ],
99
99
  "Cancel": [
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "pdolinic, 2021",
@@ -93,7 +93,7 @@
93
93
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
94
94
  ""
95
95
  ],
96
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
96
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
97
97
  ""
98
98
  ],
99
99
  "Cancel": [
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2023-05-16 14:11+0200",
9
9
  "Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
@@ -93,7 +93,7 @@
93
93
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
94
94
  ""
95
95
  ],
96
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
96
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
97
97
  ""
98
98
  ],
99
99
  "Cancel": [
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
@@ -93,7 +93,7 @@
93
93
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
94
94
  ""
95
95
  ],
96
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
96
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
97
97
  ""
98
98
  ],
99
99
  "Cancel": [
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "FIRST AUTHOR <EMAIL@ADDRESS>, 2016",
@@ -94,7 +94,7 @@
94
94
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
95
95
  ""
96
96
  ],
97
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
97
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
98
98
  ""
99
99
  ],
100
100
  "Cancel": [
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "Pierre-Emmanuel Dutang <dutangp@gmail.com>, 2016",
@@ -94,8 +94,8 @@
94
94
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
95
95
  "Par défaut, la correction est appliquée à l'hôte actuel. Vous pouvez éventuellement corriger tous les hôtes supplémentaires qui ne respectent pas la règle."
96
96
  ],
97
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
98
- "Vous ne trouvez pas le RPM scap-security-guide, êtes-vous sûr qu'il est installé sur votre serveur ?"
97
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
98
+ ""
99
99
  ],
100
100
  "Cancel": [
101
101
  "Annuler"
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
@@ -93,7 +93,7 @@
93
93
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
94
94
  ""
95
95
  ],
96
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
96
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
97
97
  ""
98
98
  ],
99
99
  "Cancel": [
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "FIRST AUTHOR <EMAIL@ADDRESS>, 2016",
@@ -93,7 +93,7 @@
93
93
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
94
94
  ""
95
95
  ],
96
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
96
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
97
97
  ""
98
98
  ],
99
99
  "Cancel": [
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "Kazuki Omo <kazuki.omo@gmail.com>, 2016",
@@ -92,8 +92,8 @@
92
92
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
93
93
  "修復はデフォルトで現在のホストに適用されます。必要に応じて、ルールに違反する他のホストを修復してください。"
94
94
  ],
95
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
96
- "scap-security-guide RPM が見つかりません。サーバーにインストールされていますか?"
95
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
96
+ ""
97
97
  ],
98
98
  "Cancel": [
99
99
  "取り消し"
@@ -3,7 +3,7 @@
3
3
  "locale_data": {
4
4
  "foreman_openscap": {
5
5
  "": {
6
- "Project-Id-Version": "foreman_openscap 10.0.1",
6
+ "Project-Id-Version": "foreman_openscap 10.1.0",
7
7
  "Report-Msgid-Bugs-To": "",
8
8
  "PO-Revision-Date": "2016-04-14 07:48+0000",
9
9
  "Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
@@ -93,8 +93,8 @@
93
93
  "By default, remediation is applied to the current host. Optionally, remediate any additional hosts that fail the rule.": [
94
94
  ""
95
95
  ],
96
- "Can't find scap-security-guide RPM, are you sure it is installed on your server?": [
97
- "RPM პაკეტი scap-security-guide ვერ ვიპოვე. დარწმუნებული ბრძანდებით, რომ დააყენეთ ის?"
96
+ "Can't find %{packages} RPM(s), are you sure it is installed on your server?": [
97
+ ""
98
98
  ],
99
99
  "Cancel": [
100
100
  "გაუქმება"