Commit graph

1720 commits

Author SHA1 Message Date
Christian Hesse
c0aeee3d3e doc/mod/notification-matrix: describe how to declare functions...
... to use them in own scripts.
2023-05-22 09:52:18 +02:00
Christian Hesse
8284035ad8 doc/mod/notification-email: describe how to declare functions...
... to use them in own scripts.
2023-05-22 09:51:23 +02:00
Christian Hesse
4254b01a32 mod/notification-telegram: fix copy-and-paste error 2023-05-15 21:43:18 +02:00
Christian Hesse
9069f71ee6 daily-psk: use $ParseDate 2023-05-10 20:02:44 +02:00
Christian Hesse
60f863871c global-functions: $ParseDate: handle date in ISO standard format
This was introduced with RouterOS 7.10beta5...

https://xkcd.com/1179/ 😜
2023-05-10 20:02:44 +02:00
Christian Hesse
bafd71344d global-functions: introduce $ParseDate
The extra indention is intended for a later change.
2023-05-10 20:02:44 +02:00
Christian Hesse
e7927e0eee daily-psk: explicitly cast to num 2023-05-10 18:10:31 +02:00
Christian Hesse
d586a5ab19 daily-psk: simplify calculation
Use a named array, and drop the loop...
2023-05-10 18:10:31 +02:00
Christian Hesse
3fe66c8413 update list of contributors 2023-05-02 16:19:44 +02:00
Christian Hesse
1f1e76b822 sms-forward: drop workaround, add required RouterOS 2023-04-26 10:31:23 +02:00
Christian Hesse
c8500dddd0 mod/ssh-keys-import: make ssh-keys-import a module 2023-04-26 10:31:23 +02:00
Christian Hesse
a3a7e5be4b global-config: restore variables still used in ipsec-to-dns (for now) 2023-04-26 10:31:23 +02:00
Christian Hesse
5c7a7723f3 global-config: be more verbose about domain 2023-04-26 10:30:10 +02:00
Christian Hesse
575c77d1a6 mod/bridge-port-to: increase the delay before re-enabling
Looks like two seconds is way too short... NetworkManager act after five
seconds - so let's delay that time at least.

https://networkmanager.dev/docs/api/latest/NetworkManager.conf.html#carrier-wait-timeout
2023-04-25 09:45:46 +02:00
Christian Hesse
9dead9cc33 mod/bridge-port-vlan: increase the delay before re-enabling
Looks like two seconds is way too short... NetworkManager act after five
seconds - so let's delay that time at least.

https://networkmanager.dev/docs/api/latest/NetworkManager.conf.html#carrier-wait-timeout
2023-04-25 09:43:50 +02:00
Christian Hesse
19eb8653af Merge branch 'dhcp-to-dns' into next 2023-04-24 22:26:26 +02:00
Christian Hesse
83e57e6aab Merge branch 'FormatLine' into next 2023-04-24 22:26:26 +02:00
Christian Hesse
ee94024dca dhcp-to-dns: get domain from dhcp server's network definition 2023-04-24 22:26:26 +02:00
Christian Hesse
82b5ae174a mod/ipcalc: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
ac5d84173f dhcp-to-dns: rename variable to not clash with global one 2023-04-24 22:26:26 +02:00
Christian Hesse
944b2f5864 daily-psk: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
79cdefbd1e dhcp-to-dns: handle change of domain 2023-04-24 22:26:26 +02:00
Christian Hesse
b705ceae59 collect-wireless-mac: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
517bb4ede8 dhcp-to-dns: get all values of dns record 2023-04-24 22:26:26 +02:00
Christian Hesse
3f9480f9f2 check-lte-firmware-upgrade: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
4c416cb39e dhcp-to-dns: handle duplicate leases earlier 2023-04-24 22:26:26 +02:00
Christian Hesse
b1cb4cb10f check-health: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
f3876b0637 dhcp-to-dns: handle dns record by comment and type 2023-04-24 22:26:26 +02:00
Christian Hesse
7ed70bdb26 check-certificates: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
bac6a72d51 backup-upload: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
637b5e21da backup-email: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
31553f86a6 backup-cloud: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
fb12aabf3e global-functions: $DeviceInfo: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
cb338c76a8 global-functions: introduce $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
fb9feea595 check-certificates: add certificate name in notification subject 2023-04-19 22:05:43 +02:00
Christian Hesse
be0bbe80d9 check-routeros-update: add version in notification subject 2023-04-19 22:05:43 +02:00
Christian Hesse
baf6b3ae17 README: make the screenshot match the example 2023-04-19 08:28:32 +02:00
Christian Hesse
69ea231efc README: make the Telegram QR code a link 2023-04-18 23:14:37 +02:00
Christian Hesse
f7eb123f3d README: add a donate button to badges 2023-04-18 23:14:37 +02:00
Christian Hesse
5324bffd84 README: generate a donate buttom from shields.io 2023-04-18 23:14:37 +02:00
Christian Hesse
b4fbd65f55 README: note about breaking changes 2023-04-17 11:00:52 +02:00
Christian Hesse
f1c634b984 README: add badge to link Telegram group 2023-04-16 22:07:54 +02:00
Christian Hesse
03bf3d67a0 Merge branch 'check-certificates' into next 2023-04-07 23:43:45 +02:00
Christian Hesse
f14788a104 check-certificates: properly escape the name for regex 2023-04-07 23:36:09 +02:00
Christian Hesse
9617095022 check-certificates: try all SANs for download 2023-04-07 23:36:09 +02:00
Christian Hesse
922dde3ff0 check-certificates: make the function return a status 2023-04-07 23:01:32 +02:00
Christian Hesse
46110661e0 check-certificates: do not rename certificates without common-name 2023-04-07 23:01:20 +02:00
Christian Hesse
11093045f3 check-certificates: download and import in a local function 2023-04-07 22:53:33 +02:00
Christian Hesse
4073daa139 check-certificates: include SANs in information 2023-04-07 22:53:33 +02:00
Christian Hesse
f585b6ee32 README: add badge to hint required RouterOS version 2023-04-06 20:33:01 +02:00