foreman-tasks 5.2.2 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby_tests.yml +7 -18
  3. data/.rubocop.yml +1 -0
  4. data/app/lib/actions/base.rb +1 -0
  5. data/app/lib/actions/foreman/host/import_facts.rb +1 -1
  6. data/app/lib/actions/helpers/lifecycle_logging.rb +1 -1
  7. data/app/lib/actions/middleware/rails_executor_wrap.rb +2 -2
  8. data/app/lib/actions/middleware/watch_delegated_proxy_sub_tasks.rb +18 -11
  9. data/app/lib/actions/proxy_action.rb +2 -2
  10. data/app/lib/actions/task_synchronization.rb +65 -0
  11. data/app/lib/actions/trigger_proxy_batch.rb +1 -1
  12. data/app/models/foreman_tasks/lock.rb +1 -1
  13. data/app/models/foreman_tasks/remote_task.rb +10 -3
  14. data/app/models/foreman_tasks/task/dynflow_task.rb +20 -21
  15. data/app/views/foreman_tasks/api/locks/show.json.rabl +4 -0
  16. data/config/routes.rb +1 -1
  17. data/db/migrate/20210708123832_add_parent_task_id_to_remote_tasks.foreman_tasks.rb +5 -0
  18. data/db/migrate/20211123170430_tasks_settings_to_dsl_category.rb +5 -0
  19. data/foreman-tasks.gemspec +1 -1
  20. data/lib/foreman_tasks/dynflow/configuration.rb +1 -6
  21. data/lib/foreman_tasks/dynflow.rb +1 -1
  22. data/lib/foreman_tasks/engine.rb +56 -9
  23. data/lib/foreman_tasks/test_helpers.rb +1 -1
  24. data/lib/foreman_tasks/version.rb +1 -1
  25. data/locale/action_names.rb +2 -3
  26. data/locale/en/foreman_tasks.po +27 -3
  27. data/locale/foreman_tasks.pot +230 -176
  28. data/locale/fr/foreman_tasks.po +27 -3
  29. data/locale/ja/foreman_tasks.po +27 -3
  30. data/locale/zh_CN/foreman_tasks.po +27 -3
  31. data/test/controllers/api/tasks_controller_test.rb +1 -2
  32. data/test/factories/task_factory.rb +1 -1
  33. data/test/lib/actions/middleware/keep_current_taxonomies_test.rb +9 -1
  34. data/test/support/dummy_dynflow_action.rb +1 -1
  35. data/test/support/dummy_proxy_action.rb +1 -1
  36. data/test/unit/actions/proxy_action_test.rb +19 -13
  37. data/test/unit/actions/trigger_proxy_batch_test.rb +0 -1
  38. data/test/unit/troubleshooting_help_generator_test.rb +0 -1
  39. data/test/unit/ui_notifications_test.rb +0 -1
  40. data/webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js +1 -1
  41. data/webpack/ForemanTasks/Components/TaskActions/index.js +1 -1
  42. data/webpack/ForemanTasks/Components/TaskDetails/Components/Locks.js +28 -14
  43. data/webpack/ForemanTasks/Components/TaskDetails/Components/__tests__/__snapshots__/Locks.test.js.snap +50 -42
  44. data/webpack/ForemanTasks/Components/TaskDetails/TaskDetailsActions.js +1 -1
  45. data/webpack/ForemanTasks/Components/TasksTable/TasksBulkActions.js +1 -1
  46. data/webpack/ForemanTasks/Components/TasksTable/TasksTable.js +2 -28
  47. data/webpack/ForemanTasks/Components/TasksTable/TasksTablePage.js +5 -9
  48. data/webpack/ForemanTasks/Components/TasksTable/TasksTableReducer.js +1 -5
  49. data/webpack/ForemanTasks/Components/TasksTable/TasksTableSelectors.js +2 -2
  50. data/webpack/ForemanTasks/Components/TasksTable/__tests__/TasksTable.fixtures.js +1 -4
  51. data/webpack/ForemanTasks/Components/TasksTable/__tests__/__snapshots__/SubTasksPage.test.js.snap +1 -6
  52. data/webpack/ForemanTasks/Components/TasksTable/__tests__/__snapshots__/TasksIndexPage.test.js.snap +1 -6
  53. data/webpack/ForemanTasks/Components/TasksTable/__tests__/__snapshots__/TasksTable.test.js.snap +2 -22
  54. data/webpack/ForemanTasks/Components/TasksTable/__tests__/__snapshots__/TasksTablePage.test.js.snap +2 -12
  55. data/webpack/ForemanTasks/Components/TasksTable/__tests__/__snapshots__/TasksTableReducer.test.js.snap +1 -4
  56. data/webpack/ForemanTasks/Components/TasksTable/index.js +2 -2
  57. data/webpack/__mocks__/foremanReact/components/Pagination/index.js +2 -0
  58. data/webpack/__mocks__/foremanReact/{redux/actions/toasts.js → components/ToastsList/index.js} +0 -0
  59. metadata +8 -7
  60. data/app/models/setting/foreman_tasks.rb +0 -29
  61. data/lib/foreman_tasks/dynflow/persistence.rb +0 -46
  62. data/webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js +0 -2
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_tasks 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2021-04-26 17:14+0200\n"
12
- "PO-Revision-Date: 2021-04-26 17:14+0200\n"
11
+ "POT-Creation-Date: 2022-02-17 10:55+0100\n"
12
+ "PO-Revision-Date: 2022-02-17 10:55+0100\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -46,80 +46,80 @@ msgstr ""
46
46
  msgid "Please provide a search parameter in the request"
