Age | Commit message (Expand) | Author | Files | Lines |
10 hours | Merge branch 'file' into nextHEADrouteros-7.20beta4-1nextmain | Christian Hesse | 1 | -4/+22 |
10 hours | global-functions: $FileGet: mitigate race with file properties•••RouterOS is suffering a race condition, where a file exists, but its
properties are not (yet) available. This is handled in $WaitForFile.
This passes an interval of zero to $WaitForFile, as does not wait for
the file to exist, but wants to avoid the race only.
| Christian Hesse | 1 | -0/+6 |
10 hours | global-functions: $WaitForFile: (mostly) revert changes•••This (mostly) reverts commits 0e00a228d67d77fadc80eee2df04c2cec25b8db8
and e08bb2192dfd22b25652553f28304818a3602331.
This is required for RouterOS 7.20beta4. That fixed recursive find for
files, and (again, or still?) suffers timing (and thus racing) issues
getting file properties.
This breaks RouterOS 7.20beta2 again, so that specific version is not
supported. Just update...
| Christian Hesse | 1 | -4/+16 |
3 days | packages-update: convert to time before comparing...•••... to avoid:
packages-update: Script 'packages-update' exited with error: Script Error: cannot compare if truth value is more than or equal to ip address
| Christian Hesse | 1 | -2/+3 |
12 days | doc/fw-addr-lists: add a warning on possible subsystem crash | Christian Hesse | 1 | -1/+4 |
12 days | fw-addr-lists: delay on possible scripting subsystem crash•••This happens in :convert when a list is way too large.
Let's use $LogPrintOnce here. If the scripting subsystem really crashes
the message will be purged from $LogPrintOnceMessages anyway (as all
global variables are lost).
| Christian Hesse | 1 | -0/+6 |
12 days | capsman-download-packages: revert changes for "new functionality"•••(Though we keep the quoting for type.)
Well, turned out this functionality is for `/file/print` only,
but does not work with `/file/find`. 🫣🥴
This reverts commit 15fd522d3db507cc7c22af9cd59ff85d41a5be6f.
| Christian Hesse | 4 | -13/+13 |
2025-06-04 | update list of contributors | Christian Hesse | 1 | -0/+1 |
2025-06-04 | check-routeros-update: remove a stale scheduler | Christian Hesse | 1 | -3/+9 |
2025-06-04 | packages-update: support deferred reboot with longer interval | Christian Hesse | 2 | -5/+10 |
2025-06-04 | Merge branch 'file' into nextrouteros-7.20beta2-1 | Christian Hesse | 9 | -67/+107 |
2025-06-04 | capsman-download-packages: adopt new functionality from file menu | Christian Hesse | 4 | -13/+13 |
2025-06-04 | capsman-download-packages: use $FileGet ...•••... to work around restrictions in new file handling.
| Christian Hesse | 3 | -3/+6 |
2025-06-04 | telegram-chat: use $FileExists ...•••... to work around restrictions in new file handling.
| Christian Hesse | 1 | -1/+2 |
2025-06-04 | mod/ssh-keys-import: use $FileExists ...•••... to work around restrictions in new file handling.
| Christian Hesse | 1 | -2/+2 |
2025-06-04 | mod/notification-email: use $RmFile | Christian Hesse | 1 | -1/+2 |
2025-06-04 | mod/notification-email: use $FileExists ...•••... to work around restrictions in new file handling.
| Christian Hesse | 1 | -1/+2 |
2025-06-04 | backup-email: add a comment why files are not removed | Christian Hesse | 1 | -0/+1 |
2025-06-04 | backup-email: check for .conf file | Christian Hesse | 1 | -1/+2 |
2025-06-04 | backup-email: use :retry and $FileExists ...•••... to work around restrictions in new file handling.
| Christian Hesse | 1 | -10/+11 |
2025-06-04 | global-functions: $DownloadPackage: use $FileExists ...•••... to work around restrictions in new file handling.
| Christian Hesse | 1 | -2/+3 |
2025-06-04 | global-functions: introduce $FileExists | Christian Hesse | 1 | -0/+24 |
2025-06-04 | global-functions: $WaitForFile: use :retry for simplification, ...•••... and to work around restrictions in new file handling.
| Christian Hesse | 1 | -8/+6 |
2025-06-04 | global-functions: $WaitForFile: drop the workaround•••This was fixed in RouterOS 7.18rc1, so should be ok to remove now.
routeros-7.18rc1-2 | Christian Hesse | 1 | -9/+0 |
2025-06-04 | global-functions: $RmFile: use $FileGet ...•••... to work around restrictions in new file handling.
| Christian Hesse | 1 | -9/+10 |
2025-06-04 | global-functions: $RmDir: use $FileGet ...•••... to work around restrictions in new file handling.
| Christian Hesse | 1 | -9/+10 |
2025-06-04 | global-functions: $MkDir: use $FileGet ...•••... to work around restrictions in new file handling.
| Christian Hesse | 1 | -1/+3 |
2025-06-03 | global-functions: introduce $FileGet | Christian Hesse | 1 | -0/+13 |
2025-06-03 | Merge branch 'builtin-certs' into next | Christian Hesse | 3 | -11/+32 |
2025-06-03 | INITIAL-COMMANDS: use builtin certificates if possible | Christian Hesse | 1 | -10/+16 |
2025-05-28 | global-functions: $CertificateAvailable: try to use builtin certificates•••The builtin certificates were introduced with RouterOS 7.19, so requires
this hacky :parse workaround.
| Christian Hesse | 1 | -0/+5 |
2025-05-28 | README: add a paragraph and link to jump | Christian Hesse | 1 | -2/+5 |
2025-05-28 | README: give a hint on builtin certificate store•••I guess this should become the default any time in future...
| Christian Hesse | 1 | -1/+8 |
2025-05-23 | telegram-chat: rename variable...•••... to better describe the use.
| Christian Hesse | 1 | -2/+2 |
2025-05-23 | telegram-chat: fix detection of replies | Christian Hesse | 1 | -1/+1 |
2025-05-23 | global-functions: $ScriptInstallUpdate: fix syntax error | Christian Hesse | 1 | -1/+1 |
2025-05-23 | 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...)
routeros-7.19-1change-138 | Christian Hesse | 2 | -1/+3 |
2025-05-22 | DEBUG: fix typo | Christian Hesse | 1 | -1/+1 |
2025-05-22 | telegram-chat: support debug output for updates in JSON | Christian Hesse | 1 | -0/+3 |
2025-05-22 | 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
| Christian Hesse | 1 | -1/+3 |
2025-05-22 | mod/notification-telegram: fix indention | Christian Hesse | 1 | -1/+1 |
2025-05-22 | fw-addr-lists: for IPv6 the CIDR is always expected | Christian Hesse | 1 | -2/+2 |
2025-05-22 | mod/notification-email: add the link symbol | Christian Hesse | 1 | -1/+2 |
2025-05-22 | 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.
| Christian Hesse | 1 | -3/+13 |
2025-05-22 | mod/notification-email: add error handling when sending mail | Christian Hesse | 1 | -25/+30 |
2025-05-22 | mod/inspectvar: replace only when matching | Christian Hesse | 1 | -1/+6 |
2025-05-22 | mod/inspectvar: remove CR, replace LF | Christian Hesse | 1 | -0/+2 |
2025-05-22 | mod/inspectvar: print the length for strings | Christian Hesse | 1 | -0/+5 |
2025-05-22 | mod/inspectvar: use $CharacterMultiply | Christian Hesse | 1 | -5/+3 |
2025-05-22 | Merge branch 'onerror' into next | Christian Hesse | 23 | -174/+175 |
2025-05-22 | update-tunnelbroker: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-22 | unattended-lte-firmware-upgrade: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -6/+6 |
2025-05-22 | telegram-chat: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-22 | sms-forward: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-22 | netwatch-notify: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -6/+6 |
2025-05-22 | netwatch-dns: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -4/+4 |
2025-05-22 | mod/ssh-keys-import: :do ... on-error=... -> ... well... - fix condition 🥴 | Christian Hesse | 1 | -3/+1 |
2025-05-21 | mod/ssh-keys-import: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | mod/scriptrunonce: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | mode-button: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | mod/notification-gotify: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -6/+6 |
2025-05-21 | mod/notification-matrix: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -21/+21 |
2025-05-21 | mod/notification-ntfy: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -6/+6 |
2025-05-21 | mod/notification-telegram: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -9/+9 |
2025-05-21 | lease-script: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | gps-track: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | global-functions: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | global-functions: $ValidateSyntax: add debug output | Christian Hesse | 1 | -0/+3 |
2025-05-21 | global-functions: $ValidateSyntax: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -2/+2 |
2025-05-21 | global-functions: $ScriptInstallUpdate: :do ... on-error=... -> :onerror ... ... | Christian Hesse | 1 | -15/+13 |
2025-05-21 | global-functions: $RmFile: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | global-functions: $RmDir: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | global-functions: $MkDir: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -6/+6 |
2025-05-21 | global-functions: $GetMacVendor: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | global-functions: $FetchHuge: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | global-functions: $DownloadPackage: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | global-config: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | fw-addr-lists: adopt changes in wording...•••... to match the changes from previous commit.
| Christian Hesse | 1 | -12/+12 |
2025-05-21 | fw-addr-lists: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -8/+8 |
2025-05-21 | check-routeros-update: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | check-lte-firmware-upgrade: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | check-health: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -3/+3 |
2025-05-21 | backup-upload: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -9/+9 |
2025-05-21 | backup-partition: :do ... on-error=... -> :onerror ... do=... | Christian Hesse | 1 | -7/+9 |
2025-05-21 | global-functions: $DownloadPackage: reverse failure logic...•••... and do not retry.
| Christian Hesse | 1 | -14/+11 |
2025-05-13 | sms-forward: add error handling on message removal | Christian Hesse | 1 | -4/+12 |
2025-05-13 | sms-forward: delay after removal...•••... to give the SIM card some time to succeed. Removing several messages
one after another fails without this.
| Christian Hesse | 1 | -0/+2 |
2025-05-12 | global-functions: $ScriptInstallUpdate: set config and functions not ready...•••... before reload. This should fix some corner cases where scripts ran
with broken configuration or functions.
Also do reload both - configuration and functions - to simplify the
function.
| Christian Hesse | 1 | -21/+16 |
2025-05-12 | global-config: add another visual hint | Christian Hesse | 1 | -1/+4 |
2025-05-12 | global-config: add another comment with visual hint | Christian Hesse | 1 | -0/+3 |
2025-05-08 | Merge branch 'global-config-ready' into next | Christian Hesse | 59 | -172/+179 |
2025-05-08 | global-wait: check for global config to be ready | Christian Hesse | 1 | -1/+2 |
2025-05-08 | update-tunnelbroker: check for global config to be ready | Christian Hesse | 1 | -3/+3 |
2025-05-08 | update-gre-address: check for global config to be ready | Christian Hesse | 1 | -3/+3 |
2025-05-08 | telegram-chat: check for global config to be ready | Christian Hesse | 1 | -3/+3 |
2025-05-08 | sms-forward: check for global config to be ready | Christian Hesse | 1 | -3/+3 |
2025-05-08 | sms-action: check for global config to be ready | Christian Hesse | 1 | -3/+3 |
2025-05-08 | ppp-on-up: check for global config to be ready | Christian Hesse | 1 | -3/+3 |
2025-05-08 | packages-update: check for global config to be ready | Christian Hesse | 1 | -3/+3 |
2025-05-08 | ospf-to-leds: check for global config to be ready | Christian Hesse | 1 | -3/+3 |