Commit graph

237 commits

Author SHA1 Message Date
Kailash Nadh
ae2a386193 Add support for "list roles".
This commit splits roles into two, user roles and list roles, both of which
are attached separately to a user.

List roles are collection of lists each with read|write permissions, while
user roles now have all permissions except for per-list ones.

This allows for easier management of roles, eliminating the need to clone and
create new roles just to adjust specific list permissions.
2024-10-13 17:03:58 +05:30
Kailash Nadh
12a6451ed0 Add list permission check to subscriber calls. 2024-10-13 17:03:55 +05:30
Kailash Nadh
1649b3b135 Fix logic for preventing sole super admin from being wrongly updated/deleted. 2024-10-13 16:59:52 +05:30
Kailash Nadh
1e875afa67 Add OIDC auth hooks (init, callback, session) and finish OIDC support. 2024-10-13 16:59:52 +05:30
Kailash Nadh
612c1d6eac Add per-list permission management to roles. 2024-10-13 16:59:52 +05:30
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
32d5823dfe Refactor 'super' user type to a pre-defined super admin role. 2024-10-13 16:59:52 +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
4997c10b97 Add user profile APIs and update UI. 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
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
e406b2516a Add a settings UI for OIDC. 2024-10-13 16:59:50 +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
Enric Pineda
36cf85b499
Fix Catalan translation and add Esperanto. (#2075) 2024-10-10 23:19:05 +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
Bowrna
1e6e97e750
Add validation for filename with non-ASCII chars in media upload (#1973) 2024-08-05 20:08:33 +05:30
Klaudia
e4589d6236
Update pl.json (#1800) 2024-03-28 11:07:35 +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
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
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
Kailash Nadh
f9120d9b80 Auto-translate one missing i18n key.. 2024-02-04 16:47:36 +05:30
Kailash Nadh
36e39e51b3 Auto-translate missing i18n scripts. 2024-02-04 16:26:54 +05:30
Kailash Nadh
8939d274fa Reformat sl i18n language file. 2024-02-04 16:12:00 +05:30
Blaž Carli
3103bbc2cf
feat: Add Slovenian localization (#1704)
Co-authored-by: blaz.carli <blaz.carli@arctur.si>
2024-02-01 22:22:39 +05:30
Kailash Nadh
74ef6f5033 Add a 'view' link on the lists page. Closes #1674. 2024-01-27 22:25:21 +05:30
Kailash Nadh
5a3664aee2 Add support for caching slow queries on large databases.
- Add materialized views for list -> subscriber counts, dashboard chart,
  and dashboard aggregate stats that slow down significantly on large
  databases (with millions or tens of millions of subscribers). These
  slow queries involve full table scan COUNTS().

- Add a toggle to enable caching slow results in Settings -> Performance.

- Add support for setting a cron string that crons and periodically
  refreshes aggregated stats in materialized views.

Closes #1019.
2024-01-27 15:51:12 +05:30
Kailash Nadh
d8ca26e747 Add a 'template reference' docs link next to campaign editor. Closes #1405. 2024-01-10 22:07:40 +05:30
Kailash Nadh
0d319ad9fd Add 'slug' (permalink) support for campaign archives. Closes #1394. 2024-01-09 23:34:08 +05:30
Kailash Nadh
a2629c2c31 Make all ID/UUID labels on the UI onclick -> clipboard copy. 2023-12-31 21:39:19 +05:30
Kailash Nadh
bce675870c Fix preconfirm option not working on bulk 'select all' subscriber list management. Closes #1646. 2023-12-30 20:52:14 +05:30
Moris
9bd7511952
Update italian translation (#1644)
fixed some grammatical errors
2023-12-28 22:13:16 +05:30
Preben Rather Sørensen
9a30067d9a
Create da.json (Danish translation) (#1628) 2023-12-20 10:47:13 +05:30
Denys Nykula
e869f7b0a9
Translate to Ukrainian (#1606)
Co-authored-by: Denys Nykula <vegan@libre.net.ua>
2023-12-08 00:27:52 +05:30
Isaak Tsalicoglou
fa506643a4
Add i18n Greek translation (#1605) 2023-11-27 12:53:28 +05:30
Thomas-LCP
9e3af91dc5
Update fr.json (#1586) 2023-11-10 11:47:14 +05:30
Fussel132
06332d52a0
Update de.json (#1572)
The settings idleTimeout and waitTimeout were exactly the same in the German translation and could not be distinguished
2023-10-30 10:55:28 +05:30
Kailash Nadh
1ebd80c577 Add Hebrew translation. Closes #1517.
Completed @liy1414's pending PR with automated GPT-4 translation.

Co-Authored-By: liy1414 <88595225+liy1414@users.noreply.github.com>
2023-10-15 21:00:12 +05:30
Kailash Nadh
491fab38cb Update i18n language files. 2023-10-15 20:55:46 +05:30
Kailash Nadh
954ed45009 Fix incorrect Slovak language code. Closes #1533. 2023-09-25 11:14:29 +05:30
Kailash Nadh
11f90b2f62 Fix typo in i18n S3 expiry description. 2023-09-19 13:51:26 +05:30
Kailash Nadh
2b95c88188
Add Postmark bounce webhook support (refactor #1385) (#1485)
Co-authored-by: Thomas Siebers <tom@tsiebers.de>
2023-08-31 21:27:34 +05:30
Kailash Nadh
79ff7293ea Fix broken dummy password warning on SMTP test UI. Closes #1450. 2023-08-15 20:57:58 +05:30
Unmesh Sagar
a440b79530
modified mistakes and typos in translation (#1419) 2023-08-01 17:09:43 +05:30
Kailash Nadh
3865e95296 Update untranslated i18n language strings. Auto-translated with GPT 3.5. 2023-07-27 23:32:07 +05:30