-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.type/refactoringExisting code has been cleaned up. There should be no new functionality.Existing code has been cleaned up. There should be no new functionality.
Description
Description
We should allow for custom webhooks. And while we're at it, migrate current webhooks into the new format (This is make it easy for people to remove slack-support (or rename to Mattermost) link to issue ).
I see this being interated in 5 steps (maybe less depending on size of PRs)
- Add a new webhook-type for custom payloads, this one reads
{name}_payload.tmpland logo{name}.pngfromoptions/webhooks/andcustom/webhooks/. - Add UI for actually enabling them

- Support for "Metadata", as in
Name, and custom fields (for config-page). Should be in a file...
Could also add support for URL-based icon (to reuse gitea-logo) - Support for sending custom Headers
- Migrates all existing Slack & Gitea webhooks to the new format 🎉
The way I see it we'd end up with this:
/options/webhooks/
/gitea.png
/gitea_payload.tmpl
/gitea_headers.tmpl
/gitea_metadata.yml
/slack.png
/slack_payload.tmpl
/slack_headers.tmpl
/slack_metadata.yml
/custom/webhooks/
/foobar.png
/foobar_payload.tmpl
/foobar_headers.tmpl
/foobar_metadata.yml
Screenshots
Will try to make mockup screenshots
edacval, DblK, andreapavoni, saltymouse, Magolwes and 38 more
Metadata
Metadata
Assignees
Labels
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.Completely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.type/refactoringExisting code has been cleaned up. There should be no new functionality.Existing code has been cleaned up. There should be no new functionality.