notifications/apps/push_notifications
Ali Asadi 8f83a5e84a FEAT(notifications): add optional click_url for notification tap actions
Not every notification is clickable, so click_url is optional end to end
(null/blank on the model, required=False on the serializer). When set, it's
merged into Gotify's own client::notification.click.url extras convention
without disturbing any other extras a producer already sends, so official
Gotify clients can open it on tap. Wired through both message-creation
paths: the single-push REST API and the bulk Excel upload. Also fixes a
pre-existing NameError in the bulk path (json.loads(extras) referenced an
undefined name instead of extras_str).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-22 09:36:06 +03:30
..
migrations FEAT(notifications): add optional click_url for notification tap actions 2026-08-22 09:36:06 +03:30
__init__.py send message api 2025-07-15 13:59:42 +03:30
admin.py bulk push 2025-07-19 15:41:36 +03:30
application_urls.py send message api 2025-07-15 13:59:42 +03:30
apps.py send message api 2025-07-15 13:59:42 +03:30
models.py FEAT(notifications): add optional click_url for notification tap actions 2026-08-22 09:36:06 +03:30
serializers.py FEAT(notifications): add optional click_url for notification tap actions 2026-08-22 09:36:06 +03:30
tasks.py FEAT(notifications): add optional click_url for notification tap actions 2026-08-22 09:36:06 +03:30
tests.py send message api 2025-07-15 13:59:42 +03:30
user_urls.py send message api 2025-07-15 13:59:42 +03:30
views.py add celery 2025-07-17 12:15:32 +03:30