foreman-tasks 8.0.1 → 8.1.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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/.tx/config +3 -1
  3. data/app/assets/javascripts/foreman-tasks/locale/de/foreman_tasks.js +1 -0
  4. data/app/assets/javascripts/foreman-tasks/locale/en/foreman_tasks.js +1 -0
  5. data/app/assets/javascripts/foreman-tasks/locale/es/foreman_tasks.js +1 -0
  6. data/app/assets/javascripts/foreman-tasks/locale/fr/foreman_tasks.js +1 -0
  7. data/app/assets/javascripts/foreman-tasks/locale/ja/foreman_tasks.js +1 -0
  8. data/app/assets/javascripts/foreman-tasks/locale/ka/foreman_tasks.js +1 -0
  9. data/app/assets/javascripts/foreman-tasks/locale/ko/foreman_tasks.js +1 -0
  10. data/app/assets/javascripts/foreman-tasks/locale/pt_BR/foreman_tasks.js +1 -0
  11. data/app/assets/javascripts/foreman-tasks/locale/ru/foreman_tasks.js +1 -0
  12. data/app/assets/javascripts/foreman-tasks/locale/zh_CN/foreman_tasks.js +1 -0
  13. data/app/assets/javascripts/foreman-tasks/locale/zh_TW/foreman_tasks.js +1 -0
  14. data/app/lib/actions/check_long_running_tasks.rb +45 -0
  15. data/app/lib/actions/deliver_long_running_tasks_notification.rb +22 -0
  16. data/app/mailers/tasks_mailer.rb +12 -0
  17. data/app/models/foreman_tasks/tasks_mail_notification.rb +9 -0
  18. data/app/services/ui_notifications/tasks/tasks_running_long.rb +33 -0
  19. data/app/views/tasks_mailer/long_tasks.html.erb +29 -0
  20. data/app/views/tasks_mailer/long_tasks.text.erb +16 -0
  21. data/db/seeds.d/30-notification_blueprints.rb +7 -0
  22. data/db/seeds.d/95-mail_notifications.rb +24 -0
  23. data/lib/foreman_tasks/engine.rb +2 -1
  24. data/lib/foreman_tasks/tasks/reschedule_long_running_tasks_checker.rake +21 -0
  25. data/lib/foreman_tasks/version.rb +1 -1
  26. data/lib/foreman_tasks.rb +16 -0
  27. data/locale/Makefile +6 -3
  28. data/locale/action_names.rb +1 -1
  29. data/locale/de/LC_MESSAGES/foreman_tasks.mo +0 -0
  30. data/locale/de/foreman_tasks.po +14 -14
  31. data/locale/en/LC_MESSAGES/foreman_tasks.mo +0 -0
  32. data/locale/en/foreman_tasks.po +9 -9
  33. data/locale/es/LC_MESSAGES/foreman_tasks.mo +0 -0
  34. data/locale/es/foreman_tasks.po +29 -29
  35. data/locale/foreman_tasks.pot +25 -25
  36. data/locale/fr/LC_MESSAGES/foreman_tasks.mo +0 -0
  37. data/locale/fr/foreman_tasks.po +4 -4
  38. data/locale/ja/LC_MESSAGES/foreman_tasks.mo +0 -0
  39. data/locale/ja/foreman_tasks.po +24 -24
  40. data/locale/ka/LC_MESSAGES/foreman_tasks.mo +0 -0
  41. data/locale/ka/foreman_tasks.po +12 -10
  42. data/locale/ko/LC_MESSAGES/foreman_tasks.mo +0 -0
  43. data/locale/ko/foreman_tasks.po +4 -4
  44. data/locale/pt_BR/LC_MESSAGES/foreman_tasks.mo +0 -0
  45. data/locale/pt_BR/foreman_tasks.po +4 -4
  46. data/locale/ru/LC_MESSAGES/foreman_tasks.mo +0 -0
  47. data/locale/ru/foreman_tasks.po +4 -4
  48. data/locale/zh_CN/LC_MESSAGES/foreman_tasks.mo +0 -0
  49. data/locale/zh_CN/foreman_tasks.po +4 -4
  50. data/locale/zh_TW/LC_MESSAGES/foreman_tasks.mo +0 -0
  51. data/locale/zh_TW/foreman_tasks.po +4 -4
  52. metadata +23 -3
