foreman_webhooks 4.0.1 → 4.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_webhooks/locale/ca/foreman_webhooks.js +1 -1
  3. data/app/assets/javascripts/foreman_webhooks/locale/cs_CZ/foreman_webhooks.js +1 -1
  4. data/app/assets/javascripts/foreman_webhooks/locale/de/foreman_webhooks.js +1 -1
  5. data/app/assets/javascripts/foreman_webhooks/locale/en/foreman_webhooks.js +6 -6
  6. data/app/assets/javascripts/foreman_webhooks/locale/en_GB/foreman_webhooks.js +11 -11
  7. data/app/assets/javascripts/foreman_webhooks/locale/es/foreman_webhooks.js +1 -1
  8. data/app/assets/javascripts/foreman_webhooks/locale/fr/foreman_webhooks.js +74 -74
  9. data/app/assets/javascripts/foreman_webhooks/locale/it/foreman_webhooks.js +1 -1
  10. data/app/assets/javascripts/foreman_webhooks/locale/ja/foreman_webhooks.js +75 -75
  11. data/app/assets/javascripts/foreman_webhooks/locale/ka/foreman_webhooks.js +9 -9
  12. data/app/assets/javascripts/foreman_webhooks/locale/ko/foreman_webhooks.js +80 -80
  13. data/app/assets/javascripts/foreman_webhooks/locale/pl/foreman_webhooks.js +1 -1
  14. data/app/assets/javascripts/foreman_webhooks/locale/pt_BR/foreman_webhooks.js +1 -1
  15. data/app/assets/javascripts/foreman_webhooks/locale/ru/foreman_webhooks.js +1 -1
  16. data/app/assets/javascripts/foreman_webhooks/locale/zh_CN/foreman_webhooks.js +78 -78
  17. data/app/assets/javascripts/foreman_webhooks/locale/zh_TW/foreman_webhooks.js +1 -1
  18. data/lib/foreman_webhooks/version.rb +1 -1
  19. data/locale/ca/LC_MESSAGES/foreman_webhooks.mo +0 -0
  20. data/locale/ca/foreman_webhooks.po +1 -1
  21. data/locale/cs_CZ/LC_MESSAGES/foreman_webhooks.mo +0 -0
  22. data/locale/cs_CZ/foreman_webhooks.po +1 -1
  23. data/locale/de/LC_MESSAGES/foreman_webhooks.mo +0 -0
  24. data/locale/de/foreman_webhooks.po +1 -1
  25. data/locale/en/LC_MESSAGES/foreman_webhooks.mo +0 -0
  26. data/locale/en/foreman_webhooks.po +9 -9
  27. data/locale/en_GB/LC_MESSAGES/foreman_webhooks.mo +0 -0
  28. data/locale/en_GB/foreman_webhooks.po +12 -12
  29. data/locale/es/LC_MESSAGES/foreman_webhooks.mo +0 -0
  30. data/locale/es/foreman_webhooks.po +1 -1
  31. data/locale/fr/LC_MESSAGES/foreman_webhooks.mo +0 -0
  32. data/locale/fr/foreman_webhooks.po +77 -74
  33. data/locale/it/LC_MESSAGES/foreman_webhooks.mo +0 -0
  34. data/locale/it/foreman_webhooks.po +2 -2
  35. data/locale/ja/LC_MESSAGES/foreman_webhooks.mo +0 -0
  36. data/locale/ja/foreman_webhooks.po +77 -75
  37. data/locale/ka/LC_MESSAGES/foreman_webhooks.mo +0 -0
  38. data/locale/ka/foreman_webhooks.po +9 -9
  39. data/locale/ko/LC_MESSAGES/foreman_webhooks.mo +0 -0
  40. data/locale/ko/foreman_webhooks.po +82 -81
  41. data/locale/pl/LC_MESSAGES/foreman_webhooks.mo +0 -0
  42. data/locale/pl/foreman_webhooks.po +1 -1
  43. data/locale/pt_BR/LC_MESSAGES/foreman_webhooks.mo +0 -0
  44. data/locale/pt_BR/foreman_webhooks.po +1 -1
  45. data/locale/ru/LC_MESSAGES/foreman_webhooks.mo +0 -0
  46. data/locale/ru/foreman_webhooks.po +1 -1
  47. data/locale/zh_CN/LC_MESSAGES/foreman_webhooks.mo +0 -0
  48. data/locale/zh_CN/foreman_webhooks.po +80 -78
  49. data/locale/zh_TW/LC_MESSAGES/foreman_webhooks.mo +0 -0
  50. data/locale/zh_TW/foreman_webhooks.po +1 -1
  51. data/webpack/ForemanWebhooks/Routes/Webhooks/Components/WebhookForm/Components/WebhookFormTabs.js +9 -1
  52. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/NameToEditCell.js +8 -1
  53. data/webpack/ForemanWebhooks/Routes/Webhooks/WebhooksIndexPage/Components/WebhooksTable/Components/__tests__/__snapshots__/EnabledCell.test.js.snap +2 -14
  54. metadata +3 -6
