foreman_webhooks 3.2.3 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_webhooks/locale/ca/foreman_webhooks.js +39 -0
  3. data/app/assets/javascripts/foreman_webhooks/locale/cs_CZ/foreman_webhooks.js +39 -0
  4. data/app/assets/javascripts/foreman_webhooks/locale/de/foreman_webhooks.js +39 -0
  5. data/app/assets/javascripts/foreman_webhooks/locale/en/foreman_webhooks.js +15 -0
  6. data/app/assets/javascripts/foreman_webhooks/locale/en_GB/foreman_webhooks.js +39 -0
  7. data/app/assets/javascripts/foreman_webhooks/locale/es/foreman_webhooks.js +39 -0
  8. data/app/assets/javascripts/foreman_webhooks/locale/fr/foreman_webhooks.js +39 -0
  9. data/app/assets/javascripts/foreman_webhooks/locale/it/foreman_webhooks.js +39 -0
  10. data/app/assets/javascripts/foreman_webhooks/locale/ja/foreman_webhooks.js +39 -0
  11. data/app/assets/javascripts/foreman_webhooks/locale/ka/foreman_webhooks.js +39 -0
  12. data/app/assets/javascripts/foreman_webhooks/locale/ko/foreman_webhooks.js +39 -0
  13. data/app/assets/javascripts/foreman_webhooks/locale/pl/foreman_webhooks.js +39 -0
  14. data/app/assets/javascripts/foreman_webhooks/locale/pt_BR/foreman_webhooks.js +39 -0
  15. data/app/assets/javascripts/foreman_webhooks/locale/ru/foreman_webhooks.js +39 -0
  16. data/app/assets/javascripts/foreman_webhooks/locale/zh_CN/foreman_webhooks.js +39 -0
  17. data/app/assets/javascripts/foreman_webhooks/locale/zh_TW/foreman_webhooks.js +39 -0
  18. data/db/migrate/20201014115147_rename_ca_file_column.rb +1 -1
  19. data/lib/foreman_webhooks/engine.rb +62 -62
  20. data/lib/foreman_webhooks/version.rb +1 -1
  21. data/locale/ca/foreman_webhooks.po +39 -1
  22. data/locale/cs_CZ/foreman_webhooks.po +39 -1
  23. data/locale/de/foreman_webhooks.po +39 -1
  24. data/locale/en/foreman_webhooks.po +15 -0
  25. data/locale/en_GB/foreman_webhooks.po +39 -1
  26. data/locale/es/foreman_webhooks.po +39 -1
  27. data/locale/fr/foreman_webhooks.po +39 -1
  28. data/locale/it/foreman_webhooks.po +39 -1
  29. data/locale/ja/foreman_webhooks.po +39 -1
  30. data/locale/ka/foreman_webhooks.po +39 -1
  31. data/locale/ko/foreman_webhooks.po +39 -1
  32. data/locale/pl/foreman_webhooks.po +39 -1
  33. data/locale/pt_BR/foreman_webhooks.po +39 -1
  34. data/locale/ru/foreman_webhooks.po +39 -1
  35. data/locale/zh_CN/foreman_webhooks.po +39 -1
  36. data/locale/zh_TW/foreman_webhooks.po +39 -1
  37. metadata +3 -3
@@ -4,8 +4,6 @@ module ForemanWebhooks
4
4
  class Engine < ::Rails::Engine
5
5
  engine_name 'foreman_webhooks'
6
6
 
7
- config.autoload_paths += Dir["#{config.root}/app/jobs"]
8
-
9
7
  # Add any db migrations
10
8
  initializer 'foreman_webhooks.load_app_instance_data' do |app|
11
9
  ForemanWebhooks::Engine.paths['db/migrate'].existent.each do |path|
@@ -13,76 +11,78 @@ module ForemanWebhooks
13
11
  end
14
12
  end
15
13
 
16
- initializer 'foreman_webhooks.register_plugin', before: :finisher_hook do |_app|
17
- Foreman::Plugin.register :foreman_webhooks do
18
- requires_foreman '>= 3.7'
19
- register_gettext
14
+ initializer 'foreman_webhooks.register_plugin', before: :finisher_hook do |app|
15
+ app.reloader.to_prepare do
16
+ Foreman::Plugin.register :foreman_webhooks do
17
+ requires_foreman '>= 3.13'
18
+ register_gettext
20
19
 