@@ -3,14 +3,16 @@
3
3
  # This file is distributed under the same license as the foreman_tasks package.
4
4
  #
5
5
  # Translators:
6
+ # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2023
7
+ # Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2022
6
8
  # Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2022
7
9
  msgid ""
8
10
  msgstr ""
9
- "Project-Id-Version: foreman_tasks 7.1.0\n"
11
+ "Project-Id-Version: foreman_tasks 8.0.1\n"
10
12
  "Report-Msgid-Bugs-To: \n"
11
13
  "PO-Revision-Date: 2016-02-12 14:04+0000\n"
12
14
  "Last-Translator: Temuri Doghonadze <temuri.doghonadze@gmail.com>, 2022\n"
13
- "Language-Team: Georgian (http://www.transifex.com/foreman/foreman/language/ka/"
15
+ "Language-Team: Georgian (http://app.transifex.com/foreman/foreman/language/ka/"
14
16
  ")\n"
15
17
  "MIME-Version: 1.0\n"
16
18
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -19,10 +21,10 @@ msgstr ""
19
21
  "Plural-Forms: nplurals=2; plural=(n!=1);\n"
20
22
 
21
23
  msgid "%(last)s Last %(time)s"
22
- msgstr "%(last)s ბოლო %(time)-ჯერ"
24
+ msgstr "%(last)s ბოლო %(time)s-ჯერ"
23
25
 
24
26
  msgid "%(older)s Older %(time)s"
25
- msgstr "%(older)s %(time)-ჯერ ძველი"
27
+ msgstr "%(older)s %(time)s-ჯერ ძველი"
26
28
 
27
29
  msgid "%s Selected Tasks"
28
30
  msgstr "%s მონიშნული ამოცანა"
@@ -70,7 +72,7 @@ msgid "Active or disabled recurring logic with purpose %s already exists"
70
72
  msgstr "აქტიური ან გამრთული განმეორებადი ლოგიკა დანიშნულებით %s უკვე არსებობს"
71
73
 
72
74
  msgid "All %s tasks are selected."
73
- msgstr ""
75
+ msgstr "მონიშნულია ყველა %s ამოცანა."
74
76
 
75
77
  msgid "All proxies with the required feature are unavailable at the moment"
76
78
  msgstr "მოთხოვნილი ფუნქციების მქონე ყველა პროქსი ამჟამად მიუწვდომელია"
@@ -161,7 +163,7 @@ msgid "Could not cancel step."
161
163
  msgstr "ბიჯის გაუქმების შეცდომა."
162
164
 
163
165
  msgid "Could not receive data: %s"
164
- msgstr ""
166
+ msgstr "მონაცემების მიღების შეცდომა: %s"
165
167
 
166
168
  msgid "Cron line"
167
169
  msgstr "Cron-ის სტრიქონი"
@@ -254,7 +256,7 @@ msgid "Failed to initialize"
254
256
  msgstr "ინიციალიზაციის შეცდომა"
255
257
 
256
258
  msgid "Failed to trigger task on the smart proxy: "
257
- msgstr ""
259
+ msgstr "ჭკვიან პროქსიზე ამოცანის ტრიგერის შეცდომა: "
258
260
 
259
261
  msgid "Finished"
260
262
  msgstr "დასრულებულია"
@@ -543,7 +545,7 @@ msgid "Select Action"
543
545
  msgstr "აირჩიეთ ქმედება"
544
546
 
545
547
  msgid "Select all {count} tasks"
546
- msgstr ""
548
+ msgstr "{count} ამოცანის მონიშვნა"
547
549
 
548
550
  msgid "Select row"
549
551
  msgstr "აირჩიეთ მწკრივი"
@@ -564,7 +566,7 @@ msgid "Start at"
564
566
  msgstr "დასაწყისი"
565
567
 
566
568
  msgid "Start auto-reloading"
567
- msgstr ""
569
+ msgstr "ავტომატური თავიდან ჩატვირთვის გაშვება"
568
570
 
569
571
  msgid "Start before"
570
572
  msgstr "მითითებულ დრომდე გასვება"
