foreman_remote_execution 9.0.1 → 10.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +14 -0
  3. data/.tx/config +3 -1
  4. data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +1 -0
  5. data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +1 -0
  6. data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +1 -0
  7. data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +1 -0
  8. data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +1 -0
  9. data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +1 -0
  10. data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +1 -0
  11. data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +1 -0
  12. data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +1 -0
  13. data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +1 -0
  14. data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +1 -0
  15. data/app/assets/javascripts/foreman_remote_execution/template_invocation.js +10 -1
  16. data/app/controllers/api/v2/job_invocations_controller.rb +1 -0
  17. data/app/controllers/job_invocations_controller.rb +30 -1
  18. data/app/controllers/ui_job_wizard_controller.rb +3 -1
  19. data/app/helpers/remote_execution_helper.rb +1 -1
  20. data/app/lib/actions/remote_execution/run_host_job.rb +1 -1
  21. data/app/lib/actions/remote_execution/run_hosts_job.rb +28 -2
  22. data/app/models/remote_execution_feature.rb +11 -8
  23. data/app/views/api/v2/job_invocations/base.json.rabl +1 -1
  24. data/app/views/job_invocations/_form.html.erb +1 -1
  25. data/app/views/job_invocations/show.html.erb +1 -1
  26. data/app/views/job_invocations/welcome.html.erb +1 -1
  27. data/app/views/templates/script/run_command.erb +1 -0
  28. data/config/routes.rb +2 -0
  29. data/db/migrate/20210816100932_rex_setting_category_to_dsl.rb +1 -1
  30. data/db/migrate/20220426145007_add_unique_feature_label_index.rb +14 -0
  31. data/lib/foreman_remote_execution/engine.rb +9 -9
  32. data/lib/foreman_remote_execution/tasks/explain_proxy_selection.rake +12 -3
  33. data/lib/foreman_remote_execution/version.rb +1 -1
  34. data/locale/Makefile +6 -3
  35. data/locale/action_names.rb +1 -1
  36. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  37. data/locale/de/foreman_remote_execution.po +67 -19
  38. data/locale/en/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  39. data/locale/en/foreman_remote_execution.po +56 -8
  40. data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  41. data/locale/en_GB/foreman_remote_execution.po +58 -10
  42. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  43. data/locale/es/foreman_remote_execution.po +71 -23
  44. data/locale/foreman_remote_execution.pot +216 -141
  45. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  46. data/locale/fr/foreman_remote_execution.po +104 -56
  47. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  48. data/locale/ja/foreman_remote_execution.po +72 -24
  49. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  50. data/locale/ko/foreman_remote_execution.po +63 -15
  51. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  52. data/locale/pt_BR/foreman_remote_execution.po +68 -20
  53. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  54. data/locale/ru/foreman_remote_execution.po +63 -15
  55. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  56. data/locale/zh_CN/foreman_remote_execution.po +71 -23
  57. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  58. data/locale/zh_TW/foreman_remote_execution.po +63 -15
  59. data/package.json +6 -6
  60. data/webpack/JobWizard/Footer.js +104 -0
  61. data/webpack/JobWizard/JobWizard.js +105 -32
  62. data/webpack/JobWizard/JobWizard.scss +6 -17
  63. data/webpack/JobWizard/JobWizardConstants.js +1 -1
  64. data/webpack/JobWizard/JobWizardPageRerun.js +2 -0
  65. data/webpack/JobWizard/StartsBeforeErrorAlert.js +17 -0
  66. data/webpack/JobWizard/__tests__/__snapshots__/integration.test.js.snap +8 -0
  67. data/webpack/JobWizard/__tests__/fixtures.js +13 -1
  68. data/webpack/JobWizard/__tests__/integration.test.js +15 -0
  69. data/webpack/JobWizard/__tests__/validation.test.js +36 -0
  70. data/webpack/JobWizard/autofill.js +1 -0
  71. data/webpack/JobWizard/steps/AdvancedFields/__tests__/AdvancedFields.test.js +29 -10
  72. data/webpack/JobWizard/steps/AdvancedFields/__tests__/__snapshots__/AdvancedFields.test.js.snap +8 -0
  73. data/webpack/JobWizard/steps/HostsAndInputs/HostPreviewModal.js +5 -0
  74. data/webpack/JobWizard/steps/HostsAndInputs/SelectedChips.js +28 -14
  75. data/webpack/JobWizard/steps/HostsAndInputs/__tests__/HostsAndInputs.test.js +41 -4
  76. data/webpack/JobWizard/steps/HostsAndInputs/buildHostQuery.js +16 -10
  77. data/webpack/JobWizard/steps/HostsAndInputs/index.js +51 -3
  78. data/webpack/JobWizard/steps/ReviewDetails/ReviewDetails.test.js +117 -0
  79. data/webpack/JobWizard/steps/ReviewDetails/helpers.js +43 -0
  80. data/webpack/JobWizard/steps/ReviewDetails/index.js +169 -18
  81. data/webpack/JobWizard/steps/Schedule/QueryType.js +1 -1
  82. data/webpack/JobWizard/steps/Schedule/RepeatHour.js +0 -1
  83. data/webpack/JobWizard/steps/Schedule/RepeatWeek.js +1 -1
  84. data/webpack/JobWizard/steps/Schedule/__tests__/Schedule.test.js +52 -18
  85. data/webpack/JobWizard/steps/form/DateTimePicker.js +1 -2
  86. data/webpack/JobWizard/steps/form/GroupedSelectField.js +0 -1
  87. data/webpack/JobWizard/steps/form/SelectField.js +0 -1
  88. data/webpack/JobWizard/submit.js +14 -3
  89. data/webpack/react_app/components/RecentJobsCard/RecentJobsCard.js +4 -4
  90. data/webpack/react_app/components/RecentJobsCard/RecentJobsTable.js +2 -2
  91. data/webpack/react_app/components/RecentJobsCard/constants.js +2 -2
  92. data/webpack/react_app/components/RegistrationExtension/RexPull.js +0 -2
  93. metadata +23 -6
