foreman_remote_execution 17.2.3 → 18.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 (27) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +7 -7
  3. data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +27 -27
  4. data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +8 -8
  5. data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +1 -1
  6. data/app/controllers/api/v2/foreign_input_sets_controller.rb +4 -0
  7. data/app/models/remote_execution_provider.rb +1 -1
  8. data/db/seeds.d/60-ssh_proxy_feature.rb +2 -2
  9. data/db/seeds.d/90-bookmarks.rb +1 -1
  10. data/db/seeds.d/95-mail_notifications.rb +1 -1
  11. data/lib/foreman_remote_execution/plugin.rb +1 -1
  12. data/lib/foreman_remote_execution/version.rb +1 -1
  13. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  14. data/locale/fr/foreman_remote_execution.po +7 -7
  15. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  16. data/locale/ja/foreman_remote_execution.po +27 -27
  17. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  18. data/locale/ko/foreman_remote_execution.po +8 -8
  19. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  20. data/locale/zh_CN/foreman_remote_execution.po +1 -1
  21. data/test/unit/remote_execution_provider_test.rb +1 -1
  22. data/webpack/JobInvocationDetail/JobInvocationConstants.js +10 -0
  23. data/webpack/JobInvocationDetail/JobInvocationHostTable.js +8 -1
  24. data/webpack/JobInvocationDetail/__tests__/JobInvocationHostTablePolling.test.js +113 -7
  25. data/webpack/JobInvocationDetail/__tests__/areAllHostsTerminal.test.js +40 -0
  26. data/webpack/JobWizard/steps/AdvancedFields/__tests__/AdvancedFields.test.js +191 -212
  27. metadata +3 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77aa754bb168fcb40607e826343a3756377d48a840904845ff64c1817984a4d3
4
- data.tar.gz: fdc4371d3ec2cded84c761265944d910c9c9441edb10cf8d47969ec48b274021
3
+ metadata.gz: 4b301e962ec24666ada0b4a297277232ee94dc74a36b86875f4ce2230659c254
4
+ data.tar.gz: 923c5679450846add2cfba3a6741654e7bfd06f23e9e33b8ad5f19dfd2b6c217
5
5
  SHA512:
6
- metadata.gz: 7ff8259753704f5a2e01135c62fe1c20b9efe92ad29f49b3a37cd24b32541aa5e0801f44f82576932c33e236f46191addcc11867f970f61f9523277444a650a5
7
- data.tar.gz: 6124f7e80f7e60a33bfce4c1fc0f2124260da4e094515bebe84fc94f49e80eea58ace6b134170499759641d5924a34721516c669e2fa00ccff7b59fa5428fd63
6
+ metadata.gz: 561489f3cee2bf28837084baa1fd3fb8b3a68b8acd632c0337f1b3204dc176acafefb85ecc15d058c464038ec38413a56899ce4ebd2d723596571622cb9c130f
7
+ data.tar.gz: '0938ab65b49a36d63fb709d905322559305ebd691f83bcf1aee8d81b9cb6cffd83db2fe50381295b7f589d37beddc457a7ee0aef3b8c02819f12008c9f461461'
@@ -881,7 +881,7 @@
881
881
  "Aucune sortie pour les filtres sélectionnés"
882
882
  ],
883
883
  "No results found": [
884
- "Aucun résultat trouvé"
884
+ "Aucun résultat"
885
885
  ],
886
886
  "No template mapped to feature %{feature_name}": [
887
887
  "Aucun modèle n'est en relation avec la fonction %{feature_name}"
@@ -1073,13 +1073,13 @@
1073
1073
  "Logique récurrente"
1074
1074
  ],
1075
1075
  "Recurring logic %s cancelled successfully.": [
1076
- "Logique récurrente %s activée avec succès."
1076
+ "Logique récurrente%s activée avec succès."
1077
1077
  ],
1078
1078
  "Recurring logic %s disabled successfully.": [
1079
- "Logique récurrente %s désactivé avec succès."
1079
+ "Logique récurrente%s désactivé avec succès."
1080
1080
  ],
1081
1081
  "Recurring logic %s enabled successfully.": [
1082
- "Logique récurrente %s activée avec succès."
1082
+ "Logique récurrente%s activée avec succès."
1083
1083
  ],
