Commit Graph

569 Commits

Author SHA1 Message Date
TomBoss 42a31e4696
French i18n 2021-02-13 11:46:29 +01:00
Kailash Nadh 2f05d4ef5b Fix broken opt-in campaign template 2021-02-13 13:28:39 +05:30
Kailash Nadh bc5cc53f28 Fix broken reload on clicking the restart button on UI 2021-02-13 13:14:52 +05:30
Kailash Nadh b1696c0fb9 Tidy go.mod 2021-02-13 12:42:38 +05:30
Kailash Nadh b950d2f4ff Refactor fetching of server config and settings.
The earlier approach of loading `/api/config.js` as a script on
initial page load with the necessary variables to init the UI is
ditched. Instead, it's now `/api/config` and `/api/settings` like
all other API calls. On load of the frontend, these two resources
are fetched and the frontend is initialised.
2021-02-13 12:34:36 +05:30
Kailash Nadh b6dcf2c841 Merge branch 'i18n' 2021-02-07 12:06:06 +05:30
Kailash Nadh ee46b3d3d8 Fix blank UI on forms pages when there are no public lists 2021-02-06 18:58:11 +05:30
Kailash Nadh c90d42a7a9 Fix widget padding on the dashboard UI 2021-02-06 12:36:19 +05:30
Kailash Nadh c7500f9be3 Fix campaign update email title i18n 2021-02-02 17:06:27 +05:30
Kailash Nadh 28b616abd0
Merge pull request #262 from diogotcorreia/i18n-pt
Add Portuguese Translations
2021-02-01 18:34:56 +05:30
Kailash Nadh 9c0fd24320
Merge pull request #261 from mr-karan/goreleaser-fix
chore: Pass the binary path correctly to `make`
2021-02-01 16:21:07 +05:30
Karan Sharma c63f9c6096 chore: Pass the binary path correctly to `make`
Based on afef994e6d
the binary variable `BIN` was changed. The same needs to be updated
in `.goreleaser.yml` config as well.
2021-02-01 16:18:09 +05:30
Kailash Nadh f1095aaf64 Remove stray dev env reference in go.mod (shameful!) 2021-02-01 15:57:13 +05:30
Diogo Correia be311419ff
Add Portuguese translations
Signed-off-by: Diogo Correia <me@diogotc.com>
2021-02-01 10:14:56 +00:00
Kailash Nadh d737e5d92b Fix `from email` in i18n language 2021-02-01 15:38:31 +05:30
Kailash Nadh 2235d30063 Add a new public page for end users to subscribe to public lists.
In addition to generating HTML forms for selected public lists,
the form page now shows a URL (/subscription/form) that can be
publicly shared to solicit subscriptions. The page lists all
public lists in the database. This page can be disabled on the
Settings UI.
2021-01-31 16:19:39 +05:30
Kailash Nadh a7b72a6b7c Fix broken i18n language keys 2021-01-31 13:38:35 +05:30
Kailash Nadh dd0c124b0e Stop throwing "exists" error on public forms 2021-01-31 13:38:02 +05:30
Kailash Nadh 62bce6902e Remove "normalization" of non-Latin characters in tags 2021-01-31 13:06:52 +05:30
Kailash Nadh bb1a5bb877 Fix contenType event not firing on non-Quill editor mode 2021-01-31 12:59:33 +05:30
Kailash Nadh 27d9eab4a2 Merge branch 'plaintext' into i18n 2021-01-30 18:50:06 +05:30
Kailash Nadh 68afd61024 Add support for alternate plaintext body for e-mails.
This commit removes the Go html2text lib that would automatically
convert all HTML messages to plaintext and add them as the alt
text body to outgoing e-mails. This lib also had memory leak
issues with certain kinds of HTML templates.

A new UI field for optionally adding an alt plaintext body to
a campaign is added. On enabling, it converts the HTML message in
the campaign editor into plaintext (using the textversionjs lib).