@@ -5,7 +5,7 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_remote_execution 8.1.1\n"
8
+ "Project-Id-Version: foreman_remote_execution 9.0.1\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2016-02-15 13:54+0000\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -27,6 +27,9 @@ msgstr "Hace %s"
27
27
  msgid "%s job has been invoked"
28
28
  msgstr "%s se ha invocado el trabajo"
29
29
 
30
+ msgid "%s more"
31
+ msgstr ""
32
+
30
33
  msgid "%{description} on %{host}"
31
34
  msgstr "%{description} en %{host}"
32
35
 
@@ -36,9 +39,6 @@ msgstr ""
36
39
  msgid "'Starts before' date must in the future"
37
40
  msgstr ""
38
41
 
39
- msgid ", and %s more"
40
- msgstr "y %s más"
41
-
42
42
  msgid "...and %s more"
43
43
  msgstr "...y %s más"
44
44
 
@@ -86,6 +86,9 @@ msgstr "Acción con subplanes"
86
86
  msgid "Actions"
87
87
  msgstr "Acciones"
88
88
 
89
+ msgid "Active Filters:"
90
+ msgstr ""
91
+
89
92
  msgid "Add Foreign Input Set"
90
93
  msgstr "Agregar conjunto de entrada externo"
91
94
 
@@ -95,6 +98,9 @@ msgstr "Campos avanzados"
95
98
  msgid "After"
96
99
  msgstr ""
97
100
 
101
+ msgid "After %s occurences"
102
+ msgstr ""
103
+
98
104
  msgid "All fields are required."
99
105
  msgstr "Todos los campos son obligatorios."
100
106
 
@@ -152,8 +158,8 @@ msgstr "No se pueden especificar bookmark_id y search_query."
152
158
  msgid "Categories list failed with:"
153
159
  msgstr "La lista de categorías falló con:"
154
160
 
155
- msgid "Category and Template"
156
- msgstr "Categoría y plantilla"
161
+ msgid "Category and template"
162
+ msgstr ""
157
163
 
158
164
  msgid "Choose a job template that is pre-selected in job invocation form"
159
165
  msgstr "Elija una plantilla de tarea que esté preseleccionada en el formulario de invocación de tarea"
@@ -164,8 +170,8 @@ msgstr "Dependencia circular detectada en el conjunto de entrada externo '%{temp
164
170
  msgid "Cleanup working directories"
165
171
  msgstr "Directorios de limpieza en ejecución"
166
172
 
167
- msgid "Clear filters"
168
- msgstr "Limpiar filtros"
173
+ msgid "Clear all filters"
174
+ msgstr ""
169
175
 
170
176
  msgid "Clear input"
171
177
  msgstr ""
@@ -210,7 +216,7 @@ msgid "Could not use any template used in the job invocation"
210
216
  msgstr "No se pudo utilizar ninguna plantilla utilizada en la invocación de trabajo."
211
217
 
212
218
  msgid "Create"
