Commit graph

28 commits

Author SHA1 Message Date
ccc27ddcb5 feat: add pdf-lib dependency and implement PDF generation for receipt 2026-03-26 17:12:33 +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
d306548209 feat: add DateJsonParserPlugin to convert date strings to Date objects in Kysely queries 2026-03-23 19:32:32 +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
7e57f128f4 feat: implement redirectTo500 utility for consistent error handling across pages 2026-03-17 18:44:53 +01:00
7b76132a94 feat: implement codice fiscale calculation and validation
- Added `CalcolaCodiceFiscale` function to calculate Italian fiscal code based on name, surname, birth date, gender, and municipality code.
- Introduced utility functions for generating parts of the fiscal code, including handling special cases for names and surnames.
- Created tests for the fiscal code calculation covering various scenarios.
- Updated forms to enforce a maximum length for the fiscal code input.
- Added `vitest` for testing and configured it with Vite.
- Updated package dependencies to include testing libraries and Vite plugins.
2026-03-05 15:17:09 +01:00
ef59e61545 refactor: replace getInizialiCF with calcolaParteCognome and calcolaParteNome for improved CF generation 2026-03-05 14:24:55 +01:00
6cd09cce1b refactor: remove console.log statements from various files for cleaner code 2026-02-24 15:18:59 +01:00
89248e3787 refactor: clean up unused console logs and streamline Stripe integration 2026-02-20 11:42:46 +01:00
52801bebd1 feat: refactor payment processing and checkout flow with Stripe integration
- Removed AcquistoProcessing component and replaced it with a new CheckoutForm component for better separation of concerns.
- Added new payment checkout page to handle payment intents and display payment status.
- Updated server-side logic to create payment intents and retrieve payment data for checkout.
- Enhanced error handling and user feedback during payment processing.
- Introduced new utility functions for fetching payment data and managing Stripe integration.
2026-02-20 11:36:47 +01:00
a40e32978a feat: add Facehash component for deterministic avatar generation and update UserAvatar to use it 2026-01-30 15:24:09 +01:00
5fee3bc274 feat: add budget filtering functionality with min and max budget inputs 2025-12-29 19:10:46 +01:00
dacea2481e refactor: remove unused AnnunciInConferma components and clean up form_utils 2025-12-18 15:12:20 +01:00
bc9689cb4d refactor: implement NullableStringOnChange utility for improved form handling across multiple components 2025-12-17 16:38:15 +01:00
b376de48bb refactor: streamline ServizioContent layout and enhance ServizioInfos with pack details retrieval 2025-12-17 14:14:30 +01:00
c783dfed03 refactor: enhance AdminLavoraConferma component with GeneralSection and improve form handling in AnnuncioEditForm 2025-12-16 16:43:42 +01:00
7de7d90b95 cleanup 2025-12-15 12:23:41 +01:00
830b89d4b1 refactor: implement getStorageUrl utility for consistent storage URL generation 2025-11-28 15:11:14 +01:00
eaf9ecc1d3 intestazione maker 2025-11-20 16:48:29 +01:00
d7bfd8fdf1 feat: Update UI components and styles across multiple pages
- Enhanced the CardInfos component in [cod].tsx with improved styling and added TrafficCone icon for status indication.
- Increased dialog content width in prezziario.tsx and testi-stringhe.tsx for better layout.
- Replaced static badge elements with the Badge component in chi-siamo.tsx, contatti.tsx, guida.tsx, prezzi.tsx, and proprietari.tsx for consistent styling.
- Updated button components to use the Button component in contatti.tsx and proprietari.tsx for improved accessibility and styling.
- Modified the TrovaCasaCTA and FrequentSearches components in index.tsx for better visual consistency and updated color usage.
- Refactored global CSS variables for improved color management and added new color variables for better theme support.
- Implemented dynamic loading for the KabanExample component in test.tsx to enhance performance.
2025-11-14 17:21:21 +01:00
219f76dd10 catasto 2025-11-13 15:45:55 +01:00
967935f0a8 Refactor comuni and provincie data structures; add dynamic FormDebug component
- Updated `initializeComuniNames` to accept an optional `provincia` parameter for filtering comuni by province.
- Renamed `getComuniNames` to `getComuni` and modified it to return an array of objects containing both comune names and their respective province siglas.
- Introduced `provincieWithSigla` array to map province names to their siglas, along with a new function `getProvinciaFromSigla` for retrieving province names based on sigla.
- Added a dynamic import for the `FormDebug` component to facilitate debugging in development mode while preventing it from rendering in production.
- Commented out console logs in `checkFiscalCodeValidity` for cleaner production output.
2025-10-30 18:13:50 +01:00
6acfc08169 new storage for files 2025-10-24 16:10:59 +02:00
3284ccbf0d feat: refactor and enhance Annuncio components for improved functionality and print support 2025-08-29 18:18:37 +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