Commit graph

607 commits

Author SHA1 Message Date
Russ Smith
7ca08f0a36 Adding a subscription status option to the import.
Ref #168
2021-06-06 17:33:23 +05:30
Kailash Nadh
c37a7690d6 Add robots noindex header to public user specific subscription pages 2021-06-05 12:45:10 +05:30
Kailash Nadh
a914b5d194 Merge branch 'master' of github.com:knadh/listmonk 2021-06-05 12:02:02 +05:30
Kailash Nadh
8859911c73 Remove hardcoded limit for per_page in pagination 2021-06-05 12:01:33 +05:30
Kailash Nadh
948dbc9e85
Merge pull request #385 from knadh/dependabot/npm_and_yarn/frontend/ws-6.2.2
Bump ws from 6.2.1 to 6.2.2 in /frontend
2021-06-05 11:42:35 +05:30
dependabot[bot]
6ddb03c452
Bump ws from 6.2.1 to 6.2.2 in /frontend
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-04 14:19:26 +00:00
Kailash Nadh
3d26366620 Fix pagination query.
- Fix '?per_page=all' not working inconditional LIMIT queries.
- Fetch all lists on the UI for list dropdowns everywhere.
2021-06-04 19:47:55 +05:30
Kailash Nadh
bbffbbc5f3 Fix listID not being passed in bulk sub deletion. Closes #384 2021-06-04 19:32:42 +05:30
Kailash Nadh
baca95e4eb
Merge pull request #381 from mr-karan/health
fix: expose healthcheck API as public endpoint
2021-06-03 14:49:08 +05:30
Karan Sharma
50dc9fca16 feat: add a public healthcheck endpoint
- Adds `/health` as a public facing healthcheck endpoint.
- `/api/health` is meant for internal healthchecks. This endpoint in
  future can serve sensitive information about Listmonk *or* can be
deprecated if there's not enough usecase.

Closes https://github.com/knadh/listmonk/issues/380
2021-06-03 11:19:03 +05:30
Kailash Nadh
59bcc8eb13
Merge pull request #376 from knadh/dependabot/npm_and_yarn/frontend/dns-packet-1.3.4
Bump dns-packet from 1.3.1 to 1.3.4 in /frontend
2021-05-29 17:06:46 +05:30
dependabot[bot]
cb07774fa5
Bump dns-packet from 1.3.1 to 1.3.4 in /frontend
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-28 21:34:02 +00:00
Kailash Nadh
e3d3420901
Merge pull request #374 from jonathanmmm/patch-1
Update de.json
2021-05-28 11:41:21 +05:30
jonathanmmm
30132c5757
Update de.json
I have tried changing them as best as I could.
I found that in english there is about AWS written something about access key and secret key but
AWS tells on their page about  `Access keys (access key ID and secret access key) `
https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html
Should the access key mean ID and the second secret access key?
2021-05-27 22:51:00 +02:00
Kailash Nadh
44adcd44de Stop checking for updates on boot.
This commit disables the automatic upe check thappens immediately
on boot, giving users an opportunity disable it from the settings UI
before any remote requests are initiated. Tupdate checks happen
every 24 houfter boot.

Ref: #326
2021-05-23 21:08:32 +05:30
Kailash Nadh
dba47bca28 Add file extsnsion check to media uploads.
While file content (MIME) check already existed, the lack of file
extension check allowed arbitrary extensions to be uploaded and
then accessed via the static file server. For instance, a .html file
with JPG content intersperesed with Javascript.

This commit adds a file extension check on top of the MIME type check.
2021-05-23 20:17:42 +05:30
Kailash Nadh
69f84c99d0 Refactor log line view to prevent HTML render log lines.
This commit processes log lis and renders them as different fields
removing the use of <pre> and also `v-html` which renders HTML strings
from log lines.
2021-05-23 19:13:47 +05:30
Kailash Nadh
e54c33e8e8
Merge pull request #371 from knadh/upgrade-frontend
Upgrade all frontend JS deps
2021-05-23 18:00:05 +05:30
Kailash Nadh
b7932e4b57 Upgrade all JS deps to latest 2021-05-23 17:57:30 +05:30
Kailash Nadh
57962918e7 Remove unused JS deps 2021-05-23 17:44:08 +05:30
Kailash Nadh
f5221ab1ee Upgrade JS sass libs.
See issue #369