1084
1084
  "Recursive rendering of templates detected": [
1085
1085
  "Détection de récursion dans le rendu des modèles"
@@ -1484,7 +1484,7 @@
1484
1484
  "La requête dynamique '%{query}' n'a pas encore été résolue. La liste des hôtes actuelle avec lesquels ils pourraient être résolus peut être vue ici %{here}."
1485
1485
  ],
1486
1486
  "The dynamic query is still being processed. You can {viewTheHosts} targeted by the query.": [
1487
- "La requête dynamique est toujours en cours de traitement. Vous pouvez {viewTheHosts} ciblé par la requête."
1487
+ "La requête dynamique est toujours en cours de traitement. Vous pouvez{viewTheHosts} ciblé par la requête."
1488
1488
  ],
1489
1489
  "The execution interface is used for remote execution": [
1490
1490
  "L'interface d'exécution est celle utilisée pour l'exécution distante"
@@ -1588,7 +1588,7 @@
1588
1588
  "Tentative d'abandon du job"
1589
1589
  ],
1590
1590
  "Trying to abort the job %s.": [
1591
- "J’essaie d'abandonner le job %s."
1591
+ "J’essaie d'abandonner le job %s ."
1592
1592
  ],
1593
1593
  "Trying to abort the task for the host": [
1594
1594
  "Tentative d'annulation de la tâche pour l'hôte"
@@ -1597,7 +1597,7 @@
1597
1597
  "Tentative d'annulation du job"
1598
1598
  ],
1599
1599
  "Trying to cancel the job %s.": [
1600
- "J'essaie d'annuler le travail%s."
1600
+ "J'essaie d'annuler le travail%s ."
1601
1601
  ],
1602
1602
  "Trying to cancel the task for the host": [
1603
1603
  "Tentative d'annulation de la tâche pour l'hôte"
@@ -192,7 +192,7 @@
192
192
  "ジョブ呼び出しまたは一致するタスクのみをキャンセルします"
193
193
  ],
194
194
  "Cancel recurring": [
195
- "繰り返しをキャンセルする"
195
+ "繰り返しのキャンセル"
196
196
  ],
197
197
  "Cancel selected": [
198
198
  "選択項目をキャンセル"
@@ -375,13 +375,13 @@
375
375
  "デフォルトの SSH パスワード"
376
376
  ],
377
377
  "Default key passphrase to use for SSH. You may override per host by setting a parameter called remote_execution_ssh_key_passphrase": [
378
- "SSH に使用するデフォルトの鍵パスフレーズ。remote_execution_ssh_key_passphrase という名前のパラメーターを設定することにより、ホストごとにオーバーライドできます"
378
+ "SSH に使用するデフォルトの鍵パスフレーズ。remote_execution_ssh_key_passphrase という名前のパラメーターを設定することにより、ホストごとに上書きできます"
379
379
  ],
380
380
  "Default password to use for SSH. You may override per host by setting a parameter called remote_execution_ssh_password": [
381
- "SSH に使用するデフォルトパスワード。remote_execution_ssh_password という名前のパラメーターを設定することにより、ホストごとにオーバーライドできます"
381
+ "SSH に使用するデフォルトパスワード。remote_execution_ssh_password という名前のパラメーターを設定することにより、ホストごとに上書きできます"
382
382
  ],
383
383
  "Default user to use for SSH. You may override per host by setting a parameter called remote_execution_ssh_user.": [
384
- "SSH に使用するデフォルトユーザー。remote_execution_ssh_user という名前のパラメーターを設定することにより、ホストごとにオーバーライドできます。"
384
+ "SSH に使用するデフォルトユーザー。remote_execution_ssh_user という名前のパラメーターを設定することにより、ホストごとに上書きできます。"
385
385
  ],
386
386
  "Default user to use for executing the script. If the user differs from the SSH user, su or sudo is used to switch the user.": [
387
387
  "スクリプトを実行するために使用するデフォルトユーザー。ユーザーが SSH ユーザーと異なる場合は、su または sudo を使用してユーザーを切り替えます。"
@@ -405,7 +405,7 @@
405
405
  "特別な目的の指定"
406
406
  ],
407
407
  "Disable recurring": [
408
- "繰り返しを無効化する"
408
+ "繰り返しの無効化"
409
409
  ],
