foreman_webhooks 3.1.1 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_webhooks/locale/ca/foreman_webhooks.js +238 -0
  3. data/app/assets/javascripts/foreman_webhooks/locale/cs_CZ/foreman_webhooks.js +238 -0
  4. data/app/assets/javascripts/foreman_webhooks/locale/de/foreman_webhooks.js +238 -0
  5. data/app/assets/javascripts/foreman_webhooks/locale/en/foreman_webhooks.js +262 -0
  6. data/app/assets/javascripts/foreman_webhooks/locale/en_GB/foreman_webhooks.js +238 -0
  7. data/app/assets/javascripts/foreman_webhooks/locale/es/foreman_webhooks.js +238 -0
  8. data/app/assets/javascripts/foreman_webhooks/locale/fr/foreman_webhooks.js +238 -0
  9. data/app/assets/javascripts/foreman_webhooks/locale/it/foreman_webhooks.js +238 -0
  10. data/app/assets/javascripts/foreman_webhooks/locale/ja/foreman_webhooks.js +238 -0
  11. data/app/assets/javascripts/foreman_webhooks/locale/ka/foreman_webhooks.js +238 -0
  12. data/app/assets/javascripts/foreman_webhooks/locale/ko/foreman_webhooks.js +238 -0
  13. data/app/assets/javascripts/foreman_webhooks/locale/pl/foreman_webhooks.js +238 -0
  14. data/app/assets/javascripts/foreman_webhooks/locale/pt_BR/foreman_webhooks.js +238 -0
  15. data/app/assets/javascripts/foreman_webhooks/locale/ru/foreman_webhooks.js +238 -0
  16. data/app/assets/javascripts/foreman_webhooks/locale/zh_CN/foreman_webhooks.js +238 -0
  17. data/app/assets/javascripts/foreman_webhooks/locale/zh_TW/foreman_webhooks.js +238 -0
  18. data/app/controllers/api/v2/webhooks_controller.rb +24 -1
  19. data/app/graphql/foreman_webhooks/types/webhook.rb +25 -0
  20. data/app/graphql/foreman_webhooks/types/webhook_template.rb +25 -0
  21. data/app/models/webhook.rb +18 -0
  22. data/app/models/webhook_template.rb +2 -0
  23. data/app/services/foreman_webhooks/webhook_service.rb +1 -1
  24. data/app/views/foreman_webhooks/webhook_templates/katello_-_promote.erb +1 -0
  25. data/app/views/foreman_webhooks/webhook_templates/katello_-_publish.erb +1 -0
  26. data/app/views/foreman_webhooks/webhook_templates/katello_-_repo_sync.erb +1 -0
  27. data/app/views/foreman_webhooks/webhook_templates/remote_execution_-_host_job.erb +0 -1
  28. data/config/routes.rb +3 -0
  29. data/lib/foreman_webhooks/engine.rb +9 -2
  30. data/lib/foreman_webhooks/version.rb +1 -1
  31. data/locale/ca/LC_MESSAGES/foreman_webhooks.mo +0 -0
  32. data/locale/ca/foreman_webhooks.po +237 -0
  33. data/locale/cs_CZ/LC_MESSAGES/foreman_webhooks.mo +0 -0
  34. data/locale/cs_CZ/foreman_webhooks.po +240 -0
  35. data/locale/de/LC_MESSAGES/foreman_webhooks.mo +0 -0
  36. data/locale/de/foreman_webhooks.po +244 -0
  37. data/locale/en/LC_MESSAGES/foreman_webhooks.mo +0 -0
  38. data/locale/en/foreman_webhooks.po +258 -0
  39. data/locale/en_GB/LC_MESSAGES/foreman_webhooks.mo +0 -0
  40. data/locale/en_GB/foreman_webhooks.po +239 -0
  41. data/locale/es/LC_MESSAGES/foreman_webhooks.mo +0 -0
  42. data/locale/es/foreman_webhooks.po +241 -0
  43. data/locale/fr/LC_MESSAGES/foreman_webhooks.mo +0 -0
  44. data/locale/fr/foreman_webhooks.po +241 -0
  45. data/locale/it/LC_MESSAGES/foreman_webhooks.mo +0 -0
  46. data/locale/it/foreman_webhooks.po +240 -0
  47. data/locale/ja/LC_MESSAGES/foreman_webhooks.mo +0 -0
  48. data/locale/ja/foreman_webhooks.po +240 -0
  49. data/locale/ka/LC_MESSAGES/foreman_webhooks.mo +0 -0
  50. data/locale/ka/foreman_webhooks.po +237 -0
  51. data/locale/ko/LC_MESSAGES/foreman_webhooks.mo +0 -0
  52. data/locale/ko/foreman_webhooks.po +238 -0
  53. data/locale/pl/LC_MESSAGES/foreman_webhooks.mo +0 -0
  54. data/locale/pl/foreman_webhooks.po +240 -0
  55. data/locale/pt_BR/LC_MESSAGES/foreman_webhooks.mo +0 -0
  56. data/locale/pt_BR/foreman_webhooks.po +241 -0
  57. data/locale/ru/LC_MESSAGES/foreman_webhooks.mo +0 -0
  58. data/locale/ru/foreman_webhooks.po +241 -0
  59. data/locale/zh_CN/LC_MESSAGES/foreman_webhooks.mo +0 -0
  60. data/locale/zh_CN/foreman_webhooks.po +240 -0
  61. data/locale/zh_TW/LC_MESSAGES/foreman_webhooks.mo +0 -0
  62. data/locale/zh_TW/foreman_webhooks.po +239 -0
  63. data/package.json +0 -3
  64. data/test/factories/webhook_template.rb +10 -0
  65. data/test/graphql/foreman_webhooks/queries/webhook_query_test.rb +59 -0
  66. data/test/graphql/foreman_webhooks/queries/webhook_template_query_test.rb +64 -0
  67. data/test/graphql/foreman_webhooks/queries/webhook_templates_query_test.rb +47 -0
  68. data/test/graphql/foreman_webhooks/queries/webhooks_query_test.rb +47 -0
  69. data/webpack/ForemanWebhooks/Routes/Webhooks/Components/WebhookForm/Components/WebhookFormTabs.js +19 -4
  70. data/webpack/ForemanWebhooks/Routes/Webhooks/Components/WebhookForm/WebhookFormSelectors.js +4 -5
  71. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhookTestModal.js +100 -0
  72. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/ActionButtons/ActionButton.js +40 -0
  73. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/actionCellFormatter.js +20 -0
  74. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/Formatters/index.js +1 -0
  75. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/WebhooksTable.js +7 -3
  76. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/WebhooksTableSchema.js +3 -4
  77. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/__tests__/WebhooksTable.test.js +2 -0
  78. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/__tests__/__snapshots__/WebhooksTable.test.js.snap +32 -0
  79. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/index.js +23 -2
  80. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/WebhooksIndexPage.js +3 -0
  81. data/webpack/ForemanWebhooks/Routes/Webhooks/constants.js +1 -0
  82. data/webpack/__mocks__/foremanReact/components/common/ActionButtons/ActionButtons.js +3 -0
  83. metadata +64 -4
  84. data/test/factories/webhook_target.rb +0 -9
