foreman_remote_execution 12.0.6 → 13.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/js_ci.yml +1 -1
  3. data/.github/workflows/ruby_ci.yml +16 -81
  4. data/.packit.yaml +8 -3
  5. data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +23 -14
  6. data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +22 -4
  7. data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +23 -14
  8. data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +23 -14
  9. data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +23 -14
  10. data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +23 -14
  11. data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +23 -14
  12. data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +23 -14
  13. data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +23 -14
  14. data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +23 -14
  15. data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +23 -14
  16. data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +23 -14
  17. data/app/controllers/ui_job_wizard_controller.rb +1 -1
  18. data/app/helpers/job_invocations_helper.rb +1 -1
  19. data/app/helpers/remote_execution_helper.rb +2 -2
  20. data/app/lib/actions/remote_execution/proxy_action.rb +1 -1
  21. data/app/lib/actions/remote_execution/run_host_job.rb +9 -3
  22. data/app/models/host_status/execution_status.rb +2 -2
  23. data/app/views/job_invocations/_preview_hosts_list.html.erb +1 -1
  24. data/app/views/job_invocations/show.html.erb +12 -5
  25. data/app/views/job_invocations/show.js.erb +8 -1
  26. data/app/views/job_invocations/welcome.html.erb +1 -1
  27. data/app/views/template_invocations/_refresh.js.erb +10 -4
  28. data/app/views/template_invocations/show.html.erb +2 -2
  29. data/app/views/templates/script/convert2rhel_analyze.erb +12 -1
  30. data/lib/foreman_remote_execution/engine.rb +1 -1
  31. data/lib/foreman_remote_execution/version.rb +1 -1
  32. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  33. data/locale/de/foreman_remote_execution.po +24 -6
  34. data/locale/en/foreman_remote_execution.po +24 -6
  35. data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  36. data/locale/en_GB/foreman_remote_execution.po +24 -6
  37. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  38. data/locale/es/foreman_remote_execution.po +24 -6
  39. data/locale/foreman_remote_execution.pot +170 -142
  40. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  41. data/locale/fr/foreman_remote_execution.po +24 -6
  42. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  43. data/locale/ja/foreman_remote_execution.po +24 -6
  44. data/locale/ka/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  45. data/locale/ka/foreman_remote_execution.po +24 -6
  46. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  47. data/locale/ko/foreman_remote_execution.po +24 -6
  48. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  49. data/locale/pt_BR/foreman_remote_execution.po +24 -6
  50. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  51. data/locale/ru/foreman_remote_execution.po +24 -6
  52. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  53. data/locale/zh_CN/foreman_remote_execution.po +24 -6
  54. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  55. data/locale/zh_TW/foreman_remote_execution.po +24 -6
  56. data/package.json +1 -5
  57. data/test/functional/api/v2/job_invocations_controller_test.rb +7 -7
  58. data/test/functional/api/v2/template_invocations_controller_test.rb +3 -3
  59. data/test/helpers/remote_execution_helper_test.rb +8 -7
  60. data/test/unit/actions/run_host_job_test.rb +1 -1
  61. data/test/unit/actions/run_hosts_job_test.rb +11 -11
  62. data/test/unit/concerns/foreman_tasks_cleaner_extensions_test.rb +5 -5
  63. data/test/unit/concerns/host_extensions_test.rb +34 -34
  64. data/test/unit/concerns/nic_extensions_test.rb +1 -1
  65. data/test/unit/execution_task_status_mapper_test.rb +10 -10
  66. data/test/unit/input_template_renderer_test.rb +53 -49
  67. data/test/unit/job_invocation_composer_test.rb +78 -78
  68. data/test/unit/job_invocation_test.rb +25 -25
  69. data/test/unit/job_template_effective_user_test.rb +3 -3
  70. data/test/unit/job_template_test.rb +28 -28
  71. data/test/unit/remote_execution_feature_test.rb +14 -14
  72. data/test/unit/remote_execution_provider_test.rb +39 -39
  73. data/test/unit/renderer_scope_input_test.rb +6 -6
  74. data/test/unit/targeting_test.rb +32 -32
  75. data/webpack/JobWizard/JobWizardConstants.js +4 -0
  76. data/webpack/JobWizard/JobWizardSelectors.js +31 -3
  77. data/webpack/JobWizard/PermissionDenied.js +64 -0
  78. data/webpack/JobWizard/__tests__/fixtures.js +3 -3
  79. data/webpack/JobWizard/autofill.js +8 -4
  80. data/webpack/JobWizard/index.js +40 -1
  81. data/webpack/JobWizard/steps/CategoryAndTemplate/CategoryAndTemplate.js +26 -5
  82. data/webpack/JobWizard/steps/HostsAndInputs/HostPreviewModal.js +3 -3
  83. data/webpack/JobWizard/steps/HostsAndInputs/SelectGQL.js +1 -0
  84. data/webpack/JobWizard/steps/HostsAndInputs/SelectedChips.js +13 -6
  85. data/webpack/JobWizard/steps/HostsAndInputs/hosts.gql +1 -0
  86. data/webpack/JobWizard/steps/HostsAndInputs/index.js +21 -1
  87. data/webpack/JobWizard/steps/ReviewDetails/index.js +3 -2
  88. data/webpack/JobWizard/steps/form/SearchSelect.js +3 -1
  89. data/webpack/JobWizard/steps/form/__tests__/SelectSearch.test.js +2 -0
  90. metadata +7 -6
