foreman_remote_execution 16.2.0 → 16.2.1

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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +3 -0
  3. data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +3 -0
  4. data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +3 -0
  5. data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +3 -0
  6. data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +3 -0
  7. data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +3 -0
  8. data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +4 -1
  9. data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +3 -0
  10. data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +4 -1
  11. data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +4 -1
  12. data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +3 -0
  13. data/config/routes.rb +2 -1
  14. data/extra/cockpit/foreman-cockpit-session +3 -2
  15. data/lib/foreman_remote_execution/version.rb +1 -1
  16. data/locale/de/foreman_remote_execution.po +3 -0
  17. data/locale/en_GB/foreman_remote_execution.po +3 -0
  18. data/locale/es/foreman_remote_execution.po +3 -0
  19. data/locale/foreman_remote_execution.pot +17 -13
  20. data/locale/fr/foreman_remote_execution.po +3 -0
  21. data/locale/ja/foreman_remote_execution.po +3 -0
  22. data/locale/ka/foreman_remote_execution.po +3 -0
  23. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  24. data/locale/ko/foreman_remote_execution.po +4 -1
  25. data/locale/pt_BR/foreman_remote_execution.po +3 -0
  26. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  27. data/locale/ru/foreman_remote_execution.po +4 -1
  28. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  29. data/locale/zh_CN/foreman_remote_execution.po +4 -1
  30. data/locale/zh_TW/foreman_remote_execution.po +3 -0
  31. data/webpack/JobWizard/Footer.js +7 -1
  32. data/webpack/JobWizard/steps/HostsAndInputs/buildHostQuery.js +1 -1
  33. data/webpack/react_app/components/RecentJobsCard/RecentJobsCard.js +5 -6
  34. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 626a47388a13531a08b7909ec43c55811c7c3af5f975f797e8bab8cf38c49040
4
- data.tar.gz: 7c256666c443f822db76625a2b5888479b8ae1adb98368836acad11250d0d1ee
3
+ metadata.gz: 9448cb2747c87518b30f5f411744846a45613ab7cffb13dbe964a04426ead5ab
4
+ data.tar.gz: 027d7b4e71254b490293085a86356bdf128c82bb542a4bfdd3799330b59fc89a
5
5
  SHA512:
6
- metadata.gz: 105f4f051dab4c565bad8100196ac82c6dddf3bb740742cec2cd58de3ad377f91f6bb0cee7ad32c935968ca36ecffd56ee50268b88c1660815f99fbbebac9d50
7
- data.tar.gz: c66bf579aee8b487d77fcbc9e9978dfdee1be4c53a70cfd5d46259f6785c4f5744022ae25a802f5d27fa8365357a1522d570a9def8a3c163921b1ffad2b353d5
6
+ metadata.gz: f08de421e1092fff0a4fd10b9bf6651c6ed367a2b912ea8c0f47f8d3f8008db648235970b06b81d4396c0d8e753584ad47171df7b4ae83b7b038a5bcafee176b
7
+ data.tar.gz: 99ed31aede7f76fcc53b81abb171399cc544e03520c3a376c90e10c727f1f81ff38c1e93cd2a7c0e23992c991822d750bc630c18d7eb0228d2404bc81e4b8922
@@ -1179,6 +1179,9 @@
1179
1179
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1180
1180
  "Führen Sie höchstens N Aufgaben gleichzeitig aus. Wenn dies gesetzt und die Proxy-Batch-Triggerung aktiviert ist, werden Aufgaben auf dem Smart Proxy in Batches der Größe 1 ausgelöst."
1181
1181
  ],
1182
+ "Run hosts job:": [
1183
+ ""
1184
+ ],
1182
1185
  "Run job": [
1183
1186
  "Job ausführen"
1184
1187
  ],
@@ -1179,6 +1179,9 @@
1179
1179
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1180
1180
  ""
1181
1181
  ],
1182
+ "Run hosts job:": [
1183
+ ""
1184
+ ],
1182
1185
  "Run job": [
1183
1186
  ""
1184
1187
  ],
