Commit graph

31 commits

Author SHA1 Message Date
208deeac28 Refactor image handling in announcement components
- Updated CardAnnuncio and related components to use a new images structure instead of url_immagini.
- Removed references to url_immagini and replaced them with images array containing img and thumb properties.
- Adjusted API responses to include images in the new format.
- Modified middleware and storage service to accommodate new image handling.
- Cleaned up unused code and schemas related to old image references.
- Updated Docker configuration for storage service.
2025-10-27 17:58:42 +01:00
8fe0b6636d Refactor TypeScript schemas and enums for consistency and readability
- Updated enum definitions in PaymentStatusEnum and TipologiaPosizioneEnum to use single quotes and consistent formatting.
- Refactored Payments, Prezziario, Ratelimiter, Servizio, and other schema files to ensure consistent indentation and formatting.
- Added `updated_at` field to various queries in interests and servizio controllers.
- Removed unused imageCache utility file.
2025-10-21 18:42:03 +02:00
699579b432 feat: update environment variable handling and dependencies
- Added @t3-oss/env-nextjs for improved environment variable management.
- Updated zod to version 4.1.12 for enhanced validation capabilities.
- Upgraded jiti to version 2.6.1 for better module loading.
- Refactored environment variable imports from env.mjs to env.ts.
- Removed deprecated env.mjs file and replaced it with a new env.ts file using @t3-oss/env-nextjs.
- Adjusted various components and API routes to utilize the new environment variable structure.
- Updated next.config.js to support the new environment variable management.
- Modified Docker configuration to align with new BASE_URL handling.
2025-10-20 16:22:20 +02:00
054b9eff9a fix: improve revalidation logic by decoding path and invalidating cache after updates 2025-10-17 19:48:28 +02:00
727f1e760c feat: add revalidation functionality and integrate it into various components and API routes 2025-10-17 19:14:27 +02:00
0e157b8ddd feat: add revalidation functionality for announcements with confirmation prompts 2025-10-15 15:45:24 +02:00
37842177a6 fix: improve error handling in login mutation to display error messages 2025-10-15 15:05:56 +02:00
a87a35ffbe sort classes rule and fix 2025-10-10 16:18:43 +02:00
9961a6503c feat: add subtitle to login form and update translations for English and Italian 2025-09-09 10:34:19 +02:00
be0cd554a6 fix: update payment ID reference in createIntentHandler for correct query execution 2025-09-05 16:59:52 +02:00
d5894f6ec4 refactor: centralize token configuration and update cookie handling in auth middleware and controllers 2025-09-04 12:35:44 +02:00
0bc1a0915c feat: add video support to CarouselAnnuncio and integrate VideoPlayer component 2025-09-01 15:59:08 +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
5a6f23b4e8 fix: add compiler configuration to next.config for console removal 2025-08-28 13:31:03 +02:00
9f05c19494 Implement code changes to enhance functionality and improve performance 2025-08-28 13:19:43 +02:00
26f1664696 fix: remove unused DevTool import from FormPrezzo component 2025-08-28 10:52:19 +02:00
19d273ff49 fix: enhance pricing component formatting and update sorting logic in PrezzarioTable 2025-08-27 12:33:14 +02:00
4982d064e3 feat: add EditServizioAdmin component and integrate into ServizioActions 2025-08-23 17:13:43 +02:00
887f4e8f1d fix: update prezzo_cent validation to ensure non-negative values 2025-08-22 16:23:00 +02:00
237c068409 style: adjust spacing in FormPrezzo and update DialogContent max width in EditPrezzoModal 2025-08-22 15:55:43 +02:00
3127f773ba Add localization support for service confirmation and payment pages 2025-08-13 17:29:26 +02:00
6953be6936 Update default value logic for tipologia selection in FormNewServizio and FormNewServizioAcquisto components 2025-08-13 16:49:35 +02:00
f9a577961d Restrict 'skipOrdine' field visibility based on admin status in FormNewServizioAcquisto 2025-08-10 16:22:42 +02:00
b0bbeba2bb Restrict visibility of 'skipOrdine' field to admin users in FormNewServizioAcquisto 2025-08-10 16:21:57 +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
0be8a9d4d2 Increase refetchInterval in SessionProvider for improved data consistency 2025-08-08 19:58:03 +02:00
aa0f506dbf refactor: remove unused FormDebug component from FormNewServizioAcquisto 2025-08-07 16:19:02 +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