Commit graph

649 commits

Author SHA1 Message Date
Kailash Nadh
1ae98699e7 Add support for bounce processing.
- Blocklist or unsubscribe subscribers based on a bounce threshold
- Add /bounces UI for viewing bounces and in the subscriber view
- Add settings UI for managing bounce settings
- Add support for scanning POP3 bounce mailboxes
- Add a generic webhook for posting custom bounces at /webhooks/bounce
- Add SES bounce webhook support at /webhooks/services/ses
- Add Sendgrid bounce webhook support at /webhooks/services/sendgrid
2021-08-14 15:35:29 +05:30
Kailash Nadh
ccee852e33 Remove incorrect RootURL link from e-mail template. Closes #432 2021-08-14 13:51:41 +05:30
Kailash Nadh
26c099a50a Merge branch 'version-file' 2021-08-14 13:42:15 +05:30
Kailash Nadh
d27e16e9ca Add a VERSION file for git-archive export
- Use git to get tag and commit hash or fall back to extracting
  the values from the VERSION file if it is (from git archive)
2021-08-14 13:41:19 +05:30
Kailash Nadh
b19013daf4 Merge branch 'master' of github.com:knadh/listmonk 2021-08-14 12:42:51 +05:30
David Regla
137e9dd0e0 Refine Spanish (es) i18n translations 2021-08-14 12:42:28 +05:30
Kailash Nadh
7f5e975a30
Merge pull request #433 from dreglad/i18n-es-refine
Refine Spanish (es) i18n translations
2021-08-14 12:34:40 +05:30
David Regla
9e64dcb49d Refine Spanish (es) i18n translations 2021-08-13 21:56:00 -05:00
Kailash Nadh
e6566189ed Add preconfirm_subscriptions to subscriber update. Closes #426. 2021-08-02 19:23:46 +05:30
Kailash Nadh
fb48477aa7 Fix SQL expressions breaking subscriber export. Closes #408 2021-07-25 22:42:54 +05:30
Kailash Nadh
af11a176f1 Refactor make run to always compile and use the correct frontend path 2021-07-25 15:47:37 +05:30
Kailash Nadh
6a87f388ee Merge branch 'static-paths' 2021-07-25 14:27:37 +05:30
Kailash Nadh
b7a25e5a32
Merge pull request #423 from mr-karan/install_fix
fix colorized output in terminal
2021-07-22 17:05:35 +05:30
Karan Sharma
4d8e73b654 fix colorized output in terminal
Closes https://github.com/knadh/listmonk/issues/422
2021-07-22 16:35:47 +05:30
Kailash Nadh
9e61bfc5df
Merge pull request #419 from justinbeaty/topic-root-url-fix
Fix RootURL in campaign-status.html
2021-07-14 14:23:23 +05:30
Justin Beaty
a7f7016b4e Fix RootURL in campaign-status.html 2021-07-13 17:18:40 -07:00
Kailash Nadh
82735bba69 Refactor behaviour of loading static files from disk vs. embedding.
Ref: https://github.com/knadh/listmonk/issues/409

- Introduce `main.appDir` and `main.fronendDir` Go compile-time flags
  to hardcode custom paths for loading frontend assets
  (frontend/dist/frontend in the repo after build) and app assets
  (queries.sql, schema.sql, config.toml.sample) in environments where
  embedding files in the binary is not feasible.
  These default to CWD unless explicitly set during compilation.

- Fix the Vue favicon path oddity by copying the icon into the built
  frontend dir in the `make-frontend` step.
2021-07-11 10:46:45 +05:30
Kailash Nadh
c8826d060e
Merge pull request #417 from kmohrf/master
add systemd service unit
2021-07-08 22:07:20 +05:30
Konrad Mohrfeldt
c10c03178b add systemd service unit
This systemd service unit may serve as an example for package
maintainers to write their own units or can be used as-is to run
listmonk on a operating system that uses systemd as its init system.