@@ -582,7 +584,7 @@ msgid "Step Canceled"
582
584
  msgstr "ბიჯი გაუქმებულია"
583
585
 
584
586
  msgid "Stop auto-reloading"
585
- msgstr ""
587
+ msgstr "ავტომატური თავიდან ჩატვირთვის გაჩერება"
586
588
 
587
589
  msgid "Stop selected stoppable tasks"
588
590
  msgstr "მონიშნული გაჩერებადი ამოცანების გაჩერება"
Binary file
@@ -5,11 +5,11 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_tasks 7.1.0\n"
8
+ "Project-Id-Version: foreman_tasks 8.0.1\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2016-02-12 14:04+0000\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
- "Language-Team: Korean (http://www.transifex.com/foreman/foreman/language/ko/)\n"
12
+ "Language-Team: Korean (http://app.transifex.com/foreman/foreman/language/ko/)\n"
13
13
  "MIME-Version: 1.0\n"
14
14
  "Content-Type: text/plain; charset=UTF-8\n"
15
15
  "Content-Transfer-Encoding: 8bit\n"
@@ -562,7 +562,7 @@ msgid "Start at"
562
562
  msgstr "시작 일시"
563
563
 
564
564
  msgid "Start auto-reloading"
565
- msgstr ""
565
+ msgstr "자동 다시 로드 시작"
566
566
 
567
567
  msgid "Start before"
568
568
  msgstr "다음 시간 전에 시작"
@@ -580,7 +580,7 @@ msgid "Step Canceled"
580
580
  msgstr ""
581
581
 
582
582
  msgid "Stop auto-reloading"
583
- msgstr ""
583
+ msgstr "자동 다시 로드 중지"
584
584
 
585
585
  msgid "Stop selected stoppable tasks"
586
586
  msgstr ""
@@ -6,12 +6,12 @@
6
6
  # Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2017-2018
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_tasks 7.1.0\n"
9
+ "Project-Id-Version: foreman_tasks 8.0.1\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "PO-Revision-Date: 2016-02-12 14:04+0000\n"
12
12
  "Last-Translator: Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 20"
13
13
  "17-2018\n"
14
- "Language-Team: Portuguese (Brazil) (http://www.transifex.com/foreman/foreman/l"
14
+ "Language-Team: Portuguese (Brazil) (http://app.transifex.com/foreman/foreman/l"
15
15
  "anguage/pt_BR/)\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -566,7 +566,7 @@ msgid "Start at"
566
566
  msgstr "Iniciar em "
567
567
 
568
568
  msgid "Start auto-reloading"
569
- msgstr ""
569
+ msgstr "Iniciar recarregamento automático "
570
570
 
571
571
  msgid "Start before"
572
572
  msgstr "Iniciar antes "
@@ -584,7 +584,7 @@ msgid "Step Canceled"
584
584
  msgstr "Etapa cancelada"
585
585
 
586
586
  msgid "Stop auto-reloading"
587
- msgstr ""
587
+ msgstr "Interromper recarregamento automático "
588
588
 
589
589
  msgid "Stop selected stoppable tasks"
590
590
  msgstr "Parar tarefas paradas selecionadas"
Binary file
@@ -6,11 +6,11 @@
6
6
  # Yulia <yulia.poyarkova@redhat.com>, 2016
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: foreman_tasks 7.1.0\n"
9
+ "Project-Id-Version: foreman_tasks 8.0.1\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "PO-Revision-Date: 2016-02-12 14:04+0000\n"
12
12
  "Last-Translator: Yulia <yulia.poyarkova@redhat.com>, 2016\n"
13
- "Language-Team: Russian (http://www.transifex.com/foreman/foreman/language/ru/)"
13
+ "Language-Team: Russian (http://app.transifex.com/foreman/foreman/language/ru/)"
14
14
  "\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -566,7 +566,7 @@ msgid "Start at"
566
566
  msgstr "Время запуска"
567
567
 
568
568
  msgid "Start auto-reloading"
569
- msgstr ""
569
+ msgstr "Включить автоматическое обновление"
570
570
 
571
571
  msgid "Start before"
572
572
  msgstr "Не позже чем"
@@ -584,7 +584,7 @@ msgid "Step Canceled"
584
584
  msgstr ""
585
585
 
