Commit Graph

539 Commits

Author SHA1 Message Date
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
Kailash Nadh 178ee281b1
Merge pull request #311 from tamalsaha/fmt
Build static Go binary
2021-04-11 14:38:46 +05:30
Kailash Nadh bc8b4d08e7
Merge pull request #309 from tamalsaha/sprig
Bundle sprig template functions
2021-04-11 13:24:38 +05:30
Tamal Saha 97f8c017ae Fix indentation of docker-compose file
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-04-11 00:29:57 -07:00
Tamal Saha 96f63d010c Build static Go binary
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-04-11 00:27:18 -07:00
Tamal Saha 4485460f53 Bundle sprig template functions
Signed-off-by: Tamal Saha <tamal@appscode.com>
2021-04-10 05:09:54 -07:00
Kailash Nadh 570a81f966 WIP: Add tests 2021-04-10 12:26:33 +05:30
Kailash Nadh 039feef938
Merge pull request #307 from knadh/dependabot/npm_and_yarn/frontend/y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1 in /frontend
2021-04-10 12:14:13 +05:30
Kailash Nadh e7e36a080f
Merge pull request #306 from kousikmitra/fix/campaign-field-names
Fix: campaign field names
2021-04-02 12:12:42 +05:30
Kousik Mitra 35b1d01621 Fix template box label name 2021-04-01 19:43:00 +05:30
dependabot[bot] ca403d5583
Bump y18n from 4.0.0 to 4.0.1 in /frontend
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 03:55:39 +00:00
Kousik Mitra 6d61c52126 Fix placeholder attribute typo 2021-03-30 20:11:26 +05:30
Kailash Nadh 6dbcfee080
Merge pull request #298 from mr-karan/master
fix: rename Github Token secret variable
2021-03-19 18:10:21 +05:30
Kailash Nadh d519a29c7c
Merge pull request #297 from spezifisch/german-translation-updates
Add German translations for missing keys in public.*, fix some typos
2021-03-19 18:09:43 +05:30
Karan Sharma 51d218a484 fix: rename Github Token secret variable
Since `GITHUB_TOKEN` is automatically injected in build
pipelines, we don't need to generate and add our custom token here.
2021-03-19 15:57:00 +05:30
Pascal Below 531d7680e7 add german translations for missing keys in public.*, fix typos 2021-03-19 09:43:43 +01:00
Kailash Nadh faf45d45e1
Merge pull request #296 from mr-karan/master
Add GitHub Actions
2021-03-19 12:30:53 +05:30
Karan Sharma df34e57e65 fix: remove deprecated syntax in goreleaser
`binaries` in `docker` is now deprecated
(https://goreleaser.com/deprecations#dockerbinaries).
2021-03-19 12:21:35 +05:30
Karan Sharma c6b85651af chore: release via github actions
Add a `release.yml` Github Actions workflow config which automates
the build and release process of Listmonk.
2021-03-19 12:21:35 +05:30
Kailash Nadh 207f516673
Merge pull request #294 from joicemjoseph/patch/ml-word-corrections
fix: typo corrections to malayalam localization
2021-03-14 14:38:02 +05:30
Joice 4d681f053e fix: typo corrections to malayalam localization 2021-03-14 13:26:42 +05:30
Kailash Nadh 2579d7c2b3
Merge pull request #291 from knadh/dependabot/npm_and_yarn/frontend/elliptic-6.5.4
Bump elliptic from 6.5.3 to 6.5.4 in /frontend
2021-03-11 11:51:45 +05:30
dependabot[bot] 1ac0e65dd8
Bump elliptic from 6.5.3 to 6.5.4 in /frontend
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-11 00:27:23 +00:00
Kailash Nadh e8ad7a9adc Fix subscriber attribs update API.
Change the behaviour where not passing attribs to the update API
overwrites the attribs with empty values. This commit changes the
behaviour so that in the absence of the attribs field in the
subscriber API, the existing value in the DB is retained.
2021-03-10 21:20:26 +05:30
Kailash Nadh f8e555dac5 Fix incorrect ID handling in update handlers 2021-03-09 17:54:07 +05:30
Kailash Nadh 93a710c9ae
Merge pull request #284 from RustyDust/master
Fix wrong list links in subscribers overview
2021-03-07 13:22:20 +05:30
Kailash Nadh 8a6ed2ac2e Fix incorrect week day name logic in translation 2021-03-07 12:36:10 +05:30