Commit Graph

2466 Commits

Author SHA1 Message Date
Christian Hesse ebab8b5acc mod/ssh-keys-import: remove temporary directory 2024-04-23 14:30:42 +02:00
Christian Hesse f11da7dd07 mod/ssh-keys-import: create directory later 2024-04-23 14:26:05 +02:00
Christian Hesse 00ca37c068 global-functions: $FetchHuge: remove temporary directory 2024-04-23 14:23:07 +02:00
Christian Hesse 5b1a34d66b backup-cloud: clean up and simplify code 2024-04-23 14:22:29 +02:00
Christian Hesse 71516107eb backup-cloud: no early exit...
... as we want to make sure the directory (and its content) is removed.
2024-04-23 14:22:29 +02:00
Christian Hesse c2caf3ab78 backup-cloud: create status file...
... for further debugging.
2024-04-23 14:22:29 +02:00
Christian Hesse db1faf1091 backup-upload: remove temporary directory 2024-04-23 14:22:24 +02:00
Christian Hesse 63786b7814 netwatch-notify: log to debug...
... instead of discarding the message completely.
2024-04-23 10:44:59 +02:00
Christian Hesse b0e4449e4f README: show fingerprints in output
This is not scrictly necessary, as we filter by fingerprint already...
But it gives better overview and feeling.
2024-04-19 13:17:09 +02:00
Christian Hesse de8da38a0c README: remove left over certificate file
But use find as RouterOS 7.15rc1 removes it automatically.
2024-04-19 13:17:09 +02:00
Christian Hesse e42f8843bd INITIAL-COMMANDS: remove the certificate file with find
Required as RouterOS 7.15rc1 removes it automatically.
2024-04-19 13:17:01 +02:00
Christian Hesse 0f2a4aedab global-functions: $CertificateDownload: remove with find...
... to make sure this does not break when the file does no longer
exist. Starting with RouterOS 7.15rc1 the file is automatically
removed on import.
2024-04-19 11:46:17 +02:00
Christian Hesse b0cd53f813 netwatch-notify: allow to suppress resolve failure 2024-04-19 11:25:18 +02:00
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