listmonk/internal
Kailash Nadh 55f7eca2e8
Add support for file attachments in the transactional (tx) API. (#1243)
The original PR accepts files to the `/tx` endpoints as Base64 encoded
strings in the JSON payload. This isn't ideal as the payload size
increase caused by Base64 for larger files can be significant,
in addition to the added clientside API complexity.

This PR adds supports for multipart form posts to `/tx` where the
JSON data (name: `data`) and multiple files can be posted simultaenously
(one or more `file` fields).

--- PR: #1166
* Attachment model for TxMessage
* Don't reassign values, just pass the manager.Messgage
* Read attachment info from API; create attachment Header
* Refactor tx attachments to use multipart form files. Closes #1166.
---

Co-authored-by: MatiSSL <matiss.lidaka@nic.lv>
2023-03-19 15:50:44 +05:30
..
bounce Parse campaign UUID in SendGrid webhook. Closes #1177. 2023-02-26 13:06:30 +05:30
buflog Add new 'Logs' page to the UI to view stdout logs 2020-10-10 23:55:54 +05:30
captcha Add hCaptcha.com support to public subscription form. (#1152) 2023-01-23 21:50:10 +05:30
core Add support for multiple subscribers in a single transactional message call. 2022-12-25 17:32:01 +05:30
i18n Fix typos 2022-03-20 11:17:29 -07:00
manager Add support for file attachments in the transactional (tx) API. (#1243) 2023-03-19 15:50:44 +05:30
media fix: check public URL before presigned URL generation (#1148) 2023-01-16 15:49:21 +05:30
messenger Fix e-mail From/Return-Path envelope sender. Closes #908, closes #1008. 2022-11-10 00:01:24 +05:30
migrations Add hCaptcha.com support to public subscription form. (#1152) 2023-01-23 21:50:10 +05:30
subimporter Refactor models.SubscriberAttribs JSON wrapper to generic name JSON. 2022-10-02 22:53:38 +05:30