213
- msgstr ""
219
+ msgstr "Crear"
214
220
 
215
221
  msgid "Create Report"
216
222
  msgstr "Crear informe"
@@ -330,7 +336,7 @@ msgid "Edit job description template"
330
336
  msgstr "Editar plantilla de descripción de funciones"
331
337
 
332
338
  msgid "Effective User"
333
- msgstr ""
339
+ msgstr "Usuario efectivo"
334
340
 
335
341
  msgid "Effective User Method"
336
342
  msgstr "Método de usuario efectivo"
@@ -374,6 +380,18 @@ msgstr "Errores:"
374
380
  msgid "Evaluated at:"
375
381
  msgstr "Evaluado en:"
376
382
 
383
+ msgid "Every day at %s"
384
+ msgstr ""
385
+
386
+ msgid "Every hour at minute %s"
387
+ msgstr ""
388
+
389
+ msgid "Every month on %s at %s"
390
+ msgstr ""
391
+
392
+ msgid "Every week on %s at %s"
393
+ msgstr ""
394
+
377
395
  msgid "Execute the job later, at a scheduled time."
378
396
  msgstr ""
379
397
 
@@ -522,7 +540,7 @@ msgid "Indicates that the action should be cancelled if it cannot be started bef
522
540
  msgstr "Indica que la acción se debe cancelar si no se puede iniciar antes de este momento."
523
541
 
524
542
  msgid "Inherit from host parameter"
525
- msgstr ""
543
+ msgstr "Heredar del parámetro del anfitrión"
526
544
 
527
545
  msgid "Input"
528
546
  msgstr "Entrada"
@@ -687,13 +705,13 @@ msgid "Name"
687
705
  msgstr "Nombre"
688
706
 
689
707
  msgid "Never"
690
- msgstr ""
708
+ msgstr "Nunca"
691
709
 
692
710
  msgid "New Job Template"
693
711
  msgstr "Nueva plantilla de trabajo"
694
712
 
695
713
  msgid "No (override)"
696
- msgstr ""
714
+ msgstr "No (anulación)"
697
715
 
698
716
  msgid "No Target Hosts"
699
717
  msgstr "No hay hosts de destino"
@@ -720,7 +738,7 @@ msgid "Now"
720
738
  msgstr ""
721
739
 
722
740
  msgid "On"
723
- msgstr ""
741
+ msgstr "Activar"
724
742
 
725
743
  msgid "Only one of feature or job_template_id can be specified"
726
744
  msgstr "Sólo se puede especificar uno de feature o job_template_id"
@@ -734,6 +752,9 @@ msgstr "Organización"
734
752
  msgid "Override the description format from the template for this invocation only"
735
753
  msgstr "Sustituir el formato de descripción de la plantilla solo para esta invocación"
736
754
 
755
+ msgid "Override the global time to pickup interval for this invocation only"
756
+ msgstr ""
757
+
737
758
  msgid "Override the timeout interval from the template for this invocation only"
738
759
  msgstr "Anular el intervalo del tiempo de expiración desde la plantilla solo para esta invocación"
739
760
 
@@ -761,9 +782,24 @@ msgstr "Realizar una sola ejecución de Puppet"
761
782
  msgid "Perform no more executions after this time"
762
783
  msgstr "No ejecutar más después de esta cantidad de veces"
763
784
 
785
+ msgid "Please enter a search query"
786
+ msgstr ""
787
+
788
+ msgid "Please go back to \\\"Schedule\\\" - \\\"Future execution\\\" step to fix the error"
789
+ msgstr ""
790
+
764
791
  msgid "Please refine your search."
765
792
  msgstr "Afine su búsqueda."
766
793
 
794
+ msgid "Please select at least one host"
795
+ msgstr ""
796
+
797
+ msgid "Please select at least one host collection"
798
+ msgstr ""
799
+
800
+ msgid "Please select at least one host group"
801
+ msgstr ""
802
+
767
803
  msgid "Port to use for SSH communication. Default port 22. You may override per host by setting a parameter called remote_execution_ssh_port."
768
804
  msgstr "Puerto para usar para la comunicación SSH. Puerto predeterminado: 22. Puede sustituir por host al establecer un parámetro llamado remote_execution_ssh_port."
769
805
 
@@ -864,7 +900,7 @@ msgid "Repeat amount can only be a positive number"
864
900
  msgstr "El importe de la repetición sólo puede ser un número positivo"
865
901
 
866
902
  msgid "Repeats"
867
- msgstr ""
903
+ msgstr "Se repite"
868
904
 
