foreman_remote_execution 13.2.6 → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +77 -77
- data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +1667 -2
- data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +7 -7
- data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +33 -33
- data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +131 -131
- data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +131 -131
- data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +38 -38
- data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +16 -16
- data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +33 -33
- data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +7 -7
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +134 -134
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +6 -6
- data/app/controllers/ui_job_wizard_controller.rb +1 -1
- data/app/lib/foreman_remote_execution/renderer_methods.rb +14 -0
- data/config/initializers/inflections.rb +6 -0
- data/lib/foreman_remote_execution/engine.rb +243 -250
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/locale/de/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/de/foreman_remote_execution.po +80 -81
- data/locale/en/foreman_remote_execution.po +1675 -0
- data/locale/en_GB/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/en_GB/foreman_remote_execution.po +7 -7
- data/locale/es/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/es/foreman_remote_execution.po +33 -33
- data/locale/fr/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/fr/foreman_remote_execution.po +132 -132
- data/locale/ja/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ja/foreman_remote_execution.po +131 -131
- data/locale/ka/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ka/foreman_remote_execution.po +38 -38
- data/locale/ko/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ko/foreman_remote_execution.po +16 -16
- data/locale/pt_BR/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/pt_BR/foreman_remote_execution.po +33 -33
- data/locale/ru/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/ru/foreman_remote_execution.po +7 -7
- data/locale/zh_CN/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_CN/foreman_remote_execution.po +134 -136
- data/locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo +0 -0
- data/locale/zh_TW/foreman_remote_execution.po +6 -6
- data/test/functional/ui_job_wizard_controller_test.rb +1 -1
- metadata +4 -3
- data/app/services/renderer_methods.rb +0 -12
Binary file
|
@@ -5,11 +5,11 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: foreman_remote_execution
|
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"
|
12
|
-
"Language-Team: Chinese (Taiwan) (http://
|
12
|
+
"Language-Team: Chinese (Taiwan) (http://www.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"
|
@@ -86,7 +86,7 @@ msgid "Abort Job"
|
|
86
86
|
msgstr ""
|
87
87
|
|
88
88
|
msgid "Access denied"
|
89
|
-
msgstr "
|
89
|
+
msgstr ""
|
90
90
|
|
91
91
|
msgid "Actions"
|
92
92
|
msgstr "動作"
|
@@ -137,7 +137,7 @@ msgid "Awaiting start"
|
|
137
137
|
msgstr ""
|
138
138
|
|
139
139
|
msgid "Back"
|
140
|
-
msgstr "
|
140
|
+
msgstr ""
|
141
141
|
|
142
142
|
msgid "Back to Job"
|
143
143
|
msgstr "回到工作"
|
@@ -776,7 +776,7 @@ msgid "New UI"
|
|
776
776
|
msgstr ""
|
777
777
|
|
778
778
|
msgid "Next"
|
779
|
-
msgstr "
|
779
|
+
msgstr ""
|
780
780
|
|
781
781
|
msgid "No (override)"
|
782
782
|
msgstr ""
|
@@ -1555,7 +1555,7 @@ msgid "You are not allowed to see the currently assigned template. Saving the fo
|
|
1555
1555
|
msgstr "您不能看到目前指定的範本。現在儲存表單會取消指定範本。"
|
1556
1556
|
|
1557
1557
|
msgid "You are not authorized to perform this action."
|
1558
|
-
msgstr "
|
1558
|
+
msgstr ""
|
1559
1559
|
|
1560
1560
|
msgid "You have %s results to display. Showing first %s results"
|
1561
1561
|
msgstr ""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'test_plugin_helper'
|
2
2
|
|
3
|
-
class
|
3
|
+
class UIJobWizardControllerTest < ActionController::TestCase
|
4
4
|
def setup
|
5
5
|
FactoryBot.create(:job_template, :job_category => 'cat1')
|
6
6
|
FactoryBot.create(:job_template, :job_category => 'cat2')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_remote_execution
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 14.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Remote Execution team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -170,6 +170,7 @@ files:
|
|
170
170
|
- app/lib/actions/remote_execution/template_invocation_progress_logging.rb
|
171
171
|
- app/lib/foreman_remote_execution/provider_input.rb
|
172
172
|
- app/lib/foreman_remote_execution/renderer/scope/input.rb
|
173
|
+
- app/lib/foreman_remote_execution/renderer_methods.rb
|
173
174
|
- app/lib/proxy_api/remote_execution_ssh.rb
|
174
175
|
- app/mailers/.gitkeep
|
175
176
|
- app/mailers/rex_job_mailer.rb
|
@@ -213,7 +214,6 @@ files:
|
|
213
214
|
- app/overrides/subnet_proxies.rb
|
214
215
|
- app/services/default_proxy_proxy_selector.rb
|
215
216
|
- app/services/remote_execution_proxy_selector.rb
|
216
|
-
- app/services/renderer_methods.rb
|
217
217
|
- app/services/ui_notifications/remote_execution_jobs/base_job_finish.rb
|
218
218
|
- app/views/api/v2/foreign_input_sets/base.json.rabl
|
219
219
|
- app/views/api/v2/foreign_input_sets/create.json.rabl
|
@@ -297,6 +297,7 @@ files:
|
|
297
297
|
- app/views/templates/script/run_command.erb
|
298
298
|
- app/views/templates/script/run_downloaded_script.erb
|
299
299
|
- app/views/templates/script/service_action.erb
|
300
|
+
- config/initializers/inflections.rb
|
300
301
|
- config/routes.rb
|
301
302
|
- db/migrate/20150612121541_add_job_template_to_template.rb
|
302
303
|
- db/migrate/20150708133241_add_targeting.rb
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
# macros to fetch information about invoked jobs
|
4
|
-
module RendererMethods
|
5
|
-
extend ActiveSupport::Concern
|
6
|
-
|
7
|
-
def find_job_invocation_by_id(job_id, preload: nil)
|
8
|
-
JobInvocation.preload(preload).find_by(id: job_id)
|
9
|
-
rescue ActiveRecord::NotFound => _e
|
10
|
-
raise ::Foreman::Exception.new(N_("Can't find Job Invocation for an id %s"), job_id)
|
11
|
-
end
|
12
|
-
end
|