Commit graph

3 commits

Author SHA1 Message Date
Felix Niederwanger 121ab40b02
Add possibility for priviledge drop
Adds the `uid` and `gid` settings in the main configuration file, which
allows weblug to run under a unprivileged user account. This comes with
the limitation, that unless the program runs as root, custom webhook
`uid/gid` settings are not possible.
2023-06-05 17:00:30 +02:00
Felix Niederwanger 46418bcf3a
Add env sanitation
Sanitize the environment variables when running webhooks and add ability
to add custom environment variables per webhook.
2023-05-28 11:44:42 +02:00
Felix Niederwanger d7589937b6
Add testing
Adds a blackbox test and fixes some discovered bugs in the program
argument handling. Also adds the `Output` option to web hooks.
2022-12-29 16:03:11 +01:00