Commit graph

2453 commits

Author SHA1 Message Date
Christian Hesse
ee54956a69 mod/notification-telegram: string protocol for display 2024-04-19 09:09:13 +02:00
Christian Hesse
8cd03167ca mod/notification-matrix: string protocol for display 2024-04-19 09:04:08 +02:00
Christian Hesse
6fd0becf64 global-functions: introduce $ProtocolStrip 2024-04-19 08:59:51 +02:00
Christian Hesse
b50a5b294a mod/notification-matrix: ... and more double escaping 2024-04-18 21:47:50 +02:00
Christian Hesse
3a36db6de8 mod/notification-matrix: fix double escaping
That was introduced with 2a232ad2f5 when
switching to :serialize...
2024-04-18 09:04:34 +02:00
Christian Hesse
8c1543a402 certificate-renew-issued: use single quotes 2024-04-15 09:11:25 +02:00
Christian Hesse
e1781fb805 global-functions: $CertificateDownload: use single quotes 2024-04-15 09:11:25 +02:00
Christian Hesse
7aa5059f6d global-functions: $CertificateAvailable: use single quotes 2024-04-15 09:11:25 +02:00
Christian Hesse
5736ecebc5 gps-track: use custom user agent string 2024-04-15 09:11:25 +02:00
Christian Hesse
d31afc9ec3 gps-track: generate JSON with :serialize 2024-04-15 09:11:25 +02:00
Christian Hesse
2a232ad2f5 mod/notification-matrix: generate JSON with :serialize 2024-04-15 09:11:25 +02:00
Christian Hesse
9dfa11eac5 mod/notification-matrix: use custom user agent string 2024-04-15 09:11:25 +02:00
Christian Hesse
fb865ba114 mod/notification-ntfy: use custom user agent string 2024-04-15 09:11:25 +02:00
Christian Hesse
ca2e5f2a01 mod/notification-ntfy: support basic auth
Closes #59
2024-04-15 09:11:17 +02:00
Christian Hesse
5f76c245b0 global-functions: $ScriptFromTerminal: check multiple invocations...
... and return false.

We can not tell which job is us... So better safe than sorry.
2024-04-11 14:03:43 +02:00
Christian Hesse
6db3355858 global-functions: $ScriptLock: break long lines 2024-04-11 13:41:49 +02:00
Christian Hesse
e53c31e9e6 global-functions: $ScriptLock: degrade message to debug 2024-04-11 13:41:49 +02:00
Christian Hesse
9e4749a5b7 mod/notification-telegram: $SendTelegram: set origin 2024-04-10 10:08:58 +02:00
Christian Hesse
9e2b72ccdc mod/notification-ntfy: $SendNtfy: set origin 2024-04-10 10:08:58 +02:00
Christian Hesse
a9b9f853ff mod/notification-matrix: $SendMatrix: set origin 2024-04-10 10:08:58 +02:00
Christian Hesse
012d259ca1 mod/notification-email: $SendEMail: set origin 2024-04-10 10:08:58 +02:00
Christian Hesse
c5a5fb5836 global-functions: $SendNotification: set origin 2024-04-10 10:08:58 +02:00
Christian Hesse
3015743b19 global-functions: $HumanReadableNum: indicate binary base...
... and update scripts to match the change.
2024-04-07 22:51:24 +02:00
Christian Hesse
36cf4d028b global-functions: drop $LogPrintExit2 2024-04-07 22:51:24 +02:00
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