21
- apipie_documented_controllers ["#{ForemanWebhooks::Engine.root}/app/controllers/api/v2/*.rb"]
22
- ApipieDSL.configuration.sections += ['webhooks']
23
- ApipieDSL.configuration.dsl_classes_matchers += [
24
- "#{ForemanWebhooks::Engine.root}/app/lib/foreman_webhooks/renderer/**/*.rb"
25
- ]
20
+ apipie_documented_controllers ["#{ForemanWebhooks::Engine.root}/app/controllers/api/v2/*.rb"]
21
+ ApipieDSL.configuration.sections += ['webhooks']
22
+ ApipieDSL.configuration.dsl_classes_matchers += [
23
+ "#{ForemanWebhooks::Engine.root}/app/lib/foreman_webhooks/renderer/**/*.rb"
24
+ ]
26
25
 
27
- register_global_js_file 'routes'
26
+ register_global_js_file 'routes'
28
27
 
29
- # Add permissions
30
- security_block :foreman_webhooks do
31
- permission :view_webhooks, { webhooks: %i[index show auto_complete_search],
32
- 'api/v2/webhooks': %i[index show events] }, resource_type: 'Webhook'
33
- permission :create_webhooks, { webhooks: %i[new create],
34
- 'api/v2/webhooks': [:create] }, resource_type: 'Webhook'
35
- permission :edit_webhooks, { webhooks: %i[edit update],
36
- 'api/v2/webhooks': %i[update test] }, resource_type: 'Webhook'
37
- permission :destroy_webhooks, { webhooks: [:destroy],
38
- 'api/v2/webhooks': [:destroy] }, resource_type: 'Webhook'
39
- permission :view_webhook_templates, { webhook_templates: %i[index show auto_complete_search preview export],
40
- 'api/v2/webhook_templates': %i[index show export] },
41
- resource_type: 'WebhookTemplate'
42
- permission :create_webhook_templates, { webhook_templates: %i[new create clone_template],
43
- 'api/v2/webhook_templates': %i[create clone import] },
44
- resource_type: 'WebhookTemplate'
45
- permission :edit_webhook_templates, { webhook_templates: %i[edit update],
46
- 'api/v2/webhook_templates': %i[update import] },
47
- resource_type: 'WebhookTemplate'
48
- permission :destroy_webhook_templates, { webhook_templates: [:destroy],
49
- 'api/v2/webhook_templates': [:destroy] },
50
- resource_type: 'WebhookTemplate'
51
- permission :lock_webhook_templates, { webhook_templates: %i[lock unlock],
52
- 'api/v2/webhook_templates': %i[lock unlock] },
53
- resource_type: 'WebhookTemplate'
54
- end
28
+ # Add permissions
29
+ security_block :foreman_webhooks do
30
+ permission :view_webhooks, { webhooks: %i[index show auto_complete_search],
31
+ 'api/v2/webhooks': %i[index show events] }, resource_type: 'Webhook'
32
+ permission :create_webhooks, { webhooks: %i[new create],
33
+ 'api/v2/webhooks': [:create] }, resource_type: 'Webhook'
34
+ permission :edit_webhooks, { webhooks: %i[edit update],
35
+ 'api/v2/webhooks': %i[update test] }, resource_type: 'Webhook'
36
+ permission :destroy_webhooks, { webhooks: [:destroy],
37
+ 'api/v2/webhooks': [:destroy] }, resource_type: 'Webhook'
38
+ permission :view_webhook_templates, { webhook_templates: %i[index show auto_complete_search preview export],
39
+ 'api/v2/webhook_templates': %i[index show export] },
40
+ resource_type: 'WebhookTemplate'
41
+ permission :create_webhook_templates, { webhook_templates: %i[new create clone_template],
42
+ 'api/v2/webhook_templates': %i[create clone import] },
43
+ resource_type: 'WebhookTemplate'
44
+ permission :edit_webhook_templates, { webhook_templates: %i[edit update],
45
+ 'api/v2/webhook_templates': %i[update import] },
46
+ resource_type: 'WebhookTemplate'
47
+ permission :destroy_webhook_templates, { webhook_templates: [:destroy],
48
+ 'api/v2/webhook_templates': [:destroy] },
49
+ resource_type: 'WebhookTemplate'
50
+ permission :lock_webhook_templates, { webhook_templates: %i[lock unlock],
51
+ 'api/v2/webhook_templates': %i[lock unlock] },
52
+ resource_type: 'WebhookTemplate'
53
+ end
55
54
 
