Christian Hesse
35f4ec0b1d
doc/mod/notification-matrix: drop certificate hint...
...
... as matrix.org switched to Let's Encrypt with ISRG Root X2.
2024-06-20 10:45:03 +02:00
Christian Hesse
76dd069fa6
Let's Encrypt changed their intermediate certificates
...
https://letsencrypt.org/2024/03/19/new-intermediate-certificates
https://letsencrypt.org/certificates/
But let's keep the old ones around for now, as some sites are still
using the old intermediate.
2024-06-19 09:29:23 +02:00
Christian Hesse
d01362dbaa
unattended-lte-firmware-upgrade: check on valid version first
2024-06-11 21:14:05 +02:00
Christian Hesse
1e1c9be945
unattended-lte-firmware-upgrade: drop the AT reset
...
The AT command to reset is specific to modem. So this worked for some
only... Let's just drop it, and update the log message.
2024-06-11 21:09:06 +02:00
Christian Hesse
2166f262c8
unattended-lte-firmware-upgrade: omit just another once
2024-06-11 21:07:17 +02:00
Christian Hesse
9c899f871d
backup-cloud: remove trailing spaces
...
How did I produce these!? 😳
2024-06-10 18:11:37 +02:00
netravnen
c2dd9de9b1
unattended-lte-firmware-upgrade: omit once
...
Omit `once` from the `/interface/lte/firmware-upgrade` command to make
sure it does acutally return a valid result.
Fixes #69
2024-06-10 12:20:24 +02:00
netravnen
0a085e6610
check-lte-firmware-upgrade: omit once
...
Omit `once` from the `/interface/lte/firmware-upgrade` command to make
sure it does acutally return a valid result.
2024-06-10 12:20:24 +02:00
Christian Hesse
cd4ac2c088
backup-cloud: log note on previous connection errors
2024-06-05 15:05:43 +02:00
Christian Hesse
e35ba4b06c
global-functions: $CleanName: no exception for dash...
...
... as we still want to deduplicate it when it is inside the input
string. This also unbreak certificate import for "Go Daddy Secure
Certificate Authority - G2" (and more)...
2024-06-01 23:06:24 +02:00
Christian Hesse
a97820d12a
telegram-chat: drop extra parenthesis
2024-05-25 19:55:13 +02:00
Christian Hesse
d664856326
telegram-chat: convert the message (command) to string
...
RouterOS 7.15beta4 fixed a bug in JSON parser:
*) console - do not convert string to array in ":deserialize" command;
Before that change commands with a comma caused very crazy issues. Let's
convert the message to a string. This does not give exactly the expected
result, but mitigates telegram-chat to explode.
A command like...
/ip/address/print proplist=address,network;
... is converted to...
/ip/address/print proplist=address;network;
... and results in:
Columns: ADDRESS
# ADDRESS
0 10.0.0.1/24
1 127.0.0.1/8
bad command name network (line 1 column 36)
2024-05-24 20:30:55 +02:00
Christian Hesse
96ea39b7cd
Merge branch 'backup-partition' into next
2024-05-23 12:52:33 +02:00
Christian Hesse
33a495beb7
backup-partition: news on support for copy-over
2024-05-23 12:27:23 +02:00
Christian Hesse
0a46fb536f
doc/backup-upload: fix link for backup-partition
2024-05-23 12:11:41 +02:00
Christian Hesse
affa118161
backup-partition: support copy before feature update
2024-05-23 12:11:41 +02:00
Christian Hesse
16831aa1e8
doc/backup-email: fix link for backup-partition
2024-05-23 12:11:41 +02:00
Christian Hesse
6cbe13a135
backup-partition: move code to a local function
2024-05-23 12:11:41 +02:00
Christian Hesse
c26e44ae46
doc/backup-cloud: fix link for backup-partition
2024-05-23 12:11:41 +02:00
Christian Hesse
51331ea2ac
backup-partition: support RouterOS copy-over...
...
... when run interactively from CLI.
2024-05-23 12:11:41 +02:00
Christian Hesse
787ae4440c
daily-psk: quote ssid and passphrase
2024-05-15 15:54:12 +02:00
Christian Hesse
169c1ab6e1
daily-psk: decrease indention in notification
2024-05-15 15:52:28 +02:00
Christian Hesse
ca7a592dfd
daily-psk: adopt syntax changes
...
RouterOS 7.15beta8 came with this change:
*) wifi - show inherited properties with "print" command (replaces "actual-configuration") and added "print config" for showing only configured values;
While the old code is bad syntax with RouterOS 7.15, the new code is
valid for older RouterOS, but produces different (and more or less
unexpected) results. 🥴
Let's use the new code, and add a check on the RouterOS version.
With old RouterOS this now sends the notification even if the interface
is disabled.
2024-05-15 15:52:28 +02:00
Christian Hesse
545fb5583a
global-functions: $IsTimeSync: initialize with uptime...
...
... to make sure the warning is not issued too early.
2024-05-15 15:52:28 +02:00
Christian Hesse
c87a7519fe
fw-addr-lists: add 'strongips' list from blocklist.de
2024-05-14 11:36:58 +02:00
Christian Hesse
2745597b93
global-functions: $IsTimeSync: add (one time) warning on failed ntp sync
2024-05-08 14:25:31 +02:00
Christian Hesse
fb7170f312
global-functions: $IsTimeSync: log just once
2024-05-08 12:30:13 +02:00
Christian Hesse
eae8dbbb37
global-functions: $WaitForFile: drop extra conversion
2024-04-29 23:02:48 +02:00
Christian Hesse
517ed7bf8c
global-functions: $WaitForFile: respect minimum delay
2024-04-29 23:02:48 +02:00
Christian Hesse
52ec6b7ea1
global-functions: $WaitForFile: use fewer steps
2024-04-29 23:02:48 +02:00
Christian Hesse
6ba1faca4c
telegram-chat: shorten the message
2024-04-29 23:02:48 +02:00
Christian Hesse
40f13b6ca4
mod/notification-telegram: format percentage italic
2024-04-29 23:02:48 +02:00
Christian Hesse
0fd1e506ba
mod/notification-telegram: format date & time italic
2024-04-29 23:02:48 +02:00
Christian Hesse
f8856ae742
mod/notification-telegram: support excluding characters from escaping...
...
... to support formatting in plain text.
Handle with care, this can break the request if done wrong!
2024-04-29 23:02:48 +02:00
Christian Hesse
4b6cd7ba29
mod/notification-telegram: use proper variable naming...
...
... in local escaping function.
2024-04-29 23:02:48 +02:00
Christian Hesse
d6e315580b
mod/notification-telegram: capitalize Telegram in message
2024-04-29 23:02:48 +02:00
Christian Hesse
e7cdb2d7f4
mod/notification-matrix: format date & time italic
2024-04-29 23:02:48 +02:00
Christian Hesse
755db5d66d
global-functions: $CleanName: do not start with a dash
2024-04-29 23:02:48 +02:00
Christian Hesse
b0f58696f3
mod/ssh-keys-import: remove temporary directory
2024-04-29 23:02:48 +02:00
Christian Hesse
f1ad808734
mod/ssh-keys-import: create directory later
2024-04-29 23:02:48 +02:00
Christian Hesse
4006d07222
global-functions: $FetchHuge: remove temporary directory
2024-04-29 23:02:48 +02:00
Christian Hesse
57ebcfb41c
backup-cloud: retry on error...
...
Let's see if brute force helps. 🤪
2024-04-29 23:02:48 +02:00
Christian Hesse
5f1656b7ce
backup-cloud: clean up and simplify code
2024-04-29 18:03:40 +02:00
Christian Hesse
505074e6d3
backup-cloud: no early exit...
...
... as we want to make sure the directory (and its content) is removed.
2024-04-29 18:03:40 +02:00
Christian Hesse
b3b7643661
backup-upload: no early exit...
2024-04-29 18:03:40 +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