Commit graph

2429 commits

Author SHA1 Message Date
Christian Hesse
009674b5bc bump RouterOS requirement for all scripts and modules...
... now that global-functions requires RouterOS 7.13 anyway.
2024-04-07 22:51:24 +02:00
Christian Hesse
d430d32a30 Merge branch 'fw-addr-lists' into next 2024-04-07 22:51:24 +02:00
Christian Hesse
c4d2ea19dd fw-addr-lists: break long lines 2024-04-07 22:51:24 +02:00
Christian Hesse
19c52ed2a7 fw-addr-lists: show count of active addresses 2024-04-07 22:51:24 +02:00
Christian Hesse
491d85000d fw-addr-lists: human readable numbers for counts 2024-04-07 22:45:54 +02:00
Christian Hesse
70cc1ff53b fw-addr-lists: rework log messages, always include list name 2024-04-07 22:45:34 +02:00
Christian Hesse
af6556bdba fw-addr-lists: add debug message on successful download 2024-04-07 22:44:34 +02:00
Christian Hesse
4b6d0c02f1 fw-addr-lists: try with less regexp matches 2024-04-07 22:21:10 +02:00
Christian Hesse
c3809f240d fw-addr-lists: use $FetchHuge 2024-04-07 22:21:10 +02:00
Christian Hesse
fadc59c562 Merge branch 'FetchHuge' into next 2024-04-06 01:13:27 +02:00
Christian Hesse
402f847db2 global-functions: $FetchHuge: remove file on failed download 2024-04-06 00:47:21 +02:00
Christian Hesse
61ee5cbd6c global-functions: $FetchHuge: make sure to work with clean file names 2024-04-06 00:47:21 +02:00
Christian Hesse
2edf983698 global-functions: $FetchHuge: control check-certificate with parameter 2024-04-06 00:47:16 +02:00
Christian Hesse
ab6fd88558 global-functions: $FetchHuge: use custom user agent string 2024-04-06 00:45:50 +02:00
Christian Hesse
5323052290 global-functions: introduce $FetchHuge 2024-04-06 00:43:39 +02:00
Christian Hesse
86d0f71acb README: update screenshot on lease script setup 2024-04-04 21:15:07 +02:00
Christian Hesse
d86b7dcfcc update list of contributors 2024-04-04 21:13:37 +02:00
netravnen
1d8347d8ea README: add start-time & change interval in scheduler example
Set the interval to once a day, Instead of every 1 hour.

Add start-time to start-up. Thereby introducing randomization based on when
the user last rebooted there device. As the interval is counted based on last
boot time.
2024-04-04 21:13:37 +02:00
Christian Hesse
444f56f9b4 update list of contributors 2024-04-04 19:11:09 +02:00
Christian Hesse
6f68406803 mod/notification-matrix: add new configuration snippet...
... instead of appending to global-config-overlay.
2024-04-02 00:14:39 +02:00
Christian Hesse
e107247c16 Merge branch 'deserialize' into next 2024-04-02 00:08:44 +02:00
Christian Hesse
4db91ec16e global-functions: drop $ParseJson 2024-04-02 00:08:44 +02:00
Christian Hesse
c01a424f4f telegram-chat: read file content...
... instead of getting it. This lifts the size limit, though we are
still limited by Telegram message size.

This requires RouterOS 7.13.
2024-04-01 22:45:35 +02:00
Christian Hesse
bb237dcef3 mod/notification-matrix: use :deserialize ...
... instead of $ParseJson. This requires RouterOS 7.13.
2024-04-01 22:45:35 +02:00
Christian Hesse
29bcbc4db9 mod/notification-telegram: use :deserialize ...
... instead of $ParseJson. This requires RouterOS 7.13.
2024-04-01 22:45:35 +02:00
Christian Hesse
7e5010a608 telegram-chat: use :deserialize ...
... instead of $ParseJson. This requires RouterOS 7.13.
2024-04-01 22:45:35 +02:00
Christian Hesse
15ca80fbf7 Merge branch 'aprils-fool' 2024-03-31 23:06:26 +02:00
Christian Hesse
1e47c909f0 news on April's Fool! 🥳 2024-03-31 23:05:33 +02:00
Christian Hesse
bdcf5b3275 news on charge and fees 2024-03-31 21:48:47 +02:00
Christian Hesse
4df1468e25 global-functions: rename $FetchUserAgent -> $FetchUserAgentStr
... to make sure the function does not clash with the variable we had before,
as this causes issue with news and changes notification.
2024-03-29 11:11:17 +01:00
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
7212d8bd23 packages-update: do not reboot when scheduled 2024-03-27 22:17:06 +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
9ec8b9c03f fw-addr-lists: one more interation on download failure...
... with even more delay. This script is called with long interval from
scheduler, so should not be an issue.
2024-03-26 08:37:07 +01:00
Christian Hesse
f72aadfc59 telegram-chat: note active state when answering broadcast 2024-03-21 21:11:38 +01:00
Christian Hesse
cc81e55649 telegram-chat: improve readability with symbols 2024-03-21 14:28:23 +01:00
Christian Hesse
6628d9f966 netwatch-notify: pass script name into local functions 2024-03-20 13:59:44 +01:00
Christian Hesse
81f1d9aa99 check-certificates: pass script name into local function 2024-03-20 13:55:55 +01:00
Christian Hesse
6845eb69b3 global-config: put example fw-addr-lists into repository 2024-03-20 13:34:37 +01:00
Christian Hesse
be231ce4f3 global-config: prepare a (commented) address-list for Mikrotik
This is AS51894: https://bgp.he.net/AS51894
2024-03-18 13:46:46 +01:00
Christian Hesse
079249f3d7 check-routeros-update: use custom user agent string 2024-03-18 09:31:40 +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
2cf4f333d4 README: add QR code with (shortened) upstream url 2024-03-15 11:26:44 +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