Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-02-26 | check-certificates: use $LogAndError | 1 | -2/+2 | ||
2020-02-26 | lease-script: use $LogAndError | 1 | -2/+3 | ||
2020-02-26 | sms-action: use $LogAndError | 1 | -2/+3 | ||
2020-02-26 | ppp-on-up: use $LogAndError | 1 | -2/+3 | ||
2020-02-26 | check-routeros-update: use $LogAndError | 1 | -4/+3 | ||
2020-02-26 | packages-update: use $LogAndError | 1 | -2/+2 | ||
2020-02-26 | sms-forward: use $LogAndError | 1 | -2/+2 | ||
2020-02-24 | global-functions: introduce $LogAndError | 1 | -0/+9 | ||
2020-02-24 | bridge-port-to-default: drop delay | 1 | -7/+0 | ||
Now that we expect the scheduler to have a delay and script-updates warning about it... | |||||
2020-02-24 | script-updates: warn on scheduler at startup with no interval | 1 | -0/+7 | ||
2020-02-24 | drop script 'daily-psk-schedule' | 1 | -28/+0 | ||
We have some useful functions that can replace the functionality. Just add a schedule like this: add name=daily-psk-startup on-event=":delay 1s; :global WaitTimeSync; \$WaitTimeSync; / system script run daily-psk.local;" start-time=startup | |||||
2020-02-24 | global-functions: $WaitTimeSync: rotate ntp servers minutely | 1 | -0/+4 | ||
Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
2020-02-24 | global-functions: introduce $WaitTimeSync | 1 | -0/+10 | ||
2020-02-24 | check-certificates: check for synced time | 1 | -0/+6 | ||
2020-02-24 | daily-psk-schedule: use $TimeIsSync | 1 | -5/+3 | ||
2020-02-24 | global-functions: introduce $TimeIsSync | 1 | -0/+16 | ||
2020-02-24 | daily-psk-schedule: use $MailServerIsUp | 1 | -1/+3 | ||
2020-02-24 | sms-forward: use $MailServerIsUp | 1 | -1/+2 | ||
2020-02-24 | global-functions: introduce $MailServerIsUp | 1 | -0/+22 | ||
2020-02-06 | check-certificates: rename all certificates by their common names | 1 | -0/+5 | ||
2020-02-06 | global-functions: introduce and use $CertificateNameByCN | 1 | -2/+13 | ||
2020-02-05 | script-updates: prefix variable name with dollar | 1 | -1/+1 | ||
2020-02-04 | global-config: drop $ScriptUpdatesConfigChangesIgnorechange-12 | 5 | -8/+6 | ||
Comment or remove $GlobalConfigVersion in global-config-overlay to disable change notifications. | |||||
2020-02-03 | global-functions: $CharacterReplace: do not limit string length | 1 | -2/+1 | ||
I've tried something like this to update a device: / system script set source=[ $CharacterReplace [ get global-config-overlay source ] "GlobalConfigVersion 10" "GlobalConfigVersion 11" ] global-config-overlay; This broke with global-config-overlay longer than 999 characters. So makes sure there is no limit for string length. | |||||
2020-02-03 | global-config-overlay: add footer | 1 | -0/+2 | ||
... to guard against truncation by accident. | |||||
2020-02-02 | global-functions: $CertificateAvailable: simplify loop | 1 | -4/+4 | ||
2020-01-29 | README: update instructions to use $ScriptInstallUpdatechange-11 | 5 | -10/+13 | ||
2020-01-29 | script-updates: only handle scripts with magic pattern | 1 | -1/+1 | ||
This is supposed to prevent overwriting foreign scripts. New scripts are expected to be installed with function $ScriptInstallUpdate! | |||||
2020-01-29 | global-functions: add $ScriptInstallUpdate | 1 | -0/+14 | ||
Just call without parameters to update scripts: [admin@MikroTik] > $InstallAndUpdate Add comma separated list of scripts to install and update: [admin@MikroTik] > $InstallAndUpdate cloud-backup[,upload-backup][,...] | |||||
2020-01-29 | global-functions: $CertificateAvailable: check whole chain | 1 | -0/+12 | ||
The root certificate is a self-signed certificate. Check for the issue certificate until we find the self-signed one. | |||||
2020-01-29 | global-functions: $CertificateAvailable: warn about crl download to flash | 1 | -0/+6 | ||
Downloading certificate crls to flash can fill up all available space. So warn about it! | |||||
2020-01-28 | update-tunnelbroker: replace deprecated keep-result=no with output=none | 1 | -1/+1 | ||
2020-01-28 | gps-track: replace deprecated keep-result=no with output=none | 1 | -1/+1 | ||
2020-01-28 | global-functions: replace deprecated keep-result=no with output=none | 1 | -1/+1 | ||
2020-01-24 | check-health: never divide, always multiply | 1 | -2/+2 | ||
With RouterOS we have integral numbers only. This prevent from having friction that is cut off. | |||||
2020-01-24 | check-health: always calculate on the lower voltage value | 1 | -1/+1 | ||
This makes sure an alert is triggered in both directions. Before we could have: 24.0V to 21.8V -> OK 21.8V to 24.0V -> Alert! | |||||
2020-01-17 | collect-wireless-mac: automatically add missing access-list entry | 3 | -12/+12 | ||
2020-01-16 | check-routeros-update: do not act if reboot is scheduled | 1 | -0/+4 | ||
2020-01-06 | mode-button-scheduler: give proper message if no action defined | 1 | -9/+13 | ||
2020-01-06 | global-functions: $CertificateDownload: properly name new certificates | 1 | -0/+5 | ||
2020-01-06 | collect-wireless-mac: use dynamic & bound mac address only | 3 | -3/+3 | ||
2020-01-06 | dhcp-lease-comment: act on bound leases only | 3 | -3/+3 | ||
2020-01-06 | dhcp-to-dns: act on bound leases only | 1 | -4/+4 | ||
2020-01-03 | global-functions: do not encode dash, dot, slash and underscore | 1 | -4/+3 | ||
2020-01-03 | global-functions: $Certificate*: add quoting around CN | 1 | -2/+2 | ||
2020-01-03 | global-functions: split $CertificateAvailable to $CertificateDownload | 1 | -17/+28 | ||
This allows to force download even if certificate is available. We need this for a clean update path with Let's Encrypt. | |||||
2020-01-01 | update copyright for 2020 | 55 | -55/+55 | ||
2019-12-20 | packages-update: improve wording | 1 | -1/+1 | ||
2019-12-10 | global-functions: define first, set later | 1 | -16/+34 | ||
2019-12-05 | global-functions: $DownloadPackage: retry on error | 1 | -12/+17 | ||
2019-12-05 | packages-update: lock against multiple invocation | 1 | -0/+3 | ||
2019-12-05 | capsman-rolling-upgrade: lock against multiple invocation | 1 | -0/+4 | ||
2019-12-05 | capsman-download-packages: lock against multiple invocation | 1 | -1/+4 | ||
2019-12-04 | packages-update: skip the interactive part of non-terminal | 1 | -14/+17 | ||
2019-12-03 | check-routeros-update: use $ScriptFromTerminal | 1 | -1/+2 | ||
2019-12-03 | global-functions: introduce $ScriptFromTerminal | 1 | -0/+18 | ||
Checking whether or not started from terminal is tricky... We have to find the job for the script, find its top most parent and get its type. | |||||
2019-12-03 | ipv6-update: calculate address with bitwise operatorrouteros-6.46beta38 | 1 | -8/+5 | ||
Support for bitwise operator was added in RouterOS 6.46beta38. | |||||
2019-12-03 | hotspot-to-wpa: get limits from place-before-entry | 1 | -2/+11 | ||
2019-11-28 | global-functions: $DeviceInfo: append revision to model | 1 | -1/+5 | ||
2019-11-25 | collect-wireless-mac: add the dns name | 3 | -0/+18 | ||
2019-11-25 | collect-wireless-mac: lease without address should be impossible... | 3 | -15/+6 | ||
... we need the check for empty hostname, though. | |||||
2019-11-25 | collect-wireless-mac: move code into condition | 3 | -18/+18 | ||
2019-11-21 | {email,upload}-backup: update wording | 2 | -2/+3 | ||
2019-11-14 | dhcp-to-dns: act on hostname only if available | 1 | -1/+3 | ||
2019-11-12 | dhcp-to-dns: set the temporary variable unconditionally | 1 | -4/+1 | ||
2019-11-12 | dhcp-to-dns: handle duplicate mac-address and host-name | 1 | -3/+8 | ||
* several leases for one mac address (changed client id, different net): -> take address from last lease Most likely this is the same devices which booted different OS or changed to different network. * several leases for one host name: -> take address from first lease We see either different devices with same name or one device with several network interfaces. Keep the first name to mitigate stealing dns name. | |||||
2019-11-11 | check-certificates: make renew notification silent | 1 | -1/+1 | ||
2019-11-05 | README: fix typo and wording | 2 | -2/+2 | ||
2019-10-28 | global-functions: add architecture in device info | 1 | -2/+3 | ||
2019-10-22 | check-health: decrease default threshold for voltage | 1 | -1/+1 | ||
2019-10-18 | check-health: work with battery property | 1 | -1/+1 | ||
Seen on wAP R... No idea what this is. | |||||
2019-10-14 | add script 'hotspot-to-wpa' | 1 | -0/+20 | ||
2019-10-14 | check-health: make threshold for voltage configurablechange-10 | 5 | -7/+11 | ||
2019-09-13 | update list of contributors / donors | 1 | -0/+1 | ||
Thanks for the Mikrotik coffee mug! | |||||
2019-09-12 | introduce global-config-overlaychange-9 | 7 | -17/+41 | ||
2019-09-12 | global-functions: $DeviceInfo: handle configuration version | 1 | -0/+10 | ||
2019-09-12 | global-functions: introduce and use $DeviceInfo | 5 | -47/+41 | ||
2019-09-11 | dhcp-to-dns: find duplicate leases by mac-address | 1 | -1/+1 | ||
2019-09-11 | README: add just one scheduler for global scripts | 2 | -7/+3 | ||
2019-09-11 | update list of contributors / donors | 1 | -0/+1 | ||
Thanks a lot! | |||||
2019-09-11 | packages-update: add random delay for scheduler | 1 | -2/+3 | ||
2019-09-02 | packages-update: add option to schedule reboot | 1 | -0/+8 | ||
2019-08-30 | script-updates: add donation hint in configuration warning notificationchange-8 | 4 | -13/+33 | ||
2019-08-30 | add info about past contributions | 2 | -0/+20 | ||
2019-08-30 | README: add contribute section, including donate option | 1 | -1/+19 | ||
2019-08-30 | use shorter url for my repository | 3 | -6/+6 | ||
2019-08-30 | ipv6-update: get values into array | 1 | -7/+4 | ||
... and concatenate name and regexp - just either of both is set. | |||||
2019-08-30 | unattended-lte-firmware-upgrade: add valid script to scheduler | 1 | -1/+2 | ||
2019-08-30 | mode-button-event: add valid script to scheduler | 1 | -1/+2 | ||
2019-08-30 | README: add valid script to scheduler | 2 | -8/+8 | ||
2019-08-29 | script-updates: better regex matching | 1 | -1/+1 | ||
2019-08-29 | capsman-rolling-upgrade: do not fail on missing cap | 1 | -1/+1 | ||
This is a long running process, chances are that a cap disappears intermittently. So find cap by name and do not fail. | |||||
2019-08-28 | check-health: check for valid psu state data | 1 | -9/+12 | ||
This is required with recovery notifications | |||||
2019-08-27 | check-health: also send recovery notifications | 1 | -0/+11 | ||
2019-08-27 | add script 'check-health'change-7 | 4 | -4/+70 | ||
This may be incomplete... Please report if you have missing PSUs, ttemperature sensors, whatever. | |||||
2019-08-18 | upload-backup: make notification silent | 1 | -1/+1 | ||
2019-08-18 | cloud-backup: make notification silent | 1 | -1/+1 | ||
2019-08-18 | check-routeros-update: make notifications silent | 1 | -2/+3 | ||
2019-08-18 | check-lte-firmware-upgrade: make notification silent | 1 | -1/+1 | ||
2019-08-18 | global-functions: support sending silent telegram notifications | 1 | -4/+6 | ||