aboutsummaryrefslogtreecommitdiffstats
path: root/daily-psk.local
AgeCommit message (Collapse)AuthorFilesLines
2023-03-07rename scripts and add file extension ".rsc"change-95Gravatar Christian Hesse1-93/+1
No functional change for the user... The migration is done automatically.
2023-01-31daily-psk: make qr-code url configurablechange-92Gravatar Christian Hesse1-1/+2
2023-01-02update copyright for 2023Gravatar Christian Hesse1-1/+1
2022-07-13daily-psk: update initialization of empty arrayGravatar Christian Hesse1-1/+1
Having the parenthesis here is important for valid syntax!
2022-07-11daily-psk: properly check for disabled stateGravatar Christian Hesse1-1/+1
The property 'disabled' can be undefined, which evaluates to enabled - but is not matched by 'disabled=no'.
2022-05-11daily-psk: RouterOS v7 path syntaxGravatar Christian Hesse1-7/+7
2022-01-01update copyright for 2022Gravatar Christian Hesse1-1/+1
2021-04-28daily-psk: pass origin to $SendNotification2Gravatar Christian Hesse1-1/+2
2021-04-28daily-psk: use $SendNotification2Gravatar Christian Hesse1-4/+4
2021-02-24global: give script or function name in log messagesGravatar Christian Hesse1-3/+4
2021-02-18global: drop script 'global-wait'change-44Gravatar Christian Hesse1-0/+3
All scripts wait for the global functions on their own now.
2021-02-16daily-psk: drop support for attaching QR-CodeGravatar Christian Hesse1-14/+2
The notification contains the link. Should be sufficient, no?
2021-01-01update copyright for 2021Gravatar Christian Hesse1-1/+1
2020-11-26global-functions: clickable links in telegram notificationsGravatar Christian Hesse1-2/+2
2020-09-18daily-psk: add symbol in notificationGravatar Christian Hesse1-1/+2
2020-09-18extend magic pattern with "by RouterOS"Gravatar Christian Hesse1-1/+1
This matches the string included in export.
2020-08-26[ ... print count-only ...] -> [ :len [ ... find ... ] ]Gravatar Christian Hesse1-1/+1
Using 'print count-only' always prints a number to terminal, even if the value is evaluated in a condition or assigned to a variable. This can be quite annoying. Behavior will not chance (SUP-25503), so replacing the code...
2020-06-19explicitly name the licenseGravatar Christian Hesse1-0/+1
Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. https://www.gnu.org/licenses/#GPL https://www.gnu.org/licenses/gpl.html https://www.gnu.org/licenses/gpl.md
2020-05-27daily-psk: wait to be fully connectedGravatar Christian Hesse1-1/+3
2020-03-27add doc/daily-psk.mdGravatar Christian Hesse1-0/+1
2020-03-05daily-psk: use $LogPrintExitGravatar Christian Hesse1-3/+4
2020-01-01update copyright for 2020Gravatar Christian Hesse1-1/+1
2019-06-13daily-psk: add hint about device specific ruleGravatar Christian Hesse1-0/+1
I tricked myself several times... If a more device specific (or just earlier matching) rule exists the daily PSK is not applied!
2019-04-30global-functions: add $WaitForFile, wait for file on fetchGravatar Christian Hesse1-1/+3
The fetch command is asynchronous, the file is not guaranteed to be available when command terminates. I opened an issue at Mikrotik support (Ticket#2019041722004999), their answer: > You should perform a check in a loop. > :delay until file exist > > That can happen also with any configuration not just files. So add a function to wait for a file with given name. I have not seen this with other configuration, though.
2019-04-09drop deprecated mode= for fetchGravatar Christian Hesse1-1/+1
2019-04-03daily-psk: use the template systemGravatar Christian Hesse1-0/+2
2019-03-06daily-psk: prepare for caps-manGravatar Michael Gisbers1-0/+90
Signed-off-by: Christian Hesse <mail@eworm.de>