@@ -1179,6 +1179,9 @@
1179
1179
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1180
1180
  "Ejecutar como mucho N tareas a la vez. Si esto está configurado y se habilita la activación por lotes del proxy, entonces las tareas se activarán en el proxy inteligente en lotes de tamaño 1."
1181
1181
  ],
1182
+ "Run hosts job:": [
1183
+ ""
1184
+ ],
1182
1185
  "Run job": [
1183
1186
  "Ejecutar trabajo"
1184
1187
  ],
@@ -1180,6 +1180,9 @@
1180
1180
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1181
1181
  "Effectuer au maximum N tâches à la fois. Si ce paramètre est défini et que le déclenchement par lot du proxy est activé, les tâches sont alors déclenchées sur le proxy smart par lots de taille 1."
1182
1182
  ],
1183
+ "Run hosts job:": [
1184
+ ""
1185
+ ],
1183
1186
  "Run job": [
1184
1187
  "Lancer le job"
1185
1188
  ],
@@ -1178,6 +1178,9 @@
1178
1178
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1179
1179
  "1 回に最大 N 個のタスクを実行します。この値が設定されていて、プロキシーバッチのトリガーが有効な場合には、タスクはサイズ 1 の単位で一括して、Smart Proxy でトリガーされます。"
1180
1180
  ],
1181
+ "Run hosts job:": [
1182
+ ""
1183
+ ],
1181
1184
  "Run job": [
1182
1185
  "ジョブを実行"
1183
1186
  ],
@@ -1179,6 +1179,9 @@
1179
1179
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1180
1180
  ""
1181
1181
  ],
1182
+ "Run hosts job:": [
1183
+ ""
1184
+ ],
1182
1185
  "Run job": [
1183
1186
  "დავალების გაშვება"
1184
1187
  ],
@@ -135,7 +135,7 @@
135
135
  "템플릿 호출 세부 정보를 가져오는 동안 오류가 발생했습니다."
136
136
  ],
137
137
  "An error occurred.": [
138
- ""
138
+ "오류가 발생했습니다."
139
139
  ],
140
140
  "Another interface is already set as execution. Are you sure you want to use this one instead?": [
141
141
  "이미 다른 인터페이스가 실행 인터페이스로 설정되어 있습니다. 이 인터페이스를 대신 사용하시겠습니까?"
@@ -1178,6 +1178,9 @@
1178
1178
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1179
1179
  "한 번에 최대 N개의 작업을 실행합니다. 이것이 설정되어 있고 프록시 배치 트리거링이 활성화되어 있으면 작업은 스마트 프록시에서 크기 1의 배치로 트리거됩니다."
1180
1180
  ],
1181
+ "Run hosts job:": [
1182
+ ""
1183
+ ],
1181
1184
  "Run job": [
1182
1185
  "작업 실행"
1183
1186
  ],
@@ -1179,6 +1179,9 @@
1179
1179
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1180
1180
  "Executar no máximo N tarefas de cada vez. Se essa opção estiver definida, e o acionamento em lote de proxy estiver desabilitado, então, as tarefas serão acionadas no proxy inteligente em lotes de tamanho 1."
1181
1181
  ],
1182
+ "Run hosts job:": [
1183
+ ""
1184
+ ],
1182
1185
  "Run job": [
1183
1186
  "Executar Trabalho"
1184
1187
  ],
@@ -136,7 +136,7 @@
136
136
  ""
137
137
  ],
138
138
  "An error occurred.": [
139
- ""
139
+ "Произошла ошибка."
140
140
  ],
141
141
  "Another interface is already set as execution. Are you sure you want to use this one instead?": [
142
142
  "Для удаленного выполнения уже выбран другой интерфейс. Вы действительно хотите его заменить?"
@@ -1179,6 +1179,9 @@
1179
1179
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1180
1180
  ""
1181
1181
  ],
1182
+ "Run hosts job:": [
1183
+ ""
1184
+ ],
1182
1185
  "Run job": [
1183
1186
  ""
1184
1187
  ],
