9094d3b99b
- Added validation to reject non-discord provider types in create, update, test, and preview operations. - Updated the notifications form to automatically normalize non-discord types to discord. - Modified UI to display explicit messaging for deprecated and non-dispatch statuses for non-discord providers. - Enhanced tests to cover new validation logic and UI changes for provider types.
9 lines
382 B
Go
9 lines
382 B
Go
package notifications
|
|
|
|
const (
|
|
FlagNotifyEngineEnabled = "feature.notifications.engine.notify_v1.enabled"
|
|
FlagDiscordServiceEnabled = "feature.notifications.service.discord.enabled"
|
|
FlagGotifyServiceEnabled = "feature.notifications.service.gotify.enabled"
|
|
FlagSecurityProviderEventsEnabled = "feature.notifications.security_provider_events.enabled"
|
|
)
|