foreman_openscap 10.0.2 → 10.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) 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/config/routes.rb +2 -2
  26. data/lib/foreman_openscap/engine.rb +1 -1
  27. data/lib/foreman_openscap/version.rb +1 -1
  28. data/lib/tasks/foreman_openscap_tasks.rake +0 -1
  29. data/locale/cs_CZ/LC_MESSAGES/foreman_openscap.mo +0 -0
  30. data/locale/cs_CZ/foreman_openscap.edit.po +1442 -0
  31. data/locale/cs_CZ/foreman_openscap.po +2 -2
  32. data/locale/cs_CZ/foreman_openscap.po.time_stamp +0 -0
  33. data/locale/de/LC_MESSAGES/foreman_openscap.mo +0 -0
  34. data/locale/de/foreman_openscap.edit.po +1450 -0
  35. data/locale/de/foreman_openscap.po +2 -2
  36. data/locale/de/foreman_openscap.po.time_stamp +0 -0
  37. data/locale/en/LC_MESSAGES/foreman_openscap.mo +0 -0
  38. data/locale/en/foreman_openscap.edit.po +1439 -0
  39. data/locale/en/foreman_openscap.po +2 -2
  40. data/locale/en/foreman_openscap.po.time_stamp +0 -0
  41. data/locale/en_GB/LC_MESSAGES/foreman_openscap.mo +0 -0
  42. data/locale/en_GB/foreman_openscap.edit.po +1440 -0
  43. data/locale/en_GB/foreman_openscap.po +2 -2
  44. data/locale/en_GB/foreman_openscap.po.time_stamp +0 -0
  45. data/locale/es/LC_MESSAGES/foreman_openscap.mo +0 -0
  46. data/locale/es/foreman_openscap.edit.po +1445 -0
  47. data/locale/es/foreman_openscap.po +2 -2
  48. data/locale/es/foreman_openscap.po.time_stamp +0 -0
  49. data/locale/foreman_openscap.pot +60 -62
  50. data/locale/fr/LC_MESSAGES/foreman_openscap.mo +0 -0
  51. data/locale/fr/foreman_openscap.edit.po +1459 -0
  52. data/locale/fr/foreman_openscap.po +3 -3
  53. data/locale/fr/foreman_openscap.po.time_stamp +0 -0
  54. data/locale/gl/LC_MESSAGES/foreman_openscap.mo +0 -0
  55. data/locale/gl/foreman_openscap.edit.po +1440 -0
  56. data/locale/gl/foreman_openscap.po +2 -2
  57. data/locale/gl/foreman_openscap.po.time_stamp +0 -0
  58. data/locale/it/LC_MESSAGES/foreman_openscap.mo +0 -0
  59. data/locale/it/foreman_openscap.edit.po +1442 -0
  60. data/locale/it/foreman_openscap.po +2 -2
  61. data/locale/it/foreman_openscap.po.time_stamp +0 -0
  62. data/locale/ja/LC_MESSAGES/foreman_openscap.mo +0 -0
  63. data/locale/ja/foreman_openscap.edit.po +1452 -0
  64. data/locale/ja/foreman_openscap.po +3 -3
  65. data/locale/ja/foreman_openscap.po.time_stamp +0 -0
  66. data/locale/ka/LC_MESSAGES/foreman_openscap.mo +0 -0
  67. data/locale/ka/foreman_openscap.edit.po +1448 -0
  68. data/locale/ka/foreman_openscap.po +3 -3
  69. data/locale/ka/foreman_openscap.po.time_stamp +0 -0
  70. data/locale/ko/LC_MESSAGES/foreman_openscap.mo +0 -0
  71. data/locale/ko/foreman_openscap.edit.po +1444 -0
  72. data/locale/ko/foreman_openscap.po +208 -210
  73. data/locale/ko/foreman_openscap.po.time_stamp +0 -0
  74. data/locale/pt_BR/LC_MESSAGES/foreman_openscap.mo +0 -0
  75. data/locale/pt_BR/foreman_openscap.edit.po +1450 -0
  76. data/locale/pt_BR/foreman_openscap.po +2 -2
  77. data/locale/pt_BR/foreman_openscap.po.time_stamp +0 -0
  78. data/locale/ru/LC_MESSAGES/foreman_openscap.mo +0 -0
  79. data/locale/ru/foreman_openscap.edit.po +1444 -0
  80. data/locale/ru/foreman_openscap.po +2 -2
  81. data/locale/ru/foreman_openscap.po.time_stamp +0 -0
  82. data/locale/sv_SE/LC_MESSAGES/foreman_openscap.mo +0 -0
  83. data/locale/sv_SE/foreman_openscap.edit.po +1440 -0
  84. data/locale/sv_SE/foreman_openscap.po +2 -2
  85. data/locale/sv_SE/foreman_openscap.po.time_stamp +0 -0
  86. data/locale/zh_CN/LC_MESSAGES/foreman_openscap.mo +0 -0
  87. data/locale/zh_CN/foreman_openscap.edit.po +1451 -0
  88. data/locale/zh_CN/foreman_openscap.po +3 -3
  89. data/locale/zh_CN/foreman_openscap.po.time_stamp +0 -0
  90. data/locale/zh_TW/LC_MESSAGES/foreman_openscap.mo +0 -0
  91. data/locale/zh_TW/foreman_openscap.edit.po +1441 -0
  92. data/locale/zh_TW/foreman_openscap.po +2 -2
  93. data/locale/zh_TW/foreman_openscap.po.time_stamp +0 -0
  94. data/test/lib/foreman_openscap/bulk_upload_test.rb +3 -4
  95. metadata +50 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a336811c9ef74e3f336a1ebe5e4ae7ede49fba1e34c20c1c805a211928ef5a05
4
- data.tar.gz: 502cae89f02856e4263f6957cfad53e31079d67c8313563cf877d26bdf756782
3
+ metadata.gz: 99477093ef8367f5665ae531c5f4fc9b04076133d2518fdebd6090ceffac5042
4
+ data.tar.gz: 45f208e897338d09b0cf032d52257df497c9c1760ab7dac701c5269b8b1c1de1
5
5
  SHA512:
6
- metadata.gz: 9f26b453c1b9ee555912eeff899498bdd60798ce72ab723265bf1c0444e0a9c01097736416817fd88d3891711be18973f87f684281c9b3d4d2de66d3308dc77d
7
- data.tar.gz: 891f9abfeddfeaa612fff54d2f9c3dbcf21069e53a9092791a44b6389cd453983a83451058e04aa578369ead1e7a5b048a21540b7f1079eb7b146a3b406a3b09
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
  "გაუქმება"