@@ -135,7 +135,7 @@
135
135
  "在获取模板调用详情时出错。"
136
136
  ],
137
137
  "An error occurred.": [
138
- ""
138
+ "发生了一个错误。"
139
139
  ],
140
140
  "Another interface is already set as execution. Are you sure you want to use this one instead?": [
141
141
  "已经将另一个接口设置为执行。您确定要改用这个吗?"
@@ -1178,6 +1178,9 @@
1178
1178
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1179
1179
  "一次最多运行 N 个任务。如果设置了此选项并启用了代理批处理触发,则将在智能代理上以大小为 1 的批处理触发任务。"
1180
1180
  ],
1181
+ "Run hosts job:": [
1182
+ ""
1183
+ ],
1181
1184
  "Run job": [
1182
1185
  "运行作业"
1183
1186
  ],
@@ -1179,6 +1179,9 @@
1179
1179
  "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1.": [
1180
1180
  ""
1181
1181
  ],
1182
+ "Run hosts job:": [
1183
+ ""
1184
+ ],
1182
1185
  "Run job": [
1183
1186
  ""
1184
1187
  ],
data/config/routes.rb CHANGED
@@ -22,7 +22,6 @@ Rails.application.routes.draw do
22
22
  match 'job_invocations/:id/rerun', to: 'react#index', :via => [:get], as: 'rerun_job_invocation'
23
23
  match 'old/job_invocations/new', to: 'job_invocations#new', via: [:get], as: 'form_new_job_invocation'
24
24
  match 'old/job_invocations/:id/rerun', to: 'job_invocations#rerun', via: [:get, :post], as: 'form_rerun_job_invocation'
25
- get 'job_invocations/:id', to: 'react#index', as: 'job_invocation'
26
25
  get 'legacy/job_invocations/:id', to: 'job_invocations#show', as: 'legacy_job_invocation'
27
26
  match 'job_invocations_detail/:id/host_invocation/:host_id', to: 'react#index', :via => [:get], as: 'new_job_invocation_detail_by_host'
28
27
  get 'show_template_invocation_by_host/:host_id/job_invocation/:id', to: 'template_invocations#show_template_invocation_by_host'
@@ -41,6 +40,8 @@ Rails.application.routes.draw do
41
40
  end
42
41
  end
43
42
 
43
+ get 'job_invocations/:id', to: 'react#index', as: 'job_invocation'
44
+
44
45
  resources :remote_execution_features, :only => [:show, :index, :update]
45
46
 
46
47
  # index is needed so the auto_complete_search can be constructed, otherwise autocompletion in filter does not work
@@ -46,7 +46,7 @@ class AccessDeniedError < CockpitError; end
46
46
  class Cockpit
47
47
  class << self
48
48
  def encode_message(payload)
49
- data = JSON.dump(payload)
49
+ data = JSON.dump(payload).bytes.pack("c*")
50
50
  "#{data.length + 1}\n\n#{data}"
51
51
  end
52
52
 
@@ -259,7 +259,8 @@ class Relay
259
259
  Host: #{url.host}:#{url.port}
260
260
  Connection: upgrade
261
261
  Upgrade: raw
262
- Content-Length: #{data.length + 2}
262
+ Content-Length: #{data.bytes.length + 2}
263
+ Content-Type: application/json
263
264
 
264
265
  #{data}
265
266
  HTTP
@@ -1,3 +1,3 @@
1
1
  module ForemanRemoteExecution
2
- VERSION = '16.2.0'.freeze
2
+ VERSION = '16.2.1'.freeze
3
3
  end
@@ -1188,6 +1188,9 @@ msgstr "Höchstens n Aufgaben gleichzeitig ausführen"
1188
1188
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1189
1189
  msgstr "Führen Sie höchstens N Aufgaben gleichzeitig aus. Wenn dies gesetzt und die Proxy-Batch-Triggerung aktiviert ist, werden Aufgaben auf dem Smart Proxy in Batches der Größe 1 ausgelöst."
1190
1190
 