@@ -84,6 +84,9 @@ msgstr "Ein Benutzer, der für die Ausführung des Skripts verwendet werden soll
84
84
  msgid "Abort Job"
85
85
  msgstr "Job abbrechen"
86
86
 
87
+ msgid "Access denied"
88
+ msgstr ""
89
+
87
90
  msgid "Actions"
88
91
  msgstr "Aktionen"
89
92
 
@@ -129,6 +132,9 @@ msgstr "Um"
129
132
  msgid "At minute"
130
133
  msgstr ""
131
134
 
135
+ msgid "Awaiting start"
136
+ msgstr ""
137
+
132
138
  msgid "Back"
133
139
  msgstr ""
134
140
 
@@ -375,9 +381,6 @@ msgstr ""
375
381
  msgid "Ends"
376
382
  msgstr "Endet"
377
383
 
378
- msgid "Error"
379
- msgstr "Fehler"
380
-
381
384
  msgid "Error loading data from proxy"
382
385
  msgstr "Fehler die Daten vom Proxy zu laden."
383
386
 
@@ -708,6 +711,9 @@ msgstr "Manuelle Auswahl"
708
711
  msgid "Minute can only be a number between 0-59"
709
712
  msgstr ""
710
713
 
714
+ msgid "Missing the required permissions: ${missingPermissions.join( ', ' )}"
715
+ msgstr ""
716
+
711
717
  msgid "Monthly"
712
718
  msgstr "Monatlich"
713
719
 
@@ -738,9 +744,6 @@ msgstr "Nein (Überschreiben)"
738
744
  msgid "No Target Hosts"
739
745
  msgstr ""
740
746
 
741
- msgid "No execution finished yet"
742
- msgstr "Noch keine Ausführung abgeschlossen"
743
-
744
747
  msgid "No hosts found."
745
748
  msgstr "Keine Hosts gefunden"
746
749
 
@@ -756,6 +759,9 @@ msgstr "Der Funktion %{feature_name} wurde keine Vorlage zugewiesen"
756
759
  msgid "Not all required inputs have values. Missing inputs: %s"
757
760
  msgstr "Nicht alle erforderlichen Eingaben haben Werte. Fehlende Eingaben: %s"
758
761
 
762
+ msgid "Not available"
763
+ msgstr ""
764
+
759
765
  msgid "Not yet"
760
766
  msgstr ""
761
767
 
@@ -807,6 +813,9 @@ msgstr "Führe einen einzelnen Puppet-Lauf aus"
807
813
  msgid "Perform no more executions after this time"
808
814
  msgstr "Danach nicht mehr ausführen"
809
815
 
816
+ msgid "Permission Denied"
817
+ msgstr ""
818
+
810
819
  msgid "Please enter a search query"
811
820
  msgstr ""
812
821
 
@@ -816,6 +825,9 @@ msgstr ""
816
825
  msgid "Please refine your search."
817
826
  msgstr ""
818
827
 
