Commit graph

226 commits

Author SHA1 Message Date
6d41ff4520 feat: add usedInvite column to users table and update related configurations 2026-04-15 15:08:57 +02:00
7fa36c4b72 feat: enhance invite token verification and processing with email handling 2026-04-14 17:23:13 +02:00
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
e0353bb6f9 feat: enhance email processing with dynamic filenames and additional email notifications 2026-04-14 15:04:59 +02:00
51ebe0be1f feat: add new invite request functionality and update invite page with new dialog 2026-04-13 18:47:38 +02:00
4f21773cea fix: enhance error messages with context in various controllers and services 2026-04-13 12:45:42 +02:00
e847aefe64 feat: add support for additional phone numbers and titles in user profiles 2026-04-13 12:45:37 +02:00
7fdef1c945 fix: update package dependencies and improve null checks
- Updated @tiptap packages to version 3.22.3 for improved functionality.
- Upgraded react-email to version 5.2.10 for bug fixes.
- Updated @biomejs/biome to version 2.4.11 for better performance.
- Upgraded knip to version 6.4.1 for enhanced features.
- Improved null checks in modale_contatti.tsx, trpc.ts, annunci.controller.ts, and event_queue.controller.ts for better error handling.
2026-04-13 10:28:34 +02:00
0e606aa60e refactor: clean up unused code and improve type definitions in various components 2026-04-10 12:08:33 +02:00
ed7359aa16 refactor: update confirmation handling in service announcements
- Changed the confirmation status checks from `accettato_conferma_at` to `status_conferma` in various components and controllers.
- Introduced a new `StatusConfermaEnum` to standardize confirmation statuses.
- Removed deprecated confirmation-related fields from the `ServizioAnnunci` schema.
- Deleted unused confirmation-related API methods and adjusted related logic in the service controller.
- Updated the search parameters schema to use the new confirmation status.
- Removed the `conferma-immobile` and `riapri-conferma` pages as they are no longer needed.
2026-04-09 16:17:24 +02:00
dc28e42baa refactor: remove unused incroci router and related components; update SCAN_DIRS and PROCEDURE_REGEX 2026-04-09 16:04:55 +02:00
73675480f6 refactor: rename getServizioAnnuncio to getServizioContratto and update related logic in servizio router 2026-04-09 16:03:32 +02:00
a3d3e8f5bd refactor: simplify error handling in database connection pool 2026-04-09 11:15:52 +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
b4acbbaff9 fix: add validation for mailType in genMail function 2026-04-07 11:33:12 +02:00
c8763e9f55 fix: make currency field nullable in saldoSchema 2026-04-03 19:24:18 +02:00
0d0c72ba1f fix: remove unnecessary currency field from movimentiSchema and report columns 2026-04-03 19:15:14 +02:00
f52dd96c11 feat: implement Stripe reports management for admin panel
- Add new page for managing Stripe reports with functionality to generate and view reports.
- Create API router for handling Stripe report operations including listing, setting up, and generating reports.
- Introduce caching service for managing cache invalidation related to reports.
- Update Typst templates for formatting financial reports in EUR.
- Enhance utility functions for price formatting and error handling.
- Implement a script to check for unused tRPC procedures in the codebase.
2026-04-03 18:57:39 +02:00
964abfbf46 feat: add email queue management features
- Implemented FormNewMail for creating new email entries in the queue.
- Enhanced AdminPotenziali page layout for better responsiveness.
- Added Coda component to manage user email queues, including adding, removing, and clearing emails.
- Updated API routes for managing email queue operations, including adding, removing, and clearing user email queues.
- Introduced new mail templates and integrated them into the mailer service.
- Improved error handling in the email queue controller and service.
- Added Zod validation for event IDs in the utility types.
2026-04-03 11:51:55 +02:00
8c48dbb4b6 feat: integrate Typst for PDF generation and add new fonts
- Added Typst templates for receipts and announcements.
- Implemented TypstRunner and TypstRunner2 services for PDF generation.
- Included necessary fonts for Typst rendering.
- Updated Dockerfile to install Typst and Pandoc.
- Enhanced API with new endpoints for Typst functionality.
- Added temporary directory handling for generated files.
- Updated .gitignore and .dockerignore to exclude temporary files.
2026-04-01 10:44:46 +02:00
aec6860cbd feat: add isAdmin parameter to interruzioneServizio and update related components 2026-03-31 09:24:22 +02:00
a11fc1241c feat: add comms_enabled flag to users and update email notification logic 2026-03-30 18:44:51 +02:00
04f0c5e790 feat: add Interruzione email template and integrate into mailer service 2026-03-30 16:37:08 +02:00
bb8c796fa8 feat: enhance RichiesteTable with context menu for user actions and improve status resolution logic 2026-03-30 16:26:03 +02:00
18ff13a64d feat: implement saldo preview functionality in payment process and update receipt generation 2026-03-27 20:23:21 +01:00
4eabd56a83 feat: update Invito email template to include invite URL and remove sensitive user information 2026-03-27 19:18:54 +01:00
67958105a1 feat: document login flow and update flow generation for login process 2026-03-27 18:49:13 +01:00
f3425c0cd5 feat: update Invito email template to include user credentials and remove invite URL 2026-03-27 18:18:58 +01:00
9452535a9f feat: implement NotePopover component for managing user notes and integrate it into UsersTable and RichiesteTable 2026-03-27 18:10:17 +01:00
ccc27ddcb5 feat: add pdf-lib dependency and implement PDF generation for receipt 2026-03-26 17:12:33 +01:00
ef31656639 feat: add userEmailQueue procedure to retrieve queued emails for a user 2026-03-25 17:30:45 +01:00
7adb33f485 feat: enhance RichiesteTable with improved status and decorrenza handling
- Updated RichiesteTable to display decorrenza with tooltip based on status.
- Enhanced status display with badges indicating various states (e.g., Attesa attivazione, Interrotto).
- Added Popover for displaying Annunci details in RichiesteTable.
- Refactored API to fetch user interests and related announcements.
- Introduced Queue component to display email events for users.
- Updated translations to include new "Requests" section in admin navigation.
- Improved database queries for fetching user interests and announcements.
2026-03-25 17:30:33 +01:00
2f9a0762ad feat: update database schema and add export functionality for users to Fatture In Cloud 2026-03-25 11:28:44 +01:00
5bff7219e8 refactor: remove ServiziHeader component and integrate its functionality directly into RicercaUser page
feat: update Servizio component to handle interruzioneDays and acceptedInterr logic

