listmonk/cmd
Kailash Nadh 931e467b25 Fixes campaign test messages not including unsub headers.
Campaign messages are handled by `manager` whereas test messages
were being pushed directly into a messenger skipping some campaign
related routines such as the addition of list unsub headers.

This commit exposes a new function `manager.PushCampaignMessage()`
that accepts arbitrary campaign messages that then pass through
the standard campaign message workers, thus getting the missing unsub
headers. This closes #360.

In addition, this removes the superfluous `CampaignMessage.Render()`
function which had to be mandatorily called always and makes it
implicit in `manager.NewCampaignMessage()`.
2021-05-21 23:35:08 +05:30
..
admin.go Refactor fetching of server config and settings. 2021-02-13 12:34:36 +05:30
campaigns.go Fixes campaign test messages not including unsub headers. 2021-05-21 23:35:08 +05:30
handlers.go Improve campaign content format conversion. 2021-05-09 15:36:31 +05:30
i18n.go Sort i18n language list on the settings UI 2021-04-21 19:04:04 +05:30
import.go Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
init.go Add option on UI to toggle update checks. 2021-05-16 16:54:55 +05:30
install.go Add support for loading external i18n language files. 2021-04-17 14:26:56 +05:30
lists.go Add a new public page for end users to subscribe to public lists. 2021-01-31 16:19:39 +05:30
main.go Add option on UI to toggle update checks. 2021-05-16 16:54:55 +05:30
manager_db.go Clean up root and move app to cmd directory 2020-08-08 13:54:25 +05:30
media.go Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
notifications.go Add generic HTTP postback Messenger support. 2020-10-10 18:52:08 +05:30
public.go Fixes campaign test messages not including unsub headers. 2021-05-21 23:35:08 +05:30
queries.go Add a new public page for end users to subscribe to public lists. 2021-01-31 16:19:39 +05:30
settings.go Add option on UI to toggle update checks. 2021-05-16 16:54:55 +05:30
subscribers.go Refactor campaign preview to use dummy campaign and subscriber. 2021-04-21 15:32:05 +05:30
templates.go Fixes campaign test messages not including unsub headers. 2021-05-21 23:35:08 +05:30
updates.go fix: Stop tickers 2021-01-27 12:58:17 +05:30
upgrade.go Add markdown support to campaign content. 2021-04-14 12:26:09 +05:30
utils.go Remove "normalization" of non-Latin characters in tags 2021-01-31 13:06:52 +05:30