foreman_remote_execution 9.0.1 → 9.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/job_invocations_controller.rb +1 -0
  3. data/app/controllers/job_invocations_controller.rb +10 -0
  4. data/app/controllers/ui_job_wizard_controller.rb +6 -1
  5. data/app/helpers/remote_execution_helper.rb +1 -1
  6. data/app/lib/actions/remote_execution/run_hosts_job.rb +28 -2
  7. data/app/models/remote_execution_feature.rb +11 -8
  8. data/app/views/api/v2/job_invocations/base.json.rabl +1 -1
  9. data/app/views/job_invocations/show.html.erb +1 -1
  10. data/app/views/job_invocations/welcome.html.erb +1 -1
  11. data/config/routes.rb +1 -0
  12. data/db/migrate/20210816100932_rex_setting_category_to_dsl.rb +1 -1
  13. data/db/migrate/20220426145007_add_unique_feature_label_index.rb +14 -0
  14. data/lib/foreman_remote_execution/engine.rb +1 -1
  15. data/lib/foreman_remote_execution/version.rb +1 -1
  16. data/locale/action_names.rb +1 -1
  17. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  18. data/locale/de/foreman_remote_execution.po +15 -12
  19. data/locale/en/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  20. data/locale/en/foreman_remote_execution.po +4 -1
  21. data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  22. data/locale/en_GB/foreman_remote_execution.po +6 -3
  23. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  24. data/locale/es/foreman_remote_execution.po +16 -13
  25. data/locale/foreman_remote_execution.pot +25 -17
  26. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  27. data/locale/fr/foreman_remote_execution.po +51 -48
  28. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  29. data/locale/ja/foreman_remote_execution.po +17 -14
  30. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  31. data/locale/ko/foreman_remote_execution.po +12 -9
  32. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  33. data/locale/pt_BR/foreman_remote_execution.po +13 -10
  34. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  35. data/locale/ru/foreman_remote_execution.po +12 -9
  36. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  37. data/locale/zh_CN/foreman_remote_execution.po +16 -13
  38. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  39. data/locale/zh_TW/foreman_remote_execution.po +12 -9
  40. data/package.json +6 -6
  41. data/webpack/JobWizard/JobWizard.js +97 -32
  42. data/webpack/JobWizard/StartsBeforeErrorAlert.js +17 -0
  43. data/webpack/JobWizard/__tests__/__snapshots__/integration.test.js.snap +8 -0
  44. data/webpack/JobWizard/__tests__/fixtures.js +5 -0
  45. data/webpack/JobWizard/__tests__/integration.test.js +15 -0
  46. data/webpack/JobWizard/__tests__/validation.test.js +27 -0
  47. data/webpack/JobWizard/autofill.js +1 -0
  48. data/webpack/JobWizard/steps/AdvancedFields/__tests__/AdvancedFields.test.js +29 -10
  49. data/webpack/JobWizard/steps/AdvancedFields/__tests__/__snapshots__/AdvancedFields.test.js.snap +8 -0
  50. data/webpack/JobWizard/steps/HostsAndInputs/HostPreviewModal.js +3 -0
  51. data/webpack/JobWizard/steps/HostsAndInputs/__tests__/HostsAndInputs.test.js +38 -1
  52. data/webpack/JobWizard/steps/HostsAndInputs/buildHostQuery.js +16 -10
  53. data/webpack/JobWizard/steps/HostsAndInputs/index.js +51 -3
  54. data/webpack/JobWizard/steps/Schedule/__tests__/Schedule.test.js +33 -13
  55. data/webpack/JobWizard/steps/form/DateTimePicker.js +1 -1
  56. data/webpack/JobWizard/submit.js +14 -3
  57. metadata +4 -2
@@ -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"
@@ -84,6 +84,9 @@ msgstr "하위 계획이 있는 작업"
84
84
  msgid "Actions"
85
85
  msgstr "작업"
86
86
 
87
+ msgid "Active Filters:"
88
+ msgstr ""
89
+
87
90
  msgid "Add Foreign Input Set"
88
91
  msgstr "외부 입력 세트 추가"
89
92
 
@@ -208,7 +211,7 @@ msgid "Could not use any template used in the job invocation"
208
211
  msgstr "작업 호출에 사용된 템플릿을 사용할 수 없습니다."
209
212
 
210
213
  msgid "Create"
211
- msgstr ""
214
+ msgstr "생성 "
212
215
 
213
216
  msgid "Create Report"