@@ -0,0 +1,244 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_webhooks package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # 47388d0d0847859fcc07f8955b27d2a7_d1cb104 <93875580def0fcc1a566b016c3948752_122921>, 2023
8
+ # Hannes Schaller <admin@cyberkov.at>, 2023
9
+ # pdolinic, 2023
10
+ # Ettore Atalan <atalanttore@googlemail.com>, 2023
11
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2023
12
+ # Wiederoder <stefanwiederoder@googlemail.com>, 2023
13
+ # Lukáš Zapletal, 2023
14
+ # Markus Bucher <bucher@atix.de>, 2023
15
+ #
16
+ #, fuzzy
17
+ msgid ""
18
+ msgstr ""
19
+ "Project-Id-Version: foreman_webhooks 3.2.0\n"
20
+ "Report-Msgid-Bugs-To: \n"
21
+ "PO-Revision-Date: 2023-06-05 12:44+0000\n"
22
+ "Last-Translator: Markus Bucher <bucher@atix.de>, 2023\n"
23
+ "Language-Team: German (https://app.transifex.com/foreman/teams/114/de/)\n"
24
+ "MIME-Version: 1.0\n"
25
+ "Content-Type: text/plain; charset=UTF-8\n"
26
+ "Content-Transfer-Encoding: 8bit\n"
27
+ "Language: de\n"
28
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
29
+
30
+ msgid "Actions"
31
+ msgstr "Aktionen"
32
+
33
+ msgid "Additional"
34
+ msgstr "Weitere Schritte"
35
+
36
+ msgid "Authentication credentials"
37
+ msgstr ""
38
+
39
+ msgid "Authorize with Foreman client certificate and validate smart-proxy CA from Settings"
40
+ msgstr ""
41
+
42
+ msgid "Change the password"
43
+ msgstr ""
44
+
45
+ msgid "Clone a template"
46
+ msgstr ""
47
+
48
+ msgid "Confirm Webhook Deletion"
49
+ msgstr ""
50
+
51
+ msgid "Create Template"
52
+ msgstr ""
53
+
54
+ msgid "Create Webhook"
55
+ msgstr ""
56
+
57
+ msgid "Create a Webhook"
58
+ msgstr ""
59
+
60
+ msgid "Create a webhook template"
61
+ msgstr ""
62
+
63
+ msgid "Credentials"
64
+ msgstr ""
65
+
66
+ msgid "Delete"
67
+ msgstr "Löschen"
68
+
69
+ msgid "Delete a Webhook"
70
+ msgstr ""
71
+
72
+ msgid "Delete a webhook template"
73
+ msgstr ""
74
+
75
+ msgid "Deliver webhook"
76
+ msgstr ""
77
+
78
+ msgid "Deliver webhook %s"
79
+ msgstr ""
80
+
81
+ msgid "Edit"
82
+ msgstr "Bearbeiten"
83
+
84
+ msgid "Edit %s"
85
+ msgstr ""
86
+
87
+ msgid "Enabled"
88
+ msgstr "Aktiviert"
89
+
90
+ msgid "Error"
91
+ msgstr ""
92
+
93
+ msgid "Example: %s"
94
+ msgstr ""
95
+
96
+ msgid "Export a webhook template to ERB"
97
+ msgstr ""
98
+
99
+ msgid "General"
100
+ msgstr "Allgemein"
101
+
102
+ msgid "HTTP Content Type"
103
+ msgstr ""
104
+
105
+ msgid "HTTP Headers"
106
+ msgstr ""
107
+
108
+ msgid "HTTP Method"
109
+ msgstr ""
110
+
111
+ msgid "If unchecked, the webhook will be inactive"
112
+ msgstr ""
113
+
114
+ msgid "Import a webhook template"
115
+ msgstr ""
116
+
117
+ msgid "List Webhooks"
118
+ msgstr ""
119
+
120
+ msgid "List available events for subscription"
121
+ msgstr ""
122
+
123
+ msgid "List webhook templates"
124
+ msgstr ""
125
+
126
+ msgid "Name"
127
+ msgstr "Name"
128
+
129
+ msgid "No Results"
130
+ msgstr ""
131
+
132
+ msgid "Optional CAs in PEM format concatenated to verify the receiver's SSL certificate"
133
+ msgstr ""
134
+
135
+ msgid "Optional. Must be a JSON object (ERB allowed)"
136
+ msgstr ""
137
+
138
+ msgid "Password"
139
+ msgstr ""
140
+
141
+ msgid "Proxy Authorization"
142
+ msgstr ""
143
+
144
+ msgid "Show Webhook details"
145
+ msgstr ""
146
+
147
+ msgid "Show webhook template details"
148
+ msgstr ""
149
+
150
+ msgid "Snippet"
151
+ msgstr ""
152
+
153
+ msgid "Start typing to search"
154
+ msgstr ""
155
+
156
+ msgid "Subscribe to"
157
+ msgstr ""
158
+
159
+ msgid "Target URL"
160
+ msgstr ""
161
+
162
+ msgid "Target URL that should be called by Foreman (ERB allowed)."
163
+ msgstr ""
164
+
165
+ msgid "Template"
166
+ msgstr ""
167
+
168
+ msgid "Template contents including metadata"
169
+ msgstr ""
170
+
171
+ msgid "Template name"
172
+ msgstr ""
173
+
174
+ msgid "This template is locked for editing."
175
+ msgstr ""
176
+
177
+ msgid "Try to create a new webhook"
178
+ msgstr ""
179
+
180
+ msgid "Type"
181
+ msgstr "Typ"
182
+
183
+ msgid "URL must be valid and schema must be one of: %s"
184
+ msgstr ""
185
+
186
+ msgid "Uncheck this option to disable validation of the receiver's SSL certificate"
187
+ msgstr ""
188
+
189
+ msgid "Update a Webhook"
190
+ msgstr ""
191
+
192
+ msgid "Update a webhook template"
193
+ msgstr ""
194
+
195
+ msgid "User"
196
+ msgstr "Benutzer"
197
+
198
+ msgid "Verify SSL"
199
+ msgstr "SSL überprüfen"
200
+
201
+ msgid "Webhook"
202
+ msgstr ""
203
+
204
+ msgid "Webhook %s was successfully deleted"
205
+ msgstr ""
206
+
207
+ msgid "Webhook Templates"
208
+ msgstr ""
209
+
210
+ msgid "Webhook was successfully created."
211
+ msgstr ""
212
+
213
+ msgid "Webhook was successfully updated."
214
+ msgstr ""
215
+
216
+ msgid "WebhookTemplate|Locked"
217
+ msgstr ""
218
+
219
+ msgid "WebhookTemplate|Name"
220
+ msgstr ""
221
+
222
+ msgid "WebhookTemplate|Snippet"
223
+ msgstr ""
224
+
225
+ msgid "Webhooks"
226
+ msgstr ""
227
+
228
+ msgid "Whether or not the template is added automatically to new organizations and locations"
229
+ msgstr ""
230
+
231
+ msgid "Whether or not the template is locked for editing"
232
+ msgstr ""
233
+
234
+ msgid "X509 Certification Authorities"
235
+ msgstr "X509-Zertifizierungsstellen (CA)"
236
+
237
+ msgid "X509 Certification Authorities concatenated in PEM format"
238
+ msgstr ""
239
+
240
+ msgid "You are about to delete %s. Are you sure?"
241
+ msgstr ""
242
+
243
+ msgid "is required"
244
+ msgstr ""
@@ -0,0 +1,258 @@
1
+ # English translations for foreman_webhooks package.
2
+ # Copyright (C) 2023 THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_webhooks package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: foreman_webhooks 3.2.0\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "PO-Revision-Date: 2023-06-27 14:49+0000\n"
11
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
+ "Language-Team: English\n"
13
+ "Language: en\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=; plural=;\n"
18
+ "\n"
19
+
20
+ msgid "Actions"
21
+ msgstr ""
22
+
23
+ msgid "Additional"
24
+ msgstr ""
25
+
26
+ msgid "Authentication credentials"
27
+ msgstr ""
28
+
29
+ msgid "Authorize with Foreman client certificate and validate smart-proxy CA from Settings"
30
+ msgstr ""
31
+
32
+ msgid "Change the password"
33
+ msgstr ""
34
+
35
+ msgid "Clone a template"
36
+ msgstr ""
37
+
38
+ msgid "Confirm Webhook Deletion"
39
+ msgstr ""
40
+
41
+ msgid "Create Template"
42
+ msgstr ""
43
+
44
+ msgid "Create Webhook"
45
+ msgstr ""
46
+
47
+ msgid "Create a Webhook"
48
+ msgstr ""
49
+
50
+ msgid "Create a webhook template"
51
+ msgstr ""
52
+
53
+ msgid "Credentials"
54
+ msgstr ""
55
+
56
+ msgid "Delete"
57
+ msgstr ""
58
+
59
+ msgid "Delete a Webhook"
60
+ msgstr ""
61
+
62
+ msgid "Delete a webhook template"
63
+ msgstr ""
64
+
65
+ msgid "Deliver webhook"
66
+ msgstr ""
67
+
68
+ msgid "Deliver webhook %s"
69
+ msgstr ""
70
+
71
+ msgid "Edit"
72
+ msgstr ""
73
+
74
+ msgid "Edit %s"
75
+ msgstr ""
76
+
77
+ msgid "Enabled"
78
+ msgstr ""
79
+
80
+ msgid "Error"
81
+ msgstr ""
82
+
83
+ msgid "Example: %s"
84
+ msgstr ""
85
+
86
+ msgid "Export a webhook template to ERB"
87
+ msgstr ""
88
+
89
+ msgid "General"
90
+ msgstr ""
91
+
92
+ msgid "HTTP Content Type"
93
+ msgstr ""
94
+
95
+ msgid "HTTP Headers"
96
+ msgstr ""
97
+
98
+ msgid "HTTP Method"
99
+ msgstr ""
100
+
101
+ msgid "If unchecked, the webhook will be inactive"
102
+ msgstr ""
103
+
104
+ msgid "Import a webhook template"
105
+ msgstr ""
106
+
107
+ msgid "List Webhooks"
108
+ msgstr ""
109
+
110
+ msgid "List available events for subscription"
111
+ msgstr ""
112
+
113
+ msgid "List webhook templates"
114
+ msgstr ""
115
+
116
+ msgid "Name"
117
+ msgstr ""
118
+
119
+ msgid "No Results"
120
+ msgstr ""
121
+
122
+ msgid "Optional CAs in PEM format concatenated to verify the receiver's SSL certificate"
123
+ msgstr ""
124
+
125
+ msgid "Optional. Must be a JSON object (ERB allowed)"
126
+ msgstr ""
127
+
128
+ msgid "Password"
129
+ msgstr ""
130
+
131
+ msgid "Payload"
132
+ msgstr ""
133
+
134
+ msgid "Proxy Authorization"
135
+ msgstr ""
136
+
137
+ msgid "Show Webhook details"
138
+ msgstr ""
139
+
140
+ msgid "Show webhook template details"
141
+ msgstr ""
142
+
143
+ msgid "Snippet"
144
+ msgstr ""
145
+
146
+ msgid "Start typing to search"
147
+ msgstr ""
148
+
149
+ msgid "Subscribe to"
150
+ msgstr ""
151
+
152
+ msgid "Target URL"
153
+ msgstr ""
154
+
155
+ msgid "Target URL that should be called by Foreman (ERB allowed)."
156
+ msgstr ""
157
+
158
+ msgid "Template"
159
+ msgstr ""
160
+
161
+ msgid "Template contents including metadata"
162
+ msgstr ""
163
+
164
+ msgid "Template name"
165
+ msgstr ""
166
+
167
+ msgid "Test"
168
+ msgstr ""
169
+
170
+ msgid "Test a Webhook"
171
+ msgstr ""
172
+
173
+ msgid "Test payload will be sent as is. Cant be a JSON object"
174
+ msgstr ""
175
+
176
+ msgid "Test webhook"
177
+ msgstr ""
178
+
179
+ msgid "This template is locked for editing."
180
+ msgstr ""
181
+
182
+ msgid "Try to create a new webhook"
183
+ msgstr ""
184
+
185
+ msgid "Type"
186
+ msgstr ""
187
+
188
+ msgid "URL must be valid and schema must be one of: %s"
189
+ msgstr ""
190
+
191
+ msgid "Uncheck this option to disable validation of the receiver's SSL certificate"
192
+ msgstr ""
193
+
194
+ msgid "Update a Webhook"
195
+ msgstr ""
196
+
197
+ msgid "Update a webhook template"
198
+ msgstr ""
199
+
200
+ msgid "User"
201
+ msgstr ""
202
+
203
+ msgid "Verify SSL"
204
+ msgstr ""
205
+
206
+ msgid "Webhook"
207
+ msgstr ""
208
+
209
+ msgid "Webhook %s test was successful"
210
+ msgstr ""
211
+
212
+ msgid "Webhook %s was successfully deleted"
213
+ msgstr ""
214
+
215
+ msgid "Webhook Templates"
216
+ msgstr ""
217
+
218
+ msgid "Webhook test failed: %s"
219
+ msgstr ""
220
+
221
+ msgid "Webhook was successfully created."
222
+ msgstr ""
223
+
224
+ msgid "Webhook was successfully updated."
225
+ msgstr ""
226
+
227
+ msgid "WebhookTemplate|Locked"
228
+ msgstr ""
229
+
230
+ msgid "WebhookTemplate|Name"
231
+ msgstr ""
232
+
233
+ msgid "WebhookTemplate|Snippet"
234
+ msgstr ""
235
+
236
+ msgid "Webhooks"
237
+ msgstr ""
238
+
239
+ msgid "Whether or not the template is added automatically to new organizations and locations"
240
+ msgstr ""
241
+
242
+ msgid "Whether or not the template is locked for editing"
243
+ msgstr ""
244
+
245
+ msgid "Will be sent as is"
246
+ msgstr ""
247
+
248
+ msgid "X509 Certification Authorities"
249
+ msgstr ""
250
+
251
+ msgid "X509 Certification Authorities concatenated in PEM format"
252
+ msgstr ""
253
+
254
+ msgid "You are about to delete %s. Are you sure?"
255
+ msgstr ""
256
+
257
+ msgid "is required"
258
+ msgstr ""