586
586
  msgid "Stop auto-reloading"
587
- msgstr ""
587
+ msgstr "Отменить автоматическое обновление"
588
588
 
589
589
  msgid "Stop selected stoppable tasks"
590
590
  msgstr ""
@@ -5,11 +5,11 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_tasks 7.1.0\n"
8
+ "Project-Id-Version: foreman_tasks 8.0.1\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2016-02-12 14:04+0000\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
- "Language-Team: Chinese (China) (http://www.transifex.com/foreman/foreman/langu"
12
+ "Language-Team: Chinese (China) (http://app.transifex.com/foreman/foreman/langu"
13
13
  "age/zh_CN/)\n"
14
14
  "MIME-Version: 1.0\n"
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -563,7 +563,7 @@ msgid "Start at"
563
563
  msgstr "开始于"
564
564
 
565
565
  msgid "Start auto-reloading"
566
- msgstr ""
566
+ msgstr "开始自动重新载入"
567
567
 
568
568
  msgid "Start before"
569
569
  msgstr "在此时间前开始"
@@ -581,7 +581,7 @@ msgid "Step Canceled"
581
581
  msgstr "步骤已取消"
582
582
 
583
583
  msgid "Stop auto-reloading"
584
- msgstr ""
584
+ msgstr "停止自动重新载入"
585
585
 
586
586
  msgid "Stop selected stoppable tasks"
587
587
  msgstr "停止所选的可停止的任务"
@@ -5,11 +5,11 @@
5
5
  # Translators:
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: foreman_tasks 7.1.0\n"
8
+ "Project-Id-Version: foreman_tasks 8.0.1\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2016-02-12 14:04+0000\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
- "Language-Team: Chinese (Taiwan) (http://www.transifex.com/foreman/foreman/lang"
12
+ "Language-Team: Chinese (Taiwan) (http://app.transifex.com/foreman/foreman/lang"
13
13
  "uage/zh_TW/)\n"
14
14
  "MIME-Version: 1.0\n"
15
15
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -563,7 +563,7 @@ msgid "Start at"
563
563
  msgstr "開始於"
564
564
 
565
565
  msgid "Start auto-reloading"
566
- msgstr ""
566
+ msgstr "開始自動載入"
567
567
 
568
568
  msgid "Start before"
569
569
  msgstr "在這之前開始"
@@ -581,7 +581,7 @@ msgid "Step Canceled"
581
581
  msgstr ""
582
582
 
583
583
  msgid "Stop auto-reloading"
584
- msgstr ""
584
+ msgstr "停止自動重新載入"
585
585
 
586
586
  msgid "Stop selected stoppable tasks"
587
587
  msgstr ""
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.1
4
+ version: 8.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Nečas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-11 00:00:00.000000000 Z
11
+ date: 2023-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dynflow
@@ -120,6 +120,17 @@ files:
120
120
  - Gemfile
121
121
  - LICENSE
122
122
  - README.md
123
+ - app/assets/javascripts/foreman-tasks/locale/de/foreman_tasks.js
124
+ - app/assets/javascripts/foreman-tasks/locale/en/foreman_tasks.js
125
+ - app/assets/javascripts/foreman-tasks/locale/es/foreman_tasks.js
126
+ - app/assets/javascripts/foreman-tasks/locale/fr/foreman_tasks.js
127
+ - app/assets/javascripts/foreman-tasks/locale/ja/foreman_tasks.js
128
+ - app/assets/javascripts/foreman-tasks/locale/ka/foreman_tasks.js
129
+ - app/assets/javascripts/foreman-tasks/locale/ko/foreman_tasks.js
130
+ - app/assets/javascripts/foreman-tasks/locale/pt_BR/foreman_tasks.js
131
+ - app/assets/javascripts/foreman-tasks/locale/ru/foreman_tasks.js
132
+ - app/assets/javascripts/foreman-tasks/locale/zh_CN/foreman_tasks.js
133
+ - app/assets/javascripts/foreman-tasks/locale/zh_TW/foreman_tasks.js
123
134
  - app/assets/javascripts/foreman_tasks/foreman_tasks.js
124
135
  - app/assets/javascripts/foreman_tasks/trigger_form.js