@@ -7,13 +7,15 @@
7
7
  # Bryan Kearney <bryan.kearney@gmail.com>, 2023
8
8
  # Amit Upadhye <aupadhye@redhat.com>, 2023
9
9
  # tim123, 2023
10
+ # Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2024
11
+ # Ondřej Gajdušek, 2025
10
12
  #
11
13
  msgid ""
12
14
  msgstr ""
13
- "Project-Id-Version: foreman_webhooks 3.2.0\n"
15
+ "Project-Id-Version: foreman_webhooks 4.0.1\n"
14
16
  "Report-Msgid-Bugs-To: \n"
15
17
  "PO-Revision-Date: 2023-06-05 12:44+0000\n"
16
- "Last-Translator: tim123, 2023\n"
18
+ "Last-Translator: Ondřej Gajdušek, 2025\n"
17
19
  "Language-Team: Chinese (China) (https://app.transifex.com/foreman/teams/114/zh"
18
20
  "_CN/)\n"
19
21
  "MIME-Version: 1.0\n"
@@ -29,31 +31,31 @@ msgid "Additional"
29
31
  msgstr "额外"
30
32
 
31
33
  msgid "Authentication credentials"
32
- msgstr ""
34
+ msgstr "身份验证凭证"
33
35
 
34
36
  msgid "Authorize with Foreman client certificate and validate smart-proxy CA from Settings"
35
- msgstr ""
37
+ msgstr "使用 Foreman 客户端证书授权并从设置验证智能代理 CA"
36
38
 
37
39
  msgid "Change the password"
38
- msgstr ""
40
+ msgstr "修改密码"
39
41
 
40
42
  msgid "Clone a template"
41
- msgstr ""
43
+ msgstr "克隆模板"
42
44
 
43
45
  msgid "Confirm Webhook Deletion"
44
- msgstr ""
46
+ msgstr "确认 Webhook 删除"
45
47
 
46
48
  msgid "Create Template"
47
- msgstr ""
49
+ msgstr "创建模板"
48
50
 
49
51
  msgid "Create Webhook"
50
- msgstr ""
52
+ msgstr "创建 Webhook"
51
53
 
52
54
  msgid "Create a Webhook"
53
- msgstr ""
55
+ msgstr "创建 Webhook"
54
56
 
55
57
  msgid "Create a webhook template"
56
- msgstr ""
58
+ msgstr "创建 webhook 模板"
57
59
 
58
60
  msgid "Credentials"
59
61
  msgstr "凭证"
@@ -62,151 +64,151 @@ msgid "Delete"
62
64
  msgstr "刪除"
63
65
 
64
66
  msgid "Delete a Webhook"
65
- msgstr ""
67
+ msgstr "删除 Webhook"
66
68
 
67
69
  msgid "Delete a webhook template"
68
- msgstr ""
70
+ msgstr "删除 webhook 模板"
69
71
 
70
72
  msgid "Deliver webhook"
71
- msgstr ""
73
+ msgstr "提供 webhook"
72
74
 
73
75
  msgid "Deliver webhook %s"
74
- msgstr ""
76
+ msgstr "提供 webhook %s"
75
77
 
76
78
  msgid "Edit"
77
79
  msgstr "编辑"
78
80
 
79
81
  msgid "Edit %s"
80
- msgstr ""
82
+ msgstr "编辑 %s"
81
83
 
82
84
  msgid "Enabled"
83
85
  msgstr "启用"
84
86
 
85
87
  msgid "Error"
86
- msgstr ""
88
+ msgstr "错误"
87
89
 
88
90
  msgid "Example: %s"
89
- msgstr ""
91
+ msgstr "示例: %s"
90
92
 
91
93
  msgid "Export a webhook template to ERB"
92
- msgstr ""
94
+ msgstr "向 ERB 导出 webhook 模板"
93
95
 