refactor: simplify servizio_actions by removing unused InterruzioneServizio and EditParametri components

feat: enhance FormEditServizioAdmin to include interruzioneDays and acceptedInterr fields

fix: adjust email service to delete obsolete emails and handle invalid email types gracefully

chore: update stripe controller to utilize interruzioneDays for lock expiration logic

fix: ensure correct handling of servizio expiration and interruzione logic in service controller
2026-03-24 17:01:40 +01:00
1d1051f25a feat: implement AvvisoInterruzione email template and integrate into mailer service 2026-03-23 12:01:29 +01:00
70cc0e4536 feat: add error handling for database connection pool to manage admin shutdown during backup windows 2026-03-23 12:01:18 +01:00
ed93eb12a1 feat: update Counter component to conditionally apply disabled styles and enhance FormServizio with improved disabled state handling 2026-03-20 17:03:35 +01:00
cc06738db4 feat: remove unused EmailContattiConScheda component and related email functionality 2026-03-20 16:02:13 +01:00
d4ec0919c3 feat: update userSendConfermaIntent to reflect interest notification for property 2026-03-20 15:54:54 +01:00
6a20a7fb36 feat: enhance getCompatibileAnnunci query to include additional delivery month conditions 2026-03-20 14:16:03 +01:00
8c7f0cd9b3 feat: update service queries to use getAllServiziData for improved data handling 2026-03-20 13:53:56 +01:00
b274a729ee feat: refactor DataTableProps type declaration and remove unused Facehash component files 2026-03-19 10:23:07 +01:00
a87b9f57a7 feat: implement Result type for handling success and error states in API responses
feat: create AnnuncioNotFound page to handle missing announcements gracefully
feat: refactor Annuncio component to use structured AnnuncioData and improve SEO metadata handling
refactor: remove unused getAnnuncioMetaByCod function and streamline getAnnuncioData logic
2026-03-19 10:20:41 +01:00
1c2202f604 feat: enhance error messages in middleware to include request URL for better debugging 2026-03-18 17:39:12 +01:00
083a97e74f feat: add tipo_locatore to PostUnlock display and getProprietarioDataHandler for enhanced locatore information 2026-03-17 19:10:04 +01:00
57cd55d2d8 feat: add tipo_locatore field to various components and update related logic for improved locatore display 2026-03-17 19:08:14 +01:00
5327cc86c6 feat: add note field to Users schema and implement NoteUtenteDialog for user notes management 2026-03-17 18:47:35 +01:00
58ea254180 feat: refactor Annuncio context and related data fetching for improved structure and clarity 2026-03-17 18:47:30 +01:00
1307f352a4 feat: enhance payment preparation logic and add rinnovo handling
- Refactor `preparePayment` function to handle multiple order types including Rinnovo.
- Introduce new `RinnovoSolver` function to calculate renewal packs based on duration.
- Add `createRinnovo` service to manage the creation of renewal orders.
- Update `whIntentSucceededHandler` to handle payment confirmations for Rinnovo and other order types.
- Introduce default conditions for packs in `prezziario.service.ts`.
- Add new utility functions for managing renewal durations and permanenza.
- Update database interactions to ensure proper handling of orders and renewals.
- Enhance error handling and logging throughout the payment and renewal processes.
2026-03-17 18:46:43 +01:00