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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d91a3c6fe13b90e5caec6b2c9589eb61746dd8ea49bffaadac1b5135838cf412
4
- data.tar.gz: f897920d44fde8b01cc9660a205421d94c165da4eca2acae157f07290082e1f7
3
+ metadata.gz: d31a44c5d43532cf2bd91a43983a68270b13cac700c09bb6083bef70abf82786
4
+ data.tar.gz: 5da2feca3700415bf34b4f805f90435446e075a20f129910c8dc9a7d47870fab
5
5
  SHA512:
6
- metadata.gz: 6b5405cf813fc895abbe806a8875b8010e23e6def8e079a9d57cb3fd5ded78565fc46604f3adb597879153747bbaa7f8c4b8038cd523cc0f4da481b356986f87
7
- data.tar.gz: 3c712114732398cdcf3dc24b7b7153116da64a087cfac95b6bfd735b8d0b98729c33b1f95a353070b1e1dce935b830bd6d0428e34dca1506ce88224b7bf77aa5
6
+ metadata.gz: 79a11aef6cc04c587094291e6f5023552ada7ad42bd9588132dc5627ffe5e0010b894525aff2365c95fbc89b582a71df048d4889b351a9f21d9efa1fc82b87a9
7
+ data.tar.gz: 7ada02543ac32bc498e722ece8a8e04cca4eed29f04d78459217c42eab7c6e72f0a95c29940cd6ca38c26c8067e05e4415b63449cca1d678c84cf97928f51a88
@@ -104,6 +104,9 @@
104
104
  "Import a webhook template": [
105
105
  ""
106
106
  ],
107
+ "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object.": [
108
+ ""
109
+ ],
107
110
  "List Webhooks": [
108
111
  ""
109
112
  ],
@@ -128,6 +131,12 @@
128
131
  "Password": [
129
132
  ""
130
133
  ],
134
+ "Payload": [
135
+ ""
136
+ ],
137
+ "Please, note that this will not contain actual information or render the attached template.": [
138
+ ""
139
+ ],
131
140
  "Proxy Authorization": [
132
141
  ""
133
142
  ],
@@ -161,6 +170,18 @@
161
170
  "Template name": [
162
171
  ""
163
172
  ],
173
+ "Test": [
174
+ ""
175
+ ],
176
+ "Test a Webhook": [
177
+ ""
178
+ ],
179
+ "Test payload will be sent as is. Cant be a JSON object": [
180
+ ""
181
+ ],
182
+ "Test webhook": [
183
+ ""
184
+ ],
164
185
  "This template is locked for editing.": [
165
186
  ""
166
187
  ],
@@ -191,12 +212,21 @@
191
212
  "Webhook": [
192
213
  ""
193
214
  ],
215
+ "Webhook %s test was successful": [
216
+ ""
217
+ ],
194
218
  "Webhook %s was successfully deleted": [
195
219
  ""
196
220
  ],
197
221
  "Webhook Templates": [
198
222
  ""
199
223
  ],
224
+ "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?": [
225
+ ""
226
+ ],
227
+ "Webhook test failed: %s": [
228
+ ""
229
+ ],
200
230
  "Webhook was successfully created.": [
201
231
  ""
202
232
  ],
@@ -221,6 +251,9 @@
221
251
  "Whether or not the template is locked for editing": [
222
252
  ""
223
253
  ],
254
+ "Will be sent as is": [
255
+ ""
256
+ ],
224
257
  "X509 Certification Authorities": [
225
258
  ""
226
259
  ],
@@ -230,6 +263,12 @@
230
263
  "You are about to delete %s. Are you sure?": [
231
264
  ""
232
265
  ],
266
+ "You are about to test %s webhook.": [
267
+ ""
268
+ ],
269
+ "You can specify below a custom payload to test the webhook with.": [
270
+ ""
271
+ ],
233
272
  "is required": [
234
273
  ""
235
274
  ]
@@ -104,6 +104,9 @@
104
104
  "Import a webhook template": [
105
105
  ""
106
106
  ],