47
47
  msgstr ""
48
48
 
49
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:77
49
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:78
50
50
  msgid "Resume all paused error tasks"
51
51
  msgstr ""
52
52
 
53
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:83
53
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:84
54
54
  msgid "Resume tasks matching search string"
55
55
  msgstr ""
56
56
 
57
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:84
57
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:85
58
58
  msgid "Resume specific tasks by ID"
59
59
  msgstr ""
60
60
 
61
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:117
61
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:118
62
62
  msgid "Cancel selected cancellable tasks"
63
63
  msgstr ""
64
64
 
65
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:122
65
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:123
66
66
  msgid "Cancel tasks matching search string"
67
67
  msgstr ""
68
68
 
69
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:123
69
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:124
70
70
  msgid "Cancel specific tasks by ID"
71
71
  msgstr ""
72
72
 
73
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:127
74
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:153
73
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:128
74
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:154
75
75
  msgid "Please provide at least one of search or task_ids parameters in the request"
76
76
  msgstr ""
77
77
 
78
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:143
78
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:144
79
79
  msgid "Stop selected stoppable tasks"
80
80
  msgstr ""
81
81
 
82
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:148
82
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:149
83
83
  msgid "Stop tasks matching search string"
84
84
  msgstr ""
85
85
 
86
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:149
86
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:150
87
87
  msgid "Stop specific tasks by ID"
88
88
  msgstr ""
89
89
 
90
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:176
90
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:177
91
91
  msgid "List tasks"
92
92
  msgstr ""
93
93
 
94
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:203
94
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:204
95
95
  msgid "UUID of the task"
96
96
  msgstr ""
97
97
 
98
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:204
98
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:205
99
99
  msgid "The ID of the step inside the execution plan to send the event to"
100
100
  msgstr ""
101
101
 
102
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:210
102
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:211
103
103
  msgid "Data to be sent to the action"
104
104
  msgstr ""
105
105
 
106
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:213
106
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:214
107
107
  msgid "Send data to the task from external executor (such as smart_proxy_dynflow)"
108
108
  msgstr ""
109
109
 
110
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:254
110
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:255
111
111
  msgid "User search_params requires user_id to be specified"
112
112
  msgstr ""
113
113
 
114
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:260
114
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:261
115
115
  msgid "Resource search_params requires resource_type and resource_id to be specified"
116
116
  msgstr ""
117
117
 
118
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:267
118
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:268
119
119
  msgid "Task search_params requires task_id to be specified"
120
120
  msgstr ""
121
121
 
122
- #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:271
122
+ #: ../app/controllers/foreman_tasks/api/tasks_controller.rb:272
123
123
  msgid "Type %s for search_params is not supported"
124
124
  msgstr ""
125
125
 
@@ -131,11 +131,11 @@ msgstr ""
131
131
  msgid "The recurring logic was disabled."
132
132
  msgstr ""
133
133
 
134
- #: ../app/controllers/foreman_tasks/tasks_controller.rb:54
134
+ #: ../app/controllers/foreman_tasks/tasks_controller.rb:55
135
135
  msgid "Trying to abort the task"
136
136
  msgstr ""
137
137
 
138
- #: ../app/controllers/foreman_tasks/tasks_controller.rb:56
138
+ #: ../app/controllers/foreman_tasks/tasks_controller.rb:57
139
139
  msgid "The task cannot be aborted at the moment."
140
140
  msgstr ""
141
141
 