56
- role 'Webhooks Reader',
57
- %i[view_webhooks view_webhook_templates]
55
+ role 'Webhooks Reader',
56
+ %i[view_webhooks view_webhook_templates]
58
57
 
59
- role 'Webhooks Manager',
60
- %i[view_webhooks create_webhooks edit_webhooks destroy_webhooks
61
- view_webhook_templates create_webhook_templates
62
- edit_webhook_templates destroy_webhook_templates
63
- lock_webhook_templates]
58
+ role 'Webhooks Manager',
59
+ %i[view_webhooks create_webhooks edit_webhooks destroy_webhooks
60
+ view_webhook_templates create_webhook_templates
61
+ edit_webhook_templates destroy_webhook_templates
62
+ lock_webhook_templates]
64
63
 
65
- # add menu entry
66
- divider :admin_menu, caption: N_('Webhook'), parent: :administer_menu
67
- menu :admin_menu, :webhooks, url: '/webhooks',
68
- url_hash: { controller: :webhooks, action: :index },
69
- caption: N_('Webhooks'),
70
- parent: :administer_menu
71
- menu :admin_menu, :webhook_templates, url_hash: { controller: :webhook_templates, action: :index },
72
- caption: N_('Webhook Templates'),
73
- parent: :administer_menu
64
+ # add menu entry
65
+ divider :admin_menu, caption: N_('Webhook'), parent: :administer_menu
66
+ menu :admin_menu, :webhooks, url: '/webhooks',
67
+ url_hash: { controller: :webhooks, action: :index },
68
+ caption: N_('Webhooks'),
69
+ parent: :administer_menu
70
+ menu :admin_menu, :webhook_templates, url_hash: { controller: :webhook_templates, action: :index },
71
+ caption: N_('Webhook Templates'),
72
+ parent: :administer_menu
74
73
 
75
- # add helpers to safe-mode
76
- allowed_template_helpers :payload
74
+ # add helpers to safe-mode
75
+ allowed_template_helpers :payload
77
76
 
78
- # subscribe to all events
79
- subscribe(/.event.foreman$/, ::ForemanWebhooks::EventSubscriber)
77
+ # subscribe to all events
78
+ subscribe(/.event.foreman$/, ::ForemanWebhooks::EventSubscriber)
80
79
 
81
- register_graphql_query_field :webhook, 'ForemanWebhooks::Types::Webhook', :record_field
82
- register_graphql_query_field :webhooks, 'ForemanWebhooks::Types::Webhook', :collection_field
80
+ register_graphql_query_field :webhook, 'ForemanWebhooks::Types::Webhook', :record_field
81
+ register_graphql_query_field :webhooks, 'ForemanWebhooks::Types::Webhook', :collection_field
83
82
 
84
- register_graphql_query_field :webhook_template, 'ForemanWebhooks::Types::WebhookTemplate', :record_field
85
- register_graphql_query_field :webhook_templates, 'ForemanWebhooks::Types::WebhookTemplate', :collection_field
83
+ register_graphql_query_field :webhook_template, 'ForemanWebhooks::Types::WebhookTemplate', :record_field
84
+ register_graphql_query_field :webhook_templates, 'ForemanWebhooks::Types::WebhookTemplate', :collection_field
85
+ end
86
86
  end
87
87
  end
88
88
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanWebhooks
4
- VERSION = "3.2.3"
4
+ VERSION = "4.0.0"
5
5
  end
@@ -6,7 +6,6 @@
6
6
  # Translators:
7
7
  # Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2023
8
8
  #
9
- #, fuzzy
10
9
  msgid ""
11
10
  msgstr ""
12
11
  "Project-Id-Version: foreman_webhooks 3.2.0\n"
