Commit graph

1511 commits

Author SHA1 Message Date
Christian Hesse
8abb3c1e33 update-tunnelbroker: silence fetch 2021-02-24 22:55:08 +01:00
Christian Hesse
78a53e6fe2 gps-track: silence fetch 2021-02-24 22:55:08 +01:00
Christian Hesse
9d35b49f16 global-functions: silence fetch 2021-02-24 22:55:08 +01:00
Christian Hesse
295203cc1c check-certificates: silence fetch 2021-02-24 22:55:08 +01:00
Christian Hesse
274af98886 global-functions: $GetMacVendor: improve error handling
The API returns 404 on unknown mac vendor... We can just catch error,
but not decide whether it is connection error or unknown vendor.

Try without mac address - on error we have a connection issue.
2021-02-24 22:54:43 +01:00
Christian Hesse
eaeda375e2 certs: remove obsolote certificate "Let's Encrypt Authority X3"
Let's Encrypt started issuing certificates from "R3" intermediate on
December 2nd. All certificates should be renewed by now...
2021-02-24 21:51:56 +01:00
Christian Hesse
8a366f035d backup: notify about random delay 2021-02-24 21:51:56 +01:00
Christian Hesse
bc8b19fc31 upload-backup: add configurable random delay 2021-02-24 21:51:56 +01:00
Christian Hesse
8b44964a36 email-backup: add configurable random delay 2021-02-24 21:51:56 +01:00
Christian Hesse
6770a15a7d cloud-backup: add configurable random delay 2021-02-24 21:51:56 +01:00
Christian Hesse
766a92a74b global: use $0 for $ScriptFromTerminal 2021-02-24 21:51:56 +01:00
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