aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
5 daysmod/notification-ntfy: add basic authentication in headers•••This makes it a bit easier and straight forward as we pass the headers anyway. HEADstagingnextmainGravatar Christian Hesse1-3/+6
5 daysmod/notification-ntfy: support authentication with bearer token•••Closes: https://github.com/eworm-de/routeros-scripts/issues/86 Gravatar Christian Hesse3-0/+9
5 daysfw-addr-lists: do not fail on invalid json dataGravatar Christian Hesse1-1/+3
5 daysmod/notification-email: $FlushEmailQueue: just return on empty queueGravatar Christian Hesse1-0/+4
6 daysmod/notification-email: $FlushEmailQueue: move the check up...•••... as this needs to be done before creating a scheduler. 😜 Also remove the scheduler and return. Gravatar Christian Hesse1-4/+6
6 daysmod/notification-email: $FlushEmailQueue: create scheduler if missing...•••... as it is required to be modified several times below. Gravatar Christian Hesse1-2/+8
6 daysmod/notification-email: $FlushEmailQueue: return on purgeGravatar Christian Hesse1-0/+6
6 daysmod/notification-email: $FlushEmailQueue: return on successGravatar Christian Hesse1-3/+4
6 daysglobal-functions: $WaitForFile: delay until "complete"...•••Well, turns out that waiting for existence of a file is not sufficient. Chances are that a file is available just partly, so wait until the size no longer changes... Let's hope that works as expected. 🤞 Gravatar Christian Hesse1-0/+10
6 daysmode-button: support led toggle without extra scriptGravatar Christian Hesse1-1/+1
6 daysleds-toggle-mode: toggle in one call...•••... and drop the condition. Gravatar Christian Hesse1-5/+1
6 daysmod/notification-email: increase retry interval on failureGravatar Christian Hesse1-2/+4
6 daysmod/notification-email: drop useless safeguard•••Guess it was useful back in the day. Now the function exits early if the queue is empty... So this can never be zero. Gravatar Christian Hesse1-1/+1
14 daysMerge branch 'func-exit-error' into nextGravatar Christian Hesse12-39/+77
14 daysmode-button: $ModeButtonScheduler: explicitly name the variableGravatar Christian Hesse1-4/+8
14 daysmod/ssh-keys-import: $SSHKeysImportFile: use $ExitError to indicate unintenti...Gravatar Christian Hesse1-2/+4
14 dayscheck-routeros-update: pass script name to local functionGravatar Christian Hesse1-6/+8
14 daysmod/ssh-keys-import: $SSHKeysImport: use $ExitError to indicate unintentional...Gravatar Christian Hesse1-2/+4
14 daysMerge branch 'exit-error' into nextGravatar Christian Hesse57-57/+359
14 daysmod/scriptrunonce: $ScriptRunOnce: use $ExitError to indicate unintentional e...Gravatar Christian Hesse1-2/+4
14 daysglobal-functions: $FetchHuge: passing boolean to function is still broken... ...Gravatar Christian Hesse1-4/+4
14 daysupdate-tunnelbroker: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
14 daysmod/notification-telegram: $SendTelegram: use $ExitError to indicate unintent...Gravatar Christian Hesse1-2/+4
14 daysupdate-gre-address: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 daysmod/notification-telegram: $FlushTelegramQueue: use $ExitError to indicate un...Gravatar Christian Hesse1-2/+4
14 daystelegram-chat: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+8
14 daysmod/notification-ntfy: $SendNtfy: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+4
14 dayssms-forward: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
14 daysmod/notification-ntfy: $FlushNtfyQueue: use $ExitError to indicate unintentio...Gravatar Christian Hesse1-2/+4
14 dayssms-action: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 daysmod/notification-matrix: $SendMatrix: use $ExitError to indicate unintentiona...Gravatar Christian Hesse1-2/+4
14 daysppp-on-up: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 daysmod/notification-matrix: $FlushMatrixQueue: use $ExitError to indicate uninte...Gravatar Christian Hesse1-2/+4
14 dayspackages-update: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+13
14 daysmod/notification-email: $SendEMail: use $ExitError to indicate unintentional ...Gravatar Christian Hesse1-2/+4
14 daysospf-to-leds: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 daysmod/notification-email: $FlushEmailQueue: use $ExitError to indicate unintent...Gravatar Christian Hesse1-2/+4
14 daysnetwatch-notify: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 daysmod/ipcalc: $IPCalc: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+4
14 daysnetwatch-dns: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+8
14 daysmod/inspectvar: $InspectVar: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+4
14 daysmode-button: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+4
14 daysmod/bridge-port-vlan: $BridgePortVlan: use $ExitError to indicate unintention...Gravatar Christian Hesse1-2/+4
14 dayslog-forward: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+6
14 daysmod/bridge-port-to: $BridgePortTo: use $ExitError to indicate unintentional e...Gravatar Christian Hesse1-2/+4
14 dayslease-script: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
14 daysmode-button: $ModeButtonScheduler: use $ExitError to indicate unintentional e...Gravatar Christian Hesse1-2/+4
14 daysipv6-update: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
14 daysglobal-functions: $SendNotification: use $ExitError to indicate unintentional...Gravatar Christian Hesse1-2/+4
14 daysipsec-to-dns: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 daysglobal-functions: $ScriptInstallUpdate: use $ExitError to indicate unintentio...Gravatar Christian Hesse1-2/+4
14 dayshotspot-to-wpa: use $ExitError to indicate unintentional errorGravatar Christian Hesse3-3/+21
14 daysglobal-functions: $ExitError: give matching message for functionsGravatar Christian Hesse1-3/+5
14 dayshotspot-to-wpa-cleanup: use $ExitError to indicate unintentional errorGravatar Christian Hesse3-3/+15
14 daysgps-track: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 daysfw-addr-lists: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 daysfirmware-upgrade-reboot: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
14 daysdhcp-to-dns: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 daysdhcp-lease-comment: use $ExitError to indicate unintentional errorGravatar Christian Hesse4-4/+20
14 daysdaily-psk.capsman: use $ExitError to indicate unintentional errorGravatar Christian Hesse4-4/+20
14 dayscollect-wireless-mac: use $ExitError to indicate unintentional errorGravatar Christian Hesse4-4/+20
14 dayscheck-routeros-update: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-2/+25
14 dayscheck-lte-firmware-upgrade: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 dayscheck-health: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+6
14 dayscheck-certificates: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 dayscertificate-renew-issued: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+5
14 dayscapsman-rolling-upgrade: use $ExitError to indicate unintentional errorGravatar Christian Hesse3-3/+15
14 dayscapsman-download-packages: use $ExitError to indicate unintentional errorGravatar Christian Hesse3-3/+21
14 daysbackup-upload: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
14 daysbackup-partition: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+11
14 daysaccesslist-duplicates: use $ExitError to indicate unintentional errorGravatar Christian Hesse4-4/+16
14 daysbackup-email: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+9
14 daysbackup-cloud: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+6
14 daysglobal-functions: $ExitError: give script name in messageGravatar Christian Hesse1-1/+1
14 daysglobal-functions: introduce $ExitError...•••... as a simple macro to print error message on unintentional error. Gravatar Christian Hesse1-0/+13
2024-11-27netwatch-dns: explicitly expect type=A...•••... which is provided since 7.16beta7 (but require next stable release 7.16 as that is available meanwhile). routeros-7.16-7Gravatar Christian Hesse2-3/+3
2024-11-27dhcp-to-dns: explicitly expect type=A...•••... which is provided since 7.16beta7 (but require next stable release 7.16 as that is available meanwhile). I had this on my wishlist for a long time, and opened an issue in March 2023 about it (SUP-111312). Back then I changed the code to support both, see commit 779b3b8872b23b784c331d7a454c86439046f5d3. routeros-7.16-6Gravatar Christian Hesse2-5/+5
2024-11-27mod/ssh-keys-import: require RouterOS 7.16•••Actually the requirement bumped with the change in commits: * 9c945b1a3283bb352707c69630c579cf82484dcb mod/ssh-keys-import: $SSHKeysImportFile: simplify looping lines * 1f526b356121749991fee69cee5a6c728855c8f2 mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize` routeros-7.16-5Gravatar Christian Hesse2-2/+2
2024-11-27fw-addr-lists: require RouterOS 7.16•••Actually the requirement bumped with the change in commit: * 084c246ef0cab329fe981732089277fa8398800b fw-addr-lists: simplify looping lines routeros-7.16-4Gravatar Christian Hesse2-2/+2
2024-11-22fw-addr-lists: spamhaus.org returned to 'GTS Root R4'Gravatar Christian Hesse2-3/+3
2024-11-15mode-button: do not act on disabled LEDGravatar Christian Hesse1-1/+2
2024-11-15mode-button: catch runtime errors in executed codeGravatar Christian Hesse1-1/+5
2024-11-15mode-button: fix the caller parameter to $LogPrint•••This is inside a function, so use just $0 here. Gravatar Christian Hesse1-3/+3
2024-11-14packages-update: drop check for device-mode downgrade...•••... as things have been revised and this specific setting was removed. routeros-7.17beta5-1Gravatar Christian Hesse1-6/+0
2024-11-13hotspot-to-wpa-cleanup: revert display of timeout value...•••... as the timeout is a time value, and showing "4w00:00:00" (with lots of zeros) is not any better. 😜 This reverts commit f1533b8962bc67d17e9f6b5666ae51ee4d1e1ff4. Gravatar Christian Hesse3-3/+3
2024-11-13hotspot-to-wpa-cleanup: prepare real timeout value in variable...•••... to make sure it is not re-calculated for every single lease. Gravatar Christian Hesse3-6/+6
2024-11-12hotspot-to-wpa-cleanup: clean up daily onlyGravatar Christian Hesse3-3/+6
2024-11-12hotspot-to-wpa-cleanup: use the timeout in message...•••... not the actual value. Gravatar Christian Hesse3-3/+3
2024-11-12check-routeros-update: always exit early if up to date...•••... and just make the output and log dependent on terminal. Gravatar Christian Hesse1-2/+4
2024-11-12check-routeros-update: make invalid version string a warningGravatar Christian Hesse1-1/+1
2024-11-12check-routeros-update: add specific message for empty version stringGravatar Christian Hesse1-0/+5
2024-11-12check-routeros-update: replace hard-coded versionGravatar Christian Hesse1-1/+1
2024-11-08mod/ssh-keys-import: $SSHKeysImport: split with `:deserialize`routeros-7.16-3Gravatar Christian Hesse1-2/+1
2024-11-08mod/ssh-keys-import: $SSHKeysImportFile: let `:deserialize` split the fieldsGravatar Christian Hesse1-6/+3
2024-11-08mod/ssh-keys-import: $SSHKeysImportFile: simplify looping linesrouteros-7.16-2Gravatar Christian Hesse1-5/+4
2024-11-06fw-addr-lists: simplify looping lines•••With `:deserialize` the **record** separator is always a new line. The property `delimiter=` is a **field** reparator, so you can parse a lines into an array. We do not want (or need) that, so use new line as field separator. This will result in an array with just one element, and we use that. Also convert the data to line feed explicitly, just to be sure. routeros-7.16-1Gravatar Christian Hesse1-4/+3
2024-11-02doc/netwatch-dns: link to 'certificate name from browser'Gravatar Christian Hesse2-2/+4
2024-11-02doc/fw-addr-lists: link to 'certificate name from browser'Gravatar Christian Hesse2-3/+8
2024-11-02doc/mod/notification-ntfy: link to 'certificate name from browser'Gravatar Christian Hesse2-0/+6
2024-11-02doc/mod/notification-matrix: link to 'certificate name from browser'Gravatar Christian Hesse2-0/+8