added Support for ntfy and apprise

This commit is contained in:
jschaufuss@leitwerk.de
2025-08-15 13:02:19 +02:00
parent 839fafdb33
commit defbe0dc9c
14 changed files with 443 additions and 103 deletions

View File

@@ -14,9 +14,11 @@ class CustomUserChangeForm(UserChangeForm):
class Meta:
model = User
fields = ('email',)
fields = ('email', 'notification_channel', 'ntfy_topic', 'apprise_url')
widgets = {
'email': forms.EmailInput(attrs={'class': 'text-input', 'placeholder': 'Email address'}),
'ntfy_topic': forms.TextInput(attrs={'class': 'text-input', 'placeholder': 'ntfy topic (optional)'}),
'apprise_url': forms.Textarea(attrs={'rows': 2, 'placeholder': 'apprise://... or other URL'}),
}
class JellyfinLoginForm(forms.Form):