This patch adds a new optional `name` field to SMTP server config on the UI.
When a name is given to an SMTP server, it's initialized as a standalone messenger
which shows up as a sub-group item under the main "email" messenger
on the campaign page.
Co-authored-by: Kailash Nadh <kailash@nadh.in>
* Fix API Docs for campaign routes' params
1. Added no_body for some. These existed in OpenApi spec but was not present in the docs
2. GET /api/campaigns/analytics/{type} fixed params description for "from" and "to"
* OpenApi Specs GET routes and File Type Fix
This commit fixes some routes' openapi specs by following lismonk.app/docs/
1. GET Routes can't have a body. All params spesified in the body is moved up to query params
2. On the route /import/subscribers POST fixed content type to Multipart, added example params and fixed file type to string/binary
3. And added required: false to many
* Move CSV example rendering to code to get around breaking auto-formatter.
* Improve overwrite confirmation logic.
---------
Co-authored-by: Kailash Nadh <kailash@nadh.in>