1191
+ msgid "Run hosts job:"
1192
+ msgstr ""
1193
+
1191
1194
  msgid "Run job"
1192
1195
  msgstr "Job ausführen"
1193
1196
 
@@ -1181,6 +1181,9 @@ msgstr ""
1181
1181
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1182
1182
  msgstr ""
1183
1183
 
1184
+ msgid "Run hosts job:"
1185
+ msgstr ""
1186
+
1184
1187
  msgid "Run job"
1185
1188
  msgstr ""
1186
1189
 
@@ -1181,6 +1181,9 @@ msgstr "Ejecutar un máximo de N tareas por vez"
1181
1181
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1182
1182
  msgstr "Ejecutar como mucho N tareas a la vez. Si esto está configurado y se habilita la activación por lotes del proxy, entonces las tareas se activarán en el proxy inteligente en lotes de tamaño 1."
1183
1183
 
1184
+ msgid "Run hosts job:"
1185
+ msgstr ""
1186
+
1184
1187
  msgid "Run job"
1185
1188
  msgstr "Ejecutar trabajo"
1186
1189
 
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_remote_execution 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2025-08-29 12:38+0000\n"
12
- "PO-Revision-Date: 2025-08-29 12:38+0000\n"
11
+ "POT-Creation-Date: 2025-09-12 13:20+0200\n"
12
+ "PO-Revision-Date: 2025-09-12 13:20+0200\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -669,7 +669,7 @@ msgstr ""
669
669
  msgid "%{description} on %{host}"
670
670
  msgstr ""
671
671
 
672
- #: ../app/lib/actions/remote_execution/run_host_job.rb:114
672
+ #: ../app/lib/actions/remote_execution/run_host_job.rb:114 action_names.rb:2
673
673
  msgid "Remote action:"
674
674
  msgstr ""
675
675
 
@@ -2006,7 +2006,7 @@ msgstr ""
2006
2006
 
2007
2007
  #: ../webpack/JobInvocationDetail/JobInvocationToolbarButtons.js:175
2008
2008
  #: ../webpack/JobInvocationDetail/OpenAllInvocationsModal.js:81
2009
- #: ../webpack/JobWizard/Footer.js:88
2009
+ #: ../webpack/JobWizard/Footer.js:94
2010
2010
  msgid "Cancel"
2011
2011
  msgstr ""
2012
2012
 
@@ -2148,39 +2148,39 @@ msgstr ""
2148
2148
  msgid "task aborted succesfully"
2149
2149
  msgstr ""
2150
2150
 
2151
- #: ../webpack/JobWizard/Footer.js:34
2151
+ #: ../webpack/JobWizard/Footer.js:36
2152
2152
  msgid "Submit"
2153
2153
  msgstr ""
2154
2154
 
2155
- #: ../webpack/JobWizard/Footer.js:35
2155
+ #: ../webpack/JobWizard/Footer.js:37
2156
2156
  msgid "Next"
2157
2157
  msgstr ""
2158
2158
 
2159
- #: ../webpack/JobWizard/Footer.js:45
2159
+ #: ../webpack/JobWizard/Footer.js:47
2160
2160
  msgid "Back"
2161
2161
  msgstr ""
2162
2162
 
2163
- #: ../webpack/JobWizard/Footer.js:51
2163
+ #: ../webpack/JobWizard/Footer.js:53
2164
2164
  msgid "Start job"
2165
2165
  msgstr ""
2166
2166
 
2167
- #: ../webpack/JobWizard/Footer.js:52
2167
+ #: ../webpack/JobWizard/Footer.js:54
2168
2168
  msgid "Fill all required fields in all the steps"
2169
2169
  msgstr ""
2170
2170
 
2171
- #: ../webpack/JobWizard/Footer.js:63
2171
+ #: ../webpack/JobWizard/Footer.js:67
2172
2172
  msgid "Run on selected hosts"
2173
2173
  msgstr ""
2174
2174
 
2175
- #: ../webpack/JobWizard/Footer.js:70
2175
+ #: ../webpack/JobWizard/Footer.js:74
2176
2176
  msgid "Skip to review step"