828
+ msgid "Please request the required permissions listed below from a Foreman administrator:"
829
+ msgstr ""
830
+
819
831
  msgid "Please select at least one host"
820
832
  msgstr ""
821
833
 
@@ -851,6 +863,9 @@ msgstr "Privat-Key Kennwort"
851
863
  msgid "Problem with previewing the template: %{error}. Note that you must save template input changes before you try to preview it."
852
864
  msgstr "Problem bei Vorlagen-Vorschau: %{error}. Beachten Sie, dass Sie die Änderungen an der Vorlageneingabe speichern müssen, bevor eine Vorschau angezeigt werden kann."
853
865
 
866
+ msgid "Proceed Anyway"
867
+ msgstr ""
868
+
854
869
  msgid "Provider type"
855
870
  msgstr "Providertyp"
856
871
 
@@ -1465,6 +1480,9 @@ msgstr "Ja (überschreiben)"
1465
1480
  msgid "You are not allowed to see the currently assigned template. Saving the form now would unassign the template."
1466
1481
  msgstr "Sie haben nicht die Genehmigung, die aktuell zugewiesenen Vorlagen einzusehen. Wenn Sie das Formular jetzt speichern, wird die Zuweisung der Vorlage aufgehoben."
1467
1482
 
1483
+ msgid "You are not authorized to perform this action."
1484
+ msgstr ""
1485
+
1468
1486
  msgid "You have %s results to display. Showing first %s results"
1469
1487
  msgstr ""
1470
1488
 
@@ -79,6 +79,9 @@ msgstr ""
79
79
  msgid "Abort Job"
80
80
  msgstr ""
81
81
 
82
+ msgid "Access denied"
83
+ msgstr ""
84
+
82
85
  msgid "Actions"
83
86
  msgstr ""
84
87
 
@@ -124,6 +127,9 @@ msgstr ""
124
127
  msgid "At minute"
125
128
  msgstr ""
126
129
 
130
+ msgid "Awaiting start"
131
+ msgstr ""
132
+
127
133
  msgid "Back"
128
134
  msgstr ""
129
135
 
@@ -370,9 +376,6 @@ msgstr ""
370
376
  msgid "Ends"
371
377
  msgstr ""
372
378
 
373
- msgid "Error"
374
- msgstr ""
375
-
376
379
  msgid "Error loading data from proxy"
377
380
  msgstr ""
378
381
 
@@ -703,6 +706,9 @@ msgstr ""
703
706
  msgid "Minute can only be a number between 0-59"
704
707
  msgstr ""
705
708
 
709
+ msgid "Missing the required permissions: ${missingPermissions.join( ', ' )}"
710
+ msgstr ""
711
+
706
712
  msgid "Monthly"
707
713
  msgstr ""
708
714
 
@@ -733,9 +739,6 @@ msgstr ""
733
739
  msgid "No Target Hosts"
734
740
  msgstr ""
735
741
 
736
- msgid "No execution finished yet"
737
- msgstr ""
738
-
739
742
  msgid "No hosts found."
740
743
  msgstr ""
741
744
 
@@ -751,6 +754,9 @@ msgstr ""
751
754
  msgid "Not all required inputs have values. Missing inputs: %s"
752
755
  msgstr ""
753
756
 
757
+ msgid "Not available"
758
+ msgstr ""
759
+
754
760
  msgid "Not yet"
755
761
  msgstr ""
756
762
 
@@ -802,6 +808,9 @@ msgstr ""
802
808
  msgid "Perform no more executions after this time"
803
809
  msgstr ""
804
810
 
811
+ msgid "Permission Denied"
812
+ msgstr ""
813
+
805
814
  msgid "Please enter a search query"
806
815
  msgstr ""
807
816
 
@@ -811,6 +820,9 @@ msgstr ""
811
820
  msgid "Please refine your search."
812
821
  msgstr ""
813
822
 
823
+ msgid "Please request the required permissions listed below from a Foreman administrator:"
824
+ msgstr ""
825
+
814
826
  msgid "Please select at least one host"
815
827
  msgstr ""
816
828
 
@@ -844,6 +856,9 @@ msgstr ""
844
856
  msgid "Problem with previewing the template: %{error}. Note that you must save template input changes before you try to preview it."
845
857
  msgstr ""
846
858
 
