Commit Graph

38 Commits

Author SHA1 Message Date
FelixDz ca19c5998b
Merge branch 'master' into patch-1 2021-04-14 20:19:00 +02:00
FelixDz 12f9ad46b5
Create fr.json
Added / corrected french translations.
2021-04-14 18:05:43 +02:00
Kailash Nadh 620271bec4 Normalize and merge missing keys into all i18n files 2021-04-14 13:52:56 +05:30
Kailash Nadh 1e59d53135 Add markdown support to campaign content. 2021-04-14 12:26:09 +05:30
Pascal Below 531d7680e7 add german translations for missing keys in public.*, fix typos 2021-03-19 09:43:43 +01:00
Joice 4d681f053e fix: typo corrections to malayalam localization 2021-03-14 13:26:42 +05:30
Kailash Nadh 8a6ed2ac2e Fix incorrect week day name logic in translation 2021-03-07 12:36:10 +05:30
Kailash Nadh 8779c49660
Merge pull request #274 from enniosousa/master
Add Brazilian Portuguese i18n
2021-02-18 12:34:09 +05:30
Ennio Sousa c2d7e101cd
Create pt-BR.json 2021-02-17 17:15:29 -03:00
TomBoss 2b8b10c691
Add Italian i18n 2021-02-15 20:12:23 +01:00
TomBoss da7975f82b
corr. 2021-02-15 19:10:08 +01:00
Kailash Nadh e90fb1d88d Format i18n/fr JSON file 2021-02-13 18:11:10 +05:30
Kailash Nadh a54d96784e
Merge pull request #267 from TomBoss/master
French i18n
2021-02-13 18:07:40 +05:30
Kailash Nadh 2f6bd05ca0 Fix the optin-in, form re-subscribe behaviour.
If a user is already subscribed to an optin list but hasn't
confirmed, subscribing using the same e-mail id from the public
form now re-sends the optin e-mail while also showing an
appropriate message on the frontend rather than just saying
"subscribed successfully".

https://github.com/knadh/listmonk/issues/266
https://github.com/knadh/listmonk/issues/264
2021-02-13 17:55:10 +05:30
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 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 ee46b3d3d8 Fix blank UI on forms pages when there are no public lists 2021-02-06 18:58:11 +05:30
Kailash Nadh c7500f9be3 Fix campaign update email title i18n 2021-02-02 17:06:27 +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 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
Matthias Bilger 69a6b89f2e
Updated German translation 2021-01-29 22:47:01 +01:00
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 83613dcad0 Typo fixes on u18n/en language 2021-01-28 21:14:24 +05:30
Kailash Nadh fcc068cd70 Add missing translations and fix broken ones on the UI 2021-01-26 22:01:55 +05:30
Matthias Bilger 5ecc427df2 German translation 2021-01-24 22:15:07 +01:00
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 ec1c4f30ed Add subscriber export feature 2021-01-23 18:23:29 +05:30
Kailash Nadh 3498a727f5 WIP: Add i18n support 2021-01-17 20:59:01 +05:30