2177
2177
  msgstr ""
2178
2178
 
2179
- #: ../webpack/JobWizard/Footer.js:71
2179
+ #: ../webpack/JobWizard/Footer.js:75
2180
2180
  msgid "Fill all required fields in all the steps to start the job"
2181
2181
  msgstr ""
2182
2182
 
2183
- #: ../webpack/JobWizard/Footer.js:84
2183
+ #: ../webpack/JobWizard/Footer.js:90
2184
2184
  msgid "Skip to review"
2185
2185
  msgstr ""
2186
2186
 
@@ -2820,6 +2820,10 @@ msgstr ""
2820
2820
  msgid "Active Filters:"
2821
2821
  msgstr ""
2822
2822
 
2823
+ #: action_names.rb:3
2824
+ msgid "Run hosts job:"
2825
+ msgstr ""
2826
+
2823
2827
  #: gemspec.rb:2
2824
2828
  msgid ""
2825
2829
  "A plugin bringing remote execution to the Foreman, completing the config manag"
@@ -1184,6 +1184,9 @@ msgstr "Lance un maximum de N tâches simultanément"
1184
1184
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1185
1185
  msgstr "Effectuer au maximum N tâches à la fois. Si ce paramètre est défini et que le déclenchement par lot du proxy est activé, les tâches sont alors déclenchées sur le proxy smart par lots de taille 1."
1186
1186
 
1187
+ msgid "Run hosts job:"
1188
+ msgstr ""
1189
+
1187
1190
  msgid "Run job"
1188
1191
  msgstr "Lancer le job"
1189
1192
 
@@ -1181,6 +1181,9 @@ msgstr "一度に最大 N タスクを実行"
1181
1181
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1182
1182
  msgstr "1 回に最大 N 個のタスクを実行します。この値が設定されていて、プロキシーバッチのトリガーが有効な場合には、タスクはサイズ 1 の単位で一括して、Smart Proxy でトリガーされます。"
1183
1183
 
1184
+ msgid "Run hosts job:"
1185
+ msgstr ""
1186
+
1184
1187
  msgid "Run job"
1185
1188
  msgstr "ジョブを実行"
1186
1189
 
@@ -1180,6 +1180,9 @@ msgstr "ერთდროულად მაქსიმუმ N დავა
1180
1180
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1181
1181
  msgstr ""
1182
1182
 
1183
+ msgid "Run hosts job:"
1184
+ msgstr ""
1185
+
1183
1186
  msgid "Run job"
1184
1187
  msgstr "დავალების გაშვება"
1185
1188
 
@@ -135,7 +135,7 @@ msgid "An error occurred while fetching the template invocation details."
135
135
  msgstr "템플릿 호출 세부 정보를 가져오는 동안 오류가 발생했습니다."
136
136
 
137
137
  msgid "An error occurred."
138
- msgstr ""
138
+ msgstr "오류가 발생했습니다."
139
139
 
140
140
  msgid "Another interface is already set as execution. Are you sure you want to use this one instead?"
141
141
  msgstr "이미 다른 인터페이스가 실행 인터페이스로 설정되어 있습니다. 이 인터페이스를 대신 사용하시겠습니까?"
@@ -1178,6 +1178,9 @@ msgstr "한 번에 최대 N개 태스크 실행"
1178
1178
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1179
1179
  msgstr "한 번에 최대 N개의 작업을 실행합니다. 이것이 설정되어 있고 프록시 배치 트리거링이 활성화되어 있으면 작업은 스마트 프록시에서 크기 1의 배치로 트리거됩니다."
1180
1180
 
1181
+ msgid "Run hosts job:"
1182
+ msgstr ""
1183
+
1181
1184
  msgid "Run job"
1182
1185
  msgstr "작업 실행"
1183
1186
 
@@ -1181,6 +1181,9 @@ msgstr "Executar no máximo N tarefas de cada vez "
1181
1181
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1182
1182
  msgstr "Executar no máximo N tarefas de cada vez. Se essa opção estiver definida, e o acionamento em lote de proxy estiver desabilitado, então, as tarefas serão acionadas no proxy inteligente em lotes de tamanho 1."