410
410
  "Display advanced fields": [
411
411
  "詳細フィールドを表示"
@@ -465,7 +465,7 @@
465
465
  "グローバルプロキシーを有効にする"
466
466
  ],
467
467
  "Enable recurring": [
468
- "繰り返しを有効化する"
468
+ "繰り返しの有効化"
469
469
  ],
470
470
  "End time needs to be after start time": [
471
471
  "終了時刻は開始時刻の後でなければなりません"
@@ -825,7 +825,7 @@
825
825
  "手動選択"
826
826
  ],
827
827
  "Minute can only be a number between 0-59": [
828
- "分は 0 から 59 までの数値である必要があります"
828
+ "分は 0-59 の間の数字のみ指定できます。"
829
829
  ],
830
830
  "Missing the required permissions: ${missingPermissions.join( ', ' )}": [
831
831
  "必須パーミッションがありません: ${missingPermissions.join( ', ' )}"
@@ -858,10 +858,10 @@
858
858
  "次の実行"
859
859
  ],
860
860
  "No (override)": [
861
- "No (オーバーライド)"
861
+ "No (上書き)"
862
862
  ],
863
863
  "No Results": [
864
- "該当する結果がありません"
864
+ "結果なし"
865
865
  ],
866
866
  "No Target Hosts": [
867
867
  "ターゲットホストがありません"
@@ -879,7 +879,7 @@
879
879
  "選択したフィルターの出力はありません"
880
880
  ],
881
881
  "No results found": [
882
- "該当する結果が見つかりませんでした"
882
+ "結果は見つかりませんでした"
883
883
  ],
884
884
  "No template mapped to feature %{feature_name}": [
885
885
  "機能 %{feature_name} にマッピングされたテンプレートがありません"
@@ -927,19 +927,19 @@
927
927
  "選択項目を新規タブで開きます"
928
928
  ],
929
929
  "Opening job invocation form": [
930
- "ジョブ呼び出しフォームを開いています"
930
+ "ジョブ呼び出しフォームを開く"
931
931
  ],
932
932
  "Organization": [
933
933
  "組織"
934
934
  ],
935
935
  "Override the description format from the template for this invocation only": [
936
- "この呼び出しに対してのみテンプレートから説明形式をオーバーライド"
936
+ "この呼び出しに対してのみテンプレートから説明形式を上書き"
937
937
  ],
938
938
  "Override the global time to pickup interval for this invocation only": [
939
- "グローバル時間をこの呼び出しだけの取得間隔にオーバーライドする"
939
+ "グローバル時間をこの呼び出しだけの取得間隔に上書きする"
940
940
  ],
941
941
  "Override the timeout interval from the template for this invocation only": [
942
- "この呼び出しに対してのみテンプレートからタイムアウト間隔をオーバーライド"
942
+ "この呼び出しに対してのみテンプレートからタイムアウト間隔を上書き"
943
943
  ],
944
944
  "Overview": [
945
945
  "概要"
@@ -972,7 +972,7 @@
972
972
  "検索クエリーを入力してください"
973
973
  ],
974
974
  "Please go back to \\\\\\\"Schedule\\\\\\\" - \\\\\\\"Future execution\\\\\\\" or \\\\\\\"Recurring execution\\\\\\\" step to fix the error": [
975
- "エラーを修正するには、スケジュール - 後で実行または繰り返し実行の手順に戻ってください"
975
+ "エラーを修正するには、スケジュール - 後で実行または定期的な実行の手順に戻ってください。"
976
976
  ],
977
977
  "Please go back to \\\\\\\"Schedule\\\\\\\" - \\\\\\\"Future execution\\\\\\\" step to fix the error": [
978
978
  "「スケジュール」- 「後で実行」の手順に戻り、エラーを修正してください"
@@ -990,7 +990,7 @@
990
990
  "ホストを 1 つ以上選択してください"
991
991
  ],
992
992
  "Please select at least one host collection": [
993
- "ホストコレクションを少なくとも 1 つ選択してください"
993
+ "ホストコレクションを少なくとも 1 つ選択してください。"
994
994
  ],
