Commit graph

2292 commits

Author SHA1 Message Date
Christian Hesse
0b04f173c8 check-lte-firmware-upgrade: update formatting of notification 2023-06-07 09:28:51 +02:00
Christian Hesse
d2883e6f43 global-functions: $CertificateDownload: add a delay
For any reason the imported certificate(s) is/are not available for
fetch command immediately. Let's add a delay here... It should not hurt
as certificates are not imported that often.
2023-06-01 21:59:52 +02:00
Christian Hesse
0b8979e5b5 global-functions: $ScriptInstallUpdate: handle scripts with DOS line endings
If the script is converted to DOS line endings (\r\n) on the device it
was no longer handled by $ScriptInstallUpdate. Let's change that...
2023-06-01 21:59:52 +02:00
Christian Hesse
de8c534d41 doc/daily-psk: rename schedulers...
... to match other scripts.
2023-06-01 09:53:33 +02:00
Christian Hesse
95181fbef9 doc/check-certificates: move and rename schedule at startup 2023-06-01 09:53:33 +02:00
Christian Hesse
cfeddde173 doc/check-routeros-update: hint on schedule at startup 2023-06-01 09:53:33 +02:00
Christian Hesse
42c658e1d4 netwatch-dns: reorder variables 2023-06-01 09:53:33 +02:00
Christian Hesse
007d1ff7b8 netwatch-dns: handle status 'up' only 2023-06-01 09:53:33 +02:00
Christian Hesse
f416b0e59d netwatch-notify: ignore status 'unknown' 2023-05-31 15:13:14 +02:00
Christian Hesse
1568df3b4f global-config: end all (array) variables with a semicolon 2023-05-31 11:41:50 +02:00
Christian Hesse
8dc0475108 contrib/logo-color: support settings the background 2023-05-26 11:57:18 +02:00
Christian Hesse
51a7453e6c contrib/notification: update the screenshot procedure 2023-05-26 10:07:37 +02:00
Christian Hesse
73564c74c0 contrib/logo-color: link to doc/mod/notification-telegram 2023-05-25 10:39:16 +02:00
Christian Hesse
80198dcfb5 doc/mod/notification-telegram: show how to set bot's profile photo 2023-05-25 10:39:16 +02:00
Christian Hesse
ccb0e468b4 contrib/logo-color: add screenshots from browser 2023-05-25 10:39:16 +02:00
Christian Hesse
5b869d5191 contrib/notification: fix the font families 2023-05-25 10:39:16 +02:00
Christian Hesse
871f30ad8e contrib/logo-color: fix the font family 2023-05-25 10:39:16 +02:00
Christian Hesse
44e483ecb7 contrib/logo-color: scale up...
... to make BotFather happy, why asks for images with at
least 150x150 pixels.
2023-05-25 10:39:14 +02:00
Christian Hesse
6327348405 check-certificates: split validity output 2023-05-25 10:39:00 +02:00
Christian Hesse
5ae3cb336f add a logo color changer
Generate a colored logo for your notifications!
2023-05-25 10:38:57 +02:00
Christian Hesse
c2e7567c13 logo: rename SVG ids 2023-05-23 11:25:43 +02:00
Christian Hesse
e9b7c7f7ed doc/mod/notification-telegram: describe how to declare functions...
... to use them in own scripts.
2023-05-22 09:52:34 +02:00
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