214
217
  msgstr ""
@@ -685,7 +688,7 @@ msgid "Name"
685
688
  msgstr "이름"
686
689
 
687
690
  msgid "Never"
688
- msgstr ""
691
+ msgstr "사용 안 함"
689
692
 
690
693
  msgid "New Job Template"
691
694
  msgstr "새 작업 템플릿"
@@ -718,7 +721,7 @@ msgid "Now"
718
721
  msgstr ""
719
722
 
720
723
  msgid "On"
721
- msgstr ""
724
+ msgstr "켜기"
722
725
 
723
726
  msgid "Only one of feature or job_template_id can be specified"
724
727
  msgstr ""
@@ -862,7 +865,7 @@ msgid "Repeat amount can only be a positive number"
862
865
  msgstr ""
863
866
 
864
867
  msgid "Repeats"
865
- msgstr ""
868
+ msgstr "반복"
866
869
 
867
870
  msgid "Rerun"
868
871
  msgstr "재실행"
@@ -883,7 +886,7 @@ msgid "Rerun the job"
883
886
  msgstr "작업 재실행"
884
887
 
885
888
  msgid "Reset to default"
886
- msgstr ""
889
+ msgstr "기본값으로 다시 설정 "
887
890
 
888
891
  msgid "Resolves to"
889
892
  msgstr "다음으로 확인"
@@ -1051,7 +1054,7 @@ msgid "Started"
1051
1054
  msgstr ""
1052
1055
 
1053
1056
  msgid "Starts"
1054
- msgstr ""
1057
+ msgstr "시작 "
1055
1058
 
1056
1059
  msgid "Starts at"
1057
1060
  msgstr ""
@@ -1430,7 +1433,7 @@ msgid "is month (range: 1-12)"
1430
1433
  msgstr "월(범위: 1-12)"
1431
1434
 
1432
1435
  msgid "no"
1433
- msgstr ""
1436
+ msgstr "no"
1434
1437
 
1435
1438
  msgid "occurences"
1436
1439
  msgstr ""
@@ -1475,4 +1478,4 @@ msgid "using Smart Proxy"
1475
1478
  msgstr ""
1476
1479
 
1477
1480
  msgid "yes"
1478
- msgstr ""
1481
+ msgstr ""
@@ -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"
@@ -86,6 +86,9 @@ msgstr "Ação com subplanos "
86
86
  msgid "Actions"
87
87
  msgstr "Ações"
88
88
 
89
+ msgid "Active Filters:"
90
+ msgstr ""
91
+
89
92
  msgid "Add Foreign Input Set"
90
93
  msgstr "Adicionar Conjunto de Entradas Externas"
91
94
 
@@ -210,7 +213,7 @@ msgid "Could not use any template used in the job invocation"
210
213
  msgstr "Não foi possível usar nenhum modelo utilizado na invocação de trabalho "
211
214
 
212
215
  msgid "Create"
213
- msgstr ""
216
+ msgstr "Criar"
214
217
 
215
218
  msgid "Create Report"
216
219
  msgstr "Criar relatório"
@@ -330,7 +333,7 @@ msgid "Edit job description template"
330
333
  msgstr "Editar modelo de descrição de cargo"
331
334
 
332
335
  msgid "Effective User"
333
- msgstr ""
336
+ msgstr "Usuário efetivo"
334
337
 
335
338
  msgid "Effective User Method"
336
339
  msgstr "Método de usuário efetivo"
@@ -687,7 +690,7 @@ msgid "Name"
687
690
  msgstr "Nome"
688
691
 
689
692
  msgid "Never"
690
- msgstr ""
693
+ msgstr "Nunca"
691
694
 
692
695
  msgid "New Job Template"
693
696
  msgstr "Novo Modelo de Trabalho "
@@ -720,7 +723,7 @@ msgid "Now"
720
723
  msgstr ""
721
724
 
722
725
  msgid "On"
723
- msgstr ""
726
+ msgstr "Ligado"
724
727
 
725
728
  msgid "Only one of feature or job_template_id can be specified"
726
729
  msgstr "Apenas um dos recursos ou job_template_id pode ser especificado"
@@ -864,7 +867,7 @@ msgid "Repeat amount can only be a positive number"
864
867
  msgstr "A quantia repetida só pode ser um número positivo"
865
868
 
866
869
  msgid "Repeats"
867
- msgstr ""
870
+ msgstr "Repetições "
868
871
 
869
872
  msgid "Rerun"