107
+ "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object.": [
108
+ ""
109
+ ],
107
110
  "List Webhooks": [
108
111
  ""
109
112
  ],
@@ -128,6 +131,12 @@
128
131
  "Password": [
129
132
  ""
130
133
  ],
134
+ "Payload": [
135
+ ""
136
+ ],
137
+ "Please, note that this will not contain actual information or render the attached template.": [
138
+ ""
139
+ ],
131
140
  "Proxy Authorization": [
132
141
  ""
133
142
  ],
@@ -161,6 +170,18 @@
161
170
  "Template name": [
162
171
  ""
163
172
  ],
173
+ "Test": [
174
+ ""
175
+ ],
176
+ "Test a Webhook": [
177
+ ""
178
+ ],
179
+ "Test payload will be sent as is. Cant be a JSON object": [
180
+ ""
181
+ ],
182
+ "Test webhook": [
183
+ ""
184
+ ],
164
185
  "This template is locked for editing.": [
165
186
  ""
166
187
  ],
@@ -191,12 +212,21 @@
191
212
  "Webhook": [
192
213
  ""
193
214
  ],
215
+ "Webhook %s test was successful": [
216
+ ""
217
+ ],
194
218
  "Webhook %s was successfully deleted": [
195
219
  ""
196
220
  ],
197
221
  "Webhook Templates": [
198
222
  ""
199
223
  ],
224
+ "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?": [
225
+ ""
226
+ ],
227
+ "Webhook test failed: %s": [
228
+ ""
229
+ ],
200
230
  "Webhook was successfully created.": [
201
231
  ""
202
232
  ],
@@ -221,6 +251,9 @@
221
251
  "Whether or not the template is locked for editing": [
222
252
  ""
223
253
  ],
254
+ "Will be sent as is": [
255
+ ""
256
+ ],
224
257
  "X509 Certification Authorities": [
225
258
  "X509 certifikační autority"
226
259
  ],
@@ -230,6 +263,12 @@
230
263
  "You are about to delete %s. Are you sure?": [
231
264
  ""
232
265
  ],
266
+ "You are about to test %s webhook.": [
267
+ ""
268
+ ],
269
+ "You can specify below a custom payload to test the webhook with.": [
270
+ ""
271
+ ],
233
272
  "is required": [
234
273
  ""
235
274
  ]
@@ -104,6 +104,9 @@
104
104
  "Import a webhook template": [
105
105
  ""
106
106
  ],
107
+ "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object.": [
108
+ ""
109
+ ],
107
110
  "List Webhooks": [
108
111
  ""
109
112
  ],
@@ -128,6 +131,12 @@
128
131
  "Password": [
129
132
  ""
130
133
  ],
134
+ "Payload": [
135
+ ""
136
+ ],
137
+ "Please, note that this will not contain actual information or render the attached template.": [
138
+ ""
139
+ ],
131
140
  "Proxy Authorization": [
132
141
  ""
133
142
  ],
@@ -161,6 +170,18 @@
161
170
  "Template name": [
162
171
  ""
163
172
  ],
173
+ "Test": [
174
+ ""
175
+ ],
176
+ "Test a Webhook": [
177
+ ""
178
+ ],
179
+ "Test payload will be sent as is. Cant be a JSON object": [
180
+ ""
181
+ ],
182
+ "Test webhook": [
183
+ ""
184
+ ],
164
185
  "This template is locked for editing.": [
165
186
  ""
166
187
  ],
@@ -191,12 +212,21 @@
191
212
  "Webhook": [
192
213
  ""
193
214
  ],
215
+ "Webhook %s test was successful": [
216
+ ""
217
+ ],
194
218
  "Webhook %s was successfully deleted": [
195
219
  ""
196
220
  ],
197
221
  "Webhook Templates": [
198
222
  ""
199
223
  ],
