iobroker.gotify-ws 0.1.11 → 0.1.13
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.
- package/README.md +57 -33
- package/admin/jsonConfig.json5 +356 -0
- package/io-package.json +30 -29
- package/package.json +12 -12
- package/admin/jsonConfig.json +0 -356
package/README.md
CHANGED
|
@@ -39,14 +39,14 @@ Gotify-WS receives messages and forwards them to a notification service supporte
|
|
|
39
39
|
|
|
40
40
|
Spotify-WS currently supports the following notification services
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
- e-mail
|
|
43
|
+
- Matrix
|
|
44
|
+
- Notification-Manager
|
|
45
|
+
- Pushover
|
|
46
|
+
- Discord
|
|
47
|
+
- Signal
|
|
48
|
+
- Telegram
|
|
49
|
+
- Whatsapp
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
@@ -65,57 +65,81 @@ You can then configure a notification service of your choice for forwarding.
|
|
|
65
65
|
---
|
|
66
66
|
|
|
67
67
|
## Changelog
|
|
68
|
+
|
|
68
69
|
<!-- ### **WORK IN PROGRESS** -->
|
|
70
|
+
### 0.1.13 (2025-04-16)
|
|
71
|
+
|
|
72
|
+
- (simatec) Dependencies updated
|
|
73
|
+
- (simatec) migrated to json5
|
|
74
|
+
|
|
75
|
+
### 0.1.12 (2025-02-22)
|
|
76
|
+
|
|
77
|
+
- (simatec) Dependencies updated
|
|
78
|
+
- (simatec) small fix
|
|
79
|
+
|
|
69
80
|
### 0.1.11 (2025-01-09)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
81
|
+
|
|
82
|
+
- (simatec) eslint-config fix
|
|
83
|
+
- (simatec) Code fix
|
|
84
|
+
- (simatec) Dependencies updated
|
|
85
|
+
- (simatec) Update License
|
|
74
86
|
|
|
75
87
|
### 0.1.10 (2024-11-24)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
88
|
+
|
|
89
|
+
- (simatec) Dependencies updated
|
|
90
|
+
- (simatec) Responsive Design fix
|
|
91
|
+
- (simatec) Issue Action added
|
|
92
|
+
- (simatec) eslint-config added
|
|
80
93
|
|
|
81
94
|
### 0.1.9 (2024-09-26)
|
|
82
|
-
|
|
95
|
+
|
|
96
|
+
- (simatec) Fix for admin 7.1.5
|
|
83
97
|
|
|
84
98
|
### 0.1.8 (2024-09-24)
|
|
85
|
-
|
|
86
|
-
|
|
99
|
+
|
|
100
|
+
- (simatec) Responsive Design fix
|
|
101
|
+
- (simatec) Cleaned code
|
|
87
102
|
|
|
88
103
|
### 0.1.7 (2024-09-16)
|
|
89
|
-
|
|
90
|
-
|
|
104
|
+
|
|
105
|
+
- (simatec) Dependencies updated
|
|
106
|
+
- (simatec) Responsive Design fix
|
|
91
107
|
|
|
92
108
|
### 0.1.6 (2024-09-10)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
109
|
+
|
|
110
|
+
- (simatec) Fix Adapter Check
|
|
111
|
+
- (simatec) Dependencies updated
|
|
112
|
+
- (simatec) Responsive Design added
|
|
96
113
|
|
|
97
114
|
### 0.1.5 (2024-07-22)
|
|
98
|
-
|
|
115
|
+
|
|
116
|
+
- (simatec) small fix
|
|
99
117
|
|
|
100
118
|
### 0.1.4 (2024-07-19)
|
|
101
|
-
|
|
119
|
+
|
|
120
|
+
- (simatec) Dependencies updated
|
|
102
121
|
|
|
103
122
|
### 0.1.3 (2024-07-17)
|
|
104
|
-
|
|
105
|
-
|
|
123
|
+
|
|
124
|
+
- (simatec) Fix Test & Release
|
|
125
|
+
- (simatec) Fix Timeout
|
|
106
126
|
|
|
107
127
|
### 0.1.2 (2024-06-26)
|
|
108
|
-
|
|
109
|
-
|
|
128
|
+
|
|
129
|
+
- (simatec) Fix io-package
|
|
130
|
+
- (simatec) Notification-Manager added
|
|
110
131
|
|
|
111
132
|
### 0.1.1 (2024-06-19)
|
|
112
|
-
|
|
133
|
+
|
|
134
|
+
- (simatec) Fix Branch
|
|
113
135
|
|
|
114
136
|
### 0.1.0 (2024-06-19)
|
|
115
|
-
|
|
137
|
+
|
|
138
|
+
- (simatec) First Release
|
|
116
139
|
|
|
117
140
|
### 0.0.1 (2024-03-15)
|
|
118
|
-
|
|
141
|
+
|
|
142
|
+
- (simatec) initial release
|
|
119
143
|
|
|
120
144
|
---
|
|
121
145
|
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
{
|
|
2
|
+
i18n: true,
|
|
3
|
+
type: 'panel',
|
|
4
|
+
items: {
|
|
5
|
+
gotifyDesc: {
|
|
6
|
+
type: 'staticText',
|
|
7
|
+
text: 'Gotify web socket for connection to various notification systems',
|
|
8
|
+
newLine: true,
|
|
9
|
+
style: {
|
|
10
|
+
fontSize: 20,
|
|
11
|
+
},
|
|
12
|
+
xs: 12,
|
|
13
|
+
sm: 10,
|
|
14
|
+
md: 10,
|
|
15
|
+
lg: 10,
|
|
16
|
+
xl: 10,
|
|
17
|
+
},
|
|
18
|
+
gotifySettings: {
|
|
19
|
+
newLine: true,
|
|
20
|
+
type: 'header',
|
|
21
|
+
text: 'Gotify Settings',
|
|
22
|
+
size: 2,
|
|
23
|
+
xs: 12,
|
|
24
|
+
sm: 12,
|
|
25
|
+
md: 12,
|
|
26
|
+
lg: 12,
|
|
27
|
+
xl: 12,
|
|
28
|
+
},
|
|
29
|
+
ip: {
|
|
30
|
+
type: 'text',
|
|
31
|
+
label: 'Gotify IP or Domain',
|
|
32
|
+
xs: 12,
|
|
33
|
+
sm: 12,
|
|
34
|
+
md: 8,
|
|
35
|
+
lg: 4,
|
|
36
|
+
xl: 4,
|
|
37
|
+
help: 'Gotify IP or Domain',
|
|
38
|
+
validator: 'data.ip',
|
|
39
|
+
validatorNoSaveOnError: true,
|
|
40
|
+
placeholder: '10.250.1.10',
|
|
41
|
+
newLine: true,
|
|
42
|
+
},
|
|
43
|
+
port: {
|
|
44
|
+
xs: 12,
|
|
45
|
+
sm: 12,
|
|
46
|
+
md: 8,
|
|
47
|
+
lg: 4,
|
|
48
|
+
xl: 4,
|
|
49
|
+
min: 1,
|
|
50
|
+
max: 65535,
|
|
51
|
+
help: 'Gotify Port',
|
|
52
|
+
type: 'number',
|
|
53
|
+
validator: 'data.port',
|
|
54
|
+
validatorNoSaveOnError: true,
|
|
55
|
+
placeholder: '8080',
|
|
56
|
+
label: 'Gotify Port',
|
|
57
|
+
},
|
|
58
|
+
token: {
|
|
59
|
+
type: 'password',
|
|
60
|
+
visible: true,
|
|
61
|
+
label: 'Gotify Token',
|
|
62
|
+
xs: 12,
|
|
63
|
+
sm: 12,
|
|
64
|
+
md: 8,
|
|
65
|
+
lg: 4,
|
|
66
|
+
xl: 4,
|
|
67
|
+
validator: 'data.token',
|
|
68
|
+
validatorNoSaveOnError: true,
|
|
69
|
+
help: 'Gotify Token',
|
|
70
|
+
},
|
|
71
|
+
notificationSettings: {
|
|
72
|
+
newLine: true,
|
|
73
|
+
type: 'header',
|
|
74
|
+
text: 'Notification Settings',
|
|
75
|
+
size: 2,
|
|
76
|
+
xs: 12,
|
|
77
|
+
sm: 12,
|
|
78
|
+
md: 12,
|
|
79
|
+
lg: 12,
|
|
80
|
+
xl: 12,
|
|
81
|
+
},
|
|
82
|
+
notificationType: {
|
|
83
|
+
type: 'select',
|
|
84
|
+
label: 'Notification type',
|
|
85
|
+
xs: 12,
|
|
86
|
+
sm: 12,
|
|
87
|
+
md: 8,
|
|
88
|
+
lg: 4,
|
|
89
|
+
xl: 4,
|
|
90
|
+
help: 'Notification type',
|
|
91
|
+
options: [
|
|
92
|
+
{
|
|
93
|
+
label: 'E-Mail',
|
|
94
|
+
value: 'email',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
label: 'Matrix',
|
|
98
|
+
value: 'matrix-org',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
label: 'Notification-Manager',
|
|
102
|
+
value: 'notification-manager',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
label: 'Pushover',
|
|
106
|
+
value: 'pushover',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
label: 'Discord',
|
|
110
|
+
value: 'discord',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
label: 'Signal',
|
|
114
|
+
value: 'signal-cmb',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
label: 'Telegram',
|
|
118
|
+
value: 'telegram',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
label: 'Whatsapp',
|
|
122
|
+
value: 'whatsapp-cmb',
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
newLine: true,
|
|
126
|
+
},
|
|
127
|
+
emailInstance: {
|
|
128
|
+
type: 'selectSendTo',
|
|
129
|
+
command: 'sendToInstance',
|
|
130
|
+
jsonData: '{ "type": "email" }',
|
|
131
|
+
hidden: "data.notificationType !== 'email'",
|
|
132
|
+
label: 'E-Mail Instance',
|
|
133
|
+
xs: 12,
|
|
134
|
+
sm: 12,
|
|
135
|
+
md: 8,
|
|
136
|
+
lg: 4,
|
|
137
|
+
xl: 4,
|
|
138
|
+
help: 'E-Mail Instance',
|
|
139
|
+
},
|
|
140
|
+
emailReceiver: {
|
|
141
|
+
type: 'text',
|
|
142
|
+
hidden: "data.notificationType !== 'email'",
|
|
143
|
+
label: 'E-Mail Receiver',
|
|
144
|
+
xs: 12,
|
|
145
|
+
sm: 12,
|
|
146
|
+
md: 8,
|
|
147
|
+
lg: 4,
|
|
148
|
+
xl: 4,
|
|
149
|
+
help: 'E-Mail Receiver',
|
|
150
|
+
validator: 'data.emailReceiver',
|
|
151
|
+
validatorNoSaveOnError: true,
|
|
152
|
+
placeholder: 'xxxx@xxxx.com',
|
|
153
|
+
newLine: true,
|
|
154
|
+
},
|
|
155
|
+
emailSender: {
|
|
156
|
+
type: 'text',
|
|
157
|
+
hidden: "data.notificationType !== 'email'",
|
|
158
|
+
label: 'E-Mail Sender',
|
|
159
|
+
xs: 12,
|
|
160
|
+
sm: 12,
|
|
161
|
+
md: 8,
|
|
162
|
+
lg: 4,
|
|
163
|
+
xl: 4,
|
|
164
|
+
validator: 'data.emailSender',
|
|
165
|
+
validatorNoSaveOnError: true,
|
|
166
|
+
placeholder: 'xxxx@xxxx.com',
|
|
167
|
+
help: 'E-Mail Sender',
|
|
168
|
+
},
|
|
169
|
+
matrixInstance: {
|
|
170
|
+
type: 'selectSendTo',
|
|
171
|
+
command: 'sendToInstance',
|
|
172
|
+
jsonData: '{ "type": "matrix-org" }',
|
|
173
|
+
hidden: "data.notificationType !== 'matrix-org'",
|
|
174
|
+
label: 'Matrix Instance',
|
|
175
|
+
xs: 12,
|
|
176
|
+
sm: 12,
|
|
177
|
+
md: 8,
|
|
178
|
+
lg: 4,
|
|
179
|
+
xl: 4,
|
|
180
|
+
help: 'Matrix Instance',
|
|
181
|
+
},
|
|
182
|
+
notificationManagerInstance: {
|
|
183
|
+
type: 'selectSendTo',
|
|
184
|
+
command: 'sendToInstance',
|
|
185
|
+
jsonData: '{ "type": "notification-manager" }',
|
|
186
|
+
hidden: "data.notificationType !== 'notification-manager'",
|
|
187
|
+
label: 'Notification-Manager Instance',
|
|
188
|
+
xs: 12,
|
|
189
|
+
sm: 12,
|
|
190
|
+
md: 8,
|
|
191
|
+
lg: 4,
|
|
192
|
+
xl: 4,
|
|
193
|
+
help: 'Notification-Manager Instance',
|
|
194
|
+
},
|
|
195
|
+
pushoverInstance: {
|
|
196
|
+
type: 'selectSendTo',
|
|
197
|
+
command: 'sendToInstance',
|
|
198
|
+
jsonData: '{ "type": "pushover" }',
|
|
199
|
+
hidden: "data.notificationType !== 'pushover'",
|
|
200
|
+
label: 'Pushover Instance',
|
|
201
|
+
xs: 12,
|
|
202
|
+
sm: 12,
|
|
203
|
+
md: 8,
|
|
204
|
+
lg: 4,
|
|
205
|
+
xl: 4,
|
|
206
|
+
help: 'Pushover Instance',
|
|
207
|
+
},
|
|
208
|
+
pushoverDeviceID: {
|
|
209
|
+
type: 'text',
|
|
210
|
+
hidden: "data.notificationType !== 'pushover'",
|
|
211
|
+
label: 'Device ID',
|
|
212
|
+
xs: 12,
|
|
213
|
+
sm: 12,
|
|
214
|
+
md: 8,
|
|
215
|
+
lg: 4,
|
|
216
|
+
xl: 4,
|
|
217
|
+
help: 'Device ID',
|
|
218
|
+
},
|
|
219
|
+
pushoverSilentNotice: {
|
|
220
|
+
newLine: true,
|
|
221
|
+
type: 'checkbox',
|
|
222
|
+
hidden: "data.notificationType !== 'pushover'",
|
|
223
|
+
label: 'Silent Notice',
|
|
224
|
+
xs: 12,
|
|
225
|
+
sm: 12,
|
|
226
|
+
md: 8,
|
|
227
|
+
lg: 4,
|
|
228
|
+
xl: 4,
|
|
229
|
+
},
|
|
230
|
+
discordInstance: {
|
|
231
|
+
type: 'selectSendTo',
|
|
232
|
+
command: 'sendToInstance',
|
|
233
|
+
jsonData: '{ "type": "discord" }',
|
|
234
|
+
hidden: "data.notificationType !== 'discord'",
|
|
235
|
+
label: 'Discord Instance',
|
|
236
|
+
xs: 12,
|
|
237
|
+
sm: 12,
|
|
238
|
+
md: 8,
|
|
239
|
+
lg: 4,
|
|
240
|
+
xl: 4,
|
|
241
|
+
help: 'Discord Instance',
|
|
242
|
+
},
|
|
243
|
+
discordTarget: {
|
|
244
|
+
type: 'selectSendTo',
|
|
245
|
+
command: 'sendToDiscordTarget',
|
|
246
|
+
jsonData: '{ "instance": "${data.discordInstance}" }',
|
|
247
|
+
hidden: "data.notificationType !== 'discord'",
|
|
248
|
+
label: 'Discord Target',
|
|
249
|
+
xs: 12,
|
|
250
|
+
sm: 12,
|
|
251
|
+
md: 8,
|
|
252
|
+
lg: 4,
|
|
253
|
+
xl: 4,
|
|
254
|
+
default: 'none',
|
|
255
|
+
help: 'Discord Target',
|
|
256
|
+
},
|
|
257
|
+
signalInstance: {
|
|
258
|
+
type: 'selectSendTo',
|
|
259
|
+
command: 'sendToInstance',
|
|
260
|
+
jsonData: '{ "type": "signal-cmb" }',
|
|
261
|
+
hidden: "data.notificationType !== 'signal-cmb'",
|
|
262
|
+
label: 'Signal Instance',
|
|
263
|
+
xs: 12,
|
|
264
|
+
sm: 12,
|
|
265
|
+
md: 8,
|
|
266
|
+
lg: 4,
|
|
267
|
+
xl: 4,
|
|
268
|
+
help: 'Signal Instance',
|
|
269
|
+
},
|
|
270
|
+
telegramInstance: {
|
|
271
|
+
type: 'selectSendTo',
|
|
272
|
+
command: 'sendToInstance',
|
|
273
|
+
jsonData: '{ "type": "telegram" }',
|
|
274
|
+
hidden: "data.notificationType !== 'telegram'",
|
|
275
|
+
label: 'Telegram Instance',
|
|
276
|
+
xs: 12,
|
|
277
|
+
sm: 12,
|
|
278
|
+
md: 8,
|
|
279
|
+
lg: 4,
|
|
280
|
+
xl: 4,
|
|
281
|
+
help: 'Telegram Instance',
|
|
282
|
+
},
|
|
283
|
+
telegramUser: {
|
|
284
|
+
type: 'selectSendTo',
|
|
285
|
+
command: 'sendToTelegramUser',
|
|
286
|
+
jsonData: '{ "instance": "${data.telegramInstance}" }',
|
|
287
|
+
hidden: "data.notificationType !== 'telegram'",
|
|
288
|
+
label: 'Telegram User',
|
|
289
|
+
noTranslation: false,
|
|
290
|
+
xs: 12,
|
|
291
|
+
sm: 12,
|
|
292
|
+
md: 8,
|
|
293
|
+
lg: 4,
|
|
294
|
+
xl: 4,
|
|
295
|
+
help: 'Telegram User',
|
|
296
|
+
},
|
|
297
|
+
whatsappInstance: {
|
|
298
|
+
type: 'selectSendTo',
|
|
299
|
+
command: 'sendToInstance',
|
|
300
|
+
jsonData: '{ "type": "whatsapp-cmb" }',
|
|
301
|
+
hidden: "data.notificationType !== 'whatsapp-cmb'",
|
|
302
|
+
label: 'Whatsapp Instance',
|
|
303
|
+
xs: 12,
|
|
304
|
+
sm: 12,
|
|
305
|
+
md: 8,
|
|
306
|
+
lg: 4,
|
|
307
|
+
xl: 4,
|
|
308
|
+
help: 'Whatsapp Instance',
|
|
309
|
+
},
|
|
310
|
+
_helpLine2: {
|
|
311
|
+
newLine: true,
|
|
312
|
+
type: 'divider',
|
|
313
|
+
color: 'secondary',
|
|
314
|
+
xs: 12,
|
|
315
|
+
sm: 12,
|
|
316
|
+
md: 12,
|
|
317
|
+
lg: 12,
|
|
318
|
+
xl: 12,
|
|
319
|
+
},
|
|
320
|
+
_donateTxt: {
|
|
321
|
+
type: 'staticText',
|
|
322
|
+
text: 'If you like this project and would like to support its development, you are welcome to leave a donation.',
|
|
323
|
+
newLine: true,
|
|
324
|
+
xs: 12,
|
|
325
|
+
sm: 12,
|
|
326
|
+
md: 12,
|
|
327
|
+
lg: 12,
|
|
328
|
+
xl: 12,
|
|
329
|
+
},
|
|
330
|
+
_donate: {
|
|
331
|
+
type: 'staticImage',
|
|
332
|
+
tooltip: 'PayPal.Me',
|
|
333
|
+
noTranslation: true,
|
|
334
|
+
href: 'https://paypal.me/mk1676',
|
|
335
|
+
src: 'https://img.shields.io/badge/paypal-donate%20%7C%20spenden-blue.svg',
|
|
336
|
+
newLine: true,
|
|
337
|
+
xs: 7,
|
|
338
|
+
sm: 3,
|
|
339
|
+
md: 3,
|
|
340
|
+
lg: 1.2,
|
|
341
|
+
xl: 1.2,
|
|
342
|
+
},
|
|
343
|
+
_githubSponsor: {
|
|
344
|
+
type: 'staticImage',
|
|
345
|
+
tooltip: 'GitHub Sponsors',
|
|
346
|
+
noTranslation: true,
|
|
347
|
+
href: 'https://github.com/sponsors/simatec',
|
|
348
|
+
src: 'https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86',
|
|
349
|
+
xs: 5,
|
|
350
|
+
sm: 2,
|
|
351
|
+
md: 2,
|
|
352
|
+
lg: 0.8,
|
|
353
|
+
xl: 0.8,
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
}
|
package/io-package.json
CHANGED
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "gotify-ws",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.13",
|
|
5
5
|
"news": {
|
|
6
|
+
"0.1.13": {
|
|
7
|
+
"en": "Dependencies updated\nmigrated to json5",
|
|
8
|
+
"de": "Ausgaben aktualisiert\nzu json5 migriert",
|
|
9
|
+
"ru": "Обновленные зависимости\nиммиграция в json5",
|
|
10
|
+
"pt": "Dependências atualizadas\nmigrado para json5",
|
|
11
|
+
"nl": "Afhankelijkheden bijgewerkt\ngemigreerd naar json5",
|
|
12
|
+
"fr": "Dépendances actualisées\nmigré vers json5",
|
|
13
|
+
"it": "Dipendenze aggiornate\nmigrato a json5",
|
|
14
|
+
"es": "Actualización de las dependencias\nmigrated to json5",
|
|
15
|
+
"pl": "Aktualizacja zależności\nmigrant do json5",
|
|
16
|
+
"uk": "Залежність оновлено\nмігрований в json5",
|
|
17
|
+
"zh-cn": "更新的依赖关系\n迁移到json5"
|
|
18
|
+
},
|
|
19
|
+
"0.1.12": {
|
|
20
|
+
"en": "Dependencies updated\nsmall fix",
|
|
21
|
+
"de": "Ausgaben aktualisiert\nkleine fix",
|
|
22
|
+
"ru": "Обновленные зависимости\nнебольшой ремонт",
|
|
23
|
+
"pt": "Dependências atualizadas\npequena correção",
|
|
24
|
+
"nl": "Afhankelijkheden bijgewerkt\nkleine fix",
|
|
25
|
+
"fr": "Dépendances actualisées\npetite fixation",
|
|
26
|
+
"it": "Dipendenze aggiornate\npiccola correzione",
|
|
27
|
+
"es": "Actualización de las dependencias\npequeño",
|
|
28
|
+
"pl": "Aktualizacja zależności\nmały fix",
|
|
29
|
+
"uk": "Залежність оновлено\nневелика фіксація",
|
|
30
|
+
"zh-cn": "更新的依赖关系\n小修补"
|
|
31
|
+
},
|
|
6
32
|
"0.1.11": {
|
|
7
33
|
"en": "eslint-config fix\nCode fix\nDependencies updated\nUpdate License",
|
|
8
34
|
"de": "eslint-config fix\nCode fix\nAusgaben aktualisiert\nLizenz aktualisieren",
|
|
@@ -67,32 +93,6 @@
|
|
|
67
93
|
"pl": "Aktualizacja zależności\nResponsive Design fix",
|
|
68
94
|
"uk": "Залежність оновлено\nКріплення адаптивного дизайну",
|
|
69
95
|
"zh-cn": "更新的依赖关系\n反应设计修正"
|
|
70
|
-
},
|
|
71
|
-
"0.1.6": {
|
|
72
|
-
"en": "Fix Adapter Check\nDependencies updated\nResponsive Design added",
|
|
73
|
-
"de": "Fix Adapter Überprüfung\nAusgaben aktualisiert\nResponsive Design hinzugefügt",
|
|
74
|
-
"ru": "Fix Adapter Проверка\nОбновленные данные о зависимостях\nResponsive Design",
|
|
75
|
-
"pt": "Adaptador de fixação Verificação\nDependências atualizadas\nDesign responsivo adicionado",
|
|
76
|
-
"nl": "Repareren Adapter Controleren\nAfhankelijkheden bijgewerkt\nResponsive Design toegevoegd",
|
|
77
|
-
"fr": "Correction de l'adaptateur Vérifier\nDépendances actualisées\nDesign sensible ajouté",
|
|
78
|
-
"it": "Adattatore di fissaggio Check\nDipendenze aggiornate\nResponsive Design aggiunto",
|
|
79
|
-
"es": "Adaptador de fijación Check\nActualización de las dependencias\nDiseño responsable añadido",
|
|
80
|
-
"pl": "Napraw adapter Sprawdź\nAktualizacja zależności\nDodano projekt odpowiedzialny",
|
|
81
|
-
"uk": "Фіксований адаптер Зареєструватися\nЗалежність оновлено\nДодано адаптивний дизайн",
|
|
82
|
-
"zh-cn": "修复适配器 检查\n更新的依赖关系\n添加响应设计"
|
|
83
|
-
},
|
|
84
|
-
"0.1.5": {
|
|
85
|
-
"en": "small fix",
|
|
86
|
-
"de": "kleine fix",
|
|
87
|
-
"ru": "небольшое исправление",
|
|
88
|
-
"pt": "pequena correção",
|
|
89
|
-
"nl": "kleine fix",
|
|
90
|
-
"fr": "petite fixation",
|
|
91
|
-
"it": "piccola correzione",
|
|
92
|
-
"es": "pequeño",
|
|
93
|
-
"pl": "mały fix",
|
|
94
|
-
"uk": "невелика фіксація",
|
|
95
|
-
"zh-cn": "小修补"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"titleLang": {
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
],
|
|
163
163
|
"globalDependencies": [
|
|
164
164
|
{
|
|
165
|
-
"admin": ">=
|
|
165
|
+
"admin": ">=7.4.10"
|
|
166
166
|
}
|
|
167
167
|
]
|
|
168
168
|
},
|
|
@@ -183,7 +183,8 @@
|
|
|
183
183
|
"emailSender": "xxx@xxx.com",
|
|
184
184
|
"pushoverDeviceID": "",
|
|
185
185
|
"pushoverSilentNotice": false,
|
|
186
|
-
"discordTarget": "none"
|
|
186
|
+
"discordTarget": "none",
|
|
187
|
+
"token": ""
|
|
187
188
|
},
|
|
188
189
|
"encryptedNative": [
|
|
189
190
|
"token"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.gotify-ws",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.13",
|
|
4
4
|
"description": "Gotify web socket for connection to various notification systems",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "simatec",
|
|
@@ -29,28 +29,28 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@iobroker/adapter-core": "^3.2.3",
|
|
32
|
-
"axios": "^1.
|
|
33
|
-
"ws": "^8.18.
|
|
32
|
+
"axios": "^1.8.4",
|
|
33
|
+
"ws": "^8.18.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@alcalzone/release-script": "^3.8.0",
|
|
37
37
|
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
|
|
38
38
|
"@alcalzone/release-script-plugin-license": "^3.7.0",
|
|
39
39
|
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
|
|
40
|
-
"@iobroker/adapter-dev": "^1.
|
|
41
|
-
"@iobroker/eslint-config": "^
|
|
42
|
-
"@iobroker/testing": "^5.0.
|
|
43
|
-
"chai": "^5.
|
|
40
|
+
"@iobroker/adapter-dev": "^1.4.0",
|
|
41
|
+
"@iobroker/eslint-config": "^2.0.1",
|
|
42
|
+
"@iobroker/testing": "^5.0.4",
|
|
43
|
+
"chai": "^5.2.0",
|
|
44
44
|
"chai-as-promised": "^8.0.1",
|
|
45
|
-
"mocha": "^11.0
|
|
46
|
-
"sinon": "^
|
|
45
|
+
"mocha": "^11.1.0",
|
|
46
|
+
"sinon": "^20.0.0",
|
|
47
47
|
"sinon-chai": "^4.0.0"
|
|
48
48
|
},
|
|
49
49
|
"main": "main.js",
|
|
50
50
|
"files": [
|
|
51
|
-
"admin
|
|
52
|
-
"admin
|
|
53
|
-
"admin
|
|
51
|
+
"admin/",
|
|
52
|
+
"!admin/**/*/flat.txt",
|
|
53
|
+
"!admin/**/tsconfig.json",
|
|
54
54
|
"lib/",
|
|
55
55
|
"!lib/**/*.{sh,bat,log}",
|
|
56
56
|
"!.dev-server",
|
package/admin/jsonConfig.json
DELETED
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"i18n": true,
|
|
3
|
-
"type": "panel",
|
|
4
|
-
"items": {
|
|
5
|
-
"gotifyDesc": {
|
|
6
|
-
"type": "staticText",
|
|
7
|
-
"text": "Gotify web socket for connection to various notification systems",
|
|
8
|
-
"newLine": true,
|
|
9
|
-
"style": {
|
|
10
|
-
"fontSize": 20
|
|
11
|
-
},
|
|
12
|
-
"xs": 10,
|
|
13
|
-
"sm": 10,
|
|
14
|
-
"md": 10,
|
|
15
|
-
"lg": 10,
|
|
16
|
-
"xl": 10
|
|
17
|
-
},
|
|
18
|
-
"gotifySettings": {
|
|
19
|
-
"newLine": true,
|
|
20
|
-
"type": "header",
|
|
21
|
-
"text": "Gotify Settings",
|
|
22
|
-
"size": 2,
|
|
23
|
-
"xs": 12,
|
|
24
|
-
"sm": 12,
|
|
25
|
-
"md": 12,
|
|
26
|
-
"lg": 12,
|
|
27
|
-
"xl": 12
|
|
28
|
-
},
|
|
29
|
-
"ip": {
|
|
30
|
-
"type": "text",
|
|
31
|
-
"label": "Gotify IP or Domain",
|
|
32
|
-
"xs": 12,
|
|
33
|
-
"sm": 12,
|
|
34
|
-
"md": 8,
|
|
35
|
-
"lg": 4,
|
|
36
|
-
"xl": 4,
|
|
37
|
-
"help": "Gotify IP or Domain",
|
|
38
|
-
"validator": "data.ip",
|
|
39
|
-
"validatorNoSaveOnError": true,
|
|
40
|
-
"placeholder": "10.250.1.10",
|
|
41
|
-
"newLine": true
|
|
42
|
-
},
|
|
43
|
-
"port": {
|
|
44
|
-
"xs": 12,
|
|
45
|
-
"sm": 12,
|
|
46
|
-
"md": 8,
|
|
47
|
-
"lg": 4,
|
|
48
|
-
"xl": 4,
|
|
49
|
-
"min": 1,
|
|
50
|
-
"max": 65535,
|
|
51
|
-
"help": "Gotify Port",
|
|
52
|
-
"type": "number",
|
|
53
|
-
"validator": "data.port",
|
|
54
|
-
"validatorNoSaveOnError": true,
|
|
55
|
-
"placeholder": "8080",
|
|
56
|
-
"label": "Gotify Port"
|
|
57
|
-
},
|
|
58
|
-
"token": {
|
|
59
|
-
"type": "password",
|
|
60
|
-
"visible": true,
|
|
61
|
-
"label": "Gotify Token",
|
|
62
|
-
"xs": 12,
|
|
63
|
-
"sm": 12,
|
|
64
|
-
"md": 8,
|
|
65
|
-
"lg": 4,
|
|
66
|
-
"xl": 4,
|
|
67
|
-
"validator": "data.token",
|
|
68
|
-
"validatorNoSaveOnError": true,
|
|
69
|
-
"help": "Gotify Token"
|
|
70
|
-
},
|
|
71
|
-
"notificationSettings": {
|
|
72
|
-
"newLine": true,
|
|
73
|
-
"type": "header",
|
|
74
|
-
"text": "Notification Settings",
|
|
75
|
-
"size": 2,
|
|
76
|
-
"xs": 12,
|
|
77
|
-
"sm": 12,
|
|
78
|
-
"md": 12,
|
|
79
|
-
"lg": 12,
|
|
80
|
-
"xl": 12
|
|
81
|
-
},
|
|
82
|
-
"notificationType": {
|
|
83
|
-
"type": "select",
|
|
84
|
-
"label": "Notification type",
|
|
85
|
-
"xs": 12,
|
|
86
|
-
"sm": 12,
|
|
87
|
-
"md": 8,
|
|
88
|
-
"lg": 4,
|
|
89
|
-
"xl": 4,
|
|
90
|
-
"help": "Notification type",
|
|
91
|
-
"options": [
|
|
92
|
-
{
|
|
93
|
-
"label": "E-Mail",
|
|
94
|
-
"value": "email"
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"label": "Matrix",
|
|
98
|
-
"value": "matrix-org"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"label": "Notification-Manager",
|
|
102
|
-
"value": "notification-manager"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"label": "Pushover",
|
|
106
|
-
"value": "pushover"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"label": "Discord",
|
|
110
|
-
"value": "discord"
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"label": "Signal",
|
|
114
|
-
"value": "signal-cmb"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"label": "Telegram",
|
|
118
|
-
"value": "telegram"
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"label": "Whatsapp",
|
|
122
|
-
"value": "whatsapp-cmb"
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"newLine": true
|
|
126
|
-
},
|
|
127
|
-
"emailInstance": {
|
|
128
|
-
"type": "selectSendTo",
|
|
129
|
-
"command": "sendToInstance",
|
|
130
|
-
"jsonData": "{ \"type\": \"email\" }",
|
|
131
|
-
"hidden": "data.notificationType !== 'email'",
|
|
132
|
-
"label": "E-Mail Instance",
|
|
133
|
-
"xs": 12,
|
|
134
|
-
"sm": 12,
|
|
135
|
-
"md": 8,
|
|
136
|
-
"lg": 4,
|
|
137
|
-
"xl": 4,
|
|
138
|
-
"help": "E-Mail Instance"
|
|
139
|
-
},
|
|
140
|
-
"emailReceiver": {
|
|
141
|
-
"type": "text",
|
|
142
|
-
"hidden": "data.notificationType !== 'email'",
|
|
143
|
-
"label": "E-Mail Receiver",
|
|
144
|
-
"xs": 12,
|
|
145
|
-
"sm": 12,
|
|
146
|
-
"md": 8,
|
|
147
|
-
"lg": 4,
|
|
148
|
-
"xl": 4,
|
|
149
|
-
"help": "E-Mail Receiver",
|
|
150
|
-
"validator": "data.emailReceiver",
|
|
151
|
-
"validatorNoSaveOnError": true,
|
|
152
|
-
"placeholder": "xxxx@xxxx.com",
|
|
153
|
-
"newLine": true
|
|
154
|
-
},
|
|
155
|
-
"emailSender": {
|
|
156
|
-
"type": "text",
|
|
157
|
-
"hidden": "data.notificationType !== 'email'",
|
|
158
|
-
"label": "E-Mail Sender",
|
|
159
|
-
"xs": 12,
|
|
160
|
-
"sm": 12,
|
|
161
|
-
"md": 8,
|
|
162
|
-
"lg": 4,
|
|
163
|
-
"xl": 4,
|
|
164
|
-
"validator": "data.emailSender",
|
|
165
|
-
"validatorNoSaveOnError": true,
|
|
166
|
-
"placeholder": "xxxx@xxxx.com",
|
|
167
|
-
"help": "E-Mail Sender"
|
|
168
|
-
},
|
|
169
|
-
"matrixInstance": {
|
|
170
|
-
"type": "selectSendTo",
|
|
171
|
-
"command": "sendToInstance",
|
|
172
|
-
"jsonData": "{ \"type\": \"matrix-org\" }",
|
|
173
|
-
"hidden": "data.notificationType !== 'matrix-org'",
|
|
174
|
-
"label": "Matrix Instance",
|
|
175
|
-
"xs": 12,
|
|
176
|
-
"sm": 12,
|
|
177
|
-
"md": 8,
|
|
178
|
-
"lg": 4,
|
|
179
|
-
"xl": 4,
|
|
180
|
-
"help": "Matrix Instance"
|
|
181
|
-
},
|
|
182
|
-
"notificationManagerInstance": {
|
|
183
|
-
"type": "selectSendTo",
|
|
184
|
-
"command": "sendToInstance",
|
|
185
|
-
"jsonData": "{ \"type\": \"notification-manager\" }",
|
|
186
|
-
"hidden": "data.notificationType !== 'notification-manager'",
|
|
187
|
-
"label": "Notification-Manager Instance",
|
|
188
|
-
"xs": 12,
|
|
189
|
-
"sm": 12,
|
|
190
|
-
"md": 8,
|
|
191
|
-
"lg": 4,
|
|
192
|
-
"xl": 4,
|
|
193
|
-
"help": "Notification-Manager Instance"
|
|
194
|
-
},
|
|
195
|
-
"pushoverInstance": {
|
|
196
|
-
"type": "selectSendTo",
|
|
197
|
-
"command": "sendToInstance",
|
|
198
|
-
"jsonData": "{ \"type\": \"pushover\" }",
|
|
199
|
-
"hidden": "data.notificationType !== 'pushover'",
|
|
200
|
-
"label": "Pushover Instance",
|
|
201
|
-
"xs": 12,
|
|
202
|
-
"sm": 12,
|
|
203
|
-
"md": 8,
|
|
204
|
-
"lg": 4,
|
|
205
|
-
"xl": 4,
|
|
206
|
-
"help": "Pushover Instance"
|
|
207
|
-
},
|
|
208
|
-
"pushoverDeviceID": {
|
|
209
|
-
"type": "text",
|
|
210
|
-
"hidden": "data.notificationType !== 'pushover'",
|
|
211
|
-
"label": "Device ID",
|
|
212
|
-
"xs": 12,
|
|
213
|
-
"sm": 12,
|
|
214
|
-
"md": 8,
|
|
215
|
-
"lg": 4,
|
|
216
|
-
"xl": 4,
|
|
217
|
-
"help": "Device ID"
|
|
218
|
-
},
|
|
219
|
-
"pushoverSilentNotice": {
|
|
220
|
-
"newLine": true,
|
|
221
|
-
"type": "checkbox",
|
|
222
|
-
"hidden": "data.notificationType !== 'pushover'",
|
|
223
|
-
"label": "Silent Notice",
|
|
224
|
-
"xs": 12,
|
|
225
|
-
"sm": 12,
|
|
226
|
-
"md": 8,
|
|
227
|
-
"lg": 4,
|
|
228
|
-
"xl": 4
|
|
229
|
-
},
|
|
230
|
-
"discordInstance": {
|
|
231
|
-
"type": "selectSendTo",
|
|
232
|
-
"command": "sendToInstance",
|
|
233
|
-
"jsonData": "{ \"type\": \"discord\" }",
|
|
234
|
-
"hidden": "data.notificationType !== 'discord'",
|
|
235
|
-
"label": "Discord Instance",
|
|
236
|
-
"xs": 12,
|
|
237
|
-
"sm": 12,
|
|
238
|
-
"md": 8,
|
|
239
|
-
"lg": 4,
|
|
240
|
-
"xl": 4,
|
|
241
|
-
"help": "Discord Instance"
|
|
242
|
-
},
|
|
243
|
-
"discordTarget": {
|
|
244
|
-
"type": "selectSendTo",
|
|
245
|
-
"command": "sendToDiscordTarget",
|
|
246
|
-
"jsonData": "{ \"instance\": \"${data.discordInstance}\" }",
|
|
247
|
-
"hidden": "data.notificationType !== 'discord'",
|
|
248
|
-
"label": "Discord Target",
|
|
249
|
-
"xs": 12,
|
|
250
|
-
"sm": 12,
|
|
251
|
-
"md": 8,
|
|
252
|
-
"lg": 4,
|
|
253
|
-
"xl": 4,
|
|
254
|
-
"default": "none",
|
|
255
|
-
"help": "Discord Target"
|
|
256
|
-
},
|
|
257
|
-
"signalInstance": {
|
|
258
|
-
"type": "selectSendTo",
|
|
259
|
-
"command": "sendToInstance",
|
|
260
|
-
"jsonData": "{ \"type\": \"signal-cmb\" }",
|
|
261
|
-
"hidden": "data.notificationType !== 'signal-cmb'",
|
|
262
|
-
"label": "Signal Instance",
|
|
263
|
-
"xs": 12,
|
|
264
|
-
"sm": 12,
|
|
265
|
-
"md": 8,
|
|
266
|
-
"lg": 4,
|
|
267
|
-
"xl": 4,
|
|
268
|
-
"help": "Signal Instance"
|
|
269
|
-
},
|
|
270
|
-
"telegramInstance": {
|
|
271
|
-
"type": "selectSendTo",
|
|
272
|
-
"command": "sendToInstance",
|
|
273
|
-
"jsonData": "{ \"type\": \"telegram\" }",
|
|
274
|
-
"hidden": "data.notificationType !== 'telegram'",
|
|
275
|
-
"label": "Telegram Instance",
|
|
276
|
-
"xs": 12,
|
|
277
|
-
"sm": 12,
|
|
278
|
-
"md": 8,
|
|
279
|
-
"lg": 4,
|
|
280
|
-
"xl": 4,
|
|
281
|
-
"help": "Telegram Instance"
|
|
282
|
-
},
|
|
283
|
-
"telegramUser": {
|
|
284
|
-
"type": "selectSendTo",
|
|
285
|
-
"command": "sendToTelegramUser",
|
|
286
|
-
"jsonData": "{ \"instance\": \"${data.telegramInstance}\" }",
|
|
287
|
-
"hidden": "data.notificationType !== 'telegram'",
|
|
288
|
-
"label": "Telegram User",
|
|
289
|
-
"noTranslation": false,
|
|
290
|
-
"xs": 12,
|
|
291
|
-
"sm": 12,
|
|
292
|
-
"md": 8,
|
|
293
|
-
"lg": 4,
|
|
294
|
-
"xl": 4,
|
|
295
|
-
"help": "Telegram User"
|
|
296
|
-
},
|
|
297
|
-
"whatsappInstance": {
|
|
298
|
-
"type": "selectSendTo",
|
|
299
|
-
"command": "sendToInstance",
|
|
300
|
-
"jsonData": "{ \"type\": \"whatsapp-cmb\" }",
|
|
301
|
-
"hidden": "data.notificationType !== 'whatsapp-cmb'",
|
|
302
|
-
"label": "Whatsapp Instance",
|
|
303
|
-
"xs": 12,
|
|
304
|
-
"sm": 12,
|
|
305
|
-
"md": 8,
|
|
306
|
-
"lg": 4,
|
|
307
|
-
"xl": 4,
|
|
308
|
-
"help": "Whatsapp Instance"
|
|
309
|
-
},
|
|
310
|
-
"_helpLine2": {
|
|
311
|
-
"newLine": true,
|
|
312
|
-
"type": "divider",
|
|
313
|
-
"color": "secondary",
|
|
314
|
-
"xs": 12,
|
|
315
|
-
"sm": 12,
|
|
316
|
-
"md": 12,
|
|
317
|
-
"lg": 12,
|
|
318
|
-
"xl": 12
|
|
319
|
-
},
|
|
320
|
-
"_donateTxt": {
|
|
321
|
-
"type": "staticText",
|
|
322
|
-
"text": "If you like this project and would like to support its development, you are welcome to leave a donation.",
|
|
323
|
-
"newLine": true,
|
|
324
|
-
"xs": 12,
|
|
325
|
-
"sm": 12,
|
|
326
|
-
"md": 12,
|
|
327
|
-
"lg": 12,
|
|
328
|
-
"xl": 12
|
|
329
|
-
},
|
|
330
|
-
"_donate": {
|
|
331
|
-
"type": "staticImage",
|
|
332
|
-
"tooltip": "PayPal.Me",
|
|
333
|
-
"noTranslation": true,
|
|
334
|
-
"href": "https://paypal.me/mk1676",
|
|
335
|
-
"src": "https://img.shields.io/badge/paypal-donate%20%7C%20spenden-blue.svg",
|
|
336
|
-
"newLine": true,
|
|
337
|
-
"xs": 7,
|
|
338
|
-
"sm": 3,
|
|
339
|
-
"md": 3,
|
|
340
|
-
"lg": 1.2,
|
|
341
|
-
"xl": 1.2
|
|
342
|
-
},
|
|
343
|
-
"_githubSponsor": {
|
|
344
|
-
"type": "staticImage",
|
|
345
|
-
"tooltip": "GitHub Sponsors",
|
|
346
|
-
"noTranslation": true,
|
|
347
|
-
"href": "https://github.com/sponsors/simatec",
|
|
348
|
-
"src": "https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86",
|
|
349
|
-
"xs": 5,
|
|
350
|
-
"sm": 2,
|
|
351
|
-
"md": 2,
|
|
352
|
-
"lg": 0.8,
|
|
353
|
-
"xl": 0.8
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
}
|