Christian Hesse
041ca062b1
global: use $0 for $ScriptLock
2021-02-24 21:51:56 +01:00
Christian Hesse
f46db91845
global: give script or function name in log messages
2021-02-24 21:51:54 +01:00
Christian Hesse
b0e52aa2d1
global-functions: $GetMacVendor: requires certificate "Cloudflare Inc ECC CA-3" now
2021-02-24 21:48:36 +01:00
Christian Hesse
0d91445cca
global-functions: $ScriptInstallUpdate: handle migration before message
2021-02-23 14:48:28 +01:00
Christian Hesse
e99821c39a
switch default branch from master to main
2021-02-23 10:14:09 +01:00
Christian Hesse
73eb92fb72
We have a Telegram group!
2021-02-22 10:34:09 +01:00
Christian Hesse
292176e910
README: swap stars and forks
2021-02-21 21:59:36 +01:00
Christian Hesse
9975709ab7
capsman-download-packages: give more context in output
2021-02-21 21:40:28 +01:00
Christian Hesse
940d31b555
capsman-download-packages: complain on undefined path
2021-02-21 21:36:34 +01:00
Christian Hesse
a2450dc9f0
gps-track: fix syntax
2021-02-18 23:43:15 +01:00
Christian Hesse
4b945da907
global-functions: $FlushTelegramQueue: disable web page preview
...
... just as without queue.
2021-02-18 23:23:55 +01:00
Christian Hesse
06b235b3b7
check-routeros-update: wait to be fully connected
2021-02-18 23:14:46 +01:00
Christian Hesse
182bd2fa0b
check-routeros-update: give more context
2021-02-18 23:11:10 +01:00
Christian Hesse
60ca07dc8a
global-functions: $TimeIsSync: do not flood log...
...
... when returning gracefully.
2021-02-18 21:49:23 +01:00
Christian Hesse
d5afc79eed
global: drop script 'global-wait'
...
All scripts wait for the global functions on their own now.
2021-02-18 21:45:38 +01:00
Christian Hesse
2db73a189c
global-functions: $ScriptInstallUpdate: fix change notification
...
In RouterOS functions are of type 'array' with 'code' (numerical index 1)
inside. Cast to string to make comparison work.
Also define the function to make it available.
2021-02-18 21:45:38 +01:00
Christian Hesse
148a7f93a6
global-functions: $ScriptInstallUpdate: Properly escape question mark
2021-02-18 21:10:14 +01:00
Christian Hesse
3f12730ed4
email-backup: no example address, complain if missing
2021-02-18 12:54:04 +01:00
Christian Hesse
776f072415
README: fix typo
2021-02-18 11:30:04 +01:00
Christian Hesse
e6f705f9e6
upload-backup: wait to be fully connected
2021-02-18 09:12:44 +01:00
Christian Hesse
8c221842a6
email-backup: wait to be fully connected
2021-02-18 09:12:31 +01:00
Christian Hesse
1c40a90c79
cloud-backup: wait to be fully connected
2021-02-18 09:12:07 +01:00
Christian Hesse
fc601a57ee
global-functions: $DeviceInfo: shorten text
2021-02-16 20:08:32 +01:00
Christian Hesse
efca1ec049
global-functions: drop $MailServerIsUp
...
Now that we have an e-mail queue we do not care if the server is up or not.
2021-02-16 16:45:13 +01:00
Christian Hesse
28db473299
global-functions: send (and re-send) e-mails from queue
2021-02-16 16:45:13 +01:00
Christian Hesse
17d7678e2d
global-functions: drop support for attachment in notification e-mail
2021-02-16 16:04:18 +01:00
Christian Hesse
e7c2a7745a
daily-psk: drop support for attaching QR-Code
...
The notification contains the link. Should be sufficient, no?
2021-02-16 16:01:36 +01:00
Christian Hesse
0c2143298d
global-functions: $CertificateAvailable: check chain by akid and skid
...
We can merge this when RouterOS 6.47 moves to long-term...
2021-02-09 09:58:46 +01:00
Christian Hesse
dad525173c
global-functions: $DownloadPackage: this requires Let's Encrypt "R3" now
2021-02-03 14:32:38 +01:00
Christian Hesse
55a8a984f7
global-functions: $GetMacVendor: this requires Let's Encrypt "R3" now
2021-02-03 14:28:16 +01:00
Christian Hesse
eaea89112a
global-functions: $LogPrintExit: notify about colorful output
2021-01-22 10:08:15 +01:00
Christian Hesse
b780b40baf
global-functions: $LogPrintExit: make colorful output configurable
2021-01-22 09:22:34 +01:00
Christian Hesse
bbf918e329
global-functions: $LogPrintExit: colorful output
2021-01-22 09:22:34 +01:00
Christian Hesse
086a395e82
global-functions: $ScriptInstallUpdate: give hint on changes
2021-01-22 09:22:34 +01:00
Christian Hesse
99aaf642b2
capsman-download-packages: handle error when creating directory
2021-01-20 14:43:27 +01:00
Christian Hesse
e135ca1238
certificate-renew-issued: handle error when creating directory
2021-01-20 14:38:11 +01:00
Christian Hesse
c980699dd7
global-functions: add error handling
2021-01-20 14:23:57 +01:00
Christian Hesse
11d43e9fe5
global-functions: $SymbolForNotification: remove empty line
2021-01-20 14:08:01 +01:00
Christian Hesse
fa7f37e87f
global-functions: $WaitForFile: declare input first
2021-01-20 14:07:20 +01:00
Christian Hesse
dc148065dc
global-functions: $MkDir: clean path
2021-01-20 14:03:31 +01:00
Christian Hesse
6cea5a9f9b
check-certificates: complete certificate renewal time
...
With a modified certificate renewal time may have failed if the new
certificate was not found.
2021-01-11 12:00:07 +01:00
Christian Hesse
d926c84cdb
check-certificates: do not renew if loosing private key
2021-01-11 12:00:07 +01:00
Christian Hesse
8e628ce11e
check-certificates: show info on private key
2021-01-11 12:00:07 +01:00
Christian Hesse
faf08b0575
global-functions: introduce and use $RequiredRouterOS
2021-01-04 10:39:11 +01:00
Christian Hesse
ab267d54b3
global-functions: $ScriptInstallUpdate: log error on reloading global functions
2021-01-03 21:37:48 +01:00
Christian Hesse
156024ac2f
global-functions: $ScriptInstallUpdate: log error on reloading global configuration
2021-01-03 21:20:04 +01:00
Christian Hesse
90672798e8
hotspot-to-wpa: always use first entry to place before
2021-01-03 20:34:19 +01:00
Christian Hesse
3eccf923cc
dhcp-to-dns: always use first entry to place before
2021-01-03 20:34:04 +01:00
Christian Hesse
c18f753338
collect-wireless-mac: always use first entry to place before
2021-01-03 20:33:32 +01:00
Christian Hesse
241d5fd2d7
ipv6-update: simplify the code...
...
... and make it match the code used in other scripts.
2021-01-03 20:27:24 +01:00