@@ -162,10 +162,10 @@ msgstr ""
162
162
  #: ../db/seeds.d/30-notification_blueprints.rb:33
163
163
  #: ../db/seeds.d/30-notification_blueprints.rb:40
164
164
  #: ../db/seeds.d/30-notification_blueprints.rb:47
165
- #: ../lib/foreman_tasks/engine.rb:41
165
+ #: ../lib/foreman_tasks/engine.rb:32 ../lib/foreman_tasks/engine.rb:61
166
166
  #: ../webpack/ForemanTasks/Components/TasksTable/SubTasksPage.js:10
167
167
  #: ../webpack/ForemanTasks/Components/TasksTable/TasksIndexPage.js:7
168
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTablePage.js:146
168
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTablePage.js:150
169
169
  msgid "Tasks"
170
170
  msgstr ""
171
171
 
@@ -177,6 +177,7 @@ msgid "Sub tasks"
177
177
  msgstr ""
178
178
 
179
179
  #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:127
180
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:144
180
181
  msgid "Start at"
181
182
  msgstr ""
182
183
 
@@ -194,100 +195,112 @@ msgstr ""
194
195
  msgid "Repeats"
195
196
  msgstr ""
196
197
 
198
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:146
199
+ #: ../app/views/foreman_tasks/recurring_logics/index.html.erb:50
200
+ #: ../app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb:40
201
+ msgid "Purpose"
202
+ msgstr ""
203
+
204
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:147
205
+ msgid ""
206
+ "A special label for tracking a recurring job. There can be only one active job"
207
+ " with a given purpose at a time."
208
+ msgstr ""
209
+
197
210
  #. TRANSLATORS: this translation is referring to an option which is a time interval
198
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:153
211
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:156
199
212
  msgid "is minute (range: 0-59)"
200
213
  msgstr ""
201
214
 
202
215
  #. TRANSLATORS: this translation is referring to an option which is a time interval
203
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:155
216
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:158
204
217
  msgid "is hour (range: 0-23)"
205
218
  msgstr ""
206
219
 
207
220
  #. TRANSLATORS: this translation is referring to an option which is a time interval
208
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:157
221
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:160
209
222
  msgid "is day of month (range: 1-31)"
210
223
  msgstr ""
211
224
 
212
225
  #. TRANSLATORS: this translation is referring to an option which is a time interval
213
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:159
226
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:162
214
227
  msgid "is month (range: 1-12)"
215
228
  msgstr ""
216
229
 
217
230
  #. TRANSLATORS: this translation is referring to an option which is a time interval
218
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:161
231
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:164
219
232
  msgid "is day of week (range: 0-6)"
220
233
  msgstr ""
221
234
 
222
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:164
235
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:167
223
236
  msgid "Cron line format 'a b c d e', where: %s"
224
237
  msgstr ""
225
238
 
226
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:166
239
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:169
227
240
  #: ../app/views/foreman_tasks/recurring_logics/index.html.erb:41
228
241
  #: ../app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb:8
229
242
  msgid "Cron line"
230
243
  msgstr ""
231
244
 
232
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:172
245
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:175
233
246
  msgid "Days"
234
247
  msgstr ""
235
248
 
236
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:181
249
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:184
237
250
  msgid "Days of week"
238
251
  msgstr ""
239
252
 
240
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:182
253
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:185
241
254
  msgid "Mon"
242
255
  msgstr ""
243
256
 
244
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:183
257
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:186
245
258
  msgid "Tue"
246
259
  msgstr ""
247
260
 
248
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:184
261
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:187
249
262
  msgid "Wed"
250
263
  msgstr ""
251
264
 
252
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:185
265
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:188
253
266
  msgid "Thu"
254
267
  msgstr ""
255
268
 
256
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:186
269
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:189
257
270
  msgid "Fri"
258
271
  msgstr ""
259
272
 
260
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:187
273
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:190
261
274
  msgid "Sat"
262
275
  msgstr ""
263
276
 
264
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:188
277
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:191
265
278
  msgid "Sun"
266
279
  msgstr ""
267
280
 
268
281
  #. TRANSLATORS: Time widget for when a task should start
269
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:197
282
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:200
270
283
  msgid "At"
271
284
  msgstr ""
272
285
 
273
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:199
286
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:202
274
287
  msgid "Repeat N times"
275
288
  msgstr ""
276
289
 
277
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:200
290
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:203
278
291
  msgid "Ends"
279
292
  msgstr ""
280
293
 
281
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:201
294
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:204
282
295
  msgid "Never"