870
873
  msgstr "Executar novamente"
@@ -885,7 +888,7 @@ msgid "Rerun the job"
885
888
  msgstr "Executar novamente o trabalho"
886
889
 
887
890
  msgid "Reset to default"
888
- msgstr ""
891
+ msgstr "Reconfigurar como padrão"
889
892
 
890
893
  msgid "Resolves to"
891
894
  msgstr "Resolve para"
@@ -1053,7 +1056,7 @@ msgid "Started"
1053
1056
  msgstr "Iniciado em"
1054
1057
 
1055
1058
  msgid "Starts"
1056
- msgstr ""
1059
+ msgstr "Inicia"
1057
1060
 
1058
1061
  msgid "Starts at"
1059
1062
  msgstr "Começa em"
@@ -1434,7 +1437,7 @@ msgid "is month (range: 1-12)"
1434
1437
  msgstr "é o mês (intervalo: 1-12)"
1435
1438
 
1436
1439
  msgid "no"
1437
- msgstr ""
1440
+ msgstr "não"
1438
1441
 
1439
1442
  msgid "occurences"
1440
1443
  msgstr ""
@@ -1479,4 +1482,4 @@ msgid "using Smart Proxy"
1479
1482
  msgstr "usando o Smart Proxy"
1480
1483
 
1481
1484
  msgid "yes"
1482
- msgstr ""
1485
+ msgstr "sim"
@@ -6,7 +6,7 @@
6
6
  # Yulia <yulia.poyarkova@redhat.com>, 2016
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_remote_execution 8.1.1\n"
9
+ "Project-Id-Version: foreman_remote_execution 9.0.1\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "PO-Revision-Date: 2016-02-15 13:54+0000\n"
12
12
  "Last-Translator: Yulia <yulia.poyarkova@redhat.com>, 2016\n"
@@ -88,6 +88,9 @@ msgstr "Действия с подпланами"
88
88
  msgid "Actions"
89
89
  msgstr "Действия"
90
90
 
91
+ msgid "Active Filters:"
92
+ msgstr ""
93
+
91
94
  msgid "Add Foreign Input Set"
92
95
  msgstr "Добавить шаблон"
93
96
 
@@ -212,7 +215,7 @@ msgid "Could not use any template used in the job invocation"
212
215
  msgstr "Не удалось применить ни один из шаблонов, настроенных для этого вызова задания"
213
216
 
214
217
  msgid "Create"
215
- msgstr ""
218
+ msgstr "Создать"
216
219
 
217
220
  msgid "Create Report"
218
221
  msgstr ""
@@ -689,7 +692,7 @@ msgid "Name"
689
692
  msgstr "Название"
690
693
 
691
694
  msgid "Never"
692
- msgstr ""
695
+ msgstr "Никогда"
693
696
 
694
697
  msgid "New Job Template"
695
698
  msgstr "Создать шаблон задания"
@@ -722,7 +725,7 @@ msgid "Now"
722
725
  msgstr ""
723
726
 
724
727
  msgid "On"
725
- msgstr ""
728
+ msgstr "Настроить"
726
729
 
727
730
  msgid "Only one of feature or job_template_id can be specified"
728
731
  msgstr ""
@@ -866,7 +869,7 @@ msgid "Repeat amount can only be a positive number"
866
869
  msgstr ""
867
870
 
868
871
  msgid "Repeats"
869
- msgstr ""
872
+ msgstr "Повторяется"
870
873
 
871
874
  msgid "Rerun"
872
875
  msgstr "Повторить"
@@ -887,7 +890,7 @@ msgid "Rerun the job"
887
890
  msgstr "Повторно выполнить задание"
888
891
 
889
892
  msgid "Reset to default"
890
- msgstr ""
893
+ msgstr "Восстановить исходные"
891
894
 
892
895
  msgid "Resolves to"
893
896
  msgstr "Применимо к "
@@ -1055,7 +1058,7 @@ msgid "Started"
1055
1058
  msgstr ""
1056
1059
 
1057
1060
  msgid "Starts"
1058
- msgstr ""
1061
+ msgstr "Начало"
1059
1062
 
1060
1063
  msgid "Starts at"
1061
1064
  msgstr ""
@@ -1437,7 +1440,7 @@ msgid "is month (range: 1-12)"
1437
1440
  msgstr "— месяц (1–12)"
1438
1441
 
1439
1442
  msgid "no"
1440
- msgstr ""
1443
+ msgstr "нет"
1441
1444
 
