mirror of
https://github.com/knadh/listmonk.git
synced 2024-11-10 17:13:04 +08:00
463e92d1e1
This commit adds a new API `POST /api/tx` that sends an ad-hoc message to a subscriber based on a pre-defined transactional template. This is a large commit that adds the following: - New campaign / tx template types on the UI. tx templates have an additional subject field. - New fields `type` and `subject` to the templates table. - Refactor template CRUD operations and models. - Refactor template func assignment in manager. - Add pre-compiled template caching to manager runtime. - Pre-compile all tx templates into memory on program boot to avoid expensive template compilation on ad-hoc tx messages. |
||
---|---|---|
.. | ||
models.go | ||
queries.go | ||
settings.go |