283
296
  msgstr ""
284
297
 
285
298
  #. TRANSLATORS: Button text for saying when a task should end
286
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:203
299
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:206
287
300
  msgid "On"
288
301
  msgstr ""
289
302
 
290
- #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:206
303
+ #: ../app/helpers/foreman_tasks/foreman_tasks_helper.rb:209
291
304
  msgid "Ends at"
292
305
  msgstr ""
293
306
 
@@ -311,11 +324,11 @@ msgstr ""
311
324
  msgid "The targets are of different types"
312
325
  msgstr ""
313
326
 
314
- #: ../app/lib/actions/foreman/host/import_facts.rb:48 action_names.rb:5
327
+ #: ../app/lib/actions/foreman/host/import_facts.rb:48 action_names.rb:3
315
328
  msgid "Import facts"
316
329
  msgstr ""
317
330
 
318
- #: ../app/lib/actions/foreman/puppetclass/import.rb:18 action_names.rb:4
331
+ #: ../app/lib/actions/foreman/puppetclass/import.rb:18 action_names.rb:2
319
332
  msgid "Import Puppet classes"
320
333
  msgstr ""
321
334
 
@@ -367,7 +380,7 @@ msgstr ""
367
380
  msgid "Changing request id %{request_id} to saved id %{saved_id}"
368
381
  msgstr ""
369
382
 
370
- #: ../app/lib/actions/middleware/watch_delegated_proxy_sub_tasks.rb:66
383
+ #: ../app/lib/actions/middleware/watch_delegated_proxy_sub_tasks.rb:69
371
384
  msgid "Failed to check on tasks on proxy at %{url}: %{exception}"
372
385
  msgstr ""
373
386
 
@@ -407,25 +420,25 @@ msgstr ""
407
420
  msgid "Conflicts with tasks:"
408
421
  msgstr ""
409
422
 
410
- #: ../app/models/foreman_tasks/recurring_logic.rb:136
423
+ #: ../app/models/foreman_tasks/recurring_logic.rb:141
411
424
  msgid "Active"
412
425
  msgstr ""
413
426
 
414
- #: ../app/models/foreman_tasks/recurring_logic.rb:138
427
+ #: ../app/models/foreman_tasks/recurring_logic.rb:143
415
428
  msgid "Cancelled"
416
429
  msgstr ""
417
430
 
418
- #: ../app/models/foreman_tasks/recurring_logic.rb:140
431
+ #: ../app/models/foreman_tasks/recurring_logic.rb:145
419
432
  msgid "Finished"
420
433
  msgstr ""
421
434
 
422
- #: ../app/models/foreman_tasks/recurring_logic.rb:142
423
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableSelectors.js:36
435
+ #: ../app/models/foreman_tasks/recurring_logic.rb:147
436
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableSelectors.js:39
424
437
  msgid "Disabled"
425
438
  msgstr ""
426
439
 
427
- #: ../app/models/foreman_tasks/recurring_logic.rb:144
428
- #: ../app/models/foreman_tasks/task.rb:127
440
+ #: ../app/models/foreman_tasks/recurring_logic.rb:149
441
+ #: ../app/models/foreman_tasks/task.rb:130
429
442
  #: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:14
430
443
  #: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:14
431
444
  #: ../webpack/ForemanTasks/Components/TaskDetails/Components/TaskHelper.js:10
@@ -434,8 +447,8 @@ msgstr ""
434
447
  #: ../webpack/ForemanTasks/Components/TaskDetails/Components/TaskInfo.js:91
435
448
  #: ../webpack/ForemanTasks/Components/TaskDetails/Components/TaskInfo.js:105
436
449
  #: ../webpack/ForemanTasks/Components/TaskDetails/Components/TaskInfo.js:116
437
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:26
438
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:29
450
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:27
451
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:30
439
452
  #: ../webpack/ForemanTasks/Components/TasksTable/formatters/dateCellFormmatter.js:6
440
453
  msgid "N/A"
441
454
  msgstr ""
@@ -444,11 +457,11 @@ msgstr ""
444
457
  msgid "Cannot update a cancelled Recurring Logic."
445
458
  msgstr ""
446
459
 
447
- #: ../app/models/foreman_tasks/task.rb:112
460
+ #: ../app/models/foreman_tasks/task.rb:115
448
461
  msgid "Delayed"
449
462
  msgstr ""
450
463
 
451
- #: ../app/models/foreman_tasks/task.rb:112
464
+ #: ../app/models/foreman_tasks/task.rb:115
452
465
  msgid "Immediate"