@@ -107,6 +106,9 @@ msgstr ""
107
106
  msgid "Import a webhook template"
108
107
  msgstr ""
109
108
 
109
+ msgid "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object."
110
+ msgstr ""
111
+
110
112
  msgid "List Webhooks"
111
113
  msgstr ""
112
114
 
@@ -131,6 +133,12 @@ msgstr ""
131
133
  msgid "Password"
132
134
  msgstr ""
133
135
 
136
+ msgid "Payload"
137
+ msgstr ""
138
+
139
+ msgid "Please, note that this will not contain actual information or render the attached template."
140
+ msgstr ""
141
+
134
142
  msgid "Proxy Authorization"
135
143
  msgstr ""
136
144
 
@@ -164,6 +172,18 @@ msgstr ""
164
172
  msgid "Template name"
165
173
  msgstr ""
166
174
 
175
+ msgid "Test"
176
+ msgstr ""
177
+
178
+ msgid "Test a Webhook"
179
+ msgstr ""
180
+
181
+ msgid "Test payload will be sent as is. Cant be a JSON object"
182
+ msgstr ""
183
+
184
+ msgid "Test webhook"
185
+ msgstr ""
186
+
167
187
  msgid "This template is locked for editing."
168
188
  msgstr ""
169
189
 
@@ -194,12 +214,21 @@ msgstr ""
194
214
  msgid "Webhook"
195
215
  msgstr ""
196
216
 
217
+ msgid "Webhook %s test was successful"
218
+ msgstr ""
219
+
197
220
  msgid "Webhook %s was successfully deleted"
198
221
  msgstr ""
199
222
 
200
223
  msgid "Webhook Templates"
201
224
  msgstr ""
202
225
 
226
+ msgid "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?"
227
+ msgstr ""
228
+
229
+ msgid "Webhook test failed: %s"
230
+ msgstr ""
231
+
203
232
  msgid "Webhook was successfully created."
204
233
  msgstr ""
205
234
 
@@ -224,6 +253,9 @@ msgstr ""
224
253
  msgid "Whether or not the template is locked for editing"
225
254
  msgstr ""
226
255
 
256
+ msgid "Will be sent as is"
257
+ msgstr ""
258
+
227
259
  msgid "X509 Certification Authorities"
228
260
  msgstr ""
229
261
 
@@ -233,5 +265,11 @@ msgstr ""
233
265
  msgid "You are about to delete %s. Are you sure?"
234
266
  msgstr ""
235
267
 
268
+ msgid "You are about to test %s webhook."
269
+ msgstr ""
270
+
271
+ msgid "You can specify below a custom payload to test the webhook with."
272
+ msgstr ""
273
+
236
274
  msgid "is required"
237
275
  msgstr ""
@@ -7,7 +7,6 @@
7
7
  # mhulan <mhulan@redhat.com>, 2023
8
8
  # Pavel Borecki <pavel.borecki@gmail.com>, 2023
9
9
  #
10
- #, fuzzy
11
10
  msgid ""
12
11
  msgstr ""
13
12
  "Project-Id-Version: foreman_webhooks 3.2.0\n"
@@ -110,6 +109,9 @@ msgstr ""
110
109
  msgid "Import a webhook template"
111
110
  msgstr ""
112
111
 
112
+ msgid "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object."
113
+ msgstr ""
114
+
113
115
  msgid "List Webhooks"
114
116
  msgstr ""
115
117
 
@@ -134,6 +136,12 @@ msgstr ""
134
136
  msgid "Password"
135
137
  msgstr ""
136
138
 
139
+ msgid "Payload"
140
+ msgstr ""
141
+
142
+ msgid "Please, note that this will not contain actual information or render the attached template."
143
+ msgstr ""
144
+
137
145
  msgid "Proxy Authorization"
138
146
  msgstr ""
139
147
 
@@ -167,6 +175,18 @@ msgstr ""
167
175
  msgid "Template name"
168
176
  msgstr ""
169
177
 
178
+ msgid "Test"
179
+ msgstr ""
180
+
181
+ msgid "Test a Webhook"
182
+ msgstr ""
183
+
184
+ msgid "Test payload will be sent as is. Cant be a JSON object"
185
+ msgstr ""
186
+
187
+ msgid "Test webhook"
188
+ msgstr ""
189
+
170
190
  msgid "This template is locked for editing."
