0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-05 05:15:26 +00:00

Increase ntfy.sh topic max length to 64

This commit is contained in:
Pēteris Caune 2024-11-25 11:16:15 +02:00
parent a81da0b1ca
commit cb7e53677d
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2
3 changed files with 3 additions and 1 deletions
CHANGELOG.md
hc/front
templates/integrations

View file

@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
- De-emphasize the unsubscribe link in email notifications
- In the checks list, move the "Add Check" button to the top of the page
- Implement filtering by status in the checks list page
- Increase ntfy.sh topic max length to 64
### Bug Fixes
- Improve recipient address validation in the smtp listener (#1077)

View file

@ -367,7 +367,7 @@ class GroupForm(forms.Form):
class NtfyForm(forms.Form):
error_css_class = "has-error"
topic = forms.CharField(max_length=50)
topic = forms.CharField(max_length=64)
url = LaxURLField(max_length=1000)
token = forms.CharField(max_length=100, required=False)
priority = forms.IntegerField(initial=3, min_value=0, max_value=5)

View file

@ -27,6 +27,7 @@
id="topic"
name="topic"
type="text"
maxlength="64"
class="form-control"
value="{{ form.topic.value|default:'' }}"
required>