Kailash Nadh
20939e8121
Merge pull request #354 from knadh/dependabot/npm_and_yarn/frontend/url-parse-1.5.1
...
Bump url-parse from 1.4.7 to 1.5.1 in /frontend
2021-05-09 16:47:04 +05:30
Kailash Nadh
6bbde095a8
Merge pull request #353 from knadh/dependabot/npm_and_yarn/frontend/hosted-git-info-2.8.9
...
Bump hosted-git-info from 2.8.8 to 2.8.9 in /frontend
2021-05-09 16:46:52 +05:30
Kailash Nadh
cd1aa810dd
Merge pull request #352 from knadh/dependabot/npm_and_yarn/frontend/lodash-4.17.21
...
Bump lodash from 4.17.19 to 4.17.21 in /frontend
2021-05-09 16:46:39 +05:30
Kailash Nadh
6a21776124
Fix password fields not updating settings UI.
...
Closes #332 .
2021-05-09 16:04:01 +05:30
dependabot[bot]
0b0cd5a791
Bump url-parse from 1.4.7 to 1.5.1 in /frontend
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 10:11:06 +00:00
dependabot[bot]
a06f1aed77
Bump hosted-git-info from 2.8.8 to 2.8.9 in /frontend
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 10:09:59 +00:00
dependabot[bot]
02b92b5916
Bump lodash from 4.17.19 to 4.17.21 in /frontend
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 10:09:50 +00:00
Kailash Nadh
65d25fc3f9
Improve campaign content format conversion.
...
Previously, converting between formats simply copied over raw content.
This update does actual conversion between different formats. While
lossy, this seems to a good enough approximation for even reasonbly
rich HTML content. Closes #348 .
- richtext, html => plain
Strips HTML and converts content to plain text.
- richtext, html => markdown
Uses turndown (JS) lib to convert HTML to Markdown.
- plain => richtext, html
Converts line breaks in plain text to HTML breaks.
- richtext => html
"Beautifies" the HTML generated by the WYSIWYG editor unlike the
earlier behaviour of dumping one long line of HTML.
- markdown => richtext, html
Makes an API call to the backend to use the Goldmark lib to convert
Markdown to HTML.
2021-05-09 15:36:31 +05:30
Kailash Nadh
49c747d7d0
Allow HTML and additional syntax in the Markdown parser.
2021-05-08 16:55:48 +05:30
Kailash Nadh
f08254d2bf
Merge pull request #350 from alerque/config-handling
...
Cleanup sample config
2021-05-08 13:22:30 +05:30
Caleb Maclennan
09c56da8c6
Document tidbits about listening addresses for non-sysadmin types
2021-05-07 14:44:17 +03:00
Caleb Maclennan
26a023813e
Bind to ‘localhost’ instead of ‘0.0.0.0’ by default
...
This is a small safety precaution to make sure the out of the box
configuration is not world routeable. Bringing this up on a public
interface with a connected database could be a security concern. Any
sysadmin worth their salt is going to test offline or by binding to
localhost only first anyway, but this gets them started on the right
foot and makes sure people don't make mistakes.
Also with the high likelihood that a proxy is going to be used for HTTPS
termination anyway, the decision to move to a public IP should be more
deliberate.
2021-05-07 12:35:22 +03:00
Caleb Maclennan
6c40e05d2d
Use ‘localhost’ as default name for database server
...
Using localhost instead of some random string is much more likely to
actually work out of the box. Also it's a lot easier for a sysamdmin to
'scan' for things that need changing.
2021-05-07 12:33:22 +03:00
Caleb Maclennan
708ec66d9b
Don't indent TOML keys deeper than their sections
2021-05-06 18:28:04 +03:00
Kailash Nadh
68b80d0eb6
Merge pull request #334 from inpos/master
...
Fix typo
2021-04-24 12:36:00 +05:30
Роман
6ada0aabda
Fix typo
2021-04-23 16:42:55 +03:00
Kailash Nadh
a401b1cb48
Merge pull request #331 from inpos/master
...
better translation option
2021-04-22 10:43:09 +05:30
Роман
c7505389d4
better translation option
2021-04-21 20:13:03 +03:00
Kailash Nadh
60220c7424
Merge pull request #330 from inpos/master
...
Typo in ru.json
2021-04-21 20:14:03 +05:30
Роман
f6339c7b5c
Update ru.json
2021-04-21 17:31:36 +03:00
Kailash Nadh
5868db0124
Sort i18n language list on the settings UI
2021-04-21 19:04:04 +05:30
Kailash Nadh
1c8d2725c6
Add Russian translation by @inpos. Closes #329 .
2021-04-21 18:48:50 +05:30
Kailash Nadh
37824136c0
Refactor campaign preview to use dummy campaign and subscriber.
...
Use a dummy subscriber instead of fetching a random one from the
DB. In addition, replace the preview campaign UUID with a dummy
one to prevent clicks and views being registered against the
campaign when previewing.
2021-04-21 15:32:05 +05:30
Kailash Nadh
fe61e898a3
Add hidden nonce (honeypot) field to filter bot autofills on subs page
2021-04-21 14:01:32 +05:30
Kailash Nadh
97d297e18c
Normalize i18n files
2021-04-21 13:53:31 +05:30
Kailash Nadh
9a4f1a0781
Merge pull request #327 from brunowego/patch-1
...
chore(dockerfile): not are using multi-stage build
2021-04-20 09:20:39 +05:30
Bruno Wego
f346f0f9ea
chore(dockerfile): not are using multi-stage build
2021-04-19 18:14:32 -03:00
Kailash Nadh
33450f86bb
Merge branch 'master' of github.com:knadh/listmonk
2021-04-17 15:55:14 +05:30
Kailash Nadh
c479a90c42
Add support for loading external i18n language files.
...
The new `--i18n-dir` directory allows the loading of an external
directory of i18n JSON files, milar to have `--static-dir`
works. New languages can be added and existing language files
can be customized this way.
This commit changes file loading behaviour so that invalid or
non-existent don't halt the execution of the app completely but
merely throw a warning and continue with the default (en) lang.
2021-04-17 14:26:56 +05:30
Kailash Nadh
cf5cd95c83
Merge pull request #324 from knadh/dependabot/npm_and_yarn/frontend/ssri-6.0.2
...
Bump ssri from 6.0.1 to 6.0.2 in /frontend
2021-04-17 13:46:52 +05:30
dependabot[bot]
2bbe38f4f5
Bump ssri from 6.0.1 to 6.0.2 in /frontend
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-04-17 08:10:32 +00:00
Kailash Nadh
4ddaba889f
Merge branch 'master' of github.com:knadh/listmonk
2021-04-17 13:36:53 +05:30
Kailash Nadh
ad0a0e0841
Add `preconfirm_subscriptions=true/false`new subs API.
...
Sending th optional flag as `trunue` in the POST /api/subscrirs
body will skip sending opt-iconfirmation e-mails to subscribers
and mark list subscriptions in the request a`confirmed`.
2021-04-17 13:34:37 +05:30
Kailash Nadh
c6a4d43efe
Merge pull request #321 from marcinkunert/patch-1
...
Polish translations
2021-04-16 13:26:29 +05:30
Marcin Kunert
f9a2eb87f0
Finished Polish (pl) translations
2021-04-16 09:53:09 +02:00
Marcin Kunert
777a89877a
Polish translations
...
Work in progress
2021-04-15 23:15:40 +02:00
Kailash Nadh
708d0e0b00
Fix re-submission of public form e-mails not registering
2021-04-15 21:53:36 +05:30
Kailash Nadh
07d8be5465
Merge pull request #317 from FelixDz/patch-1
...
French translations
2021-04-15 20:27:59 +05:30
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
bf6d4718e4
Add script to merge and normalize i18n files
2021-04-14 13:52:13 +05:30
Kailash Nadh
1e59d53135
Add markdown support to campaign content.
2021-04-14 12:26:09 +05:30
Kailash Nadh
4581e47c80
Merge pull request #313 from tamalsaha/sprigv3
...
Use github.com/Masterminds/sprig/v3
2021-04-11 15:37:36 +05:30
Tamal Saha
40aaa2694d
Use github.com/Masterminds/sprig/v3
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-04-11 03:00:48 -07:00
Kailash Nadh
c358281193
Merge branch 'master' of github.com:knadh/listmonk
2021-04-11 15:15:23 +05:30
Tamal Saha
8a9b3efbb0
Fix indentation of docker-compose file
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-04-11 15:07:20 +05:30
Tamal Saha
a266027f6c
Build static Go binary
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-04-11 15:07:19 +05:30
Tamal Saha
b060c751ce
Bundle sprig template functions
...
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-04-11 15:07:10 +05:30
Kailash Nadh
f8f074cb95
Merge pull request #312 from tamalsaha/fmt3
...
Fix indentation of docker-compose file
2021-04-11 14:40:26 +05:30