Commit Graph

374 Commits

Author SHA1 Message Date
hykocx f60137011d style(admin): simplify password reset button markup and remove border separator 2026-04-24 16:50:39 -04:00
hykocx 4549299d50 style(admin): update dark mode border color to neutral-800 in UserEditModal 2026-04-24 16:48:18 -04:00
hykocx 3f5bbfda0b style(admin): clean up password section layout in user edit modal 2026-04-24 16:47:56 -04:00
hykocx bba1e9bc9a chore: bump version to 1.4.86 2026-04-24 15:52:38 -04:00
hykocx ec0edf89b9 fix(admin): require current password for self password change and fix field ordering
- initialize `newPassword` in form state on load
- add `needsCurrentPassword` flag triggered by email or password change when editing self
- route self password change to profile endpoint with current password verification
- move role tag input above password section and update current password field visibility logic
2026-04-24 15:52:34 -04:00
hykocx f22fcb6f68 chore: bump version to 1.4.85 2026-04-24 15:45:59 -04:00
hykocx c844bc5e86 feat(admin): add password management to user edit modal and profile page
- add new password field in UserEditModal with optional admin-set password on save
- add send password reset link button with loading state in UserEditModal
- add password change section with strength indicator in ProfilePage
- expose sendPasswordResetEmail utility in auth api
2026-04-24 15:45:56 -04:00
hykocx 661f6c0783 chore: bump version to 1.4.84 2026-04-24 15:31:31 -04:00
hykocx 25f93526a5 feat(admin): add RoleBadge component and integrate it in user management views
- add new RoleBadge shared component for consistent role display
- export RoleBadge from shared components index
- replace inline Badge usage with RoleBadge in UsersPage role column
- use RoleBadge via renderTag prop in UserEditModal role TagInput
- simplify TagInput Pill to a generic unstyled pill, removing color logic
2026-04-24 15:31:28 -04:00
hykocx f413c4fa0f chore: bump version to 1.4.83 2026-04-24 15:25:00 -04:00
hykocx 69bc05944c fix(ui): render TagInput dropdown via portal to avoid overflow clipping
- import createPortal from react-dom
- add dropdownStyle state to track fixed position coordinates
- calculate and update dropdown position on open, scroll, and resize
- render dropdown and empty-state divs into document.body using createPortal
2026-04-24 15:24:56 -04:00
hykocx b5d228b8ac chore: bump version to 1.4.82 2026-04-24 15:20:55 -04:00
hykocx 70000e0761 refactor(admin): embed roles data in user list query and update role display
- remove separate `/zen/api/roles` fetch and `roleColorMap` state from UsersPage
- update SQL query to include aggregated roles array per user via subquery
- replace single role badge with multi-badge display supporting overflow indicator
2026-04-24 15:20:51 -04:00
hykocx d6b7575444 chore: bump version to 1.4.81 2026-04-24 15:17:03 -04:00
hykocx 48755c03f3 refactor(admin): remove email_verified field from user edit modal 2026-04-24 15:17:00 -04:00
hykocx f211946562 chore: bump version to 1.4.80 2026-04-24 15:13:10 -04:00
hykocx b88f84e2a1 refactor(admin): wrap profile page content in fragment 2026-04-24 15:13:06 -04:00
hykocx 4b17852ace chore: bump version to 1.4.79 2026-04-24 15:11:35 -04:00
hykocx 87990390c1 refactor(admin): replace inline email form with modal dialog
- import Modal component from shared components
- rename emailFormOpen state to emailModalOpen for clarity
- convert handleEmailSubmit from form event handler to plain async function
- move email change form into a Modal instead of inline collapsible form
- pass pendingEmailMessage as Input description prop instead of separate paragraph
- simplify toggle button to only show when no pending message
2026-04-24 15:11:29 -04:00
hykocx 8b0041bd32 chore: bump version to 1.4.78 2026-04-24 15:07:11 -04:00
hykocx cc0fe5aca7 chore(deps): upgrade postcss to 8.5.10 via package override
- add overrides field in package.json to force postcss ^8.5.10
- replace next's bundled postcss 8.4.31 with deduped postcss 8.5.10 in lockfile
2026-04-24 15:07:05 -04:00
hykocx 6b95cdf535 chore: bump version to 1.4.77 2026-04-24 15:04:44 -04:00
hykocx 66c862cf73 feat(admin): add email change flow with confirmation for users
- add `ConfirmEmailChangePage.client.js` for email change token confirmation
- add `emailChange.js` core utility to generate and verify email change tokens
- add `EmailChangeConfirmEmail.js` and `EmailChangeNotifyEmail.js` email templates
- update `UserEditModal` to handle email changes with password verification for self-edits
- update `ProfilePage` to support email change initiation
- update `UsersPage` to pass `currentUserId` to `UserEditModal`
- add email change API endpoints in `auth/api.js` and `auth/email.js`
- register `ConfirmEmailChangePage` in `AdminPage.client.js`
2026-04-24 15:04:36 -04:00
hykocx f31b97cff4 chore: bump version to 1.4.76 2026-04-23 19:55:40 -04:00
hykocx 995edae513 feat(auth): expose individual auth page components as a public entry point 2026-04-23 19:55:35 -04:00
hykocx c901e81c83 chore: bump version to 1.4.75 2026-04-23 19:39:01 -04:00
hykocx 362804b650 style(auth): replace "E-mail" label with "Courriel" in auth pages 2026-04-23 19:38:57 -04:00
hykocx 45e664739e chore: bump version to 1.4.74 2026-04-23 19:38:19 -04:00
hykocx 4b27c1efea style(auth): update form placeholders to french localization 2026-04-23 19:38:16 -04:00
hykocx d3bde53762 chore: bump version to 1.4.73 2026-04-23 19:24:24 -04:00
hykocx 472c6ebd7f style(ui): replace focus:ring-0 with focus:[box-shadow:none] for fullghost button variant 2026-04-23 19:24:21 -04:00
hykocx 13c263a7df chore: bump version to 1.4.72 2026-04-23 19:22:27 -04:00
hykocx e4a0967203 style(ui): remove focus ring from fullghost button variant 2026-04-23 19:22:24 -04:00
hykocx f7801c37d3 chore: bump version to 1.4.71 2026-04-23 19:21:31 -04:00
hykocx f48f002fcd refactor(auth): replace anchor tags with fullghost Button variant for navigation links 2026-04-23 19:21:27 -04:00
hykocx 9f70d740ad chore: bump version to 1.4.70 2026-04-23 18:21:25 -04:00
hykocx dbea58a978 refactor(auth): replace anchor navigation links with Button components and improve auth page styling 2026-04-23 18:21:21 -04:00
hykocx da2bd0b4e7 chore: bump version to 1.4.69 2026-04-23 18:16:55 -04:00
hykocx 1aac03c2dc refactor(auth): remove GET /users/me endpoint and related exports 2026-04-23 18:16:46 -04:00
hykocx e7aad33682 chore: bump version to 1.4.68 2026-04-22 20:41:38 -04:00
hykocx ad4847e1c5 fix(auth): hide error/success messages when user is authenticated or conflicting states exist 2026-04-22 20:41:35 -04:00
hykocx fc0a4b744b chore: bump version to 1.4.67 2026-04-22 20:39:08 -04:00
hykocx 189dcfc726 style(auth): replace inline card styles with Card component and clean up comments in ConfirmEmailPage 2026-04-22 20:39:05 -04:00
hykocx 3e95387879 chore: bump version to 1.4.66 2026-04-22 20:26:49 -04:00
hykocx bbb55605c3 refactor(admin): simplify ProfilePage with tabs and component cleanup 2026-04-22 20:26:45 -04:00
hykocx 7d6a13a57b chore: bump version to 1.4.65 2026-04-22 20:22:57 -04:00
hykocx 68d97c81da style(admin): increase settings card min-width from 1/2 to 3/5 2026-04-22 20:22:54 -04:00
hykocx 6316ecd027 chore: bump version to 1.4.64 2026-04-22 20:22:09 -04:00
hykocx f082ef4fda style(ui): adjust layout alignment and sizing in settings page and tab nav 2026-04-22 20:22:07 -04:00
hykocx e647aef47e chore: bump version to 1.4.63 2026-04-22 20:16:10 -04:00