aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
2020-02-24sms-forward: use $MailServerIsUpGravatar Christian Hesse1-1/+2
2020-02-24global-functions: introduce $MailServerIsUpGravatar Christian Hesse1-0/+22
2020-02-06check-certificates: rename all certificates by their common namesGravatar Christian Hesse1-0/+5
2020-02-06global-functions: introduce and use $CertificateNameByCNGravatar Christian Hesse1-2/+13
2020-02-05script-updates: prefix variable name with dollarGravatar Christian Hesse1-1/+1
2020-02-04global-config: drop $ScriptUpdatesConfigChangesIgnore•••Comment or remove $GlobalConfigVersion in global-config-overlay to disable change notifications. change-12Gravatar Christian Hesse5-8/+6
2020-02-03global-functions: $CharacterReplace: do not limit string length•••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. Gravatar Christian Hesse1-2/+1
2020-02-03global-config-overlay: add footer•••... to guard against truncation by accident. Gravatar Christian Hesse1-0/+2
2020-02-02global-functions: $CertificateAvailable: simplify loopGravatar Christian Hesse1-4/+4
2020-01-29README: update instructions to use $ScriptInstallUpdatechange-11Gravatar Christian Hesse5-10/+13
2020-01-29script-updates: only handle scripts with magic pattern•••This is supposed to prevent overwriting foreign scripts. New scripts are expected to be installed with function $ScriptInstallUpdate! Gravatar Christian Hesse1-1/+1
2020-01-29global-functions: add $ScriptInstallUpdate•••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][,...] Gravatar Christian Hesse1-0/+14
2020-01-29global-functions: $CertificateAvailable: check whole chain•••The root certificate is a self-signed certificate. Check for the issue certificate until we find the self-signed one. Gravatar Christian Hesse1-0/+12
2020-01-29global-functions: $CertificateAvailable: warn about crl download to flash•••Downloading certificate crls to flash can fill up all available space. So warn about it! Gravatar Christian Hesse1-0/+6
2020-01-28update-tunnelbroker: replace deprecated keep-result=no with output=noneGravatar Christian Hesse1-1/+1
2020-01-28gps-track: replace deprecated keep-result=no with output=noneGravatar Christian Hesse1-1/+1
2020-01-28global-functions: replace deprecated keep-result=no with output=noneGravatar Christian Hesse1-1/+1
2020-01-24check-health: never divide, always multiply•••With RouterOS we have integral numbers only. This prevent from having friction that is cut off. Gravatar Christian Hesse1-2/+2
2020-01-24check-health: always calculate on the lower voltage value•••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! Gravatar Christian Hesse1-1/+1
2020-01-17collect-wireless-mac: automatically add missing access-list entryGravatar Christian Hesse3-12/+12
2020-01-16check-routeros-update: do not act if reboot is scheduledGravatar Christian Hesse1-0/+4
2020-01-06mode-button-scheduler: give proper message if no action definedGravatar Christian Hesse1-9/+13
2020-01-06global-functions: $CertificateDownload: properly name new certificatesGravatar Christian Hesse1-0/+5
2020-01-06collect-wireless-mac: use dynamic & bound mac address onlyGravatar Christian Hesse3-3/+3
2020-01-06dhcp-lease-comment: act on bound leases onlyGravatar Christian Hesse3-3/+3
2020-01-06dhcp-to-dns: act on bound leases onlyGravatar Christian Hesse1-4/+4
2020-01-03global-functions: do not encode dash, dot, slash and underscoreGravatar Christian Hesse1-4/+3
2020-01-03global-functions: $Certificate*: add quoting around CNGravatar Christian Hesse1-2/+2
2020-01-03global-functions: split $CertificateAvailable to $CertificateDownload•••This allows to force download even if certificate is available. We need this for a clean update path with Let's Encrypt. Gravatar Christian Hesse1-17/+28
2020-01-01update copyright for 2020Gravatar Christian Hesse55-55/+55
2019-12-20packages-update: improve wordingGravatar Christian Hesse1-1/+1
2019-12-10global-functions: define first, set laterGravatar Christian Hesse1-16/+34
2019-12-05global-functions: $DownloadPackage: retry on errorGravatar Christian Hesse1-12/+17
2019-12-05packages-update: lock against multiple invocationGravatar Christian Hesse1-0/+3
2019-12-05capsman-rolling-upgrade: lock against multiple invocationGravatar Christian Hesse1-0/+4
2019-12-05capsman-download-packages: lock against multiple invocationGravatar Christian Hesse1-1/+4
2019-12-04packages-update: skip the interactive part of non-terminalGravatar Christian Hesse1-14/+17
2019-12-03check-routeros-update: use $ScriptFromTerminalGravatar Christian Hesse1-1/+2
2019-12-03global-functions: introduce $ScriptFromTerminal•••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. Gravatar Christian Hesse1-0/+18
2019-12-03ipv6-update: calculate address with bitwise operator•••Support for bitwise operator was added in RouterOS 6.46beta38. routeros-6.46beta38Gravatar Christian Hesse1-8/+5
2019-12-03hotspot-to-wpa: get limits from place-before-entryGravatar Christian Hesse1-2/+11
2019-11-28global-functions: $DeviceInfo: append revision to modelGravatar Christian Hesse1-1/+5
2019-11-25collect-wireless-mac: add the dns nameGravatar Christian Hesse3-0/+18
2019-11-25collect-wireless-mac: lease without address should be impossible...•••... we need the check for empty hostname, though. Gravatar Christian Hesse3-15/+6
2019-11-25collect-wireless-mac: move code into conditionGravatar Christian Hesse3-18/+18
2019-11-21{email,upload}-backup: update wordingGravatar Christian Hesse2-2/+3
2019-11-14dhcp-to-dns: act on hostname only if availableGravatar Christian Hesse1-1/+3
2019-11-12dhcp-to-dns: set the temporary variable unconditionallyGravatar Christian Hesse1-4/+1
2019-11-12dhcp-to-dns: handle duplicate mac-address and host-name•••* 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. Gravatar Christian Hesse1-3/+8
2019-11-11check-certificates: make renew notification silentGravatar Christian Hesse1-1/+1
2019-11-05README: fix typo and wordingGravatar Christian Hesse2-2/+2
2019-10-28global-functions: add architecture in device infoGravatar Christian Hesse1-2/+3
2019-10-22check-health: decrease default threshold for voltageGravatar Christian Hesse1-1/+1
2019-10-18check-health: work with battery property•••Seen on wAP R... No idea what this is. Gravatar Christian Hesse1-1/+1
2019-10-14add script 'hotspot-to-wpa'Gravatar Christian Hesse1-0/+20
2019-10-14check-health: make threshold for voltage configurablechange-10Gravatar Christian Hesse5-7/+11
2019-09-13update list of contributors / donors•••Thanks for the Mikrotik coffee mug! Gravatar Christian Hesse1-0/+1
2019-09-12introduce global-config-overlaychange-9Gravatar Christian Hesse7-17/+41
2019-09-12global-functions: $DeviceInfo: handle configuration versionGravatar Michael Gisbers1-0/+10
2019-09-12global-functions: introduce and use $DeviceInfoGravatar Christian Hesse5-47/+41
2019-09-11dhcp-to-dns: find duplicate leases by mac-addressGravatar Christian Hesse1-1/+1
2019-09-11README: add just one scheduler for global scriptsGravatar Christian Hesse2-7/+3
2019-09-11update list of contributors / donors•••Thanks a lot! Gravatar Christian Hesse1-0/+1
2019-09-11packages-update: add random delay for schedulerGravatar Christian Hesse1-2/+3
2019-09-02packages-update: add option to schedule rebootGravatar Christian Hesse1-0/+8
2019-08-30script-updates: add donation hint in configuration warning notificationchange-8Gravatar Christian Hesse4-13/+33
2019-08-30add info about past contributionsGravatar Christian Hesse2-0/+20
2019-08-30README: add contribute section, including donate optionGravatar Christian Hesse1-1/+19
2019-08-30use shorter url for my repositoryGravatar Christian Hesse3-6/+6
2019-08-30ipv6-update: get values into array•••... and concatenate name and regexp - just either of both is set. Gravatar Christian Hesse1-7/+4
2019-08-30unattended-lte-firmware-upgrade: add valid script to schedulerGravatar Christian Hesse1-1/+2
2019-08-30mode-button-event: add valid script to schedulerGravatar Christian Hesse1-1/+2
2019-08-30README: add valid script to schedulerGravatar Christian Hesse2-8/+8
2019-08-29script-updates: better regex matchingGravatar Christian Hesse1-1/+1
2019-08-29capsman-rolling-upgrade: do not fail on missing cap•••This is a long running process, chances are that a cap disappears intermittently. So find cap by name and do not fail. Gravatar Christian Hesse1-1/+1
2019-08-28check-health: check for valid psu state data•••This is required with recovery notifications Gravatar Christian Hesse1-9/+12
2019-08-27check-health: also send recovery notificationsGravatar Christian Hesse1-0/+11
2019-08-27add script 'check-health'•••This may be incomplete... Please report if you have missing PSUs, ttemperature sensors, whatever. change-7Gravatar Christian Hesse4-4/+70
2019-08-18upload-backup: make notification silentGravatar Christian Hesse1-1/+1
2019-08-18cloud-backup: make notification silentGravatar Christian Hesse1-1/+1
2019-08-18check-routeros-update: make notifications silentGravatar Christian Hesse1-2/+3
2019-08-18check-lte-firmware-upgrade: make notification silentGravatar Christian Hesse1-1/+1
2019-08-18global-functions: support sending silent telegram notificationsGravatar Christian Hesse1-4/+6
2019-08-18global-functions: split off $SendEMail and $SendTelegramGravatar Christian Hesse1-9/+31
2019-08-08check-routeros-update: fail on empty version stringGravatar Christian Hesse1-0/+5
2019-08-08sms-forward: add sender in subjectGravatar Christian Hesse1-1/+1
2019-08-05sms-forward: fix array access in conditionGravatar Christian Hesse1-1/+2
2019-08-02capsman-download-packages: syntax error with missing parenthesisGravatar Christian Hesse1-1/+1
2019-08-01global-functions: $DownloadPackage: re-introduce check for valid package•••Even if fetch tool does its job right now... Chances are that the download servers have corrupted or empty files. Gravatar Christian Hesse1-0/+5
2019-07-31check-certificates: fix renewing certificate in placeGravatar Christian Hesse1-14/+18
2019-07-26global-functions: add $RandomDelayGravatar Christian Hesse1-0/+7
2019-07-26global-functions: add $GetRandomGravatar Christian Hesse1-0/+13
2019-07-25script-updates: get source from arrayGravatar Christian Hesse1-2/+1
2019-07-25sms-forward: get values into arraysGravatar Christian Hesse1-8/+5
2019-07-25update-tunnelbroker: get values into arrayGravatar Christian Hesse1-5/+4
2019-07-25script-updates: get values into arraysGravatar Christian Hesse1-19/+17
2019-07-25dhcp-to-dns: get values into arrays, general reworkGravatar Christian Hesse1-29/+23
2019-07-25dhcp-lease-comment: get values into arrayGravatar Christian Hesse3-15/+12
2019-07-25capsman-download-packages: get values into arrayGravatar Christian Hesse1-7/+6
2019-07-24cloud-backup: do not remove but replace cloud backup•••The replace functionality for cloud backup is available with version 6.45beta42. routeros-6.45beta42Gravatar Christian Hesse1-2/+5