This introduces breaking changes in the campaigns table schema,
model, and template compilation.
2021-01-30 18:49:47 +05:30
Kailash Nadh a226e49f74 Fix incorrect language weekday keys 2021-01-30 18:39:25 +05:30
Kailash Nadh 535b505404 Add autofocus on the first field in SMTP/Messenger settings UI 2021-01-30 11:00:06 +05:30
Kailash Nadh 68808d0cf3
Merge pull request #260 from m42e/patch-1
Updated German translation
2021-01-30 10:42:17 +05:30
Matthias Bilger 69a6b89f2e
Updated German translation 2021-01-29 22:47:01 +01:00
Kailash Nadh 00f68a3270
Merge pull request #258 from joicemjoseph/feat/l10n-malayalam
localized newly added strings
2021-01-28 23:33:40 +05:30
Kailash Nadh 7d3cbde8cf Merge branch 'i18n' of github.com:knadh/listmonk into i18n 2021-01-28 23:31:11 +05:30
Kailash Nadh b420c31d33 Log test message error 2021-01-28 23:30:39 +05:30
Joice ade6ecd2d9 localized newly added strings 2021-01-28 22:31:08 +05:30
Kailash Nadh 7359e0ae4b
Merge pull request #253 from joicemjoseph/feat/l10n-malayalam
Localized malayalam strings
2021-01-28 21:26:13 +05:30
Joice cc81369f9f finished Malayalam localization 2021-01-28 21:22:31 +05:30
Kailash Nadh ccfada95de
Merge pull request #255 from m42e/l18n/german
German i18n
2021-01-28 21:18:19 +05:30
Kailash Nadh 101e92cbfc
Merge pull request #256 from joeirimpan/fix/ticker
fix: Stop tickers
2021-01-28 21:16:08 +05:30
Kailash Nadh 83613dcad0 Typo fixes on u18n/en language 2021-01-28 21:14:24 +05:30
Joe Paul 8867f771d4 fix: Stop tickers 2021-01-27 12:58:17 +05:30
Kailash Nadh fcc068cd70 Add missing translations and fix broken ones on the UI 2021-01-26 22:01:55 +05:30
Kailash Nadh 4bfdda9b91 Load a default (en) language underneath the selected language.
The default language (en) is loaded first and the selected
language is loaded on top of it so that missing translation keys
in the selected language will have the original English strings
available on the UI.
2021-01-26 21:59:27 +05:30
Kailash Nadh dc0465b0af Refactor global instances of $api and $utils to be mixins.
... instead of Vue.prototype variables which is the idiomatic
approach. Also, the refactor enables utils to be instantiated
as a class that takes the i18n object for util functions to have
accesss to i18n translation.
2021-01-26 21:57:27 +05:30
Matthias Bilger 5ecc427df2 German translation 2021-01-24 22:15:07 +01:00
Kailash Nadh afef994e6d Fix incorrect make command 2021-01-24 13:07:42 +05:30
Kailash Nadh 05928d57b1 Fix default campaign template not being setup on first install.
This was a ridiculous miss, where on first time installation, the
well designed default e-mail template was never installed in the
DB! I never spotted this because my local dev setup, and
surprisingly, nobody ever complained that the default campaign
template was a blank slate with no styles.
2021-01-24 12:49:52 +05:30
Kailash Nadh 0add1c4e8b Fix incorrect label on skip-TLS setting on UI 2021-01-24 12:26:44 +05:30
Kailash Nadh 027261793f Add support for rate limiting messages with a sliding window.
Certain SMTP hosts limit the total number of messages that can be
sent within a window, for instance, X / 24 hours. The concurrency
and message rate controls can only limit that to a max of
1 messages / second, without a global cap.

This commit introduces a simple sliding window rate limit feature
that counts the number of messages sent in a specific window, and
upon reaching that limit, waits for the window to reset before
any more messages are pushed out globally across any number of
campaigns.

Context: https://github.com/knadh/listmonk/issues/119
2021-01-24 12:19:26 +05:30
Kailash Nadh ee4fb7182f Refactor i18n name and fix the L() function in public HTML templates 2021-01-23 19:34:30 +05:30
Kailash Nadh 4cd5e6ebeb Refactor and remove placeholder i18n func 2021-01-23 18:54:33 +05:30
Kailash Nadh 810607e547 Fix incorrect i18n keys in message strings 2021-01-23 18:48:10 +05:30
Kailash Nadh ec1c4f30ed Add subscriber export feature 2021-01-23 18:23:29 +05:30
Kailash Nadh 6f2f361cac
Merge pull request #252 from mr-karan/master
feat: Add shell script for demo setup
2021-01-22 09:16:07 +05:30
Karan Sharma 869a55c1ef feat: Add shell script for demo setup 2021-01-21 21:53:49 +05:30