94
96
  msgid "General"
95
- msgstr ""
97
+ msgstr "常规"
96
98
 
97
99
  msgid "HTTP Content Type"
98
- msgstr ""
100
+ msgstr "HTTP 內容类型"
99
101
 
100
102
  msgid "HTTP Headers"
101
- msgstr ""
103
+ msgstr "HTTP 标头"
102
104
 
103
105
  msgid "HTTP Method"
104
- msgstr ""
106
+ msgstr "HTTP 方法"
105
107
 
106
108
  msgid "If unchecked, the webhook will be inactive"
107
- msgstr ""
109
+ msgstr "如果没有选择,webhook 将为不活跃状态"
108
110
 
109
111
  msgid "Import a webhook template"
110
- msgstr ""
112
+ msgstr "导入 webhook 模板"
111
113
 
112
114
  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 ""
115
+ msgstr "如果您使用动态 URL (ERB 模板),因为缺少真实的对象,这不会被正确显示。"
114
116
 
115
117
  msgid "List Webhooks"
116
- msgstr ""
118
+ msgstr "列出 Webhook"
117
119
 
118
120
  msgid "List available events for subscription"
119
- msgstr ""
121
+ msgstr "列出订阅的可用事件"
120
122
 
121
123
  msgid "List webhook templates"
122
- msgstr ""
124
+ msgstr "列出 webhook 模板"
123
125
 
124
126
  msgid "Name"
125
- msgstr ""
127
+ msgstr "名称"
126
128
 
127
129
  msgid "No Results"
128
- msgstr ""
130
+ msgstr "没有结果"
129
131
 
130
132
  msgid "Optional CAs in PEM format concatenated to verify the receiver's SSL certificate"
131
- msgstr ""
133
+ msgstr "PEM 格式的可选 CA 连接起来验证接收器的 SSL 证书"
132
134
 
133
135
  msgid "Optional. Must be a JSON object (ERB allowed)"
134
- msgstr ""
136
+ msgstr "可选。必须是 JSON 对象(ERB 允许)"
135
137
 
136
138
  msgid "Password"
137
- msgstr ""
139
+ msgstr "密码"
138
140
 
139
141
  msgid "Payload"
140
- msgstr ""
142
+ msgstr "有效负载"
141
143
 
142
144
  msgid "Please, note that this will not contain actual information or render the attached template."
143
- msgstr ""
145
+ msgstr "请注意,这不包含实际信息或呈现附加的模板。"
144
146
 
145
147
  msgid "Proxy Authorization"
146
- msgstr ""
148
+ msgstr "代理授权"
147
149
 
148
150
  msgid "Show Webhook details"
149
- msgstr ""
151
+ msgstr "显示 Webhook 详情"
150
152
 
151
153
  msgid "Show webhook template details"
152
- msgstr ""
154
+ msgstr "显示 webhook 模板详情"
153
155
 
154
156
  msgid "Snippet"
155
- msgstr ""
157
+ msgstr "程序代码片段"
156
158
 
157
159
  msgid "Start typing to search"
158
- msgstr ""
160
+ msgstr "开始输入来进行搜素"
159
161
 
160
162
  msgid "Subscribe to"
161
- msgstr ""
163
+ msgstr "订阅到"
162
164
 
163
165
  msgid "Target URL"
164
- msgstr ""
166
+ msgstr "目标 URL"
165
167
 
166
168
  msgid "Target URL that should be called by Foreman (ERB allowed)."
167
- msgstr ""
169
+ msgstr "Foreman 应该调用的目标 URL (ERB 允许)。"
168
170
 
169
171
  msgid "Template"
170
- msgstr ""
172
+ msgstr "模板"
171
173
 
172
174
  msgid "Template contents including metadata"
173
- msgstr ""
175
+ msgstr "模板内容包括元数据"
174
176
 
175
177
  msgid "Template name"
176
- msgstr ""
178
+ msgstr "模板名称"
177
179
 
178
180
  msgid "Test"
179
- msgstr ""
181
+ msgstr "测试"
180
182
 
181
183
  msgid "Test a Webhook"
182
- msgstr ""
184
+ msgstr "测试 Webhook"
183
185
 
184
186
  msgid "Test payload will be sent as is. Cant be a JSON object"
185
- msgstr ""
187
+ msgstr "测试有效负载将按原样发送。不能是一个 JSON 对象"
186
188
 
