Commit graph

823 commits

Author SHA1 Message Date
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
Kailash Nadh
f91b27dc8f
Merge pull request #518 from mr-karan/script_fix
fix: Add a check for existing docker db volume
2021-10-18 10:18:30 +05:30
Karan Sharma
6cd7d669c1 fix: Add a check for existing docker db volume
Fixes https://github.com/knadh/listmonk/issues/517
2021-10-18 10:08:02 +05:30
Kailash Nadh
3064844c6e Merge branch 'master' of github.com:knadh/listmonk 2021-10-16 12:44:17 +05:30
Kailash Nadh
a01759756e Fix strings on the UI missed in i18n translation. Closes #506. 2021-10-16 12:43:03 +05:30
Kailash Nadh
469f392235
Merge pull request #507 from marcinkunert/patch-2
Updated polish translations
2021-10-11 17:01:26 +05:30
Marcin Kunert
d6703f2da7
Updated polish translations 2021-10-11 10:24:02 +02:00
Kailash Nadh
823f11ef63 Remove redundant GitHub issue template. 2021-10-10 17:46:05 +05:30
Kailash Nadh
b46ab6d3a9 Fallback to default S3 URL on empty media upload URL in settings. 2021-10-04 22:20:24 +05:30
Kailash Nadh
d91d6e5ce3 Merge branch 'go-deps' 2021-10-03 13:30:39 +05:30
Kailash Nadh
6053b0948b Merge branch 'master' of github.com:knadh/listmonk 2021-10-02 17:12:44 +05:30
Kailash Nadh
7aa850824c Add explicit public-read ACL to public S3 uploads. Closes #496. 2021-10-02 17:12:31 +05:30
Kailash Nadh
4ec4a1bb5a
Merge pull request #494 from marcofucito/master
Fixed some Italian translations
2021-09-30 09:29:23 +05:30
marco.fucito
7015c047d1 Italian translation
Fixed some translations.
Dashboards, logs, newsletters and privacy are also commonly used in Italian.
2021-09-29 22:37:44 +02:00
Kailash Nadh
443ba184c3
Merge pull request #491 from citrus-it/makedep
pack-bin is missing dependency on build-frontend
2021-09-29 19:15:23 +05:30
Andy Fiddaman
ecc35164b3 pack-bin is missing dependency on build-frontend
When building on a system with enough cores, there is a race condition where
make runs pack-bin before build-frontend is complete.

