1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-23 02:02:33 +01:00
ntfy/util
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
..
embedfs
batching_queue.go
batching_queue_test.go Change mod path 2023-11-16 20:54:58 -05:00
content_type_writer.go
content_type_writer_test.go
embedfs.go
embedfs_test.go
gzip_handler.go
gzip_handler_test.go Gzip static responses 2022-03-10 21:55:56 -05:00
limit.go Rate limiting refactor, race fixes, more tests 2023-01-27 11:33:51 -05:00
limit_test.go Rate limiting refactor, race fixes, more tests 2023-01-27 11:33:51 -05:00
lookup_cache.go Code review (round 1) 2023-02-08 22:57:10 -05:00
lookup_cache_test.go
peek.go Simplify(?) templating cases 2024-03-20 21:33:54 -04:00
peek_test.go
time.go Lint 2024-03-07 12:53:39 -05:00
time_test.go Add message-{size|delay}-limit 2024-03-07 11:53:12 -05:00
timeout_writer.go Tests 2024-03-22 22:01:41 -04:00
util.go Add support for server templates 2024-11-11 12:04:57 +01:00
util_test.go Add support for server templates 2024-11-11 12:04:57 +01:00