Commit graph

118 commits

Author SHA1 Message Date
Christian Hesse
bbdc9c65f5 global-functions: $HumanReadableNum: set declared function only 2024-03-27 23:02:38 +01:00
Christian Hesse
acf8e88db2 global-functions: $AlignRight: set declared function only 2024-03-27 23:02:38 +01:00
Christian Hesse
1d816d94f6 global-functions: $FetchUserAgent: set declared function only 2024-03-27 23:02:22 +01:00
Christian Hesse
43ecec854f global-functions: $LogPrintOnce: detect and warn on possible crash 2024-03-27 08:32:49 +01:00
Christian Hesse
bd2301a28c global-functions: $LogPrintOnce: indicate action via return 2024-03-26 13:59:03 +01:00
Christian Hesse
cc81e55649 telegram-chat: improve readability with symbols 2024-03-21 14:28:23 +01:00
Christian Hesse
cd371b69a6 global-functions: $CertificateDownload: download via clean name...
... and rename certificates in repository.
2024-03-16 23:34:33 +01:00
Christian Hesse
eb7919c1d8 global-functions: generate user agent string in function...
... and add the caller and my shortened url.
2024-03-16 23:10:47 +01:00
Christian Hesse
576a2c97cf global-functions: $LogPrintExit2: add deprecation warning 2024-03-15 14:42:50 +01:00
Christian Hesse
eb03a4608b global-functions: $ScriptInstallUpdate: use shorter url 2024-03-15 10:05:32 +01:00
Christian Hesse
9b4e5ce369 global-functions: $SymbolByUnicodeName: add these for later use 2024-03-14 22:12:03 +01:00
Christian Hesse
3d4a14d449 netwatch-notify: pass link to notification
This is pass verbatim below the notification text.
2024-03-13 09:02:04 +01:00
Christian Hesse
9dd1b768ee global-functions: switch to $LogPrint 2024-03-12 20:37:57 +01:00
Christian Hesse
1feeed145d global-functions: introduce $LogPrint, deprecate $LogPrintExit2 2024-03-12 20:37:57 +01:00
Christian Hesse
19802c0b69 global-functions: $LogPrintOnce: drop support for exit
This is not widely adopted or used, so let's just drop it - no
compatibility.
2024-03-12 20:37:57 +01:00
Christian Hesse
76f65c13d7 global-functions: add architecture in user-agent string 2024-03-12 20:37:57 +01:00
Christian Hesse
a7cb3e520a global-config: support loading snippets
This adds support for loading snippets, which need a name starting with
"global-config-overlay.d/". This allows to split off configuration if
desired.
2024-03-12 20:36:21 +01:00
Christian Hesse
83dbcfecd5 news on wifiwave2 EOL 2024-03-12 15:27:15 +01:00
Christian Hesse
955ee8499b backup-cloud: catch error with :execute workaround
Catching a runtime error here fails... So let's try a workaround
with :execute...
2024-03-12 15:27:15 +01:00
Christian Hesse
ada9153636 global-functions: $ScriptLock: fix wording...
... as this does (no longer) abort.
2024-03-12 15:27:15 +01:00
Christian Hesse
1e8918fdaa global-functions: $ScriptLock: do not exit from global function 2024-03-12 15:27:15 +01:00
Christian Hesse
56e97dd60c global-functions: $DownloadPackage: do not exit from global function 2024-03-12 15:27:15 +01:00
Christian Hesse
d46156ad92 global-functions: use variable name $ScriptName 2024-03-12 15:27:14 +01:00
Christian Hesse
62790ae091 fw-addr-lists: add support for IPv6 2024-02-29 14:21:58 +01:00
Christian Hesse
821dd02e5e global-functions: $CertificateNameByCN: use $CleanName 2024-01-31 23:10:15 +01:00
Christian Hesse
09988d9892 global-functions: introduce $CleanName 2024-01-31 23:10:15 +01:00
Christian Hesse
b548ffee59 global-functions: $MkDir: drop declaration of unused functions 2024-01-31 23:10:15 +01:00
Christian Hesse
ed28ade712 global-functions: $IsDNSResolving: drop declaration of unused function 2024-01-31 23:10:15 +01:00
Christian Hesse
5b6ed4216e global-functions: $ScriptInstallUpdate: warn just once...
... for every script on required RouterOS version.
2024-01-30 07:18:38 +01:00
Christian Hesse
4b791b7769 global-functions: use :jobname to get script name 2024-01-30 00:52:21 +01:00
Christian Hesse
2a4e2e0c07 send a warning on storage size 2024-01-30 00:02:08 +01:00
Christian Hesse
62f33d7b19 packages-update: support deferred reboot on auto-update
Closes #56
2024-01-30 00:02:08 +01:00
Christian Hesse
a1abfedccd global-functions: $RandomDelay: always scale to ms...
... to randomize in friction of unit.

This requires :tonsec from RouterOS 7.12.
2024-01-30 00:02:08 +01:00
Christian Hesse
16898ae997 global-functions: $RandomDelay: allow zero time, return immediately 2024-01-29 22:50:02 +01:00
Christian Hesse
e636d4194c global-functions: $RandomDelay: name the parameters 2024-01-29 22:50:02 +01:00
Christian Hesse
75a39ffaf1 global-functions: $SymbolByUnicodeName: log warning on missing name 2024-01-20 00:11:22 +01:00
Christian Hesse
86a0700efd global-functions: $SymbolByUnicodeName: name the parameter 2024-01-20 00:09:54 +01:00
Christian Hesse
8a0a4c355b global-functions: log successful loading 2024-01-18 12:53:17 +01:00
Christian Hesse
a7619a5119 global-functions: $LogPrintOnce: support exit 2024-01-18 10:19:22 +01:00
Christian Hesse
29623a46ea global-functions: $HexToNum: use :tonum 2024-01-16 22:24:50 +01:00
Christian Hesse
4249ad61df global-functions: $CertificateDownload: move delay up
We still had cases where fetch misbehaves... But this was permanent.
Perhaps we should not touch the certificate too early...
2024-01-08 00:29:18 +01:00
Christian Hesse
9a73fc526f update copyright for 2024 2024-01-01 15:25:25 +01:00
Christian Hesse
777c388b43 global-functions: $GetMacVendor: get new certificate
The service now uses: GTS CA 1P5 -> GTS Root R1
2023-12-22 14:47:54 +01:00
Christian Hesse
69af869572 mention the donation hint... 2023-12-05 00:11:19 +01:00
Christian Hesse
52b8e67309 celebrating 1.000 stars on Github! 2023-12-05 00:11:19 +01:00
Christian Hesse
1bb2871e0b global-functions: $FormatLine: use $CharacterMultiply 2023-12-04 12:08:47 +01:00
Christian Hesse
5e2e65b252 global-functions: $AlignRight: use $CharacterMultiply 2023-12-04 12:08:47 +01:00
Christian Hesse
8f24b4c490 global-functions: introduce $CharacterMultiply 2023-12-04 11:22:36 +01:00
Christian Hesse
15e347303b global-functions: $DeviceInfo: add SNMP location and contact 2023-12-04 09:33:24 +01:00
Christian Hesse
c6bf722e49 global-functions: introduce $MIN 2023-11-30 13:51:57 +01:00