Commit graph

58 commits

Author SHA1 Message Date
Michael Gisbers 8375673d93 global-functions: implement notifications via Matrix
Matrix is an open network for secure, decentralized communication - and
it has a web api.

A warning on message type: Using 'm.notice' breaks rendering on Element
for Android (no fixed width font) and does not pop up desktop
notification. Thus we use 'm.text'. Should be safe as we do not send the
messages in response to other messages.

https://matrix.org/
2021-06-08 21:07:25 +02:00
Christian Hesse 4427cabd0e update Let's Encrypt trust chain
Drop 'DST Root CA X3', use 'ISRG Root X1' instead. The migration code
makes sure that...

 * the intermediate certificate 'R3' is signed by 'ISRG Root X1'
 * 'ISRG Root X1' is self-signed, not cross-signed by 'DST Root CA X3'
 * 'DST Root CA X3' is finally gone
2021-05-18 16:33:35 +02:00
Christian Hesse 862417b8d3 add 'ipsec-to-dns' 2021-05-17 16:41:51 +02:00
Christian Hesse cfb31e844c netwatch-notify: support dynamic address update 2021-05-06 15:11:05 +02:00
Christian Hesse d2560db5c9 email-backup: use $SendEMail2
This drops $EmailBackupTo & $EmailBackupCc from settings! Use settings
overwrite if required:

:global EmailGeneralToOverride {
  "email-backup"="backup@example.com";
}
2021-04-29 22:37:36 +02:00
Christian Hesse 56b7523775 global-functions: notify about settings override 2021-04-28 15:33:37 +02:00
Christian Hesse 9ab20bb927 global-config-overlay: remove magic
This allows to drop the ignore flag.
2021-03-04 12:13:20 +01:00
Christian Hesse eaeda375e2 certs: remove obsolote certificate "Let's Encrypt Authority X3"
Let's Encrypt started issuing certificates from "R3" intermediate on
December 2nd. All certificates should be renewed by now...
2021-02-24 21:51:56 +01:00
Christian Hesse 8a366f035d backup: notify about random delay 2021-02-24 21:51:56 +01:00
Christian Hesse 73eb92fb72 We have a Telegram group! 2021-02-22 10:34:09 +01:00
Christian Hesse d5afc79eed global: drop script 'global-wait'
All scripts wait for the global functions on their own now.
2021-02-18 21:45:38 +01:00
Christian Hesse 28db473299 global-functions: send (and re-send) e-mails from queue 2021-02-16 16:45:13 +01:00
Christian Hesse eaea89112a global-functions: $LogPrintExit: notify about colorful output 2021-01-22 10:08:15 +01:00
Christian Hesse 547fbc630a update copyright for 2021 2021-01-01 21:33:52 +01:00
Christian Hesse 0360a0ef90 global-functions: $ScriptInstallUpdate: implement migration mechanism
Reset $SentConfigChangesNotification and rerun $ScriptInstallUpdate
to test...