453
466
  msgstr ""
454
467
 
@@ -457,114 +470,41 @@ msgstr ""
457
470
  msgid "Recurring logic"
458
471
  msgstr ""
459
472
 
460
- #: ../app/models/foreman_tasks/triggering.rb:27
473
+ #: ../app/models/foreman_tasks/triggering.rb:29
461
474
  msgid "%{value} is not allowed triggering mode"
462
475
  msgstr ""
463
476
 
464
- #: ../app/models/foreman_tasks/triggering.rb:30
477
+ #: ../app/models/foreman_tasks/triggering.rb:32
465
478
  msgid "%{value} is not allowed input type"
466
479
  msgstr ""
467
480
 
468
- #: ../app/models/foreman_tasks/triggering.rb:32
469
481
  #: ../app/models/foreman_tasks/triggering.rb:34
482
+ #: ../app/models/foreman_tasks/triggering.rb:36
470
483
  msgid "%{value} is wrong format"
471
484
  msgstr ""
472
485
 
473
- #: ../app/models/foreman_tasks/triggering.rb:58
486
+ #: ../app/models/foreman_tasks/triggering.rb:60
474
487
  msgid "mode has to be one of %{allowed_modes}"
475
488
  msgstr ""
476
489
 
477
- #: ../app/models/foreman_tasks/triggering.rb:105
478
- msgid "No task could be started"
490
+ #: ../app/models/foreman_tasks/triggering.rb:103
491
+ msgid "is not a valid format"
479
492
  msgstr ""
480
493
 
481
- #: ../app/models/foreman_tasks/triggering.rb:106
482
- msgid "%s is not valid format of cron line"
483
- msgstr ""
484
-
485
- #: ../app/models/foreman_tasks/triggering.rb:112
486
- msgid "The task could not be started"
487
- msgstr ""
488
-
489
- #: ../app/models/setting/foreman_tasks.rb:4
490
- msgid "Number of seconds to wait for synchronous task to finish."
491
- msgstr ""
492
-
493
- #: ../app/models/setting/foreman_tasks.rb:4
494
- msgid "Sync task timeout"
495
- msgstr ""
496
-
497
- #: ../app/models/setting/foreman_tasks.rb:5
498
- msgid "Enable the dynflow console (/foreman_tasks/dynflow) for debugging"
499
- msgstr ""
500
-
501
- #: ../app/models/setting/foreman_tasks.rb:5
502
- msgid "Enable dynflow console"
503
- msgstr ""
504
-
505
- #: ../app/models/setting/foreman_tasks.rb:6
506
- msgid ""
507
- "Require user to be authenticated as user with admin rights when accessing dynf"
508
- "low console"
509
- msgstr ""
510
-
511
- #: ../app/models/setting/foreman_tasks.rb:6
512
- msgid "Require auth for dynflow console"
513
- msgstr ""
514
-
515
- #: ../app/models/setting/foreman_tasks.rb:7
516
- msgid "Number of attempts to start a task on the smart proxy before failing"
517
- msgstr ""
518
-
519
- #: ../app/models/setting/foreman_tasks.rb:7
520
- msgid "Proxy action retry count"
521
- msgstr ""
522
-
523
- #: ../app/models/setting/foreman_tasks.rb:8
524
- msgid "Time in seconds between retries"
525
- msgstr ""
526
-
527
- #: ../app/models/setting/foreman_tasks.rb:8
528
- msgid "Proxy action retry interval"
529
- msgstr ""
530
-
531
- #: ../app/models/setting/foreman_tasks.rb:9
532
- msgid "Allow triggering tasks on the smart proxy in batches"
533
- msgstr ""
534
-
535
- #: ../app/models/setting/foreman_tasks.rb:9
536
- msgid "Allow proxy batch tasks"
537
- msgstr ""
538
-
539
- #: ../app/models/setting/foreman_tasks.rb:10
540
- msgid ""
541
- "Number of tasks which should be sent to the smart proxy in one request, if for"
542
- "eman_tasks_proxy_batch_trigger is enabled"
543
- msgstr ""
544
-
545
- #: ../app/models/setting/foreman_tasks.rb:10
546
- msgid "Proxy tasks batch size"
547
- msgstr ""
548
-
549
- #: ../app/models/setting/foreman_tasks.rb:12
550
- msgid ""
551
- "Url pointing to the task troubleshooting documentation. It should contain %{la"
552
- "bel} placeholder, that will be replaced with normalized task label (restricted"
553
- " to only alphanumeric characters)). %{version} placeholder is also available."
494
+ #: ../app/models/foreman_tasks/triggering.rb:114
495
+ msgid "No task could be started"
554
496
  msgstr ""