187
189
  msgid "Test webhook"
188
- msgstr ""
190
+ msgstr "测试 webhook"
189
191
 
190
192
  msgid "This template is locked for editing."
191
- msgstr ""
193
+ msgstr "该模板被锁定进行编辑。"
192
194
 
193
195
  msgid "Try to create a new webhook"
194
- msgstr ""
196
+ msgstr "尝试创建新的 webhook"
195
197
 
196
198
  msgid "Type"
197
- msgstr ""
199
+ msgstr "类型"
198
200
 
199
201
  msgid "URL must be valid and schema must be one of: %s"
200
- msgstr ""
202
+ msgstr "URL 必须有效且需要是 %s 之一"
201
203
 
202
204
  msgid "Uncheck this option to disable validation of the receiver's SSL certificate"
203
- msgstr ""
205
+ msgstr "取消这个选项来禁用接收方的 SSL 正式的验证"
204
206
 
205
207
  msgid "Update a Webhook"
206
- msgstr ""
208
+ msgstr "更新 Webhook"
207
209
 
208
210
  msgid "Update a webhook template"
209
- msgstr ""
211
+ msgstr "更新 webhook 模板"
210
212
 
211
213
  msgid "User"
212
214
  msgstr "用户"
@@ -215,64 +217,64 @@ msgid "Verify SSL"
215
217
  msgstr "验证 SSL"
216
218
 
217
219
  msgid "Webhook"
218
- msgstr ""
220
+ msgstr "Webhook"
219
221
 
220
222
  msgid "Webhook %s test was successful"
221
- msgstr ""
223
+ msgstr "Webhook %s 测试成功"
222
224
 
223
225
  msgid "Webhook %s was successfully deleted"
224
- msgstr ""
226
+ msgstr "Webhook %s 被成功删除"
225
227
 
226
228
  msgid "Webhook Templates"
227
- msgstr ""
229
+ msgstr "Webhook 模板"
228
230
 
229
231
  msgid "Webhook template not found while firing webhook '%s'. Possible organization/location mismatch in the webhook template?"
230
- msgstr ""
232
+ msgstr "在触发 Webhook '%s' 时未找到 Webhook 模板。可能 webhook 模板中的机构/位置不匹配?"
231
233
 
232
234
  msgid "Webhook test failed: %s"
233
- msgstr ""
235
+ msgstr "Webhook 测试失败: %s"
234
236
 
235
237
  msgid "Webhook was successfully created."
236
- msgstr ""
238
+ msgstr "Webhook 被成功创建。"
237
239
 
238
240
  msgid "Webhook was successfully updated."
239
- msgstr ""
241
+ msgstr "Webhook 被成功更新。"
240
242
 
241
243
  msgid "WebhookTemplate|Locked"
242
- msgstr ""
244
+ msgstr "Webhook 模板|锁定"
243
245
 
244
246
  msgid "WebhookTemplate|Name"
245
- msgstr ""
247
+ msgstr "Webhook 模板|名称"
246
248
 
247
249
  msgid "WebhookTemplate|Snippet"
248
- msgstr ""
250
+ msgstr "Webhook 模板|代码片段"
249
251
 
250
252
  msgid "Webhooks"
251
- msgstr ""
253
+ msgstr "Webhook"
252
254
 
253
255
  msgid "Whether or not the template is added automatically to new organizations and locations"
254
- msgstr ""
256
+ msgstr "模板是否会自动添加到新的机构和位置"
255
257
 
256
258
  msgid "Whether or not the template is locked for editing"
257
- msgstr ""
259
+ msgstr "此模板是否被锁定用于编辑"
258
260
 
259
261
  msgid "Will be sent as is"
260
- msgstr ""
262
+ msgstr "将按原样发送"
261
263
 
262
264
  msgid "X509 Certification Authorities"
263
- msgstr ""
265
+ msgstr "X509 认证颁发机构"
264
266
 
265
267
  msgid "X509 Certification Authorities concatenated in PEM format"
266
- msgstr ""
268
+ msgstr "以 PEM 格式串联的 X509 认证颁发机构"
267
269
 
268
270
  msgid "You are about to delete %s. Are you sure?"
269
- msgstr ""
271
+ msgstr "您将要删除 %s。您确定吗?"
270
272
 
271
273
  msgid "You are about to test %s webhook."
272
- msgstr ""
274
+ msgstr "您要测试 %s webhook。"
273
275
 
