Commit graph

513 commits

Author SHA1 Message Date
Kailash Nadh
0bea9989ec Fix role selection on in user form. 2024-10-13 16:59:52 +05:30
Kailash Nadh
b7155a45e4 Fix admin UI legacy user warning. 2024-10-13 16:59:52 +05:30
Kailash Nadh
b0f6c22baa Fix broken subscription status tag on subscriber form UI. 2024-10-13 16:59:52 +05:30
Kailash Nadh
90591fc57e Apply OIDC/user profile related changes to admin UI. 2024-10-13 16:59:52 +05:30
Kailash Nadh
193f8a866b Add one-click provider config shortcut in OIDC settings. 2024-10-13 16:59:52 +05:30
Kailash Nadh
4eabd967d8 Refactor update check.
- Switch away from GitHub releases API to a statically hosted custom
  JSON message to include richer data.
- Instead of checking 24 hours post-boot, check 15 mins later post boot
  and then every 24 hours.
- Add provision for messages to display on the admin dashboard to
  communicate important / urgent announcements.
  (Fingers crossed, this never has to be used!)
2024-10-13 16:59:52 +05:30
Kailash Nadh
a8c17780f9 Add warning on admin UI for legacy creds in the TOML file. 2024-10-13 16:59:52 +05:30
Kailash Nadh
ee90496df9 Apply minor linting fixes to role form. 2024-10-13 16:59:52 +05:30
Kailash Nadh
d52eac0948 Update user APIs and queries to embed role + list permissions. 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
19527f97eb Add new fields to /api/config to remove /settings dependency in camapign UI. 2024-10-13 16:59:52 +05:30
Kailash Nadh
f69aa300b4 Move User/Roles nav items under Settings. 2024-10-13 16:59:52 +05:30
Kailash Nadh
4a69f0ac5b Minor refactor to subscribers UI. Remove superfluous status column. 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
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
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
1516bf216f Add api type user. 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
435d6d5169 Add create/add/delete user management UI and database schema. 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
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
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
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
Keshav Gupta
c334d2e6e1
fix #1950:Export of unsubscribed users exports all users (#1965)
Co-authored-by: keshav <keshav.gupta@jarvis.consulting>
2024-08-02 00:05:33 +05:30
Adrian Moya
45f1f80a76
fix(analytics): add to and from dates to campaign analytics URL (#1952)
Co-authored-by: Adrian Moya <adrian@csma.tehcnology>
2024-07-25 18:00:04 +05:30
Kailash Nadh
326fc300ed Refactor subscription form generator to render syntax-highlighted HTML. 2024-07-17 20:50:34 +05:30
Kailash Nadh
c2e7c713ca Increase campaign subject char limit. Closes #1909. 2024-07-17 19:38:11 +05:30
dependabot[bot]
0940e81109
Bump braces from 3.0.2 to 3.0.3 in /frontend (#1898)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 19:18:31 +05:30
Kailash Nadh
1bf7e362bf Fix incorrect filter query in bounces UI. Closes #1820. 2024-04-13 08:52:25 +05:30
dependabot[bot]
c48fe973e2
Bump vite from 5.0.12 to 5.0.13 in /frontend (#1809)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.13/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-04-04 10:42:00 +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
Kailash Nadh
107e6fb8a4 Randomize archive slug when cloning campaign on the UI. Closes #1725. 2024-03-12 23:06:17 +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
21c1af0d02
fix: empty list breaks subscriber page (#1755) 2024-02-29 11:18:16 +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
Abhinav Raut
1995471f5b
fix: incorrect docs url. (#1715)
Co-authored-by: Abhinav Raut <abhinav.raut@zerodha.com>
2024-02-05 18:51:01 +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
45f4ae190f Add performance/query caching docs. 2024-01-27 20:32:37 +05:30
Kailash Nadh
bb1492b882 Merge branch 'query-performance' 2024-01-27 15:56:09 +05:30