1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-23 02:02:33 +01:00
ntfy/server
Gordon Bleux 823070bf7e Add support for server templates
instead of sending title/message templates as part of the publishing
request, systems can simply reference existing templates from the server.
this has two advantages
a) publish URLs become shorter
b) publish URLs become easier to reuse

the changes backwards-compatible, as the `tpl` parameter continues
to support truthy boolean values.
the feature has to be enabled on the server. available templates
and their content are exposed via new API endpoints.
2024-11-11 12:04:57 +01:00
..
actions.go
actions_test.go
config.go
config_test.go
errors.go
file_cache.go
file_cache_test.go
log.go
mailer_emoji_map.json
message_cache.go
message_cache_test.go Re-add idx_topic to messages table 2024-04-24 14:38:05 -04:00
ntfy.service
server.go
server.yml
server_account.go
server_account_test.go
server_admin.go
server_admin_test.go
server_firebase.go
server_firebase_test.go
server_manager.go
server_manager_test.go Fix panic in manager when attachment-cache-dir is not set, fixes #617 2023-02-17 15:56:48 -05:00
server_matrix.go Change mod path 2023-11-16 20:54:58 -05:00
server_matrix_test.go
server_metrics.go
server_middleware.go
server_payments.go
server_payments_test.go
server_templates.go
server_templates_test.go
server_test.go
server_twilio.go
server_twilio_test.go
server_webpush.go
server_webpush_test.go Change mod path 2023-11-16 20:54:58 -05:00
smtp_sender.go
smtp_sender_test.go
smtp_server.go
smtp_server_test.go
topic.go
topic_test.go
types.go Add support for server templates 2024-11-11 12:04:57 +01:00
util.go
util_test.go
visitor.go
webpush_store.go
webpush_store_test.go