Commit Graph

545 Commits

Author SHA1 Message Date
Kailash Nadh 2579d7c2b3
Merge pull request #291 from knadh/dependabot/npm_and_yarn/frontend/elliptic-6.5.4
Bump elliptic from 6.5.3 to 6.5.4 in /frontend
2021-03-11 11:51:45 +05:30
dependabot[bot] 1ac0e65dd8
Bump elliptic from 6.5.3 to 6.5.4 in /frontend
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-11 00:27:23 +00:00
Kailash Nadh e8ad7a9adc Fix subscriber attribs update API.
Change the behaviour where not passing attribs to the update API
overwrites the attribs with empty values. This commit changes the
behaviour so that in the absence of the attribs field in the
subscriber API, the existing value in the DB is retained.
2021-03-10 21:20:26 +05:30
Kailash Nadh f8e555dac5 Fix incorrect ID handling in update handlers 2021-03-09 17:54:07 +05:30
Kailash Nadh 93a710c9ae
Merge pull request #284 from RustyDust/master
Fix wrong list links in subscribers overview
2021-03-07 13:22:20 +05:30
Kailash Nadh 8a6ed2ac2e Fix incorrect week day name logic in translation 2021-03-07 12:36:10 +05:30
Stefan Rubner 860953e331 Fix wrong list links in subscribers overview 2021-03-05 16:45:22 +01:00
Kailash Nadh 267dd52ec3
Merge pull request #281 from knadh/dependabot/npm_and_yarn/frontend/prismjs-1.23.0
Bump prismjs from 1.20.0 to 1.23.0 in /frontend
2021-03-02 09:25:02 +05:30
dependabot[bot] f268dc69ab
Bump prismjs from 1.20.0 to 1.23.0 in /frontend
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.23.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 21:19:19 +00:00
Kailash Nadh d66227256a
Merge pull request #276 from herzkerl/patch-1
Including an EXPOSE instruction in the Dockerfile
2021-02-20 13:30:49 +05:30
Ben 31ce55a3a1
Including an EXPOSE instruction in the Dockerfile 2021-02-19 18:34:09 +01:00
Kailash Nadh 8779c49660
Merge pull request #274 from enniosousa/master
Add Brazilian Portuguese i18n
2021-02-18 12:34:09 +05:30
Kailash Nadh 5777738636
Merge pull request #273 from TomBoss/master
corr. template
2021-02-18 12:33:40 +05:30
Ennio Sousa c2d7e101cd
Create pt-BR.json 2021-02-17 17:15:29 -03:00
TomBoss 82f033b1da
corr. template 2021-02-17 15:41:59 +01:00
Kailash Nadh 77a6110c25
Merge pull request #272 from TomBoss/master
Add Italian i18n
2021-02-16 11:20:26 +05:30
TomBoss 2b8b10c691
Add Italian i18n 2021-02-15 20:12:23 +01:00
TomBoss da7975f82b
corr. 2021-02-15 19:10:08 +01:00
TomBoss b4fea57543
Merge pull request #1 from knadh/master
update
2021-02-15 19:06:05 +01:00
Kailash Nadh 99ff64bd82
Merge pull request #271 from TomBoss/master
Adding Safe templating function for keeping HTML comments
2021-02-15 18:43:49 +05:30
Kailash Nadh 97b78aa695 Fix incorrect 'get subscriber' calls 2021-02-15 18:27:14 +05:30
TomBoss 50549f3bfe
Adding Safe templating function for keeping HTML comment
Closes #270
According to https://stackoverflow.com/questions/34348072/go-html-comments-are-not-rendered
2021-02-15 13:33:47 +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 8e78b6418f Allow editing of unsubscribed lists on the UI 2021-02-13 18:05:31 +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 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