171
191
  msgstr ""
172
192
 
@@ -197,12 +217,21 @@ msgstr "Ověřit SSL"
197
217
  msgid "Webhook"
198
218
  msgstr ""
199
219
 
220
+ msgid "Webhook %s test was successful"
221
+ msgstr ""
222
+
200
223
  msgid "Webhook %s was successfully deleted"
201
224
  msgstr ""
202
225
 
203
226
  msgid "Webhook Templates"
204
227
  msgstr ""
205
228
 
229
+ msgid "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?"
230
+ msgstr ""
231
+
232
+ msgid "Webhook test failed: %s"
233
+ msgstr ""
234
+
206
235
  msgid "Webhook was successfully created."
207
236
  msgstr ""
208
237
 
@@ -227,6 +256,9 @@ msgstr ""
227
256
  msgid "Whether or not the template is locked for editing"
228
257
  msgstr ""
229
258
 
259
+ msgid "Will be sent as is"
260
+ msgstr ""
261
+
230
262
  msgid "X509 Certification Authorities"
231
263
  msgstr "X509 certifikační autority"
232
264
 
@@ -236,5 +268,11 @@ msgstr ""
236
268
  msgid "You are about to delete %s. Are you sure?"
237
269
  msgstr ""
238
270
 
271
+ msgid "You are about to test %s webhook."
272
+ msgstr ""
273
+
274
+ msgid "You can specify below a custom payload to test the webhook with."
275
+ msgstr ""
276
+
239
277
  msgid "is required"
240
278
  msgstr ""
@@ -13,7 +13,6 @@
13
13
  # Lukáš Zapletal, 2023
14
14
  # Markus Bucher <bucher@atix.de>, 2023
15
15
  #
16
- #, fuzzy
17
16
  msgid ""
18
17
  msgstr ""
19
18
  "Project-Id-Version: foreman_webhooks 3.2.0\n"
@@ -114,6 +113,9 @@ msgstr ""
114
113
  msgid "Import a webhook template"
115
114
  msgstr ""
116
115
 
116
+ msgid "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object."
117
+ msgstr ""
118
+
117
119
  msgid "List Webhooks"
118
120
  msgstr ""
119
121
 
@@ -138,6 +140,12 @@ msgstr ""
138
140
  msgid "Password"
139
141
  msgstr ""
140
142
 
143
+ msgid "Payload"
144
+ msgstr ""
145
+
146
+ msgid "Please, note that this will not contain actual information or render the attached template."
147
+ msgstr ""
148
+
141
149
  msgid "Proxy Authorization"
142
150
  msgstr ""
143
151
 
@@ -171,6 +179,18 @@ msgstr ""
171
179
  msgid "Template name"
172
180
  msgstr ""
173
181
 
182
+ msgid "Test"
183
+ msgstr ""
184
+
185
+ msgid "Test a Webhook"
186
+ msgstr ""
187
+
188
+ msgid "Test payload will be sent as is. Cant be a JSON object"
189
+ msgstr ""
190
+
191
+ msgid "Test webhook"
192
+ msgstr ""
193
+
174
194
  msgid "This template is locked for editing."
175
195
  msgstr ""
176
196
 
@@ -201,12 +221,21 @@ msgstr "SSL überprüfen"
201
221
  msgid "Webhook"
202
222
  msgstr ""
203
223
 
224
+ msgid "Webhook %s test was successful"
225
+ msgstr ""
226
+
204
227
  msgid "Webhook %s was successfully deleted"
205
228
  msgstr ""
206
229
 
207
230
  msgid "Webhook Templates"
208
231
  msgstr ""
209
232
 
233
+ msgid "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?"
234
+ msgstr ""
235
+
236
+ msgid "Webhook test failed: %s"
237
+ msgstr ""
238
+
210
239
  msgid "Webhook was successfully created."
211
240
  msgstr ""
212
241
 
@@ -231,6 +260,9 @@ msgstr ""
231
260
  msgid "Whether or not the template is locked for editing"
232
261
  msgstr ""
233
262
 
