Commit graph

948 commits

Author SHA1 Message Date
Роман
c7505389d4
better translation option 2021-04-21 20:13:03 +03:00
Kailash Nadh
60220c7424
Merge pull request #330 from inpos/master
Typo in ru.json
2021-04-21 20:14:03 +05:30
Роман
f6339c7b5c
Update ru.json 2021-04-21 17:31:36 +03:00
Kailash Nadh
5868db0124 Sort i18n language list on the settings UI 2021-04-21 19:04:04 +05:30
Kailash Nadh
1c8d2725c6 Add Russian translation by @inpos. Closes #329. 2021-04-21 18:48:50 +05:30
Kailash Nadh
37824136c0 Refactor campaign preview to use dummy campaign and subscriber.
Use a dummy subscriber instead of fetching a random one from the
DB. In addition, replace the preview campaign UUID with a dummy
one to prevent clicks and views being registered against the
campaign when previewing.
2021-04-21 15:32:05 +05:30
Kailash Nadh
fe61e898a3 Add hidden nonce (honeypot) field to filter bot autofills on subs page 2021-04-21 14:01:32 +05:30
Kailash Nadh
97d297e18c Normalize i18n files 2021-04-21 13:53:31 +05:30
Kailash Nadh
9a4f1a0781
Merge pull request #327 from brunowego/patch-1
chore(dockerfile): not are using multi-stage build
2021-04-20 09:20:39 +05:30
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/falsenew 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