This is a template unit so that multiple listmonk instances can be
started and controlled through the @-syntax. Instances are started by
calling `systemctl start listmonk@myinstance.service` which goes on to
read `/etc/default/listmonk` and `/etc/default/listmonk-myinstance` as
environment files, uses `/etc/listmonk/myinstance.toml` as the
configuration file and creates a state directory in
`/var/lib/private/listmonk-myinstance`.
2021-07-07 14:15:16 +02:00
Kailash Nadh
67c0ca0be3 Merge branch 'master' of github.com:knadh/listmonk 2021-06-29 22:24:07 +05:30
Kailash Nadh
3be5227c22 Account for all *.go files in the repo in the Makefile build target 2021-06-29 22:23:52 +05:30
Kailash Nadh
078ca39606
Merge pull request #405 from knadh/dependabot/npm_and_yarn/frontend/color-string-1.5.5
Bump color-string from 1.5.3 to 1.5.5 in /frontend
2021-06-29 20:13:09 +05:30
Kailash Nadh
5e2c24b662 Make --new-config accept path from --config. Closes #410. 2021-06-29 20:10:59 +05:30
Kailash Nadh
ea9895e732
Merge pull request #406 from knadh/dependabot/npm_and_yarn/frontend/prismjs-1.24.0
Bump prismjs from 1.23.0 to 1.24.0 in /frontend
2021-06-29 09:35:15 +05:30
dependabot[bot]
893fab2975
Bump prismjs from 1.23.0 to 1.24.0 in /frontend
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.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.23.0...v1.24.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 20:19:23 +00:00
dependabot[bot]
f101dded3a
Bump color-string from 1.5.3 to 1.5.5 in /frontend
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.5.5.
- [Release notes](https://github.com/Qix-/color-string/releases)
- [Changelog](https://github.com/Qix-/color-string/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Qix-/color-string/commits/1.5.5)

---
updated-dependencies:
- dependency-name: color-string
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-27 14:16:31 +00:00
Kailash Nadh
c818ad965c
Merge pull request #399 from knadh/dependabot/npm_and_yarn/frontend/browserslist-4.16.6
Bump browserslist from 4.12.0 to 4.16.6 in /frontend
2021-06-27 19:45:54 +05:30
Kailash Nadh
442d7f7393
Merge pull request #403 from kmohrf/master
streamline make configuration
2021-06-27 12:09:57 +05:30
Konrad Mohrfeldt
89bfe74f50 use make’s dependency handling to speed-up rebuilds
make allows us to run build targets based on dependencies and will only
execute targets if the dependencies have changed. This drastically
speeds up rebuilds if some targets have already been executed and
are still up to date.
2021-06-26 21:10:08 +02:00
Konrad Mohrfeldt
07478a588c allow yarn bin to be overridden
Users might want to override the yarn command to add options
or use a different bin on systems like debian where yarn is
named yarnpkg.
2021-06-26 19:20:40 +02:00
Kailash Nadh
5988ea36cb Sanitize media upload filenames. Closes #397. 2021-06-19 17:11:27 +05:30
dependabot[bot]
d6551e174c
Bump browserslist from 4.12.0 to 4.16.6 in /frontend
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.12.0 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.12.0...4.16.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 08:20:32 +00:00
Kailash Nadh
fc84082c87
Merge pull request #398 from knadh/dependabot/npm_and_yarn/frontend/postcss-7.0.36
Bump postcss from 7.0.32 to 7.0.36 in /frontend
2021-06-17 13:49:55 +05:30
dependabot[bot]
674536c1f5
Bump postcss from 7.0.32 to 7.0.36 in /frontend
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.32 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.32...7.0.36)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-17 06:39:48 +00:00
Kailash Nadh
a22d7facbd
Merge pull request #394 from mr-karan/install
feat: Add easy install script
2021-06-15 18:44:16 +05:30
Karan Sharma
8d40422e0f feat: Add easy install script
- Add a shell script to orchestrate a production setup with
`docker-compose`. The script fetches config and `docker-compose.yml`
from the `master` branch, generates a secure password, performs DB
migrations and starts the container services.

- Add a health check for Postgres container service in `docker-compose.yml`.

- Add cusotm `container_name` for services inside `docker-compose`.
This is helpful to check the status of containers in the install shell script.
2021-06-15 18:38:45 +05:30
Kailash Nadh
b3612927c8 Display app version the settings UI 2021-06-09 20:11:45 +05:30
Kailash Nadh
a3b285fa62 Fix Buefy number input width 2021-06-09 20:02:24 +05:30
Kailash Nadh
63520d2370
Merge pull request #388 from dunklesToast/chore/update-german-translations
chore(translations): improve german translations
2021-06-09 10:52:01 +05:30
Tom Sacher
3abac31161 chore(translations): improve german translations 2021-06-08 21:50:47 +02:00
Kailash Nadh
3ecac7671a Fix Vue linting issue 2021-06-07 18:44:58 +05:30
Kailash Nadh
868fae6ac2 Refactor subsbscription status option on the import page.
- Refactor subimporter New*() funcs to take opt structs.
- Refactor and simplify Vue code.
- Remove redundant i18n entries and use existing ones.
- Remove redundant subimporter constants and use existing ones.

- Consider 'overwrite' option for subscription status as well.
- Write Cypress integration tests for the new feature.
2021-06-06 17:33:23 +05:30
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