5 Commits

Author SHA1 Message Date
7a78b8e172 fix: change module name corresponding to version 2025-09-25 19:15:20 +02:00
5ddbdf9a64 chore(webhooks): update webhook.go (#1666)
udpate -> update
2024-10-05 00:13:27 +02:00
85a5383f67 feat(admin api): add user update endpoints
* implement endpoint for adding an email
* implement endpoint for changing an email to primary
* implement endpoint for removing an email
* fix some bugs and oversights in webhooks
* update config json schema
* update OpenAPI file for admin API

Closes #1051
Fixes #692
2024-01-19 14:35:08 +01:00
3cafb66754 feat(webhooks): add tests and fix review issues
* add tests for webhooks
* improve error handling when context does not contain webhook manager
* add logging to worker and fix nesting error overwrite
* remove enable and disable methods in favor for update method
* move data in jwt from subject claim to custom `data` claim
* add event in jwt to custom `evt` claim
* change webhook trigger to only fire once per hook (was once per subscribed event in hook before)

Closes #692
2024-01-17 14:19:10 +01:00
45cbd74314 feat(webhooks): add webhooks
* add webhooks settings to config
* add webhooks entity for database
* add endpoints for webhooks
* add worker for asynchronously executing webhooks
* add trigger for events to user change/create/delete users/emails

Closes #692
2024-01-12 16:04:31 +01:00