foreman_remote_execution 11.1.0 → 12.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/.packit.yaml +1 -1
  3. data/.rubocop.yml +1 -1
  4. data/.rubocop_todo.yml +0 -8
  5. data/.tx/config +2 -2
  6. data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +1587 -1
  7. data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +1578 -1
  8. data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +1587 -1
  9. data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +1588 -1
  10. data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +1589 -1
  11. data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +1585 -1
  12. data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +1587 -0
  13. data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +1586 -1
  14. data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +1588 -1
  15. data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +1589 -1
  16. data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +1585 -1
  17. data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +1587 -1
  18. data/app/helpers/remote_execution_helper.rb +5 -0
  19. data/app/lib/actions/remote_execution/event_helpers.rb +42 -0
  20. data/app/lib/actions/remote_execution/run_host_job.rb +3 -16
  21. data/app/lib/actions/remote_execution/run_hosts_job.rb +7 -5
  22. data/app/models/concerns/api/v2/hosts_controller_extensions.rb +12 -0
  23. data/app/views/api/v2/job_invocations/base.json.rabl +14 -0
  24. data/app/views/templates/script/convert2rhel_analyze.erb +1 -6
  25. data/config/routes.rb +2 -0
  26. data/db/migrate/20151215114631_add_host_id_to_template_invocation.rb +1 -1
  27. data/db/migrate/20151217092555_migrate_to_task_groups.rb +1 -1
  28. data/db/migrate/20160113162007_expand_all_template_invocations.rb +2 -2
  29. data/db/migrate/20160114125628_rename_job_name_to_job_category.rb +2 -2
  30. data/db/migrate/20200623073022_rename_sudo_password_to_effective_user_password.rb +2 -2
  31. data/db/migrate/20220321101835_rename_ssh_provider_to_script.rb +1 -1
  32. data/extra/cockpit/foreman-cockpit-session +1 -1
  33. data/foreman_remote_execution.gemspec +3 -1
  34. data/lib/foreman_remote_execution/engine.rb +12 -3
  35. data/lib/foreman_remote_execution/version.rb +1 -1
  36. data/locale/Makefile +3 -4
  37. data/locale/action_names.rb +0 -3
  38. data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  39. data/locale/de/foreman_remote_execution.po +71 -23
  40. data/locale/en/foreman_remote_execution.po +71 -23
  41. data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  42. data/locale/en_GB/foreman_remote_execution.po +71 -23
  43. data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  44. data/locale/es/foreman_remote_execution.po +72 -24
  45. data/locale/foreman_remote_execution.pot +239 -176
  46. data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  47. data/locale/fr/foreman_remote_execution.po +72 -24
  48. data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  49. data/locale/ja/foreman_remote_execution.po +72 -24
  50. data/locale/ka/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  51. data/locale/ka/foreman_remote_execution.po +1576 -0
  52. data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  53. data/locale/ko/foreman_remote_execution.po +71 -23
  54. data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  55. data/locale/pt_BR/foreman_remote_execution.po +72 -24
  56. data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  57. data/locale/ru/foreman_remote_execution.po +71 -23
  58. data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  59. data/locale/zh_CN/foreman_remote_execution.po +72 -24
  60. data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
  61. data/locale/zh_TW/foreman_remote_execution.po +71 -23
  62. data/test/unit/actions/run_hosts_job_test.rb +1 -1
  63. data/test/unit/api_params_test.rb +2 -10
  64. data/webpack/JobInvocationDetail/JobInvocationActions.js +22 -0
  65. data/webpack/JobInvocationDetail/JobInvocationConstants.js +7 -0
  66. data/webpack/JobInvocationDetail/JobInvocationOverview.js +104 -0
  67. data/webpack/JobInvocationDetail/JobInvocationSelectors.js +5 -0
  68. data/webpack/JobInvocationDetail/index.js +77 -0
  69. data/webpack/JobWizard/JobWizardPageRerun.js +10 -25
  70. data/webpack/JobWizard/index.js +9 -18
  71. data/webpack/JobWizard/steps/HostsAndInputs/hostgroups.gql +1 -1
  72. data/webpack/Routes/routes.js +6 -0
  73. data/webpack/react_app/components/FeaturesDropdown/actions.js +4 -2
  74. data/webpack/react_app/components/FeaturesDropdown/constants.js +5 -0
  75. data/webpack/react_app/components/FeaturesDropdown/index.js +53 -14
  76. data/webpack/react_app/components/FeaturesDropdown/index.scss +11 -0
  77. data/webpack/react_app/extend/Fills.js +6 -0
  78. metadata +24 -10
  79. data/webpack/react_app/components/FeaturesDropdown/constant.js +0 -3
  80. /data/test/graphql/mutations/job_invocations/{create.rb → create_test.rb} +0 -0
  81. /data/test/unit/{renderer_scope_input.rb → renderer_scope_input_test.rb} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '019c69e822a9bf8be86315b9cbdf83901e05e0209c115c82a815e92bf0f912e8'