869
905
  msgid "Rerun"
870
906
  msgstr "Volver a ejecutar"
@@ -885,7 +921,7 @@ msgid "Rerun the job"
885
921
  msgstr "Volver a ejecutar el trabajo"
886
922
 
887
923
  msgid "Reset to default"
888
- msgstr ""
924
+ msgstr "Restablecer valores predeterminados"
889
925
 
890
926
  msgid "Resolves to"
891
927
  msgstr "Se resuelve en"
@@ -905,6 +941,12 @@ msgstr "Ejecutar trabajo"
905
941
  msgid "Run Puppet Once"
906
942
  msgstr "Ejecutar Puppet una vez"
907
943
 
944
+ msgid "Run Script"
945
+ msgstr ""
946
+
947
+ msgid "Run a script"
948
+ msgstr ""
949
+
908
950
  msgid "Run at most N tasks at a time"
909
951
  msgstr "Ejecutar un máximo de N tareas por vez"
910
952
 
@@ -1053,6 +1095,9 @@ msgid "Started"
1053
1095
  msgstr "Inició"
1054
1096
 
1055
1097
  msgid "Starts"
1098
+ msgstr "Comienza"
1099
+
1100
+ msgid "Starts Before"
1056
1101
  msgstr ""
1057
1102
 
1058
1103
  msgid "Starts at"
@@ -1238,8 +1283,8 @@ msgstr "Tipo"
1238
1283
  msgid "Type has impact on when is the query evaluated to hosts."
1239
1284
  msgstr "El tipo influye en el momento en que se evalúa la consulta a los hosts."
1240
1285
 
1241
- msgid "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planed in future, targeted hosts set may change before it</li></ul>"
1242
- msgstr "El tipo afecta el momento en que la consulta evalúa al host.<br><ul><li><b>Estático</b>: evalúa solo después de enviar este formulario</li><li><b>Dinámico</b>: evalúa solo antes de que comience la ejecución, por lo que si se planifica para el futuro, los hosts de destino establecidos pueden cambiar antes de que se realice</li></ul>"
1286
+ msgid "Type has impact on when is the query evaluated to hosts.<br><ul><li><b>Static</b> - evaluates just after you submit this form</li><li><b>Dynamic</b> - evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it</li></ul>"
1287
+ msgstr ""
1243
1288
 
1244
1289
  msgid "Type of execution"
1245
1290
  msgstr ""
@@ -1365,7 +1410,7 @@ msgid "Workers pool size"
1365
1410
  msgstr "Tamaño del grupo de trabajadores"
1366
1411
 
1367
1412
  msgid "Yes (override)"
1368
- msgstr ""
1413
+ msgstr "Sí (anulación)"
1369
1414
 
1370
1415
  msgid "You are not allowed to see the currently assigned template. Saving the form now would unassign the template."
1371
1416
  msgstr "No puede ver la plantilla actualmente asignada. Si guarda el formulario ahora, se eliminará la asignación de la plantilla."
@@ -1394,8 +1439,8 @@ msgstr "error durante la reproducción: %s"
1394
1439
  msgid "evaluates just after you submit this form"
1395
1440
  msgstr "se evalúa justo después de enviar este formulario"
1396
1441
 
1397
- msgid "evaluates just before the execution is started, so if it's planed in future, targeted hosts set may change before it"
1398
- msgstr "evalúa justo antes de que se inicie la ejecución, por lo que si se planifica en el futuro, el conjunto de hosts objetivo puede cambiar antes de que"
1442
+ msgid "evaluates just before the execution is started, so if it's planned in future, targeted hosts set may change before it"
1443
+ msgstr ""
1399
1444
 
1400
1445
  msgid "failed"
1401
1446
  msgstr "fallido"
@@ -1434,7 +1479,7 @@ msgid "is month (range: 1-12)"
1434
1479
  msgstr "es mes (rango: 1-12)"
1435
1480
 
1436
1481
  msgid "no"
1437
- msgstr ""
1482
+ msgstr "no"
1438
1483
 
1439
1484
  msgid "occurences"
1440
1485
  msgstr ""
@@ -1478,5 +1523,8 @@ msgstr "mediante"
1478
1523
  msgid "using Smart Proxy"
1479
1524
  msgstr "utilizando Smart Proxy"
1480
1525
 
1481
- msgid "yes"
1526
+ msgid "view host names"
1482
1527
  msgstr ""
1528
+
1529
+ msgid "yes"
1530
+ msgstr "sí"