Commit graph

816 commits

Author SHA1 Message Date
Karan Sharma c9189a12d1
fix(install-prod.sh): Make tr work with macOS
Fixes https://github.com/knadh/listmonk/issues/624

Source https://unix.stackexchange.com/questions/230673/how-to-generate-a-random-string#comment393964_230684
2021-12-15 14:44:00 +05:30
Kailash Nadh ca128df49a Add support for searching lists + search UI. Closes #618. 2021-12-09 21:34:38 +05:30
Kailash Nadh e9709e54ee Upgrade labstack/echo webserver to major version v4.
- echo is now on v4 with major changes including a few breaking changes
- bind() behaviour is now strict. JSON / form etc. unmarshalling of
  request data need appropriate `json`, `form` tags. Missing tags for
  the public subscription page is added in this commit.
- This also closes #602.
2021-12-09 20:51:07 +05:30
Kailash Nadh 02c1408f5c Fix broken Cypress UI tests. 2021-12-09 20:47:52 +05:30
Kailash Nadh 4cb5eb782f Fix settings form input validation.
- Fix settings UI form submit button.
- Validate upload URI. Closes #621.
2021-12-09 19:30:15 +05:30
Kailash Nadh e9dded774a
Merge pull request #608 from mr-karan/dev_docker
feat: Add dev docker setup
2021-12-05 12:37:30 +05:30
Karan Sharma e977b901e1 feat: Add dev docker setup 2021-12-01 23:17:14 +05:30
Kailash Nadh e6c1f1e4bd
Merge pull request #605 from Jjagg/i18n-nl
Add Dutch (nl) translation
2021-11-30 09:44:55 +05:30
Jesse Gielen 1c8ab5c721
Add dutch (nl) translation 2021-11-29 17:53:02 +01:00
Kailash Nadh 3386de40c7 Fix GET /subscribers calls not accepting multiple list_ids.
Closes #585
2021-11-29 20:38:57 +05:30
Kailash Nadh d32c11a595
Merge pull request #603 from NicoHood/patch-2
Fix #601 german translation
2021-11-29 13:12:13 +05:30
NicoHood 8a70595aff
Fix #601 german translation 2021-11-29 08:40:23 +01:00
natekfl 575d007575
Fix alert email urls (#595) 2021-11-19 21:05:46 +05:30
bohemtucsok 903330b972
Create hu.json (#591) 2021-11-16 19:10:28 +05:30
Kailash Nadh a7fa97a214 Add scanning of full bounce email body for bounce headers. Closes #492. 2021-11-10 20:47:55 +05:30
Kailash Nadh c8c135e31f Fix broken test mail due to missing tpl param. 2021-11-10 20:47:55 +05:30
SweetPPro 35ac1ccdf5
Embed Inter font files and remove Google font links. Closes #547.
Only Woff2 fonts have been added, from here (utliising all charsets):
https://google-webfonts-helper.herokuapp.com/fonts/inter?subsets=cyrillic,cyrillic-ext,greek,greek-ext,latin,latin-ext,vietnamese
2021-11-10 20:43:42 +05:30
SweetPPro 46f13bf9cd
Fix broken logout link in desktop nav view (#580) 2021-11-10 20:31:34 +05:30
MickGe 2388a05003
Update fr.json (#581) 2021-11-10 20:20:48 +05:30
SweetPPro 7b9ba2efbc
improved mobile navbar/sidebar (#574)
* improved mobile navbar/sidebar

Sidebar is hidden and all menu items moved to hamburger menu on mobile devices

* improvements to menu rendering

-removed redundant code
-fixed an issue with emitting data to App.vue

* Update Navigation.vue

fixed linting errors

* Add minor refactors to the mobile menu PR.

- Fix indentation and line lengths.
- Simplify prop definitions in the Navigation component.
- Remove redundant computed methods and use prop variables directly in
  the Navigation compontent.
- Simplify menu rendering logic by:
  removing isSidebar, showLogout and using simpler v-if / else
  in the parent instead of the Navigation component.

* Update App.vue

removed orphaned isSideBar Boolean

Co-authored-by: Kailash Nadh <kailash@nadh.in>
2021-11-10 00:26:34 +05:30
Kailash Nadh 125d51f7bf
Merge pull request #576 from MickGe/patch-1
Clear placeholder on focus
2021-11-09 22:47:38 +05:30
Kailash Nadh a2c885b8bc Add a note on Postgres min version. 2021-11-09 22:43:44 +05:30
MickGe ebf6af2f81
Clear placeholder on focus
Because it could be disturbing for people who are not confident with forms not being able to delete words before writing.
2021-11-09 00:20:30 +01:00
Kailash Nadh 19e0ea5f6c Fix scheduling params being ignored on the create campaign UI. Fixes #516. 2021-11-07 09:17:54 +05:30
Kailash Nadh 0bd13fe541 Fix response content type in plaintext campaign previews. Closes #568 2021-11-05 09:21:39 +05:30
Kailash Nadh d00a1a1e84 Merge branch 'master' of github.com:knadh/listmonk 2021-11-05 09:15:49 +05:30
Kailash Nadh 738c8e95ee
Merge pull request #569 from ChrisTG742/patch-2
German translation needed for #526
2021-11-05 08:53:21 +05:30
Kailash Nadh 34915f176b
Merge pull request #570 from jorge-vitrubio/patch-1
Updated es.json
2021-11-05 08:52:43 +05:30
Jorge - vitrubio 58bd242b5b
Updated es.json
Updates in non translated strings and corrected some typos. Modified some translations.
2021-11-05 00:40:15 +01:00
ChrisTG742 bfefb0ff27
German translation needed for #526
Adds missing german translation for #526
2021-11-04 09:40:54 +01:00
Kailash Nadh 88d0c77f3b
Merge pull request #567 from knadh/dependabot/npm_and_yarn/frontend/tinymce-5.10.0
Bump tinymce from 5.9.2 to 5.10.0 in /frontend
2021-11-03 09:23:16 +05:30
dependabot[bot] 2819ca86cb
Bump tinymce from 5.9.2 to 5.10.0 in /frontend
Bumps [tinymce](https://github.com/tinymce/tinymce/tree/HEAD/modules/tinymce) from 5.9.2 to 5.10.0.
- [Release notes](https://github.com/tinymce/tinymce/releases)
- [Changelog](https://github.com/tinymce/tinymce/blob/develop/modules/tinymce/CHANGELOG.md)
- [Commits](https://github.com/tinymce/tinymce/commits/5.10.0/modules/tinymce)

---
updated-dependencies:
- dependency-name: tinymce
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 15:53:03 +00:00
Kailash Nadh 1ece738613 Fix incorrect container width on public page responsive view. 2021-10-31 11:57:00 +05:30
Kailash Nadh 5bfbe15c24 Fix campaign template preview not working without saving. Closes #553. 2021-10-31 11:49:43 +05:30
Kailash Nadh 644f98fe60 Fix typo 2021-10-30 16:50:41 +05:30
Kailash Nadh ef4de09a8a Add contribution and participation guidelines and code of conduct. 2021-10-30 16:12:53 +05:30
Kailash Nadh 1054c019ce Hide 'Back' button when it is superfluous on public pages. 2021-10-30 12:46:10 +05:30
Kailash Nadh 11010393d8 Add "passive" mode with --passive flag.
Every listmonk instance scans the DB periodically to look for
running campaigns to process. This made running multiple instances of
listmonk impractical as they would all pick up the same running
campaign and process them, resulting in duplicate e-mails.

This commit adds a `--passive` flag to the binary that runs listmonk
in a "passive" mode where campaign processing is disabled. This allows
multiple instances of listmonk to be run to handle different kinds of
requests if there is a requirement (scale/traffic?). It is important
to note that there should only be one non-passive instance running at
any given time. If distributed campaign processing is ever considered,
this will change.
2021-10-29 14:40:22 +05:30
Kailash Nadh 9dd8592fdd Prevent images from being squished in the default e-mail template. Closes #548. 2021-10-28 22:55:12 +05:30
Kailash Nadh f39ee4e783 Fix TinyMce campaign editor toolbar to the top on scroll. Closes #549. 2021-10-28 22:21:44 +05:30
Kailash Nadh b290d271c0 Add support for plaintext system e-mail templates.
If `<!doctype html>` is not found in static/email-templates/base.html,
all system e-mail templates are assumed to be plaintext and go out
as content-type: plaintext e-mails. With this, all HTML tags can
be stripped out of the system e-mail templates (while maintaining
Go template tags and logic) to have plaintext system e-mail templates.

Closes #546
2021-10-28 20:09:06 +05:30
Kailash Nadh 1c8ac0f866 Add 'preconfirm subscription' option to subscriber UI. Closes #526. 2021-10-27 20:46:37 +05:30
Kailash Nadh 76cd4d382a Merge branch 'master' of github.com:knadh/listmonk 2021-10-27 20:10:42 +05:30
Kailash Nadh ed8d68bd54 Add anti-bot nonce field to generated forms. Closes #541. 2021-10-27 20:10:29 +05:30
Kailash Nadh 151b86acc0
Merge pull request #538 from NicoHood/patch-1
Add german back button translation
2021-10-25 12:02:59 +05:30
NicoHood fb3da6bf3d
Add german back button translation 2021-10-24 18:27:15 +02:00
Kailash Nadh b163b1305b Add a "Back" button the public subscription/message page.
On a successful form submission, error message etc., check if there's
browser history and render a button that takes the user back to
a meaningful origin from the dead-end message page.

Closes #527.
2021-10-23 11:39:39 +05:30
Kailash Nadh bc9252f410 Autogenerate subscriber name from e-mail on the UI if it's empty. Closes #525. 2021-10-20 21:54:22 +05:30
Kailash Nadh 0f896c1b6e Fix email field in generated form HTML. Closes #529. 2021-10-20 21:38:50 +05:30
Kailash Nadh ca51c48474 Fix duplicate class attr in optin e-mail. Closes #524. 2021-10-19 20:10:40 +05:30