995
995
  "Please select at least one host group": [
996
996
  "少なくとも 1 つのホストグループを選択してください"
@@ -999,7 +999,7 @@
999
999
  "ブラウザーでポップアップがブロックされています。このサイトのすべての呼び出しを新しいタブで開くには、ポップアップを許可してください。"
1000
1000
  ],
1001
1001
  "Port to use for SSH communication. Default port 22. You may override per host by setting a parameter called remote_execution_ssh_port.": [
1002
- "SSH 通信に使用するポート。デフォルトのポートは 22 です。remote_execution_ssh_port という名前のパラメーターを設定することにより、ホストごとにオーバーライドできます。"
1002
+ "SSH 通信に使用するポート。デフォルトのポートは 22 です。remote_execution_ssh_port という名前のパラメーターを設定することにより、ホストごとに上書きできます。"
1003
1003
  ],
1004
1004
  "Prefer IPv6 over IPv4": [
1005
1005
  "IPv4 よりも IPv6 を優先する"
@@ -1068,16 +1068,16 @@
1068
1068
  "繰り返し実行"
1069
1069
  ],
1070
1070
  "Recurring logic": [
1071
- "繰り返し実行ロジック"
1071
+ "再帰論理"
1072
1072
  ],
1073
1073
  "Recurring logic %s cancelled successfully.": [
1074
- "繰り返し実行ロジック %s が正常にキャンセルされました。"
1074
+ "再帰論理 %s が正常にキャンセルされました。"
1075
1075
  ],
1076
1076
  "Recurring logic %s disabled successfully.": [
1077
- "繰り返し実行ロジック %s が正常に無効化されました。"
1077
+ "再帰論理 %s が正常に無効になりました。"
1078
1078
  ],
1079
1079
  "Recurring logic %s enabled successfully.": [
1080
- "繰り返し実行ロジック %s が正常に有効化されました。"
1080
+ "再帰論理 %s が正常に有効になりました。"
1081
1081
  ],
1082
1082
  "Recursive rendering of templates detected": [
1083
1083
  "検出されたテンプレートの再帰的なレンダリング"
@@ -1308,7 +1308,7 @@
1308
1308
  "リモート実行のプルモードを設定します。`はい` に設定すると、登録したホストにプルプロパイダークライアントがデプロイされます。継承される値は、`host_registration_remote_execution_pull` パラメーターに基づきます。これは、ホストグループ、オペレーティングシステム、組織などから継承できます。オーバーライドされると、選択した値がホストパラメーターレベルで保存されます。"
1309
1309
  ],
1310
1310
  "Should the ip addresses on host interfaces be preferred over the fqdn? It is useful when DNS not resolving the fqdns properly. You may override this per host by setting a parameter called remote_execution_connect_by_ip. For dual-stacked hosts you should consider the remote_execution_connect_by_ip_prefer_ipv6 setting": [
1311
- "ホストインターフェイスの ip アドレスは fqdn よりも優先されますか? DNS が fqdn を適切に解決しない場合、これは役に立ちます。remote_execution_connect_by_ip というパラメーターを設定し、ホストごとにこれをオーバーライドすることができます。デュアルスタックのホストの場合は、remote_execution_connect_by_ip_prefer_ipv6 設定を検討する必要があります"
1311
+ "ホストインターフェイスの ip アドレスは fqdn よりも優先されますか? DNS が fqdn を適切に解決しない場合、これは役に立ちます。remote_execution_connect_by_ip というパラメーターを設定し、ホストごとにこれを上書きすることができます。デュアルスタックのホストの場合は、remote_execution_connect_by_ip_prefer_ipv6 設定を検討する必要があります"
1312
1312
  ],
1313
1313
  "Should this interface be used for remote execution?": [
1314
1314
  "このインターフェイスをリモート実行に使用する必要がありますか?"
@@ -1377,7 +1377,7 @@
1377
1377
  "静的クエリー"
1378
1378
  ],
1379
1379
  "Status": [
1380
- "状態"
1380
+ "ステータス"
1381
1381
  ],
1382
1382
  "Submit": [
1383
1383
  "送信"
@@ -1716,16 +1716,16 @@
1716
1716
  "スクリプトを実行するために使用するユーザー (sudo と同様のメカニズムを使用)。デフォルト値は、テンプレートパラメーターまたはグローバル設定です。"
1717
1717
  ],