1442
1445
  msgid "occurences"
1443
1446
  msgstr ""
@@ -1482,4 +1485,4 @@ msgid "using Smart Proxy"
1482
1485
  msgstr ""
1483
1486
 
1484
1487
  msgid "yes"
1485
- msgstr ""
1488
+ msgstr "да"
@@ -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"
@@ -84,6 +84,9 @@ msgstr "有子计划的操作"
84
84
  msgid "Actions"
85
85
  msgstr "操作"
86
86
 
87
+ msgid "Active Filters:"
88
+ msgstr ""
89
+
87
90
  msgid "Add Foreign Input Set"
88
91
  msgstr "添加外部输入集"
89
92
 
@@ -208,7 +211,7 @@ msgid "Could not use any template used in the job invocation"
208
211
  msgstr "无法使用作业调用中使用的任何模板"
209
212
 
210
213
  msgid "Create"
211
- msgstr ""
214
+ msgstr "创建"
212
215
 
213
216
  msgid "Create Report"
214
217
  msgstr "创建报告"
@@ -328,7 +331,7 @@ msgid "Edit job description template"
328
331
  msgstr "编辑作业描述模板"
329
332
 
330
333
  msgid "Effective User"
331
- msgstr ""
334
+ msgstr "有效用户"
332
335
 
333
336
  msgid "Effective User Method"
334
337
  msgstr "有效用户方法"
@@ -520,7 +523,7 @@ msgid "Indicates that the action should be cancelled if it cannot be started bef
520
523
  msgstr "这代表,如果操作无法在这个时间前开始则操作应该被取消。"
521
524
 
522
525
  msgid "Inherit from host parameter"
523
- msgstr ""
526
+ msgstr "从主机参数继承"
524
527
 
525
528
  msgid "Input"
526
529
  msgstr "输入"
@@ -685,13 +688,13 @@ msgid "Name"
685
688
  msgstr "名称"
686
689
 
687
690
  msgid "Never"
688
- msgstr ""
691
+ msgstr "决不"
689
692
 
690
693
  msgid "New Job Template"
691
694
  msgstr "新作业模板"
692
695
 
693
696
  msgid "No (override)"
694
- msgstr ""
697
+ msgstr "否(覆盖)"
695
698
 
696
699
  msgid "No Target Hosts"
697
700
  msgstr "没有目标主机"
@@ -718,7 +721,7 @@ msgid "Now"
718
721
  msgstr ""
719
722
 
720
723
  msgid "On"
721
- msgstr ""
724
+ msgstr ""
722
725
 
723
726
  msgid "Only one of feature or job_template_id can be specified"
724
727
  msgstr "只能指定一个功能或 job_template_id"
@@ -862,7 +865,7 @@ msgid "Repeat amount can only be a positive number"
862
865
  msgstr "重复数量只能是一个正数"
863
866
 
864
867
  msgid "Repeats"
865
- msgstr ""
868
+ msgstr "重复"
866
869
 
867
870
  msgid "Rerun"
868
871
  msgstr "重新运行"
@@ -883,7 +886,7 @@ msgid "Rerun the job"
883
886
  msgstr "重新运行作业"
884
887
 
885
888
  msgid "Reset to default"
886
- msgstr ""
889
+ msgstr "重置为默认"
887
890
 
888
891
  msgid "Resolves to"
889
892
  msgstr "解析到"
@@ -1051,7 +1054,7 @@ msgid "Started"
1051
1054
  msgstr "已启动"
1052
1055
 
1053
1056
  msgid "Starts"
1054
- msgstr ""
1057
+ msgstr "开始"
1055
1058
 
1056
1059
  msgid "Starts at"
1057
1060
  msgstr "开始于"
@@ -1361,7 +1364,7 @@ msgid "Workers pool size"
1361
1364
  msgstr "工作节点池的大小"
1362
1365
 
1363
1366
  msgid "Yes (override)"
1364
- msgstr ""
1367
+ msgstr "是(覆盖)"
1365
1368
 
1366
1369
  msgid "You are not allowed to see the currently assigned template. Saving the form now would unassign the template."
1367
1370
  msgstr "您没有权限查看当前分配的模板。现在保存表单将取消分配模板。"
@@ -1430,7 +1433,7 @@ msgid "is month (range: 1-12)"
1430
1433
  msgstr "月份(范围:1-12)"
1431
1434
 
1432
1435
  msgid "no"