224
+ "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?": [
225
+ ""
226
+ ],
227
+ "Webhook test failed: %s": [
228
+ ""
229
+ ],
200
230
  "Webhook was successfully created.": [
201
231
  ""
202
232
  ],
@@ -221,6 +251,9 @@
221
251
  "Whether or not the template is locked for editing": [
222
252
  ""
223
253
  ],
254
+ "Will be sent as is": [
255
+ ""
256
+ ],
224
257
  "X509 Certification Authorities": [
225
258
  "X509-Zertifizierungsstellen (CA)"
226
259
  ],
@@ -230,6 +263,12 @@
230
263
  "You are about to delete %s. Are you sure?": [
231
264
  ""
232
265
  ],
266
+ "You are about to test %s webhook.": [
267
+ ""
268
+ ],
269
+ "You can specify below a custom payload to test the webhook with.": [
270
+ ""
271
+ ],
233
272
  "is required": [
234
273
  ""
235
274
  ]
@@ -104,6 +104,9 @@
104
104
  "Import a webhook template": [
105
105
  ""
106
106
  ],
107
+ "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object.": [
108
+ ""
109
+ ],
107
110
  "List Webhooks": [
108
111
  ""
109
112
  ],
@@ -131,6 +134,9 @@
131
134
  "Payload": [
132
135
  ""
133
136
  ],
137
+ "Please, note that this will not contain actual information or render the attached template.": [
138
+ ""
139
+ ],
134
140
  "Proxy Authorization": [
135
141
  ""
136
142
  ],
@@ -215,6 +221,9 @@
215
221
  "Webhook Templates": [
216
222
  ""
217
223
  ],
224
+ "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?": [
225
+ ""
226
+ ],
218
227
  "Webhook test failed: %s": [
219
228
  ""
220
229
  ],
@@ -254,6 +263,12 @@
254
263
  "You are about to delete %s. Are you sure?": [
255
264
  ""
256
265
  ],
266
+ "You are about to test %s webhook.": [
267
+ ""
268
+ ],
269
+ "You can specify below a custom payload to test the webhook with.": [
270
+ ""
271
+ ],
257
272
  "is required": [
258
273
  ""
259
274
  ]
@@ -104,6 +104,9 @@
104
104
  "Import a webhook template": [
105
105
  ""
106
106
  ],
107
+ "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object.": [
108
+ ""
109
+ ],
107
110
  "List Webhooks": [
108
111
  ""
109
112
  ],
@@ -128,6 +131,12 @@
128
131
  "Password": [
129
132
  ""
130
133
  ],
134
+ "Payload": [
135
+ ""
136
+ ],
137
+ "Please, note that this will not contain actual information or render the attached template.": [
138
+ ""
139
+ ],
131
140
  "Proxy Authorization": [
132
141
  ""
133
142
  ],
@@ -161,6 +170,18 @@
161
170
  "Template name": [
162
171
  ""
163
172
  ],
173
+ "Test": [
174
+ ""
175
+ ],
176
+ "Test a Webhook": [
177
+ ""
178
+ ],
179
+ "Test payload will be sent as is. Cant be a JSON object": [
180
+ ""
181
+ ],
182
+ "Test webhook": [
183
+ ""
184
+ ],
164
185
  "This template is locked for editing.": [
165
186
  ""
166
187
  ],
@@ -191,12 +212,21 @@
191
212
  "Webhook": [
192
213
  ""
193
214
  ],
215
+ "Webhook %s test was successful": [
216
+ ""
217
+ ],
194
218
  "Webhook %s was successfully deleted": [
195
219
  ""
196
220
  ],
197
221
  "Webhook Templates": [
198
222
  ""
199
223
  ],
224
+ "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?": [
225
+ ""
226
+ ],
227
+ "Webhook test failed: %s": [
228
+ ""
229
+ ],
200
230
  "Webhook was successfully created.": [
201
231
  ""
202
232
  ],
@@ -221,6 +251,9 @@
221
251
  "Whether or not the template is locked for editing": [
222
252
  ""
223
253
  ],