274
276
  msgid "You can specify below a custom payload to test the webhook with."
275
- msgstr ""
277
+ msgstr "您可以指定以下一个自定义有效负载来测试 Webhook。"
276
278
 
277
279
  msgid "is required"
278
280
  msgstr "是必需的"
@@ -9,7 +9,7 @@
9
9
  #
10
10
  msgid ""
11
11
  msgstr ""
12
- "Project-Id-Version: foreman_webhooks 3.2.0\n"
12
+ "Project-Id-Version: foreman_webhooks 4.0.1\n"
13
13
  "Report-Msgid-Bugs-To: \n"
14
14
  "PO-Revision-Date: 2023-06-05 12:44+0000\n"
15
15
  "Last-Translator: 0868a4d1af5275b3f70b0a6dac4c99a4, 2023\n"
@@ -21,8 +21,14 @@ const WebhookFormTabs = ({
21
21
  isPasswordDisabled,
22
22
  setIsPasswordDisabled,
23
23
  }) => (
24
- <Tabs activeKey={activeTab} onSelect={handleTabClick} isFilled>
24
+ <Tabs
25
+ ouiaId="webhook-form-tabs"
26
+ activeKey={activeTab}
27
+ onSelect={handleTabClick}
28
+ isFilled
29
+ >
25
30
  <Tab
31
+ ouiaId="webhook-form-tab-general"
26
32
  className="webhook-form-tab"
27
33
  eventKey={0}
28
34
  title={<TabTitleText>{__('General')}</TabTitleText>}
@@ -90,6 +96,7 @@ const WebhookFormTabs = ({
90
96
  </div>
91
97
  </Tab>
92
98
  <Tab
99
+ ouiaId="webhook-form-tab-creds"
93
100
  className="webhook-form-tab"
94
101
  eventKey={1}
95
102
  title={<TabTitleText>{__('Credentials')}</TabTitleText>}
@@ -138,6 +145,7 @@ const WebhookFormTabs = ({
138
145
  </div>
139
146
  </Tab>
140
147
  <Tab
148
+ ouiaId="webhook-form-tab-add"
141
149
  className="webhook-form-tab"
142
150
  eventKey={2}
143
151
  title={<TabTitleText>{__('Additional')}</TabTitleText>}
@@ -5,6 +5,7 @@ import { Button } from '@patternfly/react-core';
5
5
  const NameToEditCell = ({ active, id, name, controller, onClick, children }) =>
6
6
  active ? (
7
7
  <Button
8
+ ouiaId="name-edit-active-button"
8
9
  variant="link"
9
10
  isInline
10
11
  component="span"
@@ -13,7 +14,13 @@ const NameToEditCell = ({ active, id, name, controller, onClick, children }) =>
13
14
  {children}
14
15
  </Button>
15
16
  ) : (
16
- <Button variant="link" isInline isDisabled component="span">
17
+ <Button
18
+ ouiaId="name-edit-disabled-button"
19
+ variant="link"
20
+ isInline
21
+ isDisabled
22
+ component="span"
23
+ >
17
24
  {children}
18
25
  </Button>
19
26
  );
@@ -1,17 +1,5 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`EnabledCell should render blank cell 1`] = `
4
- <BanIcon
5
- color="currentColor"
6
- noVerticalAlign={false}
7
- size="sm"
8
- />
9
- `;
3
+ exports[`EnabledCell should render blank cell 1`] = `<BanIcon />`;
10
4
 
11
- exports[`EnabledCell should render marked cell 1`] = `
12
- <CheckIcon
13
- color="currentColor"
14
- noVerticalAlign={false}
15
- size="sm"
16
- />
17
- `;
5
+ exports[`EnabledCell should render marked cell 1`] = `<CheckIcon />`;
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_webhooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.1
4
+ version: 4.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timo Goebel
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-02-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -259,7 +258,6 @@ licenses:
259
258
  - GPL-3.0
260
259
  metadata:
261
260
  is_foreman_plugin: 'true'
262
- post_install_message:
263
261
  rdoc_options: []
264
262
  require_paths:
265
263
  - lib
@@ -274,8 +272,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
272
  - !ruby/object:Gem::Version
275
273
  version: '0'
276
274
  requirements: []
277
- rubygems_version: 3.2.33
278
- signing_key:
275
+ rubygems_version: 3.6.9
279
276
  specification_version: 4
280
277
  summary: Configure webhooks for Foreman.
281
278
  test_files: