Commit Graph

501 Commits

Author SHA1 Message Date
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
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
Stefan Rubner 860953e331 Fix wrong list links in subscribers overview 2021-03-05 16:45:22 +01:00
Kailash Nadh 267dd52ec3
Merge pull request #281 from knadh/dependabot/npm_and_yarn/frontend/prismjs-1.23.0
Bump prismjs from 1.20.0 to 1.23.0 in /frontend
2021-03-02 09:25:02 +05:30
dependabot[bot] f268dc69ab
Bump prismjs from 1.20.0 to 1.23.0 in /frontend
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.23.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.20.0...v1.23.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 21:19:19 +00:00
Kailash Nadh d66227256a
Merge pull request #276 from herzkerl/patch-1
Including an EXPOSE instruction in the Dockerfile
2021-02-20 13:30:49 +05:30
Ben 31ce55a3a1
Including an EXPOSE instruction in the Dockerfile 2021-02-19 18:34:09 +01:00
Kailash Nadh 8779c49660
Merge pull request #274 from enniosousa/master
Add Brazilian Portuguese i18n
2021-02-18 12:34:09 +05:30
Kailash Nadh 5777738636
Merge pull request #273 from TomBoss/master
corr. template
2021-02-18 12:33:40 +05:30
Ennio Sousa c2d7e101cd
Create pt-BR.json 2021-02-17 17:15:29 -03:00
TomBoss 82f033b1da
corr. template 2021-02-17 15:41:59 +01:00
Kailash Nadh 77a6110c25
Merge pull request #272 from TomBoss/master
Add Italian i18n
2021-02-16 11:20:26 +05:30
TomBoss 2b8b10c691
Add Italian i18n 2021-02-15 20:12:23 +01:00
TomBoss da7975f82b
corr. 2021-02-15 19:10:08 +01:00
TomBoss b4fea57543
Merge pull request #1 from knadh/master
update
2021-02-15 19:06:05 +01:00
Kailash Nadh 99ff64bd82
Merge pull request #271 from TomBoss/master
Adding Safe templating function for keeping HTML comments
2021-02-15 18:43:49 +05:30
Kailash Nadh 97b78aa695 Fix incorrect 'get subscriber' calls 2021-02-15 18:27:14 +05:30
TomBoss 50549f3bfe
Adding Safe templating function for keeping HTML comment
Closes #270
According to https://stackoverflow.com/questions/34348072/go-html-comments-are-not-rendered
2021-02-15 13:33:47 +01:00
Kailash Nadh e90fb1d88d Format i18n/fr JSON file 2021-02-13 18:11:10 +05:30
Kailash Nadh a54d96784e
Merge pull request #267 from TomBoss/master
French i18n
2021-02-13 18:07:40 +05:30
Kailash Nadh 8e78b6418f Allow editing of unsubscribed lists on the UI 2021-02-13 18:05:31 +05:30
Kailash Nadh 2f6bd05ca0 Fix the optin-in, form re-subscribe behaviour.
If a user is already subscribed to an optin list but hasn't
confirmed, subscribing using the same e-mail id from the public
form now re-sends the optin e-mail while also showing an
appropriate message on the frontend rather than just saying
"subscribed successfully".

https://github.com/knadh/listmonk/issues/266
https://github.com/knadh/listmonk/issues/264
2021-02-13 17:55:10 +05:30
TomBoss 42a31e4696
French i18n 2021-02-13 11:46:29 +01:00
Kailash Nadh 2f05d4ef5b Fix broken opt-in campaign template 2021-02-13 13:28:39 +05:30
Kailash Nadh bc5cc53f28 Fix broken reload on clicking the restart button on UI 2021-02-13 13:14:52 +05:30
Kailash Nadh b1696c0fb9 Tidy go.mod 2021-02-13 12:42:38 +05:30
Kailash Nadh b950d2f4ff Refactor fetching of server config and settings.
The earlier approach of loading `/api/config.js` as a script on
initial page load with the necessary variables to init the UI is
ditched. Instead, it's now `/api/config` and `/api/settings` like
all other API calls. On load of the frontend, these two resources
are fetched and the frontend is initialised.
2021-02-13 12:34:36 +05:30
Kailash Nadh b6dcf2c841 Merge branch 'i18n' 2021-02-07 12:06:06 +05:30
Kailash Nadh ee46b3d3d8 Fix blank UI on forms pages when there are no public lists 2021-02-06 18:58:11 +05:30
Kailash Nadh c90d42a7a9 Fix widget padding on the dashboard UI 2021-02-06 12:36:19 +05:30
Kailash Nadh c7500f9be3 Fix campaign update email title i18n 2021-02-02 17:06:27 +05:30
Kailash Nadh 28b616abd0
Merge pull request #262 from diogotcorreia/i18n-pt
Add Portuguese Translations
2021-02-01 18:34:56 +05:30
Kailash Nadh 9c0fd24320
Merge pull request #261 from mr-karan/goreleaser-fix
chore: Pass the binary path correctly to `make`
2021-02-01 16:21:07 +05:30
Karan Sharma c63f9c6096 chore: Pass the binary path correctly to `make`
Based on afef994e6d
the binary variable `BIN` was changed. The same needs to be updated
in `.goreleaser.yml` config as well.
2021-02-01 16:18:09 +05:30
Kailash Nadh f1095aaf64 Remove stray dev env reference in go.mod (shameful!) 2021-02-01 15:57:13 +05:30
Diogo Correia be311419ff
Add Portuguese translations
Signed-off-by: Diogo Correia <me@diogotc.com>
2021-02-01 10:14:56 +00:00
Kailash Nadh d737e5d92b Fix `from email` in i18n language 2021-02-01 15:38:31 +05:30
Kailash Nadh 2235d30063 Add a new public page for end users to subscribe to public lists.
In addition to generating HTML forms for selected public lists,
the form page now shows a URL (/subscription/form) that can be
publicly shared to solicit subscriptions. The page lists all
public lists in the database. This page can be disabled on the
Settings UI.
2021-01-31 16:19:39 +05:30
Kailash Nadh a7b72a6b7c Fix broken i18n language keys 2021-01-31 13:38:35 +05:30
Kailash Nadh dd0c124b0e Stop throwing "exists" error on public forms 2021-01-31 13:38:02 +05:30