Kailash Nadh
1e4b3a26f2
Separate get individual user and get all users queries.
2024-10-26 17:03:02 +05:30
Kailash Nadh
87db0d596b
Fix Cypress admin form test to support <codeflask> rendered HTML.
2024-10-26 13:27:45 +05:30
Kailash Nadh
9760d19b4d
Fix button focus/active styles on the UI.
2024-10-23 12:21:15 +05:30
Kailash Nadh
69de02ab6d
Restyle and simplify subscriber form UI with tabs.
2024-10-23 00:06:53 +05:30
Kailash Nadh
b5382b81a1
Add user UI frontend tests.
2024-10-22 23:11:15 +05:30
Kailash Nadh
b2866b1f12
Apply minor style changes and improvements to modals.
2024-10-22 23:10:16 +05:30
Kailash Nadh
74e77bd6e0
Add names to user form fields for testing.
2024-10-22 22:50:09 +05:30
Kailash Nadh
3fdf6fe31e
Add individual list permission checks on admin UI.
2024-10-22 21:37:19 +05:30
Kailash Nadh
13222b5eb9
Fix random timing related Cypress test failures (huh).
2024-10-20 23:50:06 +05:30
Kailash Nadh
29aa977e6a
Expand search input width on subscribers UI for smaller screens.
2024-10-20 23:50:06 +05:30
Kailash Nadh
6258fd5cee
Increase settings UI poll interval to reduce broken requests.
2024-10-20 23:50:06 +05:30
Kailash Nadh
0f785b7173
Fix Cypress tests to work with new auth and other UI changes.
2024-10-20 23:50:06 +05:30
Kailash Nadh
71f9e861e4
Show OIDC URL warning only when enabled on the UI.
2024-10-20 23:50:06 +05:30
Kailash Nadh
03744e0dde
Fix broken settings references on forms page
2024-10-20 23:50:06 +05:30
Kailash Nadh
cc71899e86
Add non-prod ODIC URL warning on admin settings UI.
2024-10-13 18:53:39 +05:30
Kailash Nadh
af06d2e462
Upgrade prismjs.
2024-10-13 18:16:43 +05:30
Kailash Nadh
3671a5254e
Update profile UI with new user data structures.
2024-10-13 17:03:58 +05:30
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
d74e067961
Add per-list permission to list management.
...
- Filter lists by permitted list IDs in DB get calls.
- Split getLists() handlers into two (one, all) for clarity.
- Introduce new `subscribers:get_by_list` permission.
- Tweak UI rendering to work with new per-list permssions.
2024-10-13 16:59:52 +05:30
Kailash Nadh
982e8d8320
Fix post v4.x.x upgrade warning on admin UI.
2024-10-13 16:59:52 +05:30
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