Commit graph

13 commits

Author SHA1 Message Date
71036954c9 refactor: unify password hook usage across forms and update related imports 2026-04-14 16:36:10 +02:00
d9fdfabf00 refactor: replace strong password hook with mild password implementation and update related components 2026-04-14 15:43:57 +02:00
3f477ca3b8 refactor: update session handling across components to use new session structure and improve loading states 2026-04-09 11:09:25 +02:00
ba4debdd1d Refactor: Remove unused procedures and clean up router files
- Deleted contact router and its associated mail functionality.
- Removed addEvent mutation from event_queue router.
- Cleaned up fatture router by removing createClient and getListClienti procedures.
- Commented out deletePrezziario mutation in prezziario router.
- Removed unused procedures in servizio router, including getServizioOrdini and getPreOnboardData.
- Cleaned up stats router by removing commented-out code.
- Updated stripe router to restrict health check to admin users and changed several public procedures to protected.
- Commented out sync router procedures and related types.
- Removed unused client-related functions in fic controller.
- Cleaned up servizio controller by removing getServizioOrdini and commented-out code.
- Refactored auth service to inline pwResetTokenFromMailHandler logic.
- Commented out deletePrezziario function in prezziario service.
- Cleaned up zod types by commenting out unused types.
- Commented out getMessagesArray function in kysely helper.
2026-03-05 12:32:03 +01:00
94b603b83c refactor: remove 'mustChangePassword' field from user forms and related logic 2025-12-15 12:15:26 +01:00
4d7802ccc6 feat: implement user invitation system with email invites and password setup
- Added user_invites table to manage invitation tokens.
- Created invite router with procedures for sending, verifying, and accepting invites.
- Implemented email sending functionality for invites.
- Updated user controller to handle password setting during invite acceptance.
- Introduced mustChangePassword flag in user schema and related logic.
- Added middleware to enforce password change requirement.
- Created forms for accepting invites and changing passwords.
- Updated database migrations to reflect new user invite structure and fields.
2025-12-14 18:57:56 +01:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +02:00
f979fd9721 piccola roba 2025-08-27 11:11:21 +02:00
aaea1eb6bb Enhance session management: restrict session access for blocked users and reduce token expiration to one day 2025-08-20 14:17:26 +02:00
099773b161 Refactor password update flow to use router.push for navigation and add session check before swapping authentication 2025-08-10 14:27:29 +02:00
9314026817 refactor: update zod imports to version 4 and adjust error handling
- Changed all zod imports from "zod" to "zod/v4" across multiple files.
- Updated error handling in forms to use new zod error configuration.
- Refactored custom error mapping to align with zod v4 changes.
- Adjusted password validation logic to utilize new zod features.
- Cleaned up unused locale error mapping code.
- Enhanced type definitions for async iterables in zod utility functions.
2025-08-07 14:50:40 +02:00
29c64c7e39 init 2025-08-04 17:45:44 +02:00