Christian Hesse
fb8e616846
global-functions: $RmFile: use $FileGet ...
...
... to work around restrictions in new file handling.
2025-06-04 22:28:17 +02:00
Christian Hesse
d993495e44
global-functions: $RmDir: use $FileGet ...
...
... to work around restrictions in new file handling.
2025-06-04 22:28:14 +02:00
Christian Hesse
1e4f168735
global-functions: $MkDir: use $FileGet ...
...
... to work around restrictions in new file handling.
2025-06-04 22:28:11 +02:00
Christian Hesse
b70e6e7984
global-functions: introduce $FileGet
2025-06-03 12:29:42 +02:00
Christian Hesse
4bc3bf40e6
Merge branch 'builtin-certs' into next
2025-06-03 11:06:59 +02:00
Christian Hesse
d69b399572
INITIAL-COMMANDS: use builtin certificates if possible
2025-06-03 11:06:59 +02:00
Christian Hesse
bf684a7197
global-functions: $CertificateAvailable: try to use builtin certificates
...
The builtin certificates were introduced with RouterOS 7.19, so requires
this hacky :parse workaround.
2025-05-28 15:08:26 +02:00
Christian Hesse
d59c4aee26
README: add a paragraph and link to jump
2025-05-28 14:16:57 +02:00
Christian Hesse
3d3b270748
README: give a hint on builtin certificate store
...
I guess this should become the default any time in future...
2025-05-28 14:07:57 +02:00
Christian Hesse
6a49c483b6
telegram-chat: rename variable...
...
... to better describe the use.
2025-05-23 17:38:22 +02:00
Christian Hesse
c50acd697a
telegram-chat: fix detection of replies
2025-05-23 17:36:56 +02:00
Christian Hesse
4bd7d44cd2
global-functions: $ScriptInstallUpdate: fix syntax error
2025-05-23 11:16:40 +02:00
Christian Hesse
86ad41f6b6
fix the trust state for certificates
...
RouterOS 7.19 is suffering an issue with certificate store, where the
trust state is not available correctly. This effects certificates
imported a long time ago, with RouterOS 7.4 or older.
Fixing trust state for all certificates by re-setting the trust state...
(Reported as SUP-188791...)
2025-05-23 10:51:04 +02:00
Christian Hesse
64fe923c5a
DEBUG: fix typo
2025-05-22 10:13:52 +02:00
Christian Hesse
f1396b83aa
telegram-chat: support debug output for updates in JSON
2025-05-22 10:13:52 +02:00
Christian Hesse
1b5dd1e1d3
telegram-chat: support trusted group chat ids
...
But be warned: Adding a person to a trusted group will give
her/him administrative control over the device(s) - without
changes on the device itself!
On the other hand... Removing permissions is easily done by removing
a person from a group.
Closes: https://github.com/eworm-de/routeros-scripts/issues/101
2025-05-22 10:13:52 +02:00
Christian Hesse
e78c71948d
mod/notification-telegram: fix indention
2025-05-22 10:13:52 +02:00
Christian Hesse
ce129ee441
fw-addr-lists: for IPv6 the CIDR is always expected
2025-05-22 10:13:52 +02:00
Christian Hesse
2a95687477
mod/notification-email: add the link symbol
2025-05-22 10:13:52 +02:00
Christian Hesse
74dc809b98
mod/notification-email: properly truncate the body
...
Truned out that the size limit for e-mail message/body is anywhere just
below 64kB... So truncate at about 62.000 bytes.
2025-05-22 10:13:52 +02:00
Christian Hesse
ff218e4ce5
mod/notification-email: add error handling when sending mail
2025-05-22 10:13:52 +02:00
Christian Hesse
bd3cc3bbd4
mod/inspectvar: replace only when matching
2025-05-22 10:13:52 +02:00
Christian Hesse
36f155ce62
mod/inspectvar: remove CR, replace LF
2025-05-22 10:13:52 +02:00
Christian Hesse
187735f35f
mod/inspectvar: print the length for strings
2025-05-22 10:13:52 +02:00
Christian Hesse
3521995dbc
mod/inspectvar: use $CharacterMultiply
2025-05-22 10:13:52 +02:00
Christian Hesse
1f4290f4be
Merge branch 'onerror' into next
2025-05-22 10:13:52 +02:00
Christian Hesse
205bcce6f9
update-tunnelbroker: :do ... on-error=... -> :onerror ... do=...
2025-05-22 10:13:52 +02:00
Christian Hesse
10ac816348
unattended-lte-firmware-upgrade: :do ... on-error=... -> :onerror ... do=...
2025-05-22 10:13:52 +02:00
Christian Hesse
f22d46da96
telegram-chat: :do ... on-error=... -> :onerror ... do=...
2025-05-22 10:13:52 +02:00
Christian Hesse
d0adf9974e
sms-forward: :do ... on-error=... -> :onerror ... do=...
2025-05-22 10:13:52 +02:00
Christian Hesse
fefe59751f
netwatch-notify: :do ... on-error=... -> :onerror ... do=...
2025-05-22 10:13:52 +02:00
Christian Hesse
a523f97938
netwatch-dns: :do ... on-error=... -> :onerror ... do=...
2025-05-22 10:13:52 +02:00
Christian Hesse
c757064eb9
mod/ssh-keys-import: :do ... on-error=... -> ... well... - fix condition 🥴
2025-05-22 10:13:47 +02:00
Christian Hesse
9cd4ed08a4
mod/ssh-keys-import: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
9ae21c00bd
mod/scriptrunonce: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
314e68e4cd
mode-button: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
e01873301f
mod/notification-gotify: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
3f092d3477
mod/notification-matrix: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
2a7fd7ea53
mod/notification-ntfy: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
5badafe109
mod/notification-telegram: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
c1e6348bb9
lease-script: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
d5f9ecebfb
gps-track: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
5c599beae1
global-functions: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
8b1b73c936
global-functions: $ValidateSyntax: add debug output
2025-05-21 22:12:25 +02:00
Christian Hesse
f5c4378676
global-functions: $ValidateSyntax: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
12926b7c42
global-functions: $ScriptInstallUpdate: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
2317013121
global-functions: $RmFile: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
86a8919ed2
global-functions: $RmDir: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
09f9826760
global-functions: $MkDir: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00
Christian Hesse
7a1fef78a2
global-functions: $GetMacVendor: :do ... on-error=... -> :onerror ... do=...
2025-05-21 22:12:25 +02:00