1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-23 02:02:33 +01:00
ntfy/cmd
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
..
access.go Change mod path 2023-11-16 20:54:58 -05:00
access_test.go Change mod path 2023-11-16 20:54:58 -05:00
app.go Change mod path 2023-11-16 20:54:58 -05:00
app_test.go Change mod path 2023-11-16 20:54:58 -05:00
config_loader.go Change mod path 2023-11-16 20:54:58 -05:00
config_loader_test.go
publish.go Change mod path 2023-11-16 20:54:58 -05:00
publish_test.go Change mod path 2023-11-16 20:54:58 -05:00
publish_unix.go
publish_windows.go
serve.go Add support for server templates 2024-11-11 12:04:57 +01:00
serve_test.go Fix linter 2023-11-16 21:04:49 -05:00
subscribe.go Avoid panic if user.Current() fails; add logging to "ntfy subscribe" to help figure out what's wrong 2024-03-07 15:56:20 -05:00
subscribe_darwin.go Avoid panic if user.Current() fails; add logging to "ntfy subscribe" to help figure out what's wrong 2024-03-07 15:56:20 -05:00
subscribe_test.go
subscribe_unix.go Avoid panic if user.Current() fails; add logging to "ntfy subscribe" to help figure out what's wrong 2024-03-07 15:56:20 -05:00
subscribe_windows.go Avoid panic if user.Current() fails; add logging to "ntfy subscribe" to help figure out what's wrong 2024-03-07 15:56:20 -05:00
tier.go Add message-{size|delay}-limit 2024-03-07 11:53:12 -05:00
tier_test.go Change mod path 2023-11-16 20:54:58 -05:00
token.go Change mod path 2023-11-16 20:54:58 -05:00
token_test.go Change mod path 2023-11-16 20:54:58 -05:00
user.go Do not allow empty passwords when creating users 2023-11-19 05:47:41 -05:00
user_test.go Change mod path 2023-11-16 20:54:58 -05:00
webpush.go
webpush_test.go Change mod path 2023-11-16 20:54:58 -05:00