263
+ msgid "Will be sent as is"
264
+ msgstr ""
265
+
234
266
  msgid "X509 Certification Authorities"
235
267
  msgstr "X509-Zertifizierungsstellen (CA)"
236
268
 
@@ -240,5 +272,11 @@ msgstr ""
240
272
  msgid "You are about to delete %s. Are you sure?"
241
273
  msgstr ""
242
274
 
275
+ msgid "You are about to test %s webhook."
276
+ msgstr ""
277
+
278
+ msgid "You can specify below a custom payload to test the webhook with."
279
+ msgstr ""
280
+
243
281
  msgid "is required"
244
282
  msgstr ""
@@ -104,6 +104,9 @@ msgstr ""
104
104
  msgid "Import a webhook template"
105
105
  msgstr ""
106
106
 
107
+ msgid "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object."
108
+ msgstr ""
109
+
107
110
  msgid "List Webhooks"
108
111
  msgstr ""
109
112
 
@@ -131,6 +134,9 @@ msgstr ""
131
134
  msgid "Payload"
132
135
  msgstr ""
133
136
 
137
+ msgid "Please, note that this will not contain actual information or render the attached template."
138
+ msgstr ""
139
+
134
140
  msgid "Proxy Authorization"
135
141
  msgstr ""
136
142
 
@@ -215,6 +221,9 @@ msgstr ""
215
221
  msgid "Webhook Templates"
216
222
  msgstr ""
217
223
 
224
+ msgid "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?"
225
+ msgstr ""
226
+
218
227
  msgid "Webhook test failed: %s"
219
228
  msgstr ""
220
229
 
@@ -254,5 +263,11 @@ msgstr ""
254
263
  msgid "You are about to delete %s. Are you sure?"
255
264
  msgstr ""
256
265
 
266
+ msgid "You are about to test %s webhook."
267
+ msgstr ""
268
+
269
+ msgid "You can specify below a custom payload to test the webhook with."
270
+ msgstr ""
271
+
257
272
  msgid "is required"
258
273
  msgstr ""
@@ -7,7 +7,6 @@
7
7
  # 0868a4d1af5275b3f70b0a6dac4c99a4, 2023
8
8
  # Andi Chandler <andi@gowling.com>, 2023
9
9
  #
10
- #, fuzzy
11
10
  msgid ""
12
11
  msgstr ""
13
12
  "Project-Id-Version: foreman_webhooks 3.2.0\n"
@@ -109,6 +108,9 @@ msgstr ""
109
108
  msgid "Import a webhook template"
110
109
  msgstr ""
111
110
 
111
+ msgid "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object."
112
+ msgstr ""
113
+
112
114
  msgid "List Webhooks"
113
115
  msgstr ""
114
116
 
@@ -133,6 +135,12 @@ msgstr ""
133
135
  msgid "Password"
134
136
  msgstr ""
135
137
 
138
+ msgid "Payload"
139
+ msgstr ""
140
+
141
+ msgid "Please, note that this will not contain actual information or render the attached template."
142
+ msgstr ""
143
+
136
144
  msgid "Proxy Authorization"
137
145
  msgstr ""
138
146
 
@@ -166,6 +174,18 @@ msgstr ""
166
174
  msgid "Template name"
167
175
  msgstr ""
168
176
 
177
+ msgid "Test"
178
+ msgstr ""
179
+
180
+ msgid "Test a Webhook"
181
+ msgstr ""
182
+
183
+ msgid "Test payload will be sent as is. Cant be a JSON object"
184
+ msgstr ""
185
+
186
+ msgid "Test webhook"
187
+ msgstr ""
188
+
169
189
  msgid "This template is locked for editing."
170
190
  msgstr ""
171
191
 
@@ -196,12 +216,21 @@ msgstr ""
196
216
  msgid "Webhook"
197
217
  msgstr ""
198
218
 
219
+ msgid "Webhook %s test was successful"
220
+ msgstr ""
221
+
199
222
  msgid "Webhook %s was successfully deleted"
200
223
  msgstr ""
201
224
 
202
225
  msgid "Webhook Templates"
203
226
  msgstr ""
204
227
 
