Commit graph

1517 commits

Author SHA1 Message Date
Kailash Nadh
474f93559f Add permission checks to admin UI to toggle visibility/functionality of components. 2024-10-13 16:59:52 +05:30
Kailash Nadh
dd9612b1ed Add user profile based permission check in auth middleware. 2024-10-13 16:59:52 +05:30
Kailash Nadh
09145b4abe Fix profile edit page. 2024-10-13 16:59:52 +05:30
Kailash Nadh
32d5823dfe Refactor 'super' user type to a pre-defined super admin role. 2024-10-13 16:59:52 +05:30
Kailash Nadh
8126eec358 Restyle tags on the UI. 2024-10-13 16:59:51 +05:30
Kailash Nadh
d4e4c5fa99 Add granular permissions and role management to backend and admin UI. 2024-10-13 16:59:51 +05:30
Kailash Nadh
2000e9fa12 Style and add OIDC logo to the login page. 2024-10-13 16:59:51 +05:30
Kailash Nadh
7bb14de42e Upgrade simplesessions to v3. 2024-10-13 16:59:51 +05:30
Kailash Nadh
313b2af6cf Make user avatar field nullable. 2024-10-13 16:59:51 +05:30
Kailash Nadh
4997c10b97 Add user profile APIs and update UI. 2024-10-13 16:59:51 +05:30
Kailash Nadh
6a34ebc629 Update login credentials doc in sample config. 2024-10-13 16:59:51 +05:30
Kailash Nadh
a6e06d92f8 Refactor migration for the latest version. 2024-10-13 16:59:51 +05:30
Kailash Nadh
906e0f57b6 Refactor handler groups and add mising auth features like logout. 2024-10-13 16:59:51 +05:30
Kailash Nadh
57ac9dca4b Add public login page and auth middleware and handlers. 2024-10-13 16:59:51 +05:30
Kailash Nadh
1516bf216f Add api type user. 2024-10-13 16:59:51 +05:30
Kailash Nadh
bf0b500bb0 Add API token authentication. 2024-10-13 16:59:51 +05:30
Kailash Nadh
10f1c38996 Add missing user UI files. 2024-10-13 16:59:51 +05:30
Kailash Nadh
0968e58766 Add user/password login handler. 2024-10-13 16:59:51 +05:30
Kailash Nadh
435d6d5169 Add create/add/delete user management UI and database schema. 2024-10-13 16:59:51 +05:30
Kailash Nadh
4648f9122d Fix bug in OIDC cookie check. 2024-10-13 16:59:51 +05:30
Kailash Nadh
83e4f5def4 Add migrations for OIDC db fields. 2024-10-13 16:59:51 +05:30
Kailash Nadh
f8b3ddb5ee Refactor the oidc package and separate out handlers. 2024-10-13 16:59:51 +05:30
Kailash Nadh
8ca95f6827 Refactor OIDC middleware handler logic. 2024-10-13 16:59:50 +05:30
Kailash Nadh
e406b2516a Add a settings UI for OIDC. 2024-10-13 16:59:50 +05:30
Marc Bärtschi
1b7128abf2 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-10-13 16:59:50 +05:30
Bowrna
5074987544
Add Markdown syntax highlighting (#2068)
Closes #2058.

Co-authored-by: Kailash Nadh <kailash@nadh.in>
2024-10-13 16:58:48 +05:30
Bowrna
b0f3891629
Make import overwrite off by default and add warning (#2078)
* Move CSV example rendering to code to get around breaking auto-formatter.
* Improve overwrite confirmation logic.

---------

Co-authored-by: Kailash Nadh <kailash@nadh.in>
2024-10-13 16:40:36 +05:30
Rakesh Kariya
39e1a0344e
misc:add word wrap to HTML editor (#2081) 2024-10-13 16:02:31 +05:30
Enric Pineda
36cf85b499
Fix Catalan translation and add Esperanto. (#2075) 2024-10-10 23:19:05 +05:30
Kailash Nadh
58b13afa29 Fix tx template not being cached on update. Closes #2061. 2024-10-05 09:51:56 +05:30
Janek
98fed80b80
Slightly improve docker-compose feedback (#2054) 2024-10-04 10:28:22 +05:30
Johannes Maas
5e81d9e1f5
Fix typo in German translation (#2064)
* Fix typo in German translation
* Fix inconsistent spelling of "E-Mail"
2024-10-03 23:40:50 +05:30
dependabot[bot]
560789d506
Bump vite from 5.0.13 to 5.1.8 in /frontend (#2047)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.13 to 5.1.8.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.1.8/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.8/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-24 21:39:56 +05:30
dependabot[bot]
aa168f0f07
Bump rollup from 4.9.1 to 4.22.4 in /frontend (#2050)
Bumps [rollup](https://github.com/rollup/rollup) from 4.9.1 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.9.1...v4.22.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-24 21:39:46 +05:30
Bowrna
16f4dfd3e9
Fix incorrect bulk blocklisting behaviour (#2041). Fixes #1841 2024-09-19 10:56:56 +05:30
Bishop Clark
550cd3e1f8
Update README.md (#2034)
'software', when used as a noun, is not a 'countable' type, and it does not get an article like 'a'.  It's like 'traffic'.
2024-09-06 15:49:53 +05:30
Ken Powers
06e49831dd
Fix tag queyr param in lists.md (#2033) 2024-09-05 09:06:13 +05:30
Kailash Nadh
51e3f1789b Fix pre-confirm status not working on subscriber update. Closes #1927. 2024-09-03 23:39:02 +05:30
Kailash Nadh
139267d57e Tweak docs to highlight one-way mailing lists. Closes #1931. 2024-09-03 22:46:55 +05:30
Vinoth Kumar
d7fe13c4b9
Fix typo and formatting (#2028) 2024-08-30 13:24:45 +05:30
Easton Man
1819480153
docs: suggest an FQDN in docker compose file (#2019)
The 'hostname' field in the docker-compose file is later used in Listmonk to generate the 'Message-Id' of each mail. The hostname is used as the id-right section of 'Message-Id'.

According to RFC 2822 3.6.4, id-right = dot-atom-text / no-fold-literal / obs-id-right 
Also, Rspamd has a spam filtering field 'MID_RHS_NOT_FQDN' which defaults to a 1.0 score.

This commit suggests an FQDN in the docker-compose file, which is guaranteed to meet the requirement.
2024-08-27 22:11:49 +05:30
Vaibhav Dixit
c812caad1a
Fix syntax error in GetBounce method (#2007) 2024-08-27 13:14:29 +05:30
Bowrna
242c90d095
updating campaigns api doc (#2011) 2024-08-27 13:12:47 +05:30
Michael Bianco
e6bf3691c7
adding listmonk-newsletter sdk link (#2013) 2024-08-27 13:12:30 +05:30
dependabot[bot]
55e81f0df6
Bump axios from 1.6.2 to 1.7.4 in /frontend (#2006)
Bumps [axios](https://github.com/axios/axios) from 1.6.2 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.2...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 22:41:01 +05:30
Bowrna
d28e40ee5c
update subscribers api docs (#1989) 2024-08-22 22:17:23 +05:30
pan93412
579fa71eed
docs: Add Zeabur one-click button (#1994) 2024-08-22 22:16:59 +05:30
Kailash Nadh
edc9f7382f Fix typo on the website. 2024-08-20 15:05:51 +05:30
Kaiwalya Koparkar
d2cd9b169e
chore: Deploy to Elestio button updated (#2005) 2024-08-20 14:56:25 +05:30
MaximilianKohler
fb090f2383
Update querying-and-segmentation.md (#1983) 2024-08-12 14:04:48 +05:30