Running: /usr/bin/gmake -j 60 dist
go install github.com/knadh/stuffbin/...
CGO_ENABLED=0 go build -o listmonk -ldflags="-s -w -X 'main.buildString=v2.0.0 (#05585b7 2021-09-29T08:59:00+0000)' -X 'main.versionString=v2.0.0'" cmd/*.go
cd frontend && /data/omnios-build/omniosorg/r151038/_extra/listmonk-2.0.0/listmonk-2.0.0/listmonk/_deps/node_modules/yarn/bin/yarn install
yarn install v1.22.11
[1/4] Resolving packages...
[2/4] Fetching packages...
/data/omnios-build/omniosorg/r151038/_extra/listmonk-2.0.0/listmonk-2.0.0/listmonk/_deps/bin/stuffbin -a stuff -in listmonk -out listmonk config.toml.sample schema.sql queries.sql static/public:/public static/email-templates frontend/dist:/admin i18n:/i18n
stuffing failed: stat frontend/dist: no such file or directory
gmake: *** [Makefile:76: pack-bin] Error 1
gmake: *** Waiting for unfinished jobs....
2021-09-29 09:17:21 +00:00
Kailash Nadh
0d8c0366d3
Merge pull request #490 from citrus-it/touch
Use POSIX standard -c flag for "touch"
2021-09-29 14:35:15 +05:30
Andy Fiddaman
ac69f6c16e Use POSIX standard -c flag for "touch"
non-GNU systems like FreeBSD and illumos do not understand the long
"--no-create" flag to touch. POSIX defines that conforming implementations
must understand "-c" for this, so use the flag that is widely understood
(including by GNU touch).

    https://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html
2021-09-29 08:51:09 +00:00
Kailash Nadh
d0f1a2700b Update Go deps. 2021-09-29 00:07:26 +05:30
Kailash Nadh
b45baaa421
Merge pull request #485 from tachyons/patch-1
Fix typo
2021-09-28 18:55:05 +05:30
Aboobacker MK
30dbe88560
Fix typo 2021-09-28 18:52:34 +05:30
Kailash Nadh
05585b701b Fix build step in GitHub actions. 2021-09-27 23:26:56 +05:30
Kailash Nadh
bf2703bc60 Fix status tag flashing on campaign edit UI load. 2021-09-27 23:20:36 +05:30
Kailash Nadh
93c7c8727c Replace TinyMCE source editor with Flask HTML editor. 2021-09-27 23:11:19 +05:30
Kailash Nadh
cd639e89c4 Add link to bounces docs in settings UI. 2021-09-27 21:20:17 +05:30
Kailash Nadh
60badb2198 Update README to reflect v2.0.0 changes. 2021-09-27 21:18:01 +05:30
Kailash Nadh
f0b033b889 Add missing home template. 2021-09-27 21:17:23 +05:30
Kailash Nadh
1f31218639 Add a 404 page to the admin UI. 2021-09-27 20:53:30 +05:30
Kailash Nadh
0db6f0c866 Bump Postgres version to 13 in example Docker setup. 2021-09-27 20:38:24 +05:30
Kailash Nadh
30f9f030cd Replace TinyMCE UI pt font sizes with px. 2021-09-27 17:36:02 +05:30
Kailash Nadh
98ed4fb384 Add a landing login page and a logout option.
BasicAuth without an explicit landing page or a logout option has
sometimes been confusing to users. This commit adds a static
landing page on / with a login link and a logout option in the admin
that "logs out" BasicAuth session by posting invalid credentials to
the server to obtain a 401.
2021-09-26 23:42:57 +05:30
Kailash Nadh
9d2bc9c41d Add HTML syntax highlighted editing to the template editor.
- Refactor codeflask HTML editor into a standalone html-editor
  component.
- Replace the plaintext box in the template editor with html-editor.
- Replace codeflask in the campaign editor with the new html-editor.
- Refactor templates Cypress tests to test the new editor.
- Refactor campaigns Cypress tests to test the new editor and also
  test switching between different editors and content formats.
2021-09-26 21:56:53 +05:30
Kailash Nadh
a1a9f3ac6a Fix incorrect i18n variable in notification e-mail. 2021-09-26 20:13:04 +05:30
Kailash Nadh
3ffd88f0df Remove obsolete bounce routines from manager package. 2021-09-26 18:57:25 +05:30
Kailash Nadh
4056187fec Add sane defaults to POST creation APIs. 2021-09-26 16:43:10 +05:30
Kailash Nadh
f6cd24d6c9 Fix TinyMCE modal styles and overlapping issues. 2021-09-26 16:29:27 +05:30
Kailash Nadh
d86438bde9 Introduce @TrackLink shorthand for generating tracking links.
The default `{{ TrackLink "https://listmonk.app" }}` template function
is clumsy to write and does breaks WYSIWYG editors and HTML syntax
highlighting because of the quotes. The new syntax doesn't break HTML
and is easier to write.

Eg: `<a href="https://listmonk.app@TrackLink">Link</a>`

- Introduce @TrackLink shorthand.
- Add first-class support for tracking links in the WYSIWYG (TinyMCE)
  editor by introducing an on/off checkbox on the link dialog.
- Improve default dummy campaign content to highlight this.
2021-09-26 16:03:05 +05:30
Kailash Nadh
d3f543cb15 Fix issues with Buefy responsive styles.
- Fix button and input sizing and alignments.
- Make settings tabs responsive.
- Fix toast and modal overlay issues.
- Fix Buefy table top-left/right controls.
- Fix 'New' buttons across pages.
- Fix search and bulk-select controls on subscribers page.
2021-09-26 13:12:12 +05:30
Kailash Nadh
e0bf1f1b77 Fix broken Cypress tests.
- DOM / UI / JS spaghetti state management is just ...
2021-09-25 18:05:15 +05:30
Kailash Nadh
492efe1ffa Bump Go compiler to v1.17 in GitHub actions. 2021-09-25 16:03:18 +05:30
Kailash Nadh
4dbac141f2 Add Romanian i18n language pack contributed by @gabrielpioaru.
- Also add TinyMCE Romaninan language pack.

Closes #482.
2021-09-25 15:53:24 +05:30
Kailash Nadh
7aee36eab1 Add support for blocklisting e-mail domains.
E-mails in the domain blocklist are disallowed on the admin UI, public
subscription forms, API, and in the bulk importer.

- Add blocklist setting that takes a list of multi-line domains on the
  Settings -> Privacy UI.
- Refactor e-mail validation in subimporter to add blocklist checking
  centrally.
- Add Cypress testr testing domain blocklist behaviour on admin
  and non-admin views.

Closes #336.
2021-09-25 15:39:09 +05:30
Kailash Nadh
9f3eb7e4a4 Fix Cypress tests to accommodate new admin UI URI. 2021-09-25 12:44:09 +05:30
Kailash Nadh
9f8e9c018b Fix subscriber form UI to have a default status value. 2021-09-25 10:45:04 +05:30