Wolfgang Bumiller
da068b1a47
pmg: add api-types feature of proxmox-acme
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-10 12:47:03 +02:00
Wolfgang Bumiller
cd0e7b8cd2
pve: bump version to 0.8.9
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 11:01:22 +02:00
Wolfgang Bumiller
0b6800b0bd
pve: the notify chagnes now break libpve-notify-perl <<8.0.7
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 10:42:03 +02:00
Lukas Wagner
dc02255bdc
notify: adapt to Option<Vec<T>> to Vec<T> changes in proxmox_notify
...
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Max Carrara <m.carrara@proxmox.com>
Reviewed-by: Max Carrara <m.carrara@proxmox.com>
2024-06-04 10:40:53 +02:00
Lukas Wagner
7ac7fa5b00
notify: don't pass config structs by reference
...
proxmox_notify's api functions have been changed so that they take
ownership of config structs.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Max Carrara <m.carrara@proxmox.com>
Reviewed-by: Max Carrara <m.carrara@proxmox.com>
2024-06-04 10:40:53 +02:00
Lukas Wagner
627a95bf89
notify: use file based notification templates
...
Instead of passing literal template strings to the notification
system, we now only pass an identifier. This identifier will be used
load the template files from a product-specific directory.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Max Carrara <m.carrara@proxmox.com>
Reviewed-by: Max Carrara <m.carrara@proxmox.com>
2024-06-04 10:40:53 +02:00
Wolfgang Bumiller
d0633ac98e
pve,pmg: bump proxmox-notify to 0.4
...
build fixes for pve follow
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 10:40:53 +02:00
Wolfgang Bumiller
45a1af8ad2
remove old toplevel Makefile
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 10:40:53 +02:00
Wolfgang Bumiller
6bed9c40bc
remove old rustfmt.toml
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-04 10:40:53 +02:00
Wolfgang Bumiller
2860777e61
buildsys improvements for generated files
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-03 14:00:03 +02:00
Wolfgang Bumiller
4e6598ef85
common: cleanup Proxmox/RS in make clean
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-06-03 13:25:32 +02:00
Wolfgang Bumiller
27a7f2e252
pve: bump version to 0.8.8
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-01-10 14:20:00 +01:00
Wolfgang Bumiller
199be72401
pve,pmg: bump proxmox-notify dependency to 0.3.1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-01-10 14:11:09 +01:00
Wolfgang Bumiller
d6df8340c5
pve, pmg: bump perlmod-bin to 0.3.0-3
...
fixes a syntax error in the generated pm file
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2024-01-02 14:20:12 +01:00
Wolfgang Bumiller
427fdb13c0
pve: update testcase PVE.pm with fixed library path
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-18 10:39:30 +01:00
Wolfgang Bumiller
a5330e34d2
pmg: upgrade perlmod-bin dependency to 0.2
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-18 10:22:18 +01:00
Wolfgang Bumiller
c57e1868e7
pve: upgrade perlmod-bin dependency to 0.2
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-18 10:22:09 +01:00
Wolfgang Bumiller
ec95bb1c53
pve: build fix
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-18 10:20:16 +01:00
Wolfgang Bumiller
fb5f1be6dc
bump pmg-rs to 0.7.5
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-07 09:58:06 +01:00
Wolfgang Bumiller
237b276028
bump common to 0.3.3
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-07 09:58:06 +01:00
Wolfgang Bumiller
16c41f1a91
pve: load SslProbe in Proxmox/Lib/PVE.pm
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-07 09:56:05 +01:00
Wolfgang Bumiller
86706cc049
pmg: load SslProbe in Proxmox/Lib/PMG.pm
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-07 09:56:05 +01:00
Wolfgang Bumiller
62fc43fea9
common: move probe into a new SslProbe package
...
Because Proxmox::Lib::Common isn't actually `use`d by most packages.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-07 09:56:05 +01:00
Wolfgang Bumiller
6a31f73fa3
bump common to 0.3.2
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-06 11:23:09 +01:00
Wolfgang Bumiller
9525623c19
bump pmg-rs to 0.7.4
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-06 11:23:09 +01:00
Wolfgang Bumiller
089e555d51
fixate openssl-probe dependency, probe env vars in perl
...
This fixes an issue with `openssl-probe` calling `setenv` when (issued
via the `native-tls` crate with the ACME client) which crashes perl.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-06 11:21:25 +01:00
Wolfgang Bumiller
b9185327f4
update d/control
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-04 11:58:36 +01:00
Folke Gleumes
ce550d06e2
acme: add eab fields for pmg
...
Signed-off-by: Folke Gleumes <f.gleumes@proxmox.com>
2023-12-04 11:54:05 +01:00
Wolfgang Bumiller
5ac44c9fbb
pmg: bump acme-rs to 0.5
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-12-04 11:54:05 +01:00
Thomas Lamprecht
4c54abcea8
pve: bump version to 0.8.7
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-11-17 13:42:07 +01:00
Thomas Lamprecht
61ab181b01
cargo: depend on notify 0.3
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-11-17 13:38:28 +01:00
Lukas Wagner
036236c278
notify: support 'origin' paramter
...
This parameter shows the origin of a config entry (builtin,
user-created, modified-builtin)
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-11-17 13:30:57 +01:00
Lukas Wagner
36fbb76145
notify: add 'disable' parameter
...
This parameter disables a matcher/a target.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-11-17 13:30:57 +01:00
Lukas Wagner
b905cfd03d
pve-rs: notify: remove notify_context for PVE
...
The context has now been moved to `proxmox-notify` due to the fact
that we also need it in `proxmox-mail-forward` now.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-11-17 13:30:57 +01:00
Lukas Wagner
7f8cb0c5c3
notify: add bindings for smtp API calls
...
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-11-17 13:30:57 +01:00
Lukas Wagner
29602a4b01
notify: adapt to new matcher-based notification routing
...
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-11-17 13:30:57 +01:00
Fiona Ebner
bfc7f2c518
pve: test: resource scheduling: add another test where memory is secondary to CPU
...
but this time, without any start load on the node. This test fails
with librust-proxmox-resource-scheduling-dev=0.2.0-1
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-11-06 18:21:06 +01:00
Fiona Ebner
14a3de9826
pve: test: resource scheduling: add test where memory is secondary to CPU
...
because memory usage differences are small.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2023-11-06 18:21:06 +01:00
Wolfgang Bumiller
a04d26b0d2
expose use_safe_putenv via Proxmox::Lib::PMG
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-09 08:47:23 +02:00
Wolfgang Bumiller
c8d4db7836
bump perlmod to 0.13.4 for use_safe_putenv
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-06 09:09:15 +02:00
Wolfgang Bumiller
1c2ff27e75
pve: switch openid to use magic
...
Instead of blessed raw pointers as these can easily lead to double
free corruptions when they're copied in perl.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-04 09:09:45 +02:00
Wolfgang Bumiller
e3bc763de4
pmg: switch acme to use magic
...
Instead of blessed raw pointers as these can easily lead to double
free corruptions when they're copied in perl.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-04 09:07:23 +02:00
Wolfgang Bumiller
e9c2ba606d
pmg: buildsys: add notify related dependencies
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-10-04 09:07:23 +02:00
Fabian Grünbichler
4c6cc7e241
update to env_logger 0.10
...
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-10-03 10:00:27 +02:00
Lukas Wagner
50f372fe7e
notify context: fix 'default_sendmail_from' context method
...
The name of the configuration option in datacenter.cfg is `email_from`
and not `mail_from`.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-10-02 12:31:11 +02:00
Thomas Lamprecht
8d031134e1
bump version to 0.8.6
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-09-05 16:32:45 +02:00
Wolfgang Bumiller
e52b4ea877
bump d/control
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-07-28 11:51:53 +02:00
Wolfgang Bumiller
8ff4471ee6
bump notify dependency
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-07-28 11:51:28 +02:00
Lukas Wagner
76b63ed6a8
notify: use new HttpError type
...
Use `proxmox-http-error::HttpError` instead of
`proxmox-notify::api::ApiError`.
Also factoring out the digest decoding into a small helper.
Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-07-28 11:50:08 +02:00
Wolfgang Bumiller
2be21ff9fa
bump common to 0.3.1
...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2023-07-24 14:14:06 +02:00