1183
1183
 
1184
+ msgid "Run hosts job:"
1185
+ msgstr ""
1186
+
1184
1187
  msgid "Run job"
1185
1188
  msgstr "Executar Trabalho"
1186
1189
 
@@ -140,7 +140,7 @@ msgid "An error occurred while fetching the template invocation details."
140
140
  msgstr ""
141
141
 
142
142
  msgid "An error occurred."
143
- msgstr ""
143
+ msgstr "Произошла ошибка."
144
144
 
145
145
  msgid "Another interface is already set as execution. Are you sure you want to use this one instead?"
146
146
  msgstr "Для удаленного выполнения уже выбран другой интерфейс. Вы действительно хотите его заменить?"
@@ -1183,6 +1183,9 @@ msgstr "Максимальное количество параллельно в
1183
1183
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1184
1184
  msgstr ""
1185
1185
 
1186
+ msgid "Run hosts job:"
1187
+ msgstr ""
1188
+
1186
1189
  msgid "Run job"
1187
1190
  msgstr ""
1188
1191
 
@@ -138,7 +138,7 @@ msgid "An error occurred while fetching the template invocation details."
138
138
  msgstr "在获取模板调用详情时出错。"
139
139
 
140
140
  msgid "An error occurred."
141
- msgstr ""
141
+ msgstr "发生了一个错误。"
142
142
 
143
143
  msgid "Another interface is already set as execution. Are you sure you want to use this one instead?"
144
144
  msgstr "已经将另一个接口设置为执行。您确定要改用这个吗?"
@@ -1181,6 +1181,9 @@ msgstr "一次最多运行 N 个任务"
1181
1181
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1182
1182
  msgstr "一次最多运行 N 个任务。如果设置了此选项并启用了代理批处理触发,则将在智能代理上以大小为 1 的批处理触发任务。"
1183
1183
 
1184
+ msgid "Run hosts job:"
1185
+ msgstr ""
1186
+
1184
1187
  msgid "Run job"
1185
1188
  msgstr "运行作业"
1186
1189
 
@@ -1180,6 +1180,9 @@ msgstr "一次最多執行 N 個任務"
1180
1180
  msgid "Run at most N tasks at a time. If this is set and proxy batch triggering is enabled, then tasks are triggered on the smart proxy in batches of size 1."
1181
1181
  msgstr ""
1182
1182
 
1183
+ msgid "Run hosts job:"
1184
+ msgstr ""
1185
+
1183
1186
  msgid "Run job"
1184
1187
  msgstr ""
1185
1188
 
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { useRef } from 'react';
2
2
  import { useSelector } from 'react-redux';
3
3
  import PropTypes from 'prop-types';
4
4
  import { Button, Tooltip, Spinner } from '@patternfly/react-core';
@@ -12,6 +12,8 @@ import { selectIsSubmitting } from './JobWizardSelectors';
12
12
 
13
13
  export const Footer = ({ canSubmit, onSave }) => {
14
14
  const isSubmitting = useSelector(selectIsSubmitting);
15
+ const tooltipRunOn = useRef(null);
16
+ const tooltipSkipTo = useRef(null);
15
17
  return (
16
18
  <WizardFooter>
17
19
  <WizardContextConsumer>
@@ -52,6 +54,7 @@ export const Footer = ({ canSubmit, onSave }) => {
52
54
  : __('Fill all required fields in all the steps')}
53
55
  </div>
54
56
  }
57
+ triggerRef={tooltipRunOn}
55
58
  >
56
59
  <Button
57
60
  ouiaId="run-on-selected-hosts-footer"
@@ -59,6 +62,7 @@ export const Footer = ({ canSubmit, onSave }) => {
59
62
  onClick={onSave}
60
63
  isAriaDisabled={!canSubmit}
61
64
  isDisabled={isSubmitting}
65
+ ref={tooltipRunOn}
62
66
  >
63
67
  {__('Run on selected hosts')}
64
68
  </Button>
@@ -73,6 +77,7 @@ export const Footer = ({ canSubmit, onSave }) => {
73
77
  )}
74
78
  </div>
75
79
  }