125
136
  - app/assets/stylesheets/foreman_tasks/foreman_tasks.css
@@ -142,6 +153,8 @@ files:
142
153
  - app/lib/actions/action_with_sub_plans.rb
143
154
  - app/lib/actions/base.rb
144
155
  - app/lib/actions/bulk_action.rb
156
+ - app/lib/actions/check_long_running_tasks.rb
157
+ - app/lib/actions/deliver_long_running_tasks_notification.rb
145
158
  - app/lib/actions/entry_action.rb
146
159
  - app/lib/actions/foreman/host/import_facts.rb
147
160
  - app/lib/actions/foreman/puppetclass/import.rb
@@ -170,6 +183,7 @@ files:
170
183
  - app/lib/actions/trigger_proxy_batch.rb
171
184
  - app/lib/foreman_tasks/concerns/polling_action_extensions.rb
172
185
  - app/lib/proxy_api/foreman_dynflow/dynflow_proxy.rb
186
+ - app/mailers/tasks_mailer.rb
173
187
  - app/models/foreman_tasks/concerns/action_subject.rb
174
188
  - app/models/foreman_tasks/concerns/action_triggering.rb
175
189
  - app/models/foreman_tasks/concerns/host_action_subject.rb
@@ -188,6 +202,7 @@ files:
188
202
  - app/models/foreman_tasks/task_group.rb
189
203
  - app/models/foreman_tasks/task_group_member.rb
190
204
  - app/models/foreman_tasks/task_groups/recurring_logic_task_group.rb
205
+ - app/models/foreman_tasks/tasks_mail_notification.rb
191
206
  - app/models/foreman_tasks/triggering.rb
192
207
  - app/services/foreman_tasks/proxy_selector.rb
193
208
  - app/services/foreman_tasks/troubleshooting_help_generator.rb
@@ -197,6 +212,7 @@ files:
197
212
  - app/services/ui_notifications/tasks/task_bulk_stop.rb
198
213
  - app/services/ui_notifications/tasks/task_paused_admin.rb
199
214
  - app/services/ui_notifications/tasks/task_paused_owner.rb
215
+ - app/services/ui_notifications/tasks/tasks_running_long.rb
200
216
  - app/views/common/_trigger_form.html.erb
201
217
  - app/views/foreman_tasks/api/locks/show.json.rabl
202
218
  - app/views/foreman_tasks/api/recurring_logics/base.json.rabl
@@ -219,6 +235,8 @@ files:
219
235
  - app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
220
236
  - app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
221
237
  - app/views/foreman_tasks/tasks/show.html.erb
238
+ - app/views/tasks_mailer/long_tasks.html.erb
239
+ - app/views/tasks_mailer/long_tasks.text.erb
222
240
  - babel.config.js
223
241
  - bin/dynflow-executor
224
242
  - bin/foreman-tasks
@@ -257,6 +275,7 @@ files:
257
275
  - db/seeds.d/30-notification_blueprints.rb
258
276
  - db/seeds.d/60-dynflow_proxy_feature.rb
259
277
  - db/seeds.d/61-foreman_tasks_bookmarks.rb
278
+ - db/seeds.d/95-mail_notifications.rb
260
279
  - deploy/foreman-tasks.service
261
280
  - deploy/foreman-tasks.sysconfig
262
281
  - extra/dynflow-debug.sh
@@ -279,6 +298,7 @@ files:
279
298
  - lib/foreman_tasks/tasks/dynflow.rake
280
299
  - lib/foreman_tasks/tasks/export_tasks.rake
281
300
  - lib/foreman_tasks/tasks/generate_task_actions.rake
301
+ - lib/foreman_tasks/tasks/reschedule_long_running_tasks_checker.rake
282
302
  - lib/foreman_tasks/test_extensions.rb
283
303
  - lib/foreman_tasks/test_helpers.rb
284
304
  - lib/foreman_tasks/triggers.rb
@@ -622,7 +642,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
622
642
  - !ruby/object:Gem::Version
623
643
  version: '0'
624
644
  requirements: []
625
- rubygems_version: 3.4.12
645
+ rubygems_version: 3.4.13
626
646
  signing_key:
627
647
  specification_version: 4
628
648
  summary: Foreman plugin for showing tasks information for resources and users