254
+ "Will be sent as is": [
255
+ ""
256
+ ],
224
257
  "X509 Certification Authorities": [
225
258
  "X509 Certification Authorities"
226
259
  ],
@@ -230,6 +263,12 @@
230
263
  "You are about to delete %s. Are you sure?": [
231
264
  ""
232
265
  ],
266
+ "You are about to test %s webhook.": [
267
+ ""
268
+ ],
269
+ "You can specify below a custom payload to test the webhook with.": [
270
+ ""
271
+ ],
233
272
  "is required": [
234
273
  ""
235
274
  ]
@@ -104,6 +104,9 @@
104
104
  "Import a webhook template": [
105
105
  ""
106
106
  ],
107
+ "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object.": [
108
+ ""
109
+ ],
107
110
  "List Webhooks": [
108
111
  ""
109
112
  ],
@@ -128,6 +131,12 @@
128
131
  "Password": [
129
132
  ""
130
133
  ],
134
+ "Payload": [
135
+ ""
136
+ ],
137
+ "Please, note that this will not contain actual information or render the attached template.": [
138
+ ""
139
+ ],
131
140
  "Proxy Authorization": [
132
141
  ""
133
142
  ],
@@ -161,6 +170,18 @@
161
170
  "Template name": [
162
171
  ""
163
172
  ],
173
+ "Test": [
174
+ ""
175
+ ],
176
+ "Test a Webhook": [
177
+ ""
178
+ ],
179
+ "Test payload will be sent as is. Cant be a JSON object": [
180
+ ""
181
+ ],
182
+ "Test webhook": [
183
+ ""
184
+ ],
164
185
  "This template is locked for editing.": [
165
186
  ""
166
187
  ],
@@ -191,12 +212,21 @@
191
212
  "Webhook": [
192
213
  ""
193
214
  ],
215
+ "Webhook %s test was successful": [
216
+ ""
217
+ ],
194
218
  "Webhook %s was successfully deleted": [
195
219
  ""
196
220
  ],
197
221
  "Webhook Templates": [
198
222
  ""
199
223
  ],
224
+ "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?": [
225
+ ""
226
+ ],
227
+ "Webhook test failed: %s": [
228
+ ""
229
+ ],
200
230
  "Webhook was successfully created.": [
201
231
  ""
202
232
  ],
@@ -221,6 +251,9 @@
221
251
  "Whether or not the template is locked for editing": [
222
252
  ""
223
253
  ],
254
+ "Will be sent as is": [
255
+ ""
256
+ ],
224
257
  "X509 Certification Authorities": [
225
258
  ""
226
259
  ],
@@ -230,6 +263,12 @@
230
263
  "You are about to delete %s. Are you sure?": [
231
264
  ""
232
265
  ],
266
+ "You are about to test %s webhook.": [
267
+ ""
268
+ ],
269
+ "You can specify below a custom payload to test the webhook with.": [
270
+ ""
271
+ ],
233
272
  "is required": [
234
273
  "es necesario"
235
274
  ]
@@ -104,6 +104,9 @@
104
104
  "Import a webhook template": [
105
105
  ""
106
106
  ],
107
+ "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object.": [
108
+ ""
109
+ ],
107
110
  "List Webhooks": [
108
111
  ""
109
112
  ],
@@ -128,6 +131,12 @@
128
131
  "Password": [
129
132
  ""
130
133
  ],
134
+ "Payload": [
135
+ ""
136
+ ],
137
+ "Please, note that this will not contain actual information or render the attached template.": [
138
+ ""
139
+ ],
131
140
  "Proxy Authorization": [
132
141
  ""
133
142
  ],
@@ -161,6 +170,18 @@
161
170
  "Template name": [
162
171
  ""
163
172
  ],
173
+ "Test": [
174
+ ""
175
+ ],
176
+ "Test a Webhook": [
177
+ ""
178
+ ],
179
+ "Test payload will be sent as is. Cant be a JSON object": [
180
+ ""
181
+ ],
182
+ "Test webhook": [
183
+ ""
184
+ ],
164
185
  "This template is locked for editing.": [
165
186
  ""
166
187
  ],