1718
1718
  "When connecting using ip address, should the IPv6 addresses be preferred? If no IPv6 address is set, it falls back to IPv4 automatically. You may override this per host by setting a parameter called remote_execution_connect_by_ip_prefer_ipv6. By default and for compatibility, IPv4 will be preferred over IPv6 by default": [
1719
- "ip address を使用して接続する場合は、IPv6 アドレスを優先する必要がありますか? IPv6 アドレスが設定されていない場合は、IPv4 に自動的にフォールバックします。remote_execution_connect_by_ip_prefer_ipv6 というパラメーターを設定し、ホストごとにこれをオーバーライドすることができます。互換性のために、デフォルトでは IPv4 が IPv6 よりも優先されます"
1719
+ "ip address を使用して接続する場合は、IPv6 アドレスを優先する必要がありますか? IPv6 アドレスが設定されていない場合は、IPv4 に自動的にフォールバックします。remote_execution_connect_by_ip_prefer_ipv6 というパラメーターを設定し、ホストごとにこれを上書きすることができます。互換性のために、デフォルトでは IPv4 が IPv6 よりも優先されます"
1720
1720
  ],
1721
1721
  "When enabled, working directories will be removed after task completion. You may override this per host by setting a parameter called remote_execution_cleanup_working_dirs.": [
1722
- "有効にすると、作業ディレクトリーはタスクの完了後に削除されます。remote_execution_cleanup_working_dirs と呼ばれるパラメーターを設定して、ホストごとにこれをオーバーライドすることができます。"
1722
+ "有効にすると、作業ディレクトリーはタスクの完了後に削除されます。remote_execution_cleanup_working_dirs と呼ばれるパラメーターを設定して、ホストごとにこれを上書きすることができます。"
1723
1723
  ],
1724
1724
  "Where to find the Cockpit instance for the Web Console button. By default, no button is shown.": [
1725
1725
  "Web コンソールボタンの Cockpit インスタンスを検索する場所。デフォルトでは、ボタンは表示されません。"
1726
1726
  ],
1727
1727
  "Whether it should be allowed to override the effective user from the invocation form.": [
1728
- "呼び出し形式から実効ユーザーをオーバーライドするのを許可するかどうか。"
1728
+ "呼び出し形式から実効ユーザーを上書きするのを許可するかどうか。"
1729
1729
  ],
1730
1730
  "Whether or not the template is locked for editing": [
1731
1731
  "テンプレートの編集機能をロックするかどうか"
@@ -1740,7 +1740,7 @@
1740
1740
  "db:seed を実行するときにディスクからテンプレートを同期するかどうか。"
1741
1741
  ],
1742
1742
  "Yes (override)": [
1743
- "Yes (オーバーライド)"
1743
+ "Yes (上書き)"
1744
1744
  ],
1745
1745
  "You are not allowed to see the currently assigned template. Saving the form now would unassign the template.": [
1746
1746
  "現在割り当てられているテンプレートを参照できません。フォームを保存すると、テンプレートの割り当てが解除されます。"
@@ -360,7 +360,7 @@
360
360
  "매일"
361
361
  ],
362
362
  "Date must be in the future": [
363
- "날짜는 미래 시점이어야 합니다."
363
+ "날짜는 미래여야 합니다."
364
364
  ],
365
365
  "Days": [
366
366
  "일"
@@ -423,7 +423,7 @@
423
423
  "동적 쿼리"
424
424
  ],
425
425
  "Edit %s": [
426
- "%s 편집"
426
+ "%s 편집 "
427
427
  ],
428
428
  "Edit Job Template": [
429
429
  "작업 템플릿 편집"
@@ -837,7 +837,7 @@
837
837
  "북마크를 선택하거나 검색 쿼리를 입력해야 합니다."
838
838
  ],
839
839
  "N/A": [
840
- "해당 없음"
840
+ "해당 없음 "
841
841
  ],
842
842
  "Name": [
843
843
  "이름 "
@@ -1341,7 +1341,7 @@
1341
1341
  "스마트 프록시"
1342
1342
  ],
1343
1343
  "Snippet": [
1344
- "스니펫"
1344
+ "조각 모음 "
1345
1345
  ],
