Email device connect/disconnect notifications now work.
Ylian Saint-Hilaire committed
Oct 11, 2021 at 11:56 UTC
4ad9619bfb78396114aac0fbd641c24790a86244
42 files changed
+1223
-18
emails/device-notify.html
new
+36
@@ -0,0 +1,36 @@
1
+<div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding=8>
4
+ <tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">click here</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div>
\ No newline at end of file
emails/device-notify.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_cs.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">klikněte zde</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_cs.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_de.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">hier klicken</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_de.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_es.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">haz clic aquí</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_es.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_fi.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">klikkaa tästä</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_fi.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_fr.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">cliquez ici</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_fr.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_hi.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">यहाँ क्लिक करें</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_hi.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_it.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">clicca qui</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_it.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_ja.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">ここをクリック</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_ja.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_ko.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">여기를 클릭하십시오.</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_ko.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_nl.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">Klik hier</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_nl.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_pl.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">kliknij tutaj</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_pl.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_pt-br.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">Clique aqui</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_pt-br.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_pt.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">Clique aqui</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_pt.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_ru.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">кликните сюда</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_ru.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_sv.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">Klicka här</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_sv.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_tr.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">buraya Tıkla</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_tr.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_zh-chs.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">点击这里</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_zh-chs.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
emails/translations/device-notify_zh-cht.html
new
+36
@@ -0,0 +1,36 @@
1
+<html><head></head><body><div>[[[SERVERNAME]]] - Device Notification</div>
2
+<div style="font-family:Arial,Helvetica,sans-serif">
3
+ <table style="background-color:#003366;color:lightgray;width:100%" cellpadding="8">
4
+ <tbody><tr>
5
+ <td>
6
+ <b style="font-size:20px;font-family:Arial,Helvetica,sans-serif">[[[SERVERNAME]]] - Device Notification</b>
7
+ </td>
8
+ </tr>
9
+ </tbody></table>
10
+ <area-header>
11
+ <p>
12
+ The folloing devices have changed their connection state.
13
+ </p>
14
+ </area-header>
15
+ <area-connections>
16
+ <p>
17
+ Connected devices:
18
+ </p>
19
+ <p><b>
20
+[[[CONNECTIONS]]]
21
+ </b></p>
22
+ </area-connections>
23
+ <area-disconnections>
24
+ <p>
25
+ Disconnected devices:
26
+ </p>
27
+ <p><b>
28
+[[[DISCONNECTIONS]]]
29
+ </b></p>
30
+ </area-disconnections>
31
+ <area-footer>
32
+ <p>
33
+ To unsubscribe, <a href="[[[SERVERURL]]][[[UNSUBSCRIBELINK]]]">點擊這裡</a> within 1 hour of getting this message.
34
+ </p>
35
+ </area-footer>
36
+</div></body></html>
\ No newline at end of file
emails/translations/device-notify_zh-cht.txt
new
+22
@@ -0,0 +1,22 @@
1
+[[[SERVERNAME]]] - Device Notification
2
+~<area-header>
3
+The folloing devices have changed their connection state.
4
+~</area-header>
5
+~<area-connections>
6
+~
7
+Connected devices:
8
+~
9
+~[[[CONNECTIONS]]]
10
+~
11
+~</area-connections>
12
+~<area-disconnections>
13
+~
14
+Disconnected devices:
15
+~
16
+~[[[DISCONNECTIONS]]]
17
+~
18
+~</area-disconnections>
19
+~<area-footer>
20
+
21
+To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]
22
+~</area-footer>
\ No newline at end of file
meshmail.js
+58
-4
@@ -337,6 +337,53 @@ module.exports.CreateMeshMail = function (parent, domain) {
337
});
338
};
339
340
+ // Send device connect/disconnect notification mail
341
+ obj.sendDeviceNotifyMail = function (domain, username, email, connections, disconnections, language, loginkey) {
342
+ obj.checkEmail(email, function (checked) {
343
+ if (checked) {
344
+ parent.debug('email', "Sending device notification to " + email);
345
+
346
+ if ((parent.certificates == null) || (parent.certificates.CommonName == null) || (parent.certificates.CommonName.indexOf('.') == -1)) {
347
+ parent.debug('email', "Error: Server name not set."); // If the server name is not set, email not possible.
348
+ return;
349
+ }
350
+
351
+ var template = getTemplate('device-notify', domain, language);
352
+ if ((template == null) || (template.htmlSubject == null) || (template.txtSubject == null)) {
353
+ parent.debug('email', "Error: Failed to get mail template."); // No email template found
354
+ return;
355
+ }
356
+
357
+ // Set all the template replacement options and generate the final email text (both in txt and html formats).
358
+ var optionsHtml = { username: username, email: email, servername: domain.title ? domain.title : 'MeshCentral', header: true, footer: false };
359
+ var optionsTxt = { username: username, email: email, servername: domain.title ? domain.title : 'MeshCentral', header: true, footer: false };
360
+ if ((connections == null) || (connections.length == 0)) {
361
+ optionsHtml.connections = false;
362
+ optionsTxt.connections = false;
363
+ } else {
364
+ optionsHtml.connections = connections.join('<br />\r\n');
365
+ optionsTxt.connections = connections.join('\r\n');
366
+ }
367
+ if ((disconnections == null) || (disconnections.length == 0)) {
368
+ optionsHtml.disconnections = false;
369
+ optionsTxt.disconnections = false;
370
+ } else {
371
+ optionsHtml.disconnections = disconnections.join('<br />\r\n');
372
+ optionsTxt.disconnections = disconnections.join('\r\n');
373
+ }
374
+
375
+ // Get from field
376
+ var from = null;
377
+ if (obj.config.sendgrid && (typeof obj.config.sendgrid.from == 'string')) { from = obj.config.sendgrid.from; }
378
+ else if (obj.config.smtp && (typeof obj.config.smtp.from == 'string')) { from = obj.config.smtp.from; }
379
+
380
+ // Send the email
381
+ obj.pendingMails.push({ to: email, from: from, subject: mailReplacements(template.htmlSubject, domain, optionsTxt), text: mailReplacements(template.txt, domain, optionsTxt), html: mailReplacements(template.html, domain, optionsHtml) });
382
+ sendNextMail();
383
+ }
384
+ });
385
+ };
386
+
387
// Send out the next mail in the pending list
388
function sendNextMail() {
389
if ((obj.sendingMail == true) || (obj.pendingMails.length == 0)) { return; }
@@ -463,7 +510,7 @@ module.exports.CreateMeshMail = function (parent, domain) {
510
// Add the user and start a timer
511
if (obj.deviceNotifications[user._id] == null) {
512
obj.deviceNotifications[user._id] = { nodes: {} };
466
- obj.deviceNotifications[user._id].timer = setTimeout(function () { sendDeviceNotifications(user._id); }, 20000);
513
+ obj.deviceNotifications[user._id].timer = setTimeout(function () { sendDeviceNotifications(user._id); }, 5 * 60 * 1000); // 5 minute before email is sent
514
}
515
516
// Add the device
@@ -527,7 +574,7 @@ module.exports.CreateMeshMail = function (parent, domain) {
574
// Add the user and start a timer
575
if (obj.deviceNotifications[user._id] == null) {
576
obj.deviceNotifications[user._id] = { nodes: {} };
530
- obj.deviceNotifications[user._id].timer = setTimeout(function () { sendDeviceNotifications(user._id); }, 20000);
577
+ obj.deviceNotifications[user._id].timer = setTimeout(function () { sendDeviceNotifications(user._id); }, 5 * 60 * 1000); // 5 minute before email is sent
578
}
579
580
// Add the device
@@ -617,9 +664,16 @@ module.exports.CreateMeshMail = function (parent, domain) {
664
connections.sort(sortCollator.compare);
665
disconnections.sort(sortCollator.compare);
666
620
- // TODO: Send the email
621
- //console.log('sendDeviceNotifications', connections, disconnections);
667
+ // Get the user and domain
668
+ const user = parent.webserver.users[userid];
669
+ if ((user == null) || (user.email == null) || (user.emailVerified !== true)) return;
670
+ const domain = obj.parent.config.domains[user.domain];
671
+ if (domain == null) return;
672
+
673
+ // Send the email
674
+ obj.sendDeviceNotifyMail(domain, user.name, user.email, connections, disconnections, 'us-en', null);
675
676
+ // Clean up
677
delete obj.deviceNotifications[userid];
678
}
679
package.json
+1
-14
@@ -36,8 +36,6 @@
36
"sample-config-advanced.json"
37
],
38
"dependencies": {
39
- "archiver": "^4.0.2",
40
- "archiver-zip-encrypted": "^1.0.10",
39
"body-parser": "^1.19.0",
40
"cbor": "~5.2.0",
41
"compression": "^1.7.4",
@@ -45,24 +43,13 @@
43
"express": "^4.17.0",
44
"express-handlebars": "^3.1.0",
45
"express-ws": "^4.0.0",
48
- "image-size": "^1.0.0",
46
"ipcheck": "^0.1.0",
50
- "loadavg-windows": "^1.1.1",
47
"minimist": "^1.2.0",
52
- "mongodb": "^4.1.0",
48
"multiparty": "^4.2.1",
49
"nedb": "^1.8.0",
50
"node-forge": "^0.10.0",
56
- "node-rdpjs-2": "^0.3.5",
57
- "node-windows": "^1.0.0-beta.6",
58
- "nodemailer": "^6.6.5",
59
- "otplib": "^10.2.3",
60
- "saslprep": "^1.0.3",
61
- "ssh2": "^1.4.0",
62
- "web-push": "^3.4.5",
51
"ws": "^5.2.3",
64
- "yauzl": "^2.10.0",
65
- "yubikeyotp": "^0.2.0"
52
+ "yauzl": "^2.10.0"
53
},
54
"repository": {
55
"type": "git",
translate/translate.js
+2
@@ -44,11 +44,13 @@ var meshCentralSourceFiles = [
44
"../emails/account-login.html",
45
"../emails/account-reset.html",
46
"../emails/mesh-invite.html",
47
+ "../emails/device-notify.html",
48
"../emails/account-check.txt",
49
"../emails/account-invite.txt",
50
"../emails/account-login.txt",
51
"../emails/account-reset.txt",
52
"../emails/mesh-invite.txt",
53
+ "../emails/device-notify.txt",
54
"../emails/sms-messages.txt",
55
'../agents/agent-translations.json'
56
];
translate/translate.json
+60
@@ -14242,6 +14242,13 @@
14242
"default.handlebars->37->2673"
14243
]
14244
},
14245
+ {
14246
+ "en": "Connected devices:",
14247
+ "xloc": [
14248
+ "device-notify.html->2->5->1",
14249
+ "device-notify.txt"
14250
+ ]
14251
+ },
14252
{
14253
"cs": "Připojeno hned",
14254
"de": "Jetzt verbunden",
@@ -19269,6 +19276,13 @@
19276
"xterm.handlebars->9->1"
19277
]
19278
},
19279
+ {
19280
+ "en": "Disconnected devices:",
19281
+ "xloc": [
19282
+ "device-notify.html->2->7->1",
19283
+ "device-notify.txt"
19284
+ ]
19285
+ },
19286
{
19287
"cs": "Zavrhnout",
19288
"de": "Verwerfen",
@@ -56354,6 +56368,13 @@
56368
"default.handlebars->37->1590"
56369
]
56370
},
56371
+ {
56372
+ "en": "The folloing devices have changed their connection state.",
56373
+ "xloc": [
56374
+ "device-notify.html->2->3->1",
56375
+ "device-notify.txt"
56376
+ ]
56377
+ },
56378
{
56379
"cs": "Níže jsou uvedena požadovaná zveřejnění součástí a softwaru s otevřeným zdrojovým kódem začleněných do tohoto softwaru.",
56380
"de": "Im Folgenden sind die erforderlichen Angaben zu Open Source-Komponenten und -Software aufgeführt, die in dieser Software enthalten sind.",
@@ -57612,6 +57633,18 @@
57633
"agentinvite.handlebars->container->column_l->5->linuxtab->9"
57634
]
57635
},
57636
+ {
57637
+ "en": "To unsubscribe,",
57638
+ "xloc": [
57639
+ "device-notify.html->2->9->1"
57640
+ ]
57641
+ },
57642
+ {
57643
+ "en": "To unsubscribe, load this link within 1 hour of getting this message: [[[SERVERURL]]][[[UNSUBSCRIBELINK]]]",
57644
+ "xloc": [
57645
+ "device-notify.txt"
57646
+ ]
57647
+ },
57648
{
57649
"cs": "Oznámení přípitku",
57650
"de": "Toastbenachrichtigung",
@@ -64580,6 +64613,18 @@
64613
"sms-messages.txt"
64614
]
64615
},
64616
+ {
64617
+ "en": "[[[CONNECTIONS]]]",
64618
+ "xloc": [
64619
+ "device-notify.html->2->5->3->0"
64620
+ ]
64621
+ },
64622
+ {
64623
+ "en": "[[[DISCONNECTIONS]]]",
64624
+ "xloc": [
64625
+ "device-notify.html->2->7->3->0"
64626
+ ]
64627
+ },
64628
{
64629
"cs": "[[[SERVERNAME]]]",
64630
"de": "[[[SERVERNAME]]]",
@@ -64707,6 +64752,14 @@
64752
"mesh-invite.html->2->1->1->0->1->1"
64753
]
64754
},
64755
+ {
64756
+ "en": "[[[SERVERNAME]]] - Device Notification",
64757
+ "xloc": [
64758
+ "device-notify.html->0",
64759
+ "device-notify.html->2->1->1->0->1->1",
64760
+ "device-notify.txt"
64761
+ ]
64762
+ },
64763
{
64764
"cs": "[[[SERVERNAME]]] - Ověření e-mailem",
64765
"de": "[[[SERVERNAME]]] - E-Mail-Überprüfung",
@@ -65149,6 +65202,7 @@
65202
"zh-chs": "点击这里",
65203
"zh-cht": "點擊這裡",
65204
"xloc": [
65205
+ "device-notify.html->2->9->1->1",
65206
"mesh-invite.html->2->15->1->1"
65207
]
65208
},
@@ -67022,6 +67076,12 @@
67076
"zh-chs": "v0.8.0",
67077
"zh-cht": "v0.8.0"
67078
},
67079
+ {
67080
+ "en": "within 1 hour of getting this message.",
67081
+ "xloc": [
67082
+ "device-notify.html->2->9->1"
67083
+ ]
67084
+ },
67085
{
67086
"cs": "{0}",
67087
"de": "{0}",