859
+ msgid "Proceed Anyway"
860
+ msgstr ""
861
+
847
862
  msgid "Provider type"
848
863
  msgstr ""
849
864
 
@@ -1458,6 +1473,9 @@ msgstr ""
1458
1473
  msgid "You are not allowed to see the currently assigned template. Saving the form now would unassign the template."
1459
1474
  msgstr ""
1460
1475
 
1476
+ msgid "You are not authorized to perform this action."
1477
+ msgstr ""
1478
+
1461
1479
  msgid "You have %s results to display. Showing first %s results"
1462
1480
  msgstr ""
1463
1481
 
@@ -80,6 +80,9 @@ msgstr ""
80
80
  msgid "Abort Job"
81
81
  msgstr ""
82
82
 
83
+ msgid "Access denied"
84
+ msgstr ""
85
+
83
86
  msgid "Actions"
84
87
  msgstr "Actions"
85
88
 
@@ -125,6 +128,9 @@ msgstr ""
125
128
  msgid "At minute"
126
129
  msgstr ""
127
130
 
131
+ msgid "Awaiting start"
132
+ msgstr ""
133
+
128
134
  msgid "Back"
129
135
  msgstr ""
130
136
 
@@ -371,9 +377,6 @@ msgstr ""
371
377
  msgid "Ends"
372
378
  msgstr ""
373
379
 
374
- msgid "Error"
375
- msgstr "Error"
376
-
377
380
  msgid "Error loading data from proxy"
378
381
  msgstr ""
379
382
 
@@ -704,6 +707,9 @@ msgstr ""
704
707
  msgid "Minute can only be a number between 0-59"
705
708
  msgstr ""
706
709
 
710
+ msgid "Missing the required permissions: ${missingPermissions.join( ', ' )}"
711
+ msgstr ""
712
+
707
713
  msgid "Monthly"
708
714
  msgstr ""
709
715
 
@@ -734,9 +740,6 @@ msgstr ""
734
740
  msgid "No Target Hosts"
735
741
  msgstr ""
736
742
 
737
- msgid "No execution finished yet"
738
- msgstr ""
739
-
740
743
  msgid "No hosts found."
741
744
  msgstr ""
742
745
 
@@ -752,6 +755,9 @@ msgstr ""
752
755
  msgid "Not all required inputs have values. Missing inputs: %s"
753
756
  msgstr ""
754
757
 
758
+ msgid "Not available"
759
+ msgstr ""
760
+
755
761
  msgid "Not yet"
756
762
  msgstr ""
757
763
 
@@ -803,6 +809,9 @@ msgstr ""
803
809
  msgid "Perform no more executions after this time"
804
810
  msgstr ""
805
811
 
812
+ msgid "Permission Denied"
813
+ msgstr ""
814
+
806
815
  msgid "Please enter a search query"
807
816
  msgstr ""
808
817
 
@@ -812,6 +821,9 @@ msgstr ""
812
821
  msgid "Please refine your search."
813
822
  msgstr ""
814
823
 
824
+ msgid "Please request the required permissions listed below from a Foreman administrator:"
825
+ msgstr ""
826
+
815
827
  msgid "Please select at least one host"
816
828
  msgstr ""
817
829
 
@@ -845,6 +857,9 @@ msgstr ""
845
857
  msgid "Problem with previewing the template: %{error}. Note that you must save template input changes before you try to preview it."
846
858
  msgstr ""
847
859
 
860
+ msgid "Proceed Anyway"
861
+ msgstr ""
862
+
848
863
  msgid "Provider type"
849
864
  msgstr ""
850
865
 
@@ -1459,6 +1474,9 @@ msgstr ""
1459
1474
  msgid "You are not allowed to see the currently assigned template. Saving the form now would unassign the template."
1460
1475
  msgstr ""
1461
1476
 
1477
+ msgid "You are not authorized to perform this action."
1478
+ msgstr ""
1479
+
1462
1480
  msgid "You have %s results to display. Showing first %s results"
1463
1481
  msgstr ""
1464
1482
 
@@ -80,6 +80,9 @@ msgstr "Un usuario que se debe utilizar para ejecutar el script. Si es distinto
80
80
  msgid "Abort Job"
81
81
  msgstr "Abortar trabajo"
