Commit graph

15 commits

Author SHA1 Message Date
b7e1e964c3 feat: enhance chat sidebar with admin indicator and simplify user retrieval logic 2026-05-05 15:56:02 +02:00
60e4b187bf Refactor: Update Zod schemas and replace custom types with imported schemas across various files
- Replaced custom Zod types with imported schemas in stripe router and user router.
- Updated payment controller to use new enum imports for order types and payment statuses.
- Refactored payment tests to utilize the new enum structure.
- Removed deprecated zod_types file and created new zod_chat_types file for chat-related schemas.
- Adjusted service files to align with the new order type enums and schemas.
- Enhanced the Caratteristiche type definition using Zod for better validation.

Co-authored-by: Copilot <copilot@github.com>
2026-04-28 20:32:19 +02:00
995eadd9dc feat: implement user intestazione generation and update related handlers 2026-04-16 13:35:34 +02:00
a04e3c2fd3 feat: implement user labels management with CRUD operations and UI integration 2026-03-10 16:56:26 +01: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
280e0ab5c2 feat: update payment recap links and add new receipt page
- Changed payment recap link in OrdiniModal to point to the new receipt page.
- Added new PaymentRecapPage for displaying receipt details.
- Updated PaymentsTable to set paid_at date based on payment status.
- Introduced manual payment type in PaymentType and updated related strings.
- Refactored getOrdineRicevutaData to use overridableProcedure for access control.
- Enhanced mail sending functionality to include PDF attachments for receipts and conditions.
- Updated PDF generation service to handle new receipt PDF generation.
- Cleaned up context checking utilities by removing unnecessary session checks.
2026-03-04 19:12:01 +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
2ef18a0b5b feat: enhance Potenziali management with delete functionality and user assignment 2025-12-03 16:16:28 +01:00
eaf9ecc1d3 intestazione maker 2025-11-20 16:48:29 +01:00
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +01:00
bc1f114837 feat: implement server-side rendering for various admin pages and update backend URL configuration 2025-10-17 18:12:10 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +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