80
+ triggerRef={tooltipSkipTo}
76
81
  >
77
82
  <Button
78
83
  ouiaId="skip-to-review-footer"
@@ -80,6 +85,7 @@ export const Footer = ({ canSubmit, onSave }) => {
80
85
  onClick={() => goToStepByName(WIZARD_TITLES.review)}
81
86
  isAriaDisabled={!canSubmit}
82
87
  isDisabled={isSubmitting}
88
+ ref={tooltipSkipTo}
83
89
  >
84
90
  {__('Skip to review')}
85
91
  </Button>
@@ -18,7 +18,7 @@ export const buildHostQuery = (selected, search) => {
18
18
  .join(',')})`;
19
19
 
20
20
  let hostGroupsSearch;
21
- if (hostCollections.length < MAX_NAME_ITEMS)
21
+ if (hostGroups.length < MAX_NAME_ITEMS)
22
22
  hostGroupsSearch = `hostgroup_fullname ^ (${hostGroups
23
23
  .map(({ name }) => nameEscape(name))
24
24
  .join(',')})`;
@@ -1,8 +1,7 @@
1
1
  import PropTypes from 'prop-types';
2
2
  import React, { useState } from 'react';
3
3
 
4
- import { Tabs, Tab, TabTitleText } from '@patternfly/react-core';
5
- import { DropdownItem } from '@patternfly/react-core/deprecated';
4
+ import { DropdownItem, Tabs, Tab, TabTitleText } from '@patternfly/react-core';
6
5
  import CardTemplate from 'foremanReact/components/HostDetails/Templates/CardItem/CardTemplate';
7
6
  import { translate as __ } from 'foremanReact/common/I18n';
8
7
  import { foremanUrl } from 'foremanReact/common/helpers';
@@ -26,14 +25,14 @@ const RecentJobsCard = ({ hostDetails: { name, id } }) => {
26
25
  header={__('Recent jobs')}
27
26
  dropdownItems={[
28
27
  <DropdownItem
29
- href={foremanUrl(`${JOB_BASE_URL}${id}`)}
28
+ to={foremanUrl(`${JOB_BASE_URL}${id}`)}
30
29
  key="link-to-all"
31
30
  ouiaId="link-to-all-dropdown-item"
32
31
  >
33
32
  {__('View all jobs')}
34
33
  </DropdownItem>,
35
34
  <DropdownItem
36
- href={foremanUrl(
35
+ to={foremanUrl(
37
36
  `${JOB_BASE_URL}${id}+and+status+%3D+failed+or+status%3D+succeeded`
38
37
  )}
39
38
  key="link-to-finished"
@@ -42,14 +41,14 @@ const RecentJobsCard = ({ hostDetails: { name, id } }) => {
42
41
  {__('View finished jobs')}
43
42
  </DropdownItem>,
44
43
  <DropdownItem
45
- href={foremanUrl(`${JOB_BASE_URL}${id}+and+status+%3D+running`)}
44
+ to={foremanUrl(`${JOB_BASE_URL}${id}+and+status+%3D+running`)}
46
45
  key="link-to-running"
47
46
  ouiaId="link-to-running-dropdown-item"
48
47
  >
49
48
  {__('View running jobs')}
50
49
  </DropdownItem>,
51
50
  <DropdownItem
52
- href={foremanUrl(`${JOB_BASE_URL}${id}+and+status+%3D+queued`)}
51
+ to={foremanUrl(`${JOB_BASE_URL}${id}+and+status+%3D+queued`)}
53
52
  key="link-to-scheduled"
54
53
  ouiaId="link-to-scheduled-dropdown-item"
55
54
  >
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_remote_execution
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.2.0
4
+ version: 16.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Remote Execution team
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-08-29 00:00:00.000000000 Z
10
+ date: 2025-09-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: deface