82
82
 
83
+ msgid "Access denied"
84
+ msgstr ""
85
+
83
86
  msgid "Actions"
84
87
  msgstr "Acciones"
85
88
 
@@ -125,6 +128,9 @@ msgstr "En"
125
128
  msgid "At minute"
126
129
  msgstr "En el minuto"
127
130
 
131
+ msgid "Awaiting start"
132
+ msgstr ""
133
+
128
134
  msgid "Back"
129
135
  msgstr ""
130
136
 
@@ -371,9 +377,6 @@ msgstr "La hora de finalización debe ser posterior a la de inicio"
371
377
  msgid "Ends"
372
378
  msgstr "Finales"
373
379
 
374
- msgid "Error"
375
- msgstr "Error"
376
-
377
380
  msgid "Error loading data from proxy"
378
381
  msgstr "Error al cargar los datos del proxy"
379
382
 
@@ -704,6 +707,9 @@ msgstr "Selección manual"
704
707
  msgid "Minute can only be a number between 0-59"
705
708
  msgstr ""
706
709
 
710
+ msgid "Missing the required permissions: ${missingPermissions.join( ', ' )}"
711
+ msgstr ""
712
+
707
713
  msgid "Monthly"
708
714
  msgstr "Mensual"
709
715
 
@@ -734,9 +740,6 @@ msgstr "No (anulación)"
734
740
  msgid "No Target Hosts"
735
741
  msgstr "No hay hosts de destino"
736
742
 
737
- msgid "No execution finished yet"
738
- msgstr "Aún no finalizó ninguna ejecución."
739
-
740
743
  msgid "No hosts found."
741
744
  msgstr "No se encontraron hosts."
742
745
 
@@ -752,6 +755,9 @@ msgstr "No hay ninguna plantilla mapeada a la funcionalidad %{feature_name}."
752
755
  msgid "Not all required inputs have values. Missing inputs: %s"
753
756
  msgstr "No todas las entradas requeridas tienen valores. Entradas que faltan: %s"
754
757
 
758
+ msgid "Not available"
759
+ msgstr ""
760
+
755
761
  msgid "Not yet"
756
762
  msgstr ""
757
763
 
@@ -803,6 +809,9 @@ msgstr "Realizar una sola ejecución de Puppet"
803
809
  msgid "Perform no more executions after this time"
804
810
  msgstr "No ejecutar más después de esta cantidad de veces"
805
811
 
812
+ msgid "Permission Denied"
813
+ msgstr ""
814
+
806
815
  msgid "Please enter a search query"
807
816
  msgstr ""
808
817
 
@@ -812,6 +821,9 @@ msgstr ""
812
821
  msgid "Please refine your search."
813
822
  msgstr "Afine su búsqueda."
814
823
 
824
+ msgid "Please request the required permissions listed below from a Foreman administrator:"
825
+ msgstr ""
826
+
815
827
  msgid "Please select at least one host"
816
828
  msgstr ""
817
829
 
@@ -845,6 +857,9 @@ msgstr "Frase de contraseña de clave privada"
845
857
  msgid "Problem with previewing the template: %{error}. Note that you must save template input changes before you try to preview it."
846
858
  msgstr "Ha ocurrido un problema al hacer una vista previa de la plantilla: %{error}. Tenga en cuenta que debe guardar los cambios de la entrada de la plantilla antes de intentar obtener una vista previa."
847
859
 
860
+ msgid "Proceed Anyway"
861
+ msgstr ""
862
+
848
863
  msgid "Provider type"
849
864
  msgstr "Tipo de proveedor"
850
865
 
@@ -1460,6 +1475,9 @@ msgstr "Sí (anulación)"
1460
1475
  msgid "You are not allowed to see the currently assigned template. Saving the form now would unassign the template."
1461
1476
  msgstr "No puede ver la plantilla actualmente asignada. Si guarda el formulario ahora, se eliminará la asignación de la plantilla."
1462
1477
 
1478
+ msgid "You are not authorized to perform this action."
1479
+ msgstr ""
1480
+
1463
1481
  msgid "You have %s results to display. Showing first %s results"
1464
1482
  msgstr "Tienes %s resultados para mostrar. Mostrando primeros resultados %s "
1465
1483