Dan Helfman
acd1a8d1dd
Update ntfy test to use @pytest.mark.parametrize ( #1251 )
2026-02-02 11:58:50 -08:00
Mashrafi Rahman
dc89c9ec73
Update and test the convert_string_to_array function.
2026-02-02 18:26:38 +08:00
Mashrafi Rahman
6b5390f5dd
Send tags as array in ntfy monitoring hook.
2026-02-01 15:47:13 +08:00
Dan Helfman
b67dcf829e
Fix a regression in which the ntfy monitoring hook failed to send a ping when the "priority" option was set ( #1246 ).
2026-01-24 16:35:55 -08:00
Dan Helfman
5c55402021
Fix for the ntfy monitoring hook erroring on emojis in the "title" option ( #1234 ).
2026-01-16 10:04:14 -08:00
Dan Helfman
563cb8441e
When making HTTP requests in monitoring hooks, set "borgmatic" as the user agent ( #1139 ).
2025-09-01 16:51:33 -07:00
Dan Helfman
9a80fec91b
When running tests, use Ruff for faster and more comprehensive code linting and formatting.
2025-07-17 23:24:58 -07:00
Dan Helfman
0d54fda27a
Use the Bandit security analysis tool when running tests.
...
SECURITY: Add timeouts to all monitoring hooks to prevent hangs on network requests.
SECURITY: For the "spot" check, use a more secure source of randomness when selecting paths to check.
2025-06-27 22:30:00 -07:00
Dan Helfman
b283e379d0
Actually pass the current configuration to credential hooks.
2025-02-14 10:15:52 -08:00
Dan Helfman
50096296da
Revamp systemd credential syntax to be more consistent with constants ( #966 ).
2025-02-10 22:01:23 -08:00
Dan Helfman
73fe29b055
Add additional test coverage for credential tag ( #966 ).
2025-02-10 09:52:07 -08:00
Dan Helfman
775385e688
Get unit tests passing again ( #966 ).
2025-02-09 22:44:38 -08:00
Dan Helfman
6b2f2b2ac4
Reorganize data source and monitoring hooks to make developing new hooks easier.
2024-11-27 08:50:34 -08:00