4
- data.tar.gz: 7349a60661ccf18d18874a4332a0267dfc535c29fc3871182898dbd8bcf70091
3
+ metadata.gz: 43196184773df228503a8a6e25cbdb70669802ee31814e75abfb497807764229
4
+ data.tar.gz: 93e1f84e0d59c23a771a061f0d152afa5e8c8bc3be3e5c5043510e18c95b8d9d
5
5
  SHA512:
6
- metadata.gz: 97ebac293e75d109be674cb5f01bf760da29d570fa1bd5de83aee24118fb2fd739b384f2b3f058d0400b9a9579e554d2cc401f5c32cd2c557e7a5d012ae4b4ef
7
- data.tar.gz: 15557ecad1b8b5a702fa43c235fa381e3e5a9ce18cf9479beef39c4e93e16caf361590559930f4a23de81ef917b57e7ca2a009125e8bd8aaa63559d9a5c5e4a1
6
+ metadata.gz: ddc91fbaa8ffe72952982ebe84a288f43aed56fe7ec731d39d93527a3f12d636f517e5f65a42c42a0f635c7eddbe7c28dd14e5243d27f68e4009999f48591297
7
+ data.tar.gz: f28441ee7476bdbdfc35589d83442c27d07c86fab85882ae8b67ae6eb396d4e35b5066d385380139ad7d67b3ba89a5656f34819bcca3b8f2340560866c131c91
data/.packit.yaml CHANGED
@@ -29,7 +29,7 @@ jobs:
29
29
  trigger: pull_request
30
30
  targets:
31
31
  centos-stream-8:
32
- additional_modules: "foreman:el8,nodejs:12"
32
+ additional_modules: "foreman-devel:el8"
33
33
  additional_repos:
34
34
  - http://koji.katello.org/releases/yum/foreman-nightly/el8/x86_64/
35
35
  - http://yum.theforeman.org/plugins/nightly/el8/x86_64/
data/.rubocop.yml CHANGED
@@ -10,7 +10,7 @@ inherit_mode:
10
10
  - Exclude
11
11
 
12
12
  AllCops:
13
- TargetRubyVersion: 2.5
13
+ TargetRubyVersion: 2.7
14
14
  TargetRailsVersion: 5.2
15
15
  Exclude:
16
16
  - 'node_modules/**/*'
data/.rubocop_todo.yml CHANGED
@@ -6,14 +6,6 @@
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 2
10
- # Configuration parameters: Include.
11
- # Include: **/*.gemspec
12
- Gemspec/RequiredRubyVersion:
13
- Exclude:
14
- - 'foreman_remote_execution.gemspec'
15
- - 'foreman_remote_execution_core.gemspec'
16
-
17
9
  # Offense count: 1
18
10
  # Cop supports --auto-correct.
19
11
  # Configuration parameters: EnforcedStyleAlignWith, Severity.
data/.tx/config CHANGED
@@ -1,10 +1,10 @@
1
1
  [main]
2
- host = https://www.transifex.com
2
+ host = https://app.transifex.com
3
3
 
4
4
  [o:foreman:p:foreman:r:foreman_remote_execution]
5
5
  file_filter = locale/<lang>/foreman_remote_execution.edit.po
6
6
  source_file = locale/foreman_remote_execution.pot
7
7
  source_lang = en
8
8
  type = PO
9
- minimum_perc = 0
9
+ minimum_perc = 50
10
10
  resource_name = foreman_remote_execution