555
497
 
556
- #: ../app/models/setting/foreman_tasks.rb:15
557
- msgid "Tasks troubleshooting URL"
498
+ #: ../app/models/foreman_tasks/triggering.rb:115
499
+ msgid "Active or disabled recurring logic with purpose %s already exists"
558
500
  msgstr ""
559
501
 
560
- #: ../app/models/setting/foreman_tasks.rb:17
561
- msgid ""
562
- "Polling multiplier which is used to multiply the default polling intervals. Th"
563
- "is can be used to prevent polling too frequently for long running tasks."
502
+ #: ../app/models/foreman_tasks/triggering.rb:116
503
+ msgid "%s is not valid format of cron line"
564
504
  msgstr ""
565
505
 
566
- #: ../app/models/setting/foreman_tasks.rb:20
567
- msgid "Polling intervals multiplier"
506
+ #: ../app/models/foreman_tasks/triggering.rb:122
507
+ msgid "The task could not be started"
568
508
  msgstr ""
569
509
 
570
510
  #: ../app/services/foreman_tasks/troubleshooting_help_generator.rb:67
@@ -632,6 +572,7 @@ msgstr ""
632
572
 
633
573
  #: ../app/views/foreman_tasks/recurring_logics/index.html.erb:42
634
574
  #: ../app/views/foreman_tasks/task_groups/_common.html.erb:8
575
+ #: ../app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb:44
635
576
  msgid "Task count"
636
577
  msgstr ""
637
578
 
@@ -673,7 +614,7 @@ msgstr ""
673
614
  #: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:5
674
615
  #: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:4
675
616
  #: ../webpack/ForemanTasks/Components/TaskDetails/Components/RunningSteps.js:40
676
- #: ../webpack/ForemanTasks/Components/TaskDetails/Components/TaskInfo.js:150
617
+ #: ../webpack/ForemanTasks/Components/TaskDetails/Components/TaskInfo.js:130
677
618
  #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableSchema.js:61
678
619
  msgid "State"
679
620
  msgstr ""
@@ -692,7 +633,7 @@ msgstr ""
692
633
 
693
634
  #:
694
635
  #: ../app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb:1
695
- #: ../lib/foreman_tasks/engine.rb:78
636
+ #: ../lib/foreman_tasks/engine.rb:130
696
637
  msgid "Latest Warning/Error Tasks"
697
638
  msgstr ""
698
639
 
@@ -714,7 +655,7 @@ msgid "Started"
714
655
  msgstr ""
715
656
 
716
657
  #: ../app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb:1
717
- #: ../lib/foreman_tasks/engine.rb:77
658
+ #: ../lib/foreman_tasks/engine.rb:129
718
659
  msgid "Task Status"
719
660
  msgstr ""
720
661
 
@@ -748,62 +689,163 @@ msgstr ""
748
689
  msgid "Back to tasks"
749
690
  msgstr ""
750
691
 
751
- #: ../lib/foreman_tasks/engine.rb:38
692
+ #: ../lib/foreman_tasks/engine.rb:29
752
693
  msgid "Foreman Tasks"
753
694
  msgstr ""
754
695
 
755
- #: ../lib/foreman_tasks/engine.rb:47
696
+ #: ../lib/foreman_tasks/engine.rb:38
756
697
  msgid "Recurring Logics"
757
698
  msgstr ""
758
699
 