@@ -191,12 +212,21 @@
191
212
  "Webhook": [
192
213
  ""
193
214
  ],
215
+ "Webhook %s test was successful": [
216
+ ""
217
+ ],
194
218
  "Webhook %s was successfully deleted": [
195
219
  ""
196
220
  ],
197
221
  "Webhook Templates": [
198
222
  ""
199
223
  ],
224
+ "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?": [
225
+ ""
226
+ ],
227
+ "Webhook test failed: %s": [
228
+ ""
229
+ ],
200
230
  "Webhook was successfully created.": [
201
231
  ""
202
232
  ],
@@ -221,6 +251,9 @@
221
251
  "Whether or not the template is locked for editing": [
222
252
  ""
223
253
  ],
254
+ "Will be sent as is": [
255
+ ""
256
+ ],
224
257
  "X509 Certification Authorities": [
225
258
  ""
226
259
  ],
@@ -230,6 +263,12 @@
230
263
  "You are about to delete %s. Are you sure?": [
231
264
  ""
232
265
  ],
266
+ "You are about to test %s webhook.": [
267
+ ""
268
+ ],
269
+ "You can specify below a custom payload to test the webhook with.": [
270
+ ""
271
+ ],
233
272
  "is required": [
234
273
  "est requis"
235
274
  ]
@@ -104,6 +104,9 @@
104
104
  "Import a webhook template": [
105
105
  ""
106
106
  ],
107
+ "In case you are using dynamic URL (ERB template), this will not be rendered correctly due to the absence of a real object.": [
108
+ ""
109
+ ],
107
110
  "List Webhooks": [
108
111
  ""
109
112
  ],
@@ -128,6 +131,12 @@
128
131
  "Password": [
129
132
  ""
130
133
  ],
134
+ "Payload": [
135
+ ""
136
+ ],
137
+ "Please, note that this will not contain actual information or render the attached template.": [
138
+ ""
139
+ ],
131
140
  "Proxy Authorization": [
132
141
  ""
133
142
  ],
@@ -161,6 +170,18 @@
161
170
  "Template name": [
162
171
  ""
163
172
  ],
173
+ "Test": [
174
+ ""
175
+ ],
176
+ "Test a Webhook": [
177
+ ""
178
+ ],
179
+ "Test payload will be sent as is. Cant be a JSON object": [
180
+ ""
181
+ ],
182
+ "Test webhook": [
183
+ ""
184
+ ],
164
185
  "This template is locked for editing.": [
165
186
  ""
166
187
  ],
@@ -191,12 +212,21 @@
191
212
  "Webhook": [
192
213
  ""
193
214
  ],
215
+ "Webhook %s test was successful": [
216
+ ""
217
+ ],
194
218
  "Webhook %s was successfully deleted": [
195
219
  ""
196
220
  ],
197
221
  "Webhook Templates": [
198
222
  ""
199
223
  ],
224
+ "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?": [
225
+ ""
226
+ ],
227
+ "Webhook test failed: %s": [
228
+ ""
229
+ ],
200
230
  "Webhook was successfully created.": [
201
231
  ""
202
232
  ],
@@ -221,6 +251,9 @@
221
251
  "Whether or not the template is locked for editing": [
222
252
  ""
223
253
  ],
254
+ "Will be sent as is": [
255
+ ""
256
+ ],
224
257
  "X509 Certification Authorities": [
225
258
  ""
226
259
  ],
@@ -230,6 +263,12 @@
230
263
  "You are about to delete %s. Are you sure?": [
231
264
  ""
232
265
  ],
266
+ "You are about to test %s webhook.": [
267
+ ""
268
+ ],
269
+ "You can specify below a custom payload to test the webhook with.": [
270
+ ""
271
+ ],
233
272
  "is required": [
234
273
  ""
235
274
  ]