Commit graph

67 commits

Author SHA1 Message Date
Christian Hesse
0502cf17c9 mod/scriptrunonce: escaping question mark is no longer required 2023-06-27 09:14:36 +02:00
Christian Hesse
a1b896a5d3 mod/notification-email: escaping question mark is no longer required 2023-06-27 09:14:36 +02:00
Christian Hesse
4254b01a32 mod/notification-telegram: fix copy-and-paste error 2023-05-15 21:43:18 +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
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
82b5ae174a mod/ipcalc: use $FormatLine 2023-04-24 22:26:26 +02:00
Christian Hesse
a1f6bd532b mod/scriptrunonce: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse
61e0e052a6 mod/notification-telegram: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse
b7cb722b5c mod/notification-matrix: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse
9136bf28bd mod/notification-email: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse
8edf694b54 mod/ipcalc: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse
b6f9094c3d mod/inspectvar: link documentation 2023-04-04 19:24:32 +02:00
Christian Hesse
3b5026ea8d drop dummy scripts used for migration
This now causes expected warnings on first run of $ScriptInstallUpdate.
The migration still works, as we keep `global-config.changes` and
`global-functions`.
2023-03-10 09:58:01 +01:00
Christian Hesse
a832fd04ef rename scripts and add file extension ".rsc"
No functional change for the user... The migration is done
automatically.
2023-03-07 22:26:01 +01:00
Christian Hesse
b963761874 mod/notification-telegram: support sending in reply 2023-02-24 12:13:44 +01:00
Christian Hesse
2cb74f0269 mod/notification-telegram: support sending to specific chatid 2023-02-02 09:11:34 +01:00
Christian Hesse
47a657d25c mod/notification-*: support extra text (or emojis 🚀) in notification tags 2023-01-12 15:40:05 +01:00
Christian Hesse
c8e22f33c2 mod/notification-email: split off generation of subject 2023-01-11 12:28:31 +01:00
Christian Hesse
a953a8fa59 mod/notification-email: move $QuotedPrintable (from global-functions)
This is used for e-mail only...
2023-01-11 12:28:31 +01:00
Christian Hesse
868557a24a log-forward: generate filter in mod/notification-email 2023-01-11 12:28:31 +01:00
Christian Hesse
2f774f723d update copyright for 2023 2023-01-02 23:49:26 +01:00
Christian Hesse
89c0fde465 mod/notification-email: put status in scheduler comment 2022-11-22 21:28:45 +01:00
Christian Hesse
03d1927067 mod/notification-email: set scheduler interval earlier
... to make sure the checks are not re-run every second.
2022-11-22 21:28:26 +01:00
Christian Hesse
ab3047ee82 mod/notification-email: reference scheduler from variable 2022-11-22 21:27:51 +01:00
Christian Hesse
6f79eb996a mod/notification-email: make sure the scheduler interval is never zero 2022-11-17 22:34:08 +01:00
Christian Hesse
b517b26517 mod/notification-email: check that attachment exists 2022-11-17 22:18:16 +01:00
Christian Hesse
71d1f2a781 mod/notification-email: convert to array earlier 2022-11-17 22:13:02 +01:00
Christian Hesse
9f02f04334 mod/notification-email: fix typo 2022-11-17 22:10:52 +01:00
Christian Hesse
4106b199bf mod/notification-telegram: drop 'Telegram' from wording 2022-10-19 22:46:23 +02:00
Christian Hesse
eccc187014 introduce 'mod/notification-email', split off from global-functions 2022-09-25 22:10:05 +02:00
Christian Hesse
c33e813f20 mod/notification-matrix: $FlushMatrixQueue: use $0 for scheduler name 2022-09-15 22:25:59 +02:00
Christian Hesse
47e4f292cb mod/notification-telegram: $FlushTelegramQueue: use $0 for scheduler name 2022-09-15 22:25:59 +02:00
Christian Hesse
f34c353b5f mod/notification-telegram: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:35:03 +02:00
Christian Hesse
7f85e69713 mod/notification-matrix: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:34:51 +02:00
Christian Hesse
34ea276469 mod/bridge-port-vlan: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:34:37 +02:00
Christian Hesse
8436a18919 mod/bridge-port-to: update initialization of empty array
Having the parenthesis here is important for valid syntax!
2022-07-13 11:34:25 +02:00
Christian Hesse
597277dbe7 mod/ipcalc: use $PrettyPrint 2022-07-05 12:43:57 +02:00
Christian Hesse
150feac400 mod/inspectvar: use $PrettyPrint 2022-07-05 12:43:57 +02:00
Christian Hesse
b0992da03d mod/ipcalc: remove empty line 2022-07-05 12:28:50 +02:00
Christian Hesse
3434ea9d79 mod/bridge-port-to: re-enable interfaces by id 2022-06-30 08:59:27 +02:00
Christian Hesse
e27a0166ba mod/bridge-port-vlan: re-enable interfaces by id 2022-06-30 08:59:08 +02:00
Christian Hesse
f26fb7c05f mod/bridge-port-to: do not act on missing interface
Happens on broken configuration or early boot...
2022-06-29 12:53:50 +02:00
Christian Hesse
ba34ee5cda mod/bridge-port-vlan: do not act on missing interface
Happens on broken configuration or early boot...
2022-06-29 12:53:02 +02:00
Christian Hesse
8b6f830fe8 mod/notification-telegram: only flush queue if fully connected
The fetch command is not as reliable as it should be... Chances were that
notifications were sent multiple times if stuck in background.
Let's flush only if fully connected - and hope this fixes it.
2022-06-20 11:29:49 +02:00
Christian Hesse
cf59e7c1a2 mod/notification-matrix: only flush queue if fully connected
The fetch command is not as reliable as it should be... Chances were that
notifications were sent multiple times if stuck in background.
Let's flush only if fully connected - and hope this fixes it.
2022-06-20 11:29:49 +02:00
Christian Hesse
3002990319 fix typos: 'at lease' -> 'at least' 2022-06-16 23:56:36 +02:00
Christian Hesse
66b7fccd30 mod/bridge-port-to: log when re-enabling interfaces 2022-06-15 16:39:49 +02:00
Christian Hesse
1e894289ea mod/bridge-port-vlan: log when re-enabling interfaces 2022-06-15 16:39:49 +02:00
Christian Hesse
5dc23dd267 mod/bridge-port-to: move reenable to correct level 2022-06-15 10:01:48 +02:00