1433
- msgstr ""
1436
+ msgstr ""
1434
1437
 
1435
1438
  msgid "occurences"
1436
1439
  msgstr ""
@@ -1475,4 +1478,4 @@ msgid "using Smart Proxy"
1475
1478
  msgstr "使用智能代理"
1476
1479
 
1477
1480
  msgid "yes"
1478
- msgstr ""
1481
+ msgstr ""
@@ -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"
@@ -85,6 +85,9 @@ msgstr "有子計畫的動作"
85
85
  msgid "Actions"
86
86
  msgstr "動作"
87
87
 
88
+ msgid "Active Filters:"
89
+ msgstr ""
90
+
88
91
  msgid "Add Foreign Input Set"
89
92
  msgstr "新增外部輸入集"
90
93
 
@@ -209,7 +212,7 @@ msgid "Could not use any template used in the job invocation"
209
212
  msgstr "無法使用任何用於這工作祈願的範本"
210
213
 
211
214
  msgid "Create"
212
- msgstr ""
215
+ msgstr "建立"
213
216
 
214
217
  msgid "Create Report"
215
218
  msgstr ""
@@ -686,7 +689,7 @@ msgid "Name"
686
689
  msgstr "名稱"
687
690
 
688
691
  msgid "Never"
689
- msgstr ""
692
+ msgstr "永不"
690
693
 
691
694
  msgid "New Job Template"
692
695
  msgstr "新工作範本"
@@ -719,7 +722,7 @@ msgid "Now"
719
722
  msgstr ""
720
723
 
721
724
  msgid "On"
722
- msgstr ""
725
+ msgstr "開啟"
723
726
 
724
727
  msgid "Only one of feature or job_template_id can be specified"
725
728
  msgstr ""
@@ -863,7 +866,7 @@ msgid "Repeat amount can only be a positive number"
863
866
  msgstr ""
864
867
 
865
868
  msgid "Repeats"
866
- msgstr ""
869
+ msgstr "重複"
867
870
 
868
871
  msgid "Rerun"
869
872
  msgstr "重新執行"
@@ -884,7 +887,7 @@ msgid "Rerun the job"
884
887
  msgstr "重新執行工作"
885
888
 
886
889
  msgid "Reset to default"
887
- msgstr ""
890
+ msgstr "重設為預設值"
888
891
 
889
892
  msgid "Resolves to"
890
893
  msgstr "解析至"
@@ -1052,7 +1055,7 @@ msgid "Started"
1052
1055
  msgstr ""
1053
1056
 
1054
1057
  msgid "Starts"
1055
- msgstr ""
1058
+ msgstr "起始"
1056
1059
 
1057
1060
  msgid "Starts at"
1058
1061
  msgstr ""
@@ -1432,7 +1435,7 @@ msgid "is month (range: 1-12)"
1432
1435
  msgstr "是月份(範圍:1-12)"
1433
1436
 
1434
1437
  msgid "no"
1435
- msgstr ""
1438
+ msgstr ""
1436
1439
 
1437
1440
  msgid "occurences"
1438
1441
  msgstr ""
@@ -1477,4 +1480,4 @@ msgid "using Smart Proxy"
1477
1480
  msgstr ""
1478
1481
 
1479
1482
  msgid "yes"
1480
- msgstr ""
1483
+ msgstr ""
data/package.json CHANGED
@@ -21,11 +21,11 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@babel/core": "^7.7.0",
24
- "@theforeman/builder": "^10.1.0",
25
- "@theforeman/eslint-plugin-foreman": "^10.1.0",
26
- "@theforeman/stories": "^10.1.0",
27
- "@theforeman/test": "^10.1.0",
28
- "@theforeman/vendor-dev": "^10.1.0",
24
+ "@theforeman/builder": "^12.0.1",
25
+ "@theforeman/eslint-plugin-foreman": "^12.0.1",
26
+ "@theforeman/stories": "^12.0.1",
27
+ "@theforeman/test": "^12.0.1",
28
+ "@theforeman/vendor-dev": "^12.0.1",
29
29
  "babel-eslint": "^10.0.0",
30
30
  "eslint": "^6.8.0",
31
31
  "prettier": "^1.19.1",
@@ -34,6 +34,6 @@
34
34
  "graphql": "^15.5.0"
35
35
  },
36
36
  "peerDependencies": {
37
- "@theforeman/vendor": "^10.1.0"
37
+ "@theforeman/vendor": "^12.0.1"
38
38
  }
39
39
  }