1346
1346
  "Start": [
1347
1347
  "시작"
@@ -1377,7 +1377,7 @@
1377
1377
  "정적 쿼리"
1378
1378
  ],
1379
1379
  "Status": [
1380
- "상태"
1380
+ "상태 "
1381
1381
  ],
1382
1382
  "Submit": [
1383
1383
  "보내기"
@@ -1524,7 +1524,7 @@
1524
1524
  "작업이 시작된 후 호스트가 제거되거나 다른 조직이나 위치로 이동된 경우 이러한 문제가 발생할 수 있습니다."
1525
1525
  ],
1526
1526
  "This template is locked for editing.": [
1527
- "이 템플릿은 편집이 잠금되어 있습니다. "
1527
+ "이 템플릿은 편집 용으로 잠금되어 있습니다. "
1528
1528
  ],
1529
1529
  "This template is locked. Please clone it to a new template to customize.": [
1530
1530
  "이 템플릿은 잠겨 있습니다. 사용자 정의하려면 이를 새 템플릿에 복제하십시오. "
@@ -1635,7 +1635,7 @@
1635
1635
  "템플릿을 저장할 수 없습니다. 강조된 오류를 수정합니다."
1636
1636
  ],
1637
1637
  "Unknown": [
1638
- "알 수 없음"
1638
+ "알 수 없음 "
1639
1639
  ],
1640
1640
  "Unknown execution status": [
1641
1641
  "알 수 없는 실행 상태"
@@ -1728,7 +1728,7 @@
1728
1728
  "호출할 유효 사용자를 덮어쓰도록 허용할지 여부입니다."
1729
1729
  ],
1730
1730
  "Whether or not the template is locked for editing": [
1731
- "템플릿 편집 잠금 여부"
1731
+ "편집을 위한 템플릿의 잠금 여부 "
1732
1732
  ],
1733
1733
  "Whether the current user login should be used as the effective user": [
1734
1734
  "현재 사용자 로그인을 유효 사용자로 사용할지 여부입니다."
@@ -1071,7 +1071,7 @@
1071
1071
  "重复逻辑"
1072
1072
  ],
1073
1073
  "Recurring logic %s cancelled successfully.": [
1074
- "成功取消循环逻辑 %s。"
1074
+ "成功取消重复逻辑 %s。"
1075
1075
  ],
1076
1076
  "Recurring logic %s disabled successfully.": [
1077
1077
  "成功禁用重复逻辑 %s。"
@@ -76,6 +76,10 @@ module Api
76
76
  def resource_class
77
77
  ForeignInputSet
78
78
  end
79
+
80
+ def allowed_nested_id
81
+ %w(template_id)
82
+ end
79
83
  end
80
84
  end
81
85
  end
@@ -59,7 +59,7 @@ class RemoteExecutionProvider
59
59
  end
60
60
 
61
61
  def effective_user(template_invocation)
62
- template_invocation.effective_user.shellescape
62
+ template_invocation.effective_user
63
63
  end
64
64
 
65
65
  def effective_user_method(host)
@@ -1,5 +1,5 @@
1
1
  f = Feature.where(:name => 'SSH').first_or_create
2
- raise "Unable to create proxy feature: #{format_errors f}" if f.nil? || f.errors.any?
2
+ raise "Unable to create proxy feature: #{SeedHelper.format_errors(f)}" if f.nil? || f.errors.any?
3
3
 
4
4
  f = Feature.where(:name => 'Script').first_or_create
5
- raise "Unable to create proxy feature: #{format_errors f}" if f.nil? || f.errors.any?
5
+ raise "Unable to create proxy feature: #{SeedHelper.format_errors(f)}" if f.nil? || f.errors.any?
@@ -15,6 +15,6 @@ Bookmark.without_auditing do
15
15
  b = Bookmark.where(:name => input[:name], :controller => input[:controller]).first || Bookmark.new
16
16
  b.attributes = attributes
17
17
  b.save
18
- raise "Unable to create bookmark: #{format_errors b}" if b.errors.any?
18
+ raise "Unable to create bookmark: #{SeedHelper.format_errors(b)}" if b.errors.any?
19
19
  end
20
20
  end
@@ -18,7 +18,7 @@ notifications.each do |notification|
18
18
  created_notification = RexMailNotification.create(notification)
19
19
  if created_notification.nil? || created_notification.errors.any?
20
20
  raise ::Foreman::Exception.new(N_("Unable to create mail notification: %s"),
21
- format_errors(created_notification))
21
+ SeedHelper.format_errors(created_notification))
22
22
  end
