Age | Commit message (Collapse) | Author | Files | Lines |
|
These accept just one array as argument. Adding new features is possible
without breaking the API.
These calls are the same for now:
$SendNotification "Subject..." "Message...";
$SendNotification2 ({ subject="Subject..."; message="Message..." });
But the latter will bring more features in future.
|
|
|
|
|
|
|
|
This is required to test for root CA (without intermediate) directly.
|
|
We want the migration to run even if the notification is disabled.
|
|
|
|
Some mail clients do not like unencoded utf-8 in subject... Let's
encode in quoted-printable to fix.
|
|
|
|
This makes sure the closing curly bracket is not hidden in comment.
|
|
migration code
|
|
|
|
|
|
|
|
|
|
present
|
|
... if symbols are enabled.
|
|
|
|
|
|
The API returns 404 on unknown mac vendor... We can just catch error,
but not decide whether it is connection error or unknown vendor.
Try without mac address - on error we have a connection issue.
|
|
Let's Encrypt started issuing certificates from "R3" intermediate on
December 2nd. All certificates should be renewed by now...
|
|
|
|
|
|
CA-3" now
|
|
|
|
|
|
... just as without queue.
|
|
... when returning gracefully.
|
|
All scripts wait for the global functions on their own now.
|
|
In RouterOS functions are of type 'array' with 'code' (numerical index 1)
inside. Cast to string to make comparison work.
Also define the function to make it available.
|
|
|
|
|
|
Now that we have an e-mail queue we do not care if the server is up or not.
|
|
|
|
|
|
We can merge this when RouterOS 6.47 moves to long-term...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
configuration
|
|
|
|
|
|
Anybody had enough time to migrate, no?
|
|
Reset $SentConfigChangesNotification and rerun $ScriptInstallUpdate
to test...
:set SentConfigChangesNotification
$ScriptInstallUpdate
|
|
semi-mandatory
... and remove the migration from changes.
|
|
|
|
|
|
|
|
... if scheduler exists.
|
|
|
|
|
|
Signed-off-by: Michael Gisbers <michael@gisbers.de>
Signed-off-by: Christian Hesse <mail@eworm.de>
|
|
|
|
For e-mail just in plain text...
|
|
|
|
|
|
Formatting with fixed width font stopped links from being clickable.
|
|
|
|
|
|
|
|
|
|
The message is queued, not lost...
|
|
|
|
|
|
|
|
|
|
neighbor list
|
|
... with comma-separated list.
|
|
|
|
|
|
This helps against notification flooding.
|
|
|
|
|
|
... but give configuration to opt-out.
|
|
|
|
|
|
|
|
The uptime is returned in time, with supports arithmetic modulo
operation. This is three minutes in nano seconds, so multiplied
180 with 10^9.
|
|
|
|
|
|
|
|
|
|
Telegram messages have a maximum length of 4096 characters. Truncate if
too long, keep some spare characters for status messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This matches the string included in export.
|
|
|