Commit graph

1408 commits

Author SHA1 Message Date
Kailash Nadh d6e4838e1f Add per-list permission management to roles. 2024-06-23 22:50:24 +05:30
Kailash Nadh 3d4c0684cc Add new fields to /api/config to remove /settings dependency in camapign UI. 2024-06-19 17:00:41 +05:30
Kailash Nadh 359c4ab697 Move User/Roles nav items under Settings. 2024-06-17 16:47:46 +05:30
Kailash Nadh 64dcdf58da Minor refactor to subscribers UI. Remove superfluous status column. 2024-06-17 16:41:35 +05:30
Kailash Nadh dace3e2c43 Add permission checks to admin UI to toggle visibility/functionality of components. 2024-06-17 16:25:24 +05:30
Kailash Nadh 7be6c190b4 Add user profile based permission check in auth middleware. 2024-06-17 16:24:52 +05:30
Kailash Nadh aee81a0efc Fix profile edit page. 2024-06-16 14:07:02 +05:30
Kailash Nadh 28e948b82f Refactor 'super' user type to a pre-defined super admin role. 2024-06-16 13:50:04 +05:30
Kailash Nadh 1df7462c2c Restyle tags on the UI. 2024-06-16 13:49:41 +05:30
Kailash Nadh 92bdde15c6 Add granular permissions and role management to backend and admin UI. 2024-06-15 15:14:55 +05:30
Kailash Nadh e1dc2e1d00 Style and add OIDC logo to the login page. 2024-06-01 18:02:56 +05:30
Kailash Nadh b6ceb29e74 Upgrade simplesessions to v3. 2024-06-01 16:55:51 +05:30
Kailash Nadh bfad7a4bbf Make user avatar field nullable. 2024-05-30 23:38:14 +05:30
Kailash Nadh 38b1bed7f0 Add user profile APIs and update UI. 2024-05-30 23:37:20 +05:30
Kailash Nadh ad63114962 Update login credentials doc in sample config. 2024-05-30 22:00:54 +05:30
Kailash Nadh 3772ce8807 Refactor migration for the latest version. 2024-05-26 00:12:23 +05:30
Kailash Nadh eff335dca4 Refactor handler groups and add mising auth features like logout. 2024-05-26 00:03:41 +05:30
Kailash Nadh 95fbc17926 Add public login page and auth middleware and handlers. 2024-05-23 11:54:10 +05:30
Kailash Nadh d7439a951c Add api type user. 2024-05-07 11:08:31 +05:30
Kailash Nadh bd8be90613 Add API token authentication. 2024-04-27 23:01:23 +05:30
Kailash Nadh fcdf8511d6 Add missing user UI files. 2024-04-13 12:18:03 +05:30
Kailash Nadh 2c14cf49e9 Add user/password login handler. 2024-04-10 00:20:48 +05:30
Kailash Nadh bc80600e57 Add create/add/delete user management UI and database schema. 2024-04-10 00:02:45 +05:30
Kailash Nadh dbda4e18bf Fix bug in OIDC cookie check. 2024-04-02 14:50:45 +05:30
Kailash Nadh 4475fe5b2b Add migrations for OIDC db fields. 2024-04-02 14:31:19 +05:30
Kailash Nadh 02e6b252d7 Refactor the oidc package and separate out handlers. 2024-04-02 14:30:12 +05:30
Kailash Nadh 66258b38f0 Refactor OIDC middleware handler logic. 2024-04-02 12:23:25 +05:30
Kailash Nadh 8fdde0247d Add a settings UI for OIDC. 2024-04-02 10:28:07 +05:30
Marc Bärtschi ee1ab0381e Implement OIDC
This is a simple OIDC implementation. It's very basic and just logs the user in. Access control needs to be done on the IDP side.
2024-04-01 22:49:02 +05:30
Kailash Nadh d5cfaa9bb3 Remove obsolete subscriber disabled status from docs. Closes #1793. 2024-04-01 19:09:19 +05:30
Kailash Nadh 7bf9481488 Add /uploads/ path to HTTP config docs. Closes #1803. 2024-04-01 19:05:38 +05:30
Klaudia e4589d6236
Update pl.json (#1800) 2024-03-28 11:07:35 +05:30
Kailash Nadh 124af1ee29 Make static e-mail template subjects scriptable. Closes #1727.
This commit introduces optional, custom `<title>` tags that can be
added to `static/email-templates/*.html` so as to make the subjectlines
fully scriptable for system e-mails and notifications.

The tag must look like this.

```
<title data-i18n>Stuff {{ .Subscriber.Name }} here!</title>
```
2024-03-25 15:49:40 +05:30
Kailash Nadh f04798a329 Add URL validation to settings URL inputs on admin UI. 2024-03-25 11:06:46 +05:30
dependabot[bot] 1bd55e1a03
Bump follow-redirects from 1.15.4 to 1.15.6 in /frontend (#1786)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-25 10:32:38 +05:30
George Ma 3a0cf98d2f
chore: remove repetitive word (#1790)
Signed-off-by: availhang <mayangang@outlook.com>
2024-03-25 10:32:25 +05:30
Sjoerd van der Hoorn 1817bba284
Update templating.md (#1788)
Pointing "Go template" hyperlink to actual Go template expression documentation.
2024-03-19 12:38:07 +05:30
Kailash Nadh d64ff73755 Merge zh-TW i18n updates from #1741. Closes #1741.
Co-Authored-By: Sedna Wang <152587421+Sedna1125@users.noreply.github.com>
2024-03-12 23:33:00 +05:30
ericbegin 7ffe1a4972
Add French Canada (fr-CA) i18n translation. 2024-03-12 23:14:13 +05:30
Kailash Nadh 107e6fb8a4 Randomize archive slug when cloning campaign on the UI. Closes #1725. 2024-03-12 23:06:17 +05:30
Muhammed Kadir Tan 2afac2469e
fix: check errors.Is instead of strings.Contains for http: Server closed error (#1779) 2024-03-12 11:06:35 +05:30
tgolang 860009b866
chore: remove repetitive words (#1778)
Signed-off-by: tgolang <seekseat@aliyun.com>
2024-03-11 13:33:50 +05:30
Shivam Mishra ec50bef292
fix: query campaign does not search numbers (#1758) 2024-03-08 09:48:34 +05:30
Shivam Mishra 21c1af0d02
fix: empty list breaks subscriber page (#1755) 2024-02-29 11:18:16 +05:30
Sedna Wang d9e2dce66c
Update zh-TW.json (#1744)
I have adjusted the language issues of Chinese (zh-TW) translation, and marked some engineering professional terms to display in English.
2024-02-26 15:18:32 +05:30
Shivam Mishra d7b55cd147
fix: trim config before use (#1756)
* feat: ensure hosts are trimmed before saving

* feat: trim host before saving bounces
2024-02-26 15:12:50 +05:30
Shivam Mishra 12ab492701
fix: use translated string (#1757) 2024-02-26 15:12:25 +05:30
Biepa fa239db139
Update de.json (#1749) 2024-02-22 10:39:22 +05:30
paulocr 51f996d3d6
Fixes typo in es.json (#1751) 2024-02-22 10:38:52 +05:30
Karan Sharma 00a44c01a4
fix: easy install docker script for macOS (#1742)
* feat: fix easy install docker script for macOS

Closes https://github.com/knadh/listmonk/issues/1740

* fix: use bash shebang for wider compatibility

* fix: quote the command subst to prevent word splitting
2024-02-21 13:11:38 +05:30