listmonk/cmd
Kailash Nadh d695bb34cc Prioritise --static-dir on init when no assets are embedded.
When no static assets are found on init, i.e., when a binary without
stuffbin assets are loaded, the app looks for all necessary static
files in the working dir, including the `./static/*` path which renders
the `--static-dir` flag irrelevant.

This patch gives `--static-dir`, if set, precedence over `./static/*`
when loading assets from the working dir when a binary is not stuffed
with static files.

Closes #340.
2021-05-16 15:53:30 +05:30
..
admin.go Refactor fetching of server config and settings. 2021-02-13 12:34:36 +05:30
campaigns.go Improve campaign content format conversion. 2021-05-09 15:36:31 +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 Prioritise --static-dir on init when no assets are embedded. 2021-05-16 15:53:30 +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 support for loading external i18n language files. 2021-04-17 14:26:56 +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 Add hidden nonce (honeypot) field to filter bot autofills on subs page 2021-04-21 14:01:32 +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 a new public page for end users to subscribe to public lists. 2021-01-31 16:19:39 +05:30
subscribers.go Refactor campaign preview to use dummy campaign and subscriber. 2021-04-21 15:32:05 +05:30
templates.go Fix incorre check on template deletion. 2021-05-16 15:26:38 +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