:set SentConfigChangesNotification
$ScriptInstallUpdate
2020-12-18 20:32:29 +01:00
Christian Hesse 40dc2415d3 global-functions: $ScriptInstallUpdate: make Let's Encrypt certificate semi-mandatory
... and remove the migration from changes.
2020-12-18 20:32:29 +01:00
Christian Hesse 010e2d6b05 check-certificates: make the certificate renewal time configurable 2020-12-18 16:02:31 +01:00
Christian Hesse 3657830582 ipv6-update: notify about interface specific address list entries 2020-12-18 15:31:03 +01:00
Christian Hesse 62598b6653 import Let's Encrypt certificate "R3" 2020-12-17 22:47:12 +01:00
Christian Hesse 62ef70e5dd netwatch-notify: notify about changes 2020-11-17 22:28:05 +01:00
Christian Hesse 98c132105d check-routeros-update: support installing updates automatically if seen in neighbor list 2020-11-01 21:48:03 +01:00
Christian Hesse fee2523a22 mode-button: make LED configurable 2020-10-23 21:50:14 +02:00
Christian Hesse ae5570325b ospf-to-leds: introduce script to visualize ospf state via leds 2020-10-23 14:17:33 +02:00
Christian Hesse 6d9eb99e08 check-health: add deviation on temperature recovery threshold
This helps against notification flooding.
2020-10-16 22:58:14 +02:00
Christian Hesse 8b2df7abd0 mode-button: merge mode-button-event & mode-button-scheduler 2020-10-16 08:24:19 +02:00
Christian Hesse 3e0039c266 global-functions: $SendTelegram: use fixed-width font...
... but give configuration to opt-out.
2020-10-13 10:05:59 +02:00
Christian Hesse a0d1709244 log-forward: notify on rate limit 2020-09-28 20:26:29 +02:00
Christian Hesse 697e32a306 log-forward: add filter on log message text 2020-09-25 22:21:59 +02:00
Christian Hesse c3ea555233 dhcp-to-dns: notify on acting on all bound leases 2020-09-25 22:20:34 +02:00
Christian Hesse 9f16e0644b global-functions: notify on Telegram queue 2020-09-25 22:19:16 +02:00
Christian Hesse 9bec6914cc netwatch-notify: notify on configurable check count threshold 2020-09-25 22:17:26 +02:00
Christian Hesse 6575cb3321 notify about support for dhcp server name in fqdn 2020-08-07 22:15:30 +02:00
Christian Hesse 075859c898 global-functions: introduce and use $SymbolForNotification 2020-07-17 08:12:00 +02:00
Christian Hesse 6bce0a4b6a add 'log-forward', drop 'early-errors' 2020-07-15 12:41:29 +02:00
Christian Hesse f4d6e07dbb global-config: dropped $ScriptUpdatesIgnore, use ignore flag in comment 2020-07-14 17:02:41 +02:00
Christian Hesse d1b6ca3d0b notify about auto patch updates in check-routeros-update 2020-07-14 17:02:36 +02:00
Christian Hesse 4a52d51a36 notify about hooks in netwatch-notify 2020-07-14 17:02:31 +02:00
Christian Hesse aec63407e8 notify about options in script comments 2020-07-14 16:23:04 +02:00
Christian Hesse 883920aeae notify about $IPCalc 2020-07-14 16:22:17 +02:00
Christian Hesse 23563cb9aa notify about early-errors 2020-07-14 16:16:46 +02:00
Christian Hesse 71ad56aacc explicitly name the license
Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

https://www.gnu.org/licenses/#GPL
https://www.gnu.org/licenses/gpl.html
https://www.gnu.org/licenses/gpl.md
2020-06-19 22:17:42 +02:00
Christian Hesse 2363f75e7f ask for GitHub and GitLab stars 2020-03-27 22:19:33 +01:00
Christian Hesse 1d93e92dcd Notify about new documentation! 2020-03-27 22:12:49 +01:00
Christian Hesse a87fbb4be1 start news items with capital letter 2020-03-26 14:22:10 +01:00
Christian Hesse 5f46ef7635 completely replace script-updates with $ScriptInstallUpdate 2020-03-23 14:01:20 +01:00
Christian Hesse 628ae1bd70 bridge-port-to-default: use $ParseKeyValueStore...
... and unbreak last commit removing delay (69352c90).
This requires a change in configuration syntax. Change this...

    comment="default:br-local, alt:br-guest"

to...

    comment="default=br-local, alt=br-guest"
2020-03-03 13:32:00 +01:00
Christian Hesse b5f4c2c87e global-config: drop $ScriptUpdatesConfigChangesIgnore
Comment or remove $GlobalConfigVersion in global-config-overlay
to disable change notifications.
2020-02-04 20:19:46 +01:00
Christian Hesse 1e72f03e5e README: update instructions to use $ScriptInstallUpdate 2020-01-29 22:14:56 +01:00
Christian Hesse afb9839073 update copyright for 2020 2020-01-01 17:00:39 +01:00
Christian Hesse f40bb2c8c8 check-health: make threshold for voltage configurable 2019-10-14 19:13:31 +02:00