aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Expand)AuthorFilesLines
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
2019-07-24upload-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24cloud-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24email-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24check-routeros-update: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24upload-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24cloud-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24email-backup: get values into arrayGravatar Christian Hesse1-4/+3
2019-07-24check-routeros-update: get values into arrayGravatar Christian Hesse1-21/+19
2019-07-24packages-update: allow to downgrade on change of update channelGravatar Christian Hesse1-0/+9
2019-07-24packages-update: break if latest version is unknownGravatar Christian Hesse1-0/+5
2019-07-24packages-update: get values into arrayGravatar Christian Hesse1-5/+4
2019-07-19global-functions: $DownloadPackage: fix downloading for CHR / x86_64Gravatar Christian Hesse1-0/+3
2019-07-19packages-update: run email-backup and/or upload-backupGravatar Christian Hesse1-2/+2
2019-07-19add script 'upload-backup'change-6Gravatar Christian Hesse4-2/+84
2019-07-19global-config: move config for email-backup•••Signed-off-by: Christian Hesse <mail@eworm.de> Gravatar Christian Hesse1-4/+5
2019-07-18email-backup: no more than one dot in file name•••Looks like some providers do not allow more than one dot in attachment's file name to mitigate something like `holiday.png.exe`. Let's just replace dots with underscores. Fixes #2 Reported-by: @Kampfwurst Gravatar Christian Hesse1-1/+3
2019-07-18capsman-download-packages: do not require extra permission•••The idea was to run capsman-download-packages from netwatch when upgrade.mikrotik.com is up. Instead run it from scheduler at startup, but add a delay: / system scheduler add name=capsman-download-packages \ on-event=":delay 2m; capsman-download-packages" start-time=startup Gravatar Christian Hesse1-2/+0
2019-07-18daily-psk-schedule: better matchingGravatar Christian Hesse1-1/+1
2019-07-18update-tunnelbroker: use $ParseKeyValueStoreGravatar Christian Hesse1-6/+4
2019-07-18check-certificates: use $ParseKeyValueStoreGravatar Christian Hesse1-11/+3
2019-07-18ipv6-update: use $ParseKeyValueStoreGravatar Christian Hesse1-7/+7
2019-07-17global-functions: add $ParseKeyValueStoreGravatar Christian Hesse1-0/+16
2019-07-16global-functions: $CharacterReplace: use same condition in loopGravatar Christian Hesse1-1/+1
2019-07-16global-functions: append system note in e-mail signatureGravatar Christian Hesse1-1/+6
2019-07-10update-gre-address: handle missing dynamic addressGravatar Christian Hesse1-2/+4
2019-07-09gps-track: remove workaroundrouteros-6.45rc42Gravatar Christian Hesse1-7/+0
2019-07-08capsman-rolling-upgrade: log with info, give identityGravatar Christian Hesse1-2/+3
2019-07-05lease-script: give hint about mis-usageGravatar Christian Hesse1-0/+8
2019-07-05sms-action: give hint about mis-usageGravatar Christian Hesse1-0/+5
2019-07-05ppp-on-up: give hint about mis-usageGravatar Christian Hesse1-1/+6
2019-07-05ipv6-update: give hint about mis-usageGravatar Christian Hesse1-0/+5
2019-07-01update-gre-address: get values into arraysGravatar Christian Hesse1-10/+7
2019-07-01update-gre-address: update for latest routeros•••With RouterOS 6.45 "remote-peers" was renamed to "active-peers": *) ipsec - renamed "remote-peers" to "active-peers"; routeros-6.45Gravatar Christian Hesse1-3/+3
2019-07-01check-routeros-update: link a changelog that opens in browser•••The old link was delivered with MIME type 'application/octet-stream', browsers wanted to download it as file. Gravatar Christian Hesse1-1/+1
2019-06-26bridge-port-to-default: handle special value 'dhcp-client'...•••... which disables the bridge port, but enables a dhcp client. Gravatar Christian Hesse1-5/+17
2019-06-25bridge-port-to-default: get bridge port values into arrayGravatar Christian Hesse1-8/+7
2019-06-25gps-track: fix the condition for workaround•••A null byte is always matched in regexp... Gravatar Christian Hesse1-2/+2
2019-06-24add script 'certificate-renew-issued'Gravatar Christian Hesse1-0/+14