759
- #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:37
700
+ #: ../lib/foreman_tasks/engine.rb:64
701
+ msgid "Number of seconds to wait for synchronous task to finish."
702
+ msgstr ""
703
+
704
+ #: ../lib/foreman_tasks/engine.rb:66
705
+ msgid "Sync task timeout"
706
+ msgstr ""
707
+
708
+ #: ../lib/foreman_tasks/engine.rb:69
709
+ msgid "Enable the dynflow console (/foreman_tasks/dynflow) for debugging"
710
+ msgstr ""
711
+
712
+ #: ../lib/foreman_tasks/engine.rb:71
713
+ msgid "Enable dynflow console"
714
+ msgstr ""
715
+
716
+ #: ../lib/foreman_tasks/engine.rb:74
717
+ msgid ""
718
+ "Require user to be authenticated as user with admin rights when accessing dynf"
719
+ "low console"
720
+ msgstr ""
721
+
722
+ #: ../lib/foreman_tasks/engine.rb:76
723
+ msgid "Require auth for dynflow console"
724
+ msgstr ""
725
+
726
+ #: ../lib/foreman_tasks/engine.rb:79
727
+ msgid "Number of attempts to start a task on the smart proxy before failing"
728
+ msgstr ""
729
+
730
+ #: ../lib/foreman_tasks/engine.rb:81
731
+ msgid "Proxy action retry count"
732
+ msgstr ""
733
+
734
+ #: ../lib/foreman_tasks/engine.rb:84
735
+ msgid "Time in seconds between retries"
736
+ msgstr ""
737
+
738
+ #: ../lib/foreman_tasks/engine.rb:86
739
+ msgid "Proxy action retry interval"
740
+ msgstr ""
741
+
742
+ #: ../lib/foreman_tasks/engine.rb:89
743
+ msgid "Allow triggering tasks on the smart proxy in batches"
744
+ msgstr ""
745
+
746
+ #: ../lib/foreman_tasks/engine.rb:91
747
+ msgid "Allow proxy batch tasks"
748
+ msgstr ""
749
+
750
+ #: ../lib/foreman_tasks/engine.rb:94
751
+ msgid ""
752
+ "Number of tasks which should be sent to the smart proxy in one request, if for"
753
+ "eman_tasks_proxy_batch_trigger is enabled"
754
+ msgstr ""
755
+
756
+ #: ../lib/foreman_tasks/engine.rb:96
757
+ msgid "Proxy tasks batch size"
758
+ msgstr ""
759
+
760
+ #: ../lib/foreman_tasks/engine.rb:99
761
+ msgid ""
762
+ "Url pointing to the task troubleshooting documentation. It should contain %{la"
763
+ "bel} placeholder, that will be replaced with normalized task label (restricted"
764
+ " to only alphanumeric characters)). %{version} placeholder is also available."
765
+ msgstr ""
766
+
767
+ #: ../lib/foreman_tasks/engine.rb:103
768
+ msgid "Tasks troubleshooting URL"
769
+ msgstr ""
770
+
771
+ #: ../lib/foreman_tasks/engine.rb:106
772
+ msgid ""
773
+ "Polling multiplier which is used to multiply the default polling intervals. Th"
774
+ "is can be used to prevent polling too frequently for long running tasks."
775
+ msgstr ""
776
+
777
+ #: ../lib/foreman_tasks/engine.rb:109
778
+ msgid "Polling intervals multiplier"
779
+ msgstr ""
780
+
781
+ #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:44
760
782
  msgid "was resumed"
761
783
  msgstr ""
762
784
 
763
- #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:38
785
+ #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:45
764
786
  msgid "could not be resumed"
765
787
  msgstr ""
766
788
 
767
- #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:39
789
+ #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:46
768
790
  msgid "task has to be resumable"
769
791
  msgstr ""
770
792
 
771
- #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:43
793
+ #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:50
772
794
  msgid "was cancelled"
773
795
  msgstr ""
774
796
 
775
- #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:44
797
+ #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:51
776
798
  msgid "task has to be cancellable"
777
799
  msgstr ""
778
800
 
779
- #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:48
801
+ #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:55
780
802
  msgid "resources were unlocked with force."
781
803
  msgstr ""
782
804
 
783
- #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:49
805
+ #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:56
784
806
  msgid "cannot be cancelled with force at the moment."
785
807
  msgstr ""
786
808
 
787
- #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:53
809
+ #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:60
788
810
  msgid "resources were unlocked "
789
811
  msgstr ""
790
812
 
791
- #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:54
813
+ #: ../webpack/ForemanTasks/Components/TaskActions/TaskActionHelpers.js:61
792
814
  msgid "resources cannot be unlocked at the moment."
793
815
  msgstr ""
794
816
 
817
+ #: ../webpack/ForemanTasks/Components/TaskActions/UnlockModals.js:7
818
+ msgid ""
819
+ "I understand that this may cause harm and have working database backups of all"
820
+ " backend services."
821
+ msgstr ""
822
+
795
823
  #: ../webpack/ForemanTasks/Components/TaskActions/UnlockModals.js:14
796
824
  #: ../webpack/ForemanTasks/Components/TaskActions/UnlockModals.js:19
797
825
  #: ../webpack/ForemanTasks/Components/TaskDetails/Components/TaskButtons.js:121
798
826
  msgid "Unlock"
799
827
  msgstr ""
800
828
 
