proxmox/proxmox-notify/src
Lukas Wagner 9bea76c6b9 notify: add built-in config and 'origin' parameter
This allows us to define a (modifiable) builtin-config, which is
at the moment hardcoded in PVEContext

The 'origin' parameter indicates whether a config entry was created by
a user, builtin or a modified builtin.

These changes require context to be set for tests, so we set
PVEContext by default if in a test context. There might be a nicer
solution for that, but for now this should work.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-11-17 08:31:36 +01:00
..
api notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00
context notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00
endpoints notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00
renderer notify: factor out notification content into its own type 2023-11-17 08:31:36 +01:00
config.rs notify: add 'smtp' endpoint 2023-11-17 08:31:36 +01:00
filter.rs notify: replace filters and groups with matcher-based system 2023-11-17 08:31:36 +01:00
group.rs notify: replace filters and groups with matcher-based system 2023-11-17 08:31:36 +01:00
lib.rs notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00
matcher.rs notify: add built-in config and 'origin' parameter 2023-11-17 08:31:36 +01:00
schema.rs notify: replace filters and groups with matcher-based system 2023-11-17 08:31:36 +01:00