228
+ msgid "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?"
229
+ msgstr ""
230
+
231
+ msgid "Webhook test failed: %s"
232
+ msgstr ""
233
+
205
234
  msgid "Webhook was successfully created."
206
235
  msgstr ""
207
236
 
@@ -226,6 +255,9 @@ msgstr ""
226
255
  msgid "Whether or not the template is locked for editing"
227
256
  msgstr ""
228
257
 
258
+ msgid "Will be sent as is"
259
+ msgstr ""
260
+
229
261
  msgid "X509 Certification Authorities"
230
262
  msgstr "X509 Certification Authorities"
231
263
 
@@ -235,5 +267,11 @@ msgstr ""
235
267
  msgid "You are about to delete %s. Are you sure?"
236
268
  msgstr ""
237
269
 
270
+ msgid "You are about to test %s webhook."
271
+ msgstr ""
272
+
273
+ msgid "You can specify below a custom payload to test the webhook with."
274
+ msgstr ""
275
+
238
276
  msgid "is required"
239
277
  msgstr ""
@@ -9,7 +9,6 @@
9
9
  # fe37ea014ea122db60df81cd86b163af_742ef71 <ba9f59c06b0be83ac3724b1834a4c14b_93939>, 2023
10
10
  # Lukáš Zapletal, 2023
11
11
  #
12
- #, fuzzy
13
12
  msgid ""
14
13
  msgstr ""
15
14
  "Project-Id-Version: foreman_webhooks 3.2.0\n"
@@ -111,6 +110,9 @@ msgstr ""
111
110
  msgid "Import a webhook template"
112
111
  msgstr ""
113
112
 
113
+ msgid "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object."
114
+ msgstr ""
115
+
114
116
  msgid "List Webhooks"
115
117
  msgstr ""
116
118
 
@@ -135,6 +137,12 @@ msgstr ""
135
137
  msgid "Password"
136
138
  msgstr ""
137
139
 
140
+ msgid "Payload"
141
+ msgstr ""
142
+
143
+ msgid "Please, note that this will not contain actual information or render the attached template."
144
+ msgstr ""
145
+
138
146
  msgid "Proxy Authorization"
139
147
  msgstr ""
140
148
 
@@ -168,6 +176,18 @@ msgstr ""
168
176
  msgid "Template name"
169
177
  msgstr ""
170
178
 
179
+ msgid "Test"
180
+ msgstr ""
181
+
182
+ msgid "Test a Webhook"
183
+ msgstr ""
184
+
185
+ msgid "Test payload will be sent as is. Cant be a JSON object"
186
+ msgstr ""
187
+
188
+ msgid "Test webhook"
189
+ msgstr ""
190
+
171
191
  msgid "This template is locked for editing."
172
192
  msgstr ""
173
193
 
@@ -198,12 +218,21 @@ msgstr "Verificar SSL"
198
218
  msgid "Webhook"
199
219
  msgstr ""
200
220
 
221
+ msgid "Webhook %s test was successful"
222
+ msgstr ""
223
+
201
224
  msgid "Webhook %s was successfully deleted"
202
225
  msgstr ""
203
226
 
204
227
  msgid "Webhook Templates"
205
228
  msgstr ""
206
229
 
230
+ msgid "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?"
231
+ msgstr ""
232
+
233
+ msgid "Webhook test failed: %s"
234
+ msgstr ""
235
+
207
236
  msgid "Webhook was successfully created."
208
237
  msgstr ""
209
238
 
@@ -228,6 +257,9 @@ msgstr ""
228
257
  msgid "Whether or not the template is locked for editing"
229
258
  msgstr ""
230
259
 
260
+ msgid "Will be sent as is"
261
+ msgstr ""
262
+
231
263
  msgid "X509 Certification Authorities"
232
264
  msgstr ""
233
265
 
@@ -237,5 +269,11 @@ msgstr ""
237
269
  msgid "You are about to delete %s. Are you sure?"
238
270
  msgstr ""
239
271
 
272
+ msgid "You are about to test %s webhook."
273
+ msgstr ""
274
+
275
+ msgid "You can specify below a custom payload to test the webhook with."
276
+ msgstr ""
277
+
240
278
  msgid "is required"
241
279
  msgstr "es necesario"