23
23
  end
24
24
  end
@@ -1,5 +1,5 @@
1
1
  Foreman::Plugin.register :foreman_remote_execution do
2
- requires_foreman '>= 5.0'
2
+ requires_foreman '>= 5.1'
3
3
  register_global_js_file 'global'
4
4
  register_gettext
5
5
 
@@ -1,3 +1,3 @@
1
1
  module ForemanRemoteExecution
2
- VERSION = '17.2.3'.freeze
2
+ VERSION = '18.0.0'.freeze
3
3
  end
@@ -886,7 +886,7 @@ msgid "No output for the selected filters"
886
886
  msgstr "Aucune sortie pour les filtres sélectionnés"
887
887
 
888
888
  msgid "No results found"
889
- msgstr "Aucun résultat trouvé"
889
+ msgstr "Aucun résultat"
890
890
 
891
891
  msgid "No template mapped to feature %{feature_name}"
892
892
  msgstr "Aucun modèle n'est en relation avec la fonction %{feature_name}"
@@ -1078,13 +1078,13 @@ msgid "Recurring logic"
1078
1078
  msgstr "Logique récurrente"
1079
1079
 
1080
1080
  msgid "Recurring logic %s cancelled successfully."
1081
- msgstr "Logique récurrente %s activée avec succès."
1081
+ msgstr "Logique récurrente%s activée avec succès."
1082
1082
 
1083
1083
  msgid "Recurring logic %s disabled successfully."
1084
- msgstr "Logique récurrente %s désactivé avec succès."
1084
+ msgstr "Logique récurrente%s désactivé avec succès."
1085
1085
 
1086
1086
  msgid "Recurring logic %s enabled successfully."
1087
- msgstr "Logique récurrente %s activée avec succès."
1087
+ msgstr "Logique récurrente%s activée avec succès."
1088
1088
 
1089
1089
  msgid "Recursive rendering of templates detected"
1090
1090
  msgstr "Détection de récursion dans le rendu des modèles"
@@ -1489,7 +1489,7 @@ msgid "The dynamic query '%{query}' was not resolved yet. The list of hosts to w
1489
1489
  msgstr "La requête dynamique '%{query}' n'a pas encore été résolue. La liste des hôtes actuelle avec lesquels ils pourraient être résolus peut être vue ici %{here}."
1490
1490
 
1491
1491
  msgid "The dynamic query is still being processed. You can {viewTheHosts} targeted by the query."
1492
- msgstr "La requête dynamique est toujours en cours de traitement. Vous pouvez {viewTheHosts} ciblé par la requête."
1492
+ msgstr "La requête dynamique est toujours en cours de traitement. Vous pouvez{viewTheHosts} ciblé par la requête."
1493
1493
 
1494
1494
  msgid "The execution interface is used for remote execution"
1495
1495
  msgstr "L'interface d'exécution est celle utilisée pour l'exécution distante"
@@ -1594,7 +1594,7 @@ msgid "Trying to abort the job"
1594
1594
  msgstr "Tentative d'abandon du job"
1595
1595
 
1596
1596
  msgid "Trying to abort the job %s."
1597
- msgstr "J’essaie d'abandonner le job %s."
1597
+ msgstr "J’essaie d'abandonner le job %s ."
1598
1598
 
1599
1599
  msgid "Trying to abort the task for the host"
1600
1600
  msgstr "Tentative d'annulation de la tâche pour l'hôte"
@@ -1603,7 +1603,7 @@ msgid "Trying to cancel the job"
1603
1603
  msgstr "Tentative d'annulation du job"
1604
1604
 
1605
1605
  msgid "Trying to cancel the job %s."
1606
- msgstr "J'essaie d'annuler le travail%s."
1606
+ msgstr "J'essaie d'annuler le travail%s ."
1607
1607
 
1608
1608
  msgid "Trying to cancel the task for the host"
1609
1609
  msgstr "Tentative d'annulation de la tâche pour l'hôte"