Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-02-28 | netwatch-notify: try another workaround | Christian Hesse | 1 | -4/+2 | |
The last one did not make it... Perhaps the cache just needs a moment to settle? | |||||
2024-02-28 | netwatch-notify: work around race condition | Christian Hesse | 1 | -8/+12 | |
This used to crash every now and then with: > script;error script error: no such item (4) I guess this is caused by querying the dns cache just exactly when a record expires. The chance is maximized: The script is started by scheduler every minute, and the record's ttl is a multiple of a minute. Let's query records that are not about to expire immediately, and try again. | |||||
2024-02-28 | netwatch-notify: restore the check 🥴 | Christian Hesse | 1 | -1/+2 | |
This reverts commit 28da1da49e275fef6089a103edf6c158bbff317f. Chances are that we have to resolve a CNAME, that does not match when querying the cache. How to handle CNAME do multiple A records? 🤨 | |||||
2024-02-28 | netwatch-notify: simplify the check | Christian Hesse | 1 | -2/+1 | |
2024-02-28 | netwatch-notify: ... and switch state to "unknown" on host update | Christian Hesse | 1 | -0/+1 | |
2024-02-28 | netwatch-notify: handle status "down" in its own condition... | Christian Hesse | 1 | -1/+4 | |
... instead of else-branch. This makes sure to skip hosts that just became "unknown". (Possible soon!) | |||||
2024-02-28 | netwatch-notify: use logical operator, no literal "and" | Christian Hesse | 1 | -1/+1 | |
Just like we do everywhere else. | |||||
2024-02-28 | doc/netwatch-notify: update for multiple records | Christian Hesse | 1 | -3/+3 | |
2024-02-19 | netwatch-notify: do not update with record in cache | Christian Hesse | 1 | -1/+2 | |
Using `:resolve` we have just one address, but chances are several records do exist. These end up in cache, so we are happy to find them there - no need to update then. | |||||
2024-02-08 | doc/unattended-lte-firmware-upgrade: more devices supported... | Christian Hesse | 1 | -0/+1 | |
2024-02-08 | unattended-lte-firmware-upgrade: add error handling | Christian Hesse | 1 | -7/+11 | |
2024-02-08 | check-lte-firmware-upgrade: give more detailed infos on modem | Christian Hesse | 1 | -2/+4 | |
2024-02-02 | introduce BRANCHES info | Christian Hesse | 1 | -0/+43 | |
2024-02-02 | doc/backup-partition: add warning about RouterOS version | Christian Hesse | 1 | -0/+4 | |
2024-02-02 | backup-partition: make sure to remove the scheduler on failure | Christian Hesse | 1 | -0/+1 | |
2024-02-02 | backup-partition: get the actual real name... | Christian Hesse | 1 | -4/+4 | |
... to prevent confusion after restore. | |||||
2024-02-02 | backup-partition: add a scheduler in backup... | Christian Hesse | 2 | -0/+9 | |
... that logs a warning when backup is booted. | |||||
2024-02-02 | backup-partition: use plain variable for name | Christian Hesse | 1 | -4/+4 | |
2024-02-01 | INITIAL-COMMANDS: link initial commands above | Christian Hesse | 1 | -4/+5 | |
2024-01-31 | packages-update: schedule reboot at pre-calculated time | Christian Hesse | 2 | -6/+9 | |
2024-01-31 | packages-update: move output and logging to local function... | Christian Hesse | 1 | -6/+7 | |
... and pass script name for clean logging. | |||||
2024-01-31 | packages-update: prepare message and mention time zone | Christian Hesse | 1 | -2/+4 | |
2024-01-31 | backup-upload: use $CleanName | Christian Hesse | 1 | -2/+2 | |
2024-01-31 | backup-email: use $CleanName | Christian Hesse | 1 | -2/+2 | |
2024-01-31 | dhcp-to-dns: use $CleanName | Christian Hesse | 1 | -3/+3 | |
2024-01-31 | global-functions: $CertificateNameByCN: use $CleanName | Christian Hesse | 1 | -3/+2 | |
2024-01-31 | global-functions: introduce $CleanName | Christian Hesse | 1 | -0/+19 | |
2024-01-31 | global-functions: $MkDir: drop declaration of unused functions | Christian Hesse | 1 | -2/+0 | |
2024-01-31 | global-functions: $IsDNSResolving: drop declaration of unused function | Christian Hesse | 1 | -2/+0 | |
2024-01-30 | check-certificates: always quote the certificate name | Christian Hesse | 1 | -7/+7 | |
2024-01-30 | global-functions: $ScriptInstallUpdate: warn just once... | Christian Hesse | 1 | -1/+2 | |
... for every script on required RouterOS version. | |||||
2024-01-30 | log-forward: use $MAX | Christian Hesse | 1 | -3/+2 | |
2024-01-30 | Merge branch 'jobname' into nextrouteros-7.12-3 | Christian Hesse | 66 | -68/+159 | |
2024-01-30 | update-tunnelbroker: use :jobname to get script name | Christian Hesse | 1 | -1/+2 | |
2024-01-30 | update-gre-address: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | telegram-chat: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | sms-forward: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | sms-action: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | ppp-on-up: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | packages-update: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | ospf-to-leds: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | netwatch-notify: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | netwatch-dns: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | mode-button: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | log-forward: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | lease-script: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | ipv6-update: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | ipsec-to-dns: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | hotspot-to-wpa-cleanup: use :jobname to get script name | Christian Hesse | 4 | -6/+5 | |
2024-01-30 | hotspot-to-wpa: use :jobname to get script name | Christian Hesse | 4 | -4/+12 | |
2024-01-30 | gps-track: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | global-wait: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | global-functions: use :jobname to get script name | Christian Hesse | 1 | -1/+1 | |
2024-01-30 | fw-addr-lists: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | firmware-upgrade-reboot: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | dhcp-to-dns: use :jobname to get script name | Christian Hesse | 1 | -1/+2 | |
2024-01-30 | dhcp-lease-comment: use :jobname to get script name | Christian Hesse | 5 | -5/+10 | |
2024-01-30 | daily-psk.capsman: use :jobname to get script name | Christian Hesse | 5 | -5/+15 | |
2024-01-30 | collect-wireless-mac: use :jobname to get script name | Christian Hesse | 5 | -5/+10 | |
2024-01-30 | check-routeros-update: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | check-lte-firmware-upgrade: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | check-health: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | check-certificates: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | certificate-renew-issued: use :jobname to get script name | Christian Hesse | 1 | -1/+3 | |
2024-01-30 | capsman-rolling-upgrade: use :jobname to get script name | Christian Hesse | 4 | -4/+8 | |
2024-01-30 | capsman-download-packages: use :jobname to get script name | Christian Hesse | 4 | -4/+12 | |
2024-01-30 | backup-upload: use :jobname to get script name | Christian Hesse | 1 | -1/+2 | |
2024-01-30 | backup-partition: use :jobname to get script name | Christian Hesse | 1 | -1/+2 | |
2024-01-30 | backup-email: use :jobname to get script name | Christian Hesse | 1 | -1/+2 | |
2024-01-30 | backup-cloud: use :jobname to get script name | Christian Hesse | 1 | -1/+2 | |
2024-01-30 | accesslist-duplicates: use :jobname to get script name | Christian Hesse | 5 | -5/+5 | |
2024-01-30 | Merge branch 'bump' into nextrouteros-7.12-2 | Christian Hesse | 11 | -13/+9 | |
2024-01-30 | mod/ssh-keys-import: bump RouterOS version dependency | Christian Hesse | 2 | -3/+1 | |
2024-01-30 | accesslist-duplicates: bump RouterOS version dependency | Christian Hesse | 6 | -7/+5 | |
2024-01-30 | hotspot-to-wpa-cleanup: bump RouterOS version dependency | Christian Hesse | 3 | -3/+3 | |
2024-01-30 | mod/notification-email: drop support for old property name | Christian Hesse | 1 | -2/+4 | |
2024-01-30 | README: note on required hardware and limitations by storage | Christian Hesse | 1 | -0/+8 | |
2024-01-30 | README: make required software a paragraph | Christian Hesse | 1 | -0/+2 | |
2024-01-30 | send a warning on storage sizechange-118 | Christian Hesse | 2 | -1/+7 | |
2024-01-30 | packages-update: support deferred reboot on auto-updatechange-117 | Christian Hesse | 5 | -1/+24 | |
Closes #56 | |||||
2024-01-30 | packages-update: schedule from local function | Christian Hesse | 1 | -8/+12 | |
2024-01-30 | telegram-chat: add (and increase) random delay on error | Christian Hesse | 1 | -0/+11 | |
Chances are that two devices schedule the script (nearly) simultaneously. Causing a lot of failures from fetch. Instead of forcing a retry on *every* invocating we add (and increase) a random delay, that is slowly decreasd on success. This should minimize failures... | |||||
2024-01-30 | telegram-chat: fix concatenation (and retry with delay) | Christian Hesse | 1 | -1/+1 | |
Ups... 😳 | |||||
2024-01-30 | global-functions: $RandomDelay: always scale to ms...routeros-7.12-1 | Christian Hesse | 2 | -3/+4 | |
... to randomize in friction of unit. This requires :tonsec from RouterOS 7.12. | |||||
2024-01-29 | global-functions: $RandomDelay: allow zero time, return immediately | Christian Hesse | 1 | -0/+4 | |
2024-01-29 | global-functions: $RandomDelay: name the parameters | Christian Hesse | 1 | -1/+4 | |
2024-01-25 | update list of contributors | Christian Hesse | 1 | -0/+1 | |
2024-01-25 | INITIAL-COMMANDS: fix existing installation | Christian Hesse | 1 | -0/+7 | |
2024-01-24 | doc/check-certificates: initial certificate import | Christian Hesse | 1 | -0/+10 | |
2024-01-24 | doc/check-certificates: add paragraph | Christian Hesse | 1 | -0/+2 | |
2024-01-24 | check-certificates: unbreak certificate download | Christian Hesse | 1 | -1/+1 | |
This was borked with a2749b276003a90b95b9723e287542be56c0d0c1. 😳 | |||||
2024-01-24 | INITIAL-COMMANDS: ... but rename the configuration overlay! | Christian Hesse | 1 | -0/+1 | |
This should not ultimately destroy user's configuration. | |||||
2024-01-24 | INITIAL-COMMANDS: remove before adding... | Christian Hesse | 1 | -0/+2 | |
... to make sure it does not fail on (partly) installed scripts. This should work to fix borked base installation now. | |||||
2024-01-22 | mod/notification-telegram: apply url encoding when sending | Christian Hesse | 1 | -5/+5 | |
2024-01-22 | mod/notification-matrix: drop declaration of unused function | Christian Hesse | 1 | -1/+0 | |
2024-01-20 | global-functions: $SymbolByUnicodeName: log warning on missing name | Christian Hesse | 1 | -0/+7 | |
2024-01-20 | global-functions: $SymbolByUnicodeName: name the parameter | Christian Hesse | 1 | -1/+3 | |
2024-01-19 | backup-upload: fix the upload symbol... | Christian Hesse | 1 | -1/+1 | |
... which broke with commit 080bef89a934980271a50eed25a494a0bc33d007. | |||||
2024-01-19 | fw-addr-lists: use prepared user-agent string with fetch | Christian Hesse | 1 | -1/+2 | |
2024-01-19 | check-certificates: use prepared user-agent string with fetch | Christian Hesse | 1 | -1/+2 | |