829
+ #: ../webpack/ForemanTasks/Components/TaskActions/UnlockModals.js:15
830
+ msgid ""
831
+ "This will unlock the resources that the task is running against. Please note t"
832
+ "hat this might lead to inconsistent state and should be used with caution, aft"
833
+ "er making sure that the task can't be resumed."
834
+ msgstr ""
835
+
801
836
  #: ../webpack/ForemanTasks/Components/TaskActions/UnlockModals.js:28
802
837
  #: ../webpack/ForemanTasks/Components/TaskActions/UnlockModals.js:36
803
838
  #: ../webpack/ForemanTasks/Components/TaskDetails/Components/TaskButtons.js:131
804
839
  msgid "Force Unlock"
805
840
  msgstr ""
806
841
 
842
+ #: ../webpack/ForemanTasks/Components/TaskActions/UnlockModals.js:30
843
+ msgid ""
844
+ "Resources for %s task(s) will be unlocked and will not prevent other tasks fro"
845
+ "m being run. As the task(s) might be still running, it should be avoided to us"
846
+ "e this unless you are really sure the task(s) got stuck."
847
+ msgstr ""
848
+
807
849
  #: ../webpack/ForemanTasks/Components/TaskDetails/Components/Errors.js:10
808
850
  msgid "Execution plan data not available "
809
851
  msgstr ""
@@ -830,6 +872,15 @@ msgstr ""
830
872
  msgid "Backtrace"
831
873
  msgstr ""
832
874
 
875
+ #: ../webpack/ForemanTasks/Components/TaskDetails/Components/Locks.js:21
876
+ msgid ""
877
+ "You can find resource locks on this page. Exclusive lock marked with locked ic"
878
+ "on means that no other task can use locked resource while this task is running"
879
+ ". Non-exclusive lock marked with unlocked icon means other tasks can access th"
880
+ "e resource freely, it is only used to indicate the relation of this task with "
881
+ "the resource"
882
+ msgstr ""
883
+
833
884
  #: ../webpack/ForemanTasks/Components/TaskDetails/Components/Raw.js:10
834
885
  msgid "Id"
835
886
  msgstr ""
@@ -1128,6 +1179,13 @@ msgstr ""
1128
1179
  msgid "%s Selected Tasks"
1129
1180
  msgstr ""
1130
1181
 
1182
+ #:
1183
+ #: ../webpack/ForemanTasks/Components/TasksTable/Components/ConfirmModal/ConfirmModal.js:41
1184
+ msgid ""
1185
+ "This will %(action)s %(number)s task(s), putting them in the %(state)s state. "
1186
+ "Are you sure?"
1187
+ msgstr ""
1188
+
1131
1189
  #:
1132
1190
  #: ../webpack/ForemanTasks/Components/TasksTable/Components/ConfirmModal/ConfirmModal.js:47
1133
1191
  msgid "No"
@@ -1199,27 +1257,27 @@ msgstr ""
1199
1257
  msgid "Canceling with force selected tasks, this might take a while"
1200
1258
  msgstr ""
1201
1259
 
1202
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTable.js:70
1260
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTable.js:71
1203
1261
  msgid "Could not receive data: ${error && error.message}"
1204
1262
  msgstr ""
1205
1263
 
1206
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTable.js:80
1264
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTable.js:81
1207
1265
  msgid "No Tasks"
1208
1266
  msgstr ""
1209
1267
 
1210
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:26
1268
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:27
1211
1269
  msgid "No start or end dates"
1212
1270
  msgstr ""
1213
1271
 
1214
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:29
1272
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:30
1215
1273
  msgid "Task was canceled"
1216
1274
  msgstr ""
1217
1275
 
1218
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:45
1276
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:46
1219
1277
  msgid "More than"
1220
1278
  msgstr ""
1221
1279
 
1222
- #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:54
1280
+ #: ../webpack/ForemanTasks/Components/TasksTable/TasksTableHelpers.js:55
1223
1281
  msgid "Less than a second"
1224
1282
  msgstr ""
1225
1283
 
@@ -1247,14 +1305,10 @@ msgstr ""
1247
1305
  msgid "Force Cancel"
1248
1306
  msgstr ""
1249
1307
 
1250
- #: action_names.rb:2
1251
- msgid "Preupgrade job"
1308
+ #: action_names.rb:4
1309
+ msgid "Action with sub plans"
1252
1310
  msgstr ""
1253
1311
 
1254
- #: action_names.rb:3
1312
+ #: action_names.rb:5
1255
1313
  msgid "Remote action:"
1256
1314
  msgstr ""
1257
-
1258
- #: action_names.rb:6
1259
- msgid "Action with sub plans"
1260
- msgstr ""