Upgrade sass libs to work with Node 16.
2021-05-23 17:27:32 +05:30
Kailash Nadh
dea4d185ae Upgrade Vue and Buefy UI lib.
- Vue 2.6 introduces "v-slot" which Buefy 0.9.7 uses.
- Refactor all `<b-table>` and `<b-column>` instances to work with the
  new `v-slot` snytax.
- Refactor `<b-column>` <td> and class attributes to work wit hthe new
  syntax.
- Fix Buefy scss setup to work with the update.
- Fix sidebar responsive view to work with the update.
2021-05-23 17:27:21 +05:30
Kailash Nadh
c593be51c1 Upgrade Vue + eslint to the latest version 2021-05-23 14:20:21 +05:30
Kailash Nadh
25f5f9b060 Merge branch 'master' of github.com:knadh/listmonk 2021-05-21 23:35:37 +05:30
Kailash Nadh
931e467b25 Fixes campaign test messages not including unsub headers.
Campaign messages are handled by `manager` whereas test messages
were being pushed directly into a messenger skipping some campaign
related routines such as the addition of list unsub headers.

This commit exposes a new function `manager.PushCampaignMessage()`
that accepts arbitrary campaign messages that then pass through
the standard campaign message workers, thus getting the missing unsub
headers. This closes #360.

In addition, this removes the superfluous `CampaignMessage.Render()`
function which had to be mandatorily called always and makes it
implicit in `manager.NewCampaignMessage()`.
2021-05-21 23:35:08 +05:30
Kailash Nadh
3cc7ecc2b5
Merge pull request #366 from senolcolak/master
Turkish translations added
2021-05-21 15:24:02 +05:30
senol
30074ecd36 Turkish translations added 2021-05-21 02:14:27 +02:00
Kailash Nadh
d6bdcd4f54
Merge pull request #365 from jorge-vitrubio/patch-1
minor translation changes
2021-05-20 17:16:07 +05:30
Kailash Nadh
edd7e70adc
Merge pull request #364 from jorge-vitrubio/patch-3
minor translation and typo
2021-05-20 16:06:32 +05:30
Jorge - vitrubio
0146d6ff07
minor typo 2021-05-20 12:26:45 +02:00
Jorge - vitrubio
fc3e517027
minor translation changes 2021-05-20 12:11:37 +02:00
Kailash Nadh
ea92e8b12e Merge branch 'master' of github.com:knadh/listmonk 2021-05-18 16:17:10 +05:30
Kailash Nadh
9f2e708798 Wrap lines in <pre> without overflowing the viewport.
Closes #359.
2021-05-18 16:16:28 +05:30
Kailash Nadh
0e5cd6043f
Delete feature---change-request.md 2021-05-17 20:05:39 +05:30
Kailash Nadh
89481edd11 Update issue templates 2021-05-17 20:04:49 +05:30
Kailash Nadh
95a81d17ce Add option on UI to toggle update checks.
Closes #326
2021-05-16 16:54:55 +05:30
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
Kailash Nadh
aa5eff915d Fix incorre check on template deletion. 2021-05-16 15:26:38 +05:30
Kailash Nadh
9fe78d6247 Make conditional icons consistent on templates UI 2021-05-16 15:26:32 +05:30
Kailash Nadh
ed57ecca99 Sanitize HTML strings passed to buefy.toast().
The buefy toast component does not sanitize HTML leaving it open
to XSS. This patch centralised all toast calls in the app to a util
function which sanitizes HTML strings before passing to toast().

Closes #357.
2021-05-16 13:27:58 +05:30
Kailash Nadh
cf0c8f3855
Merge pull request #355 from seba81/master
Adding spanish language
2021-05-16 11:28:48 +05:30
seba81
194e530d3b Adding spanish language 2021-05-14 13:14:02 -03:00
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