Commit graph

127 commits

Author SHA1 Message Date
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
727f1e760c feat: add revalidation functionality and integrate it into various components and API routes 2025-10-17 19:14:27 +02:00
bc1f114837 feat: implement server-side rendering for various admin pages and update backend URL configuration 2025-10-17 18:12:10 +02:00
0e157b8ddd feat: add revalidation functionality for announcements with confirmation prompts 2025-10-15 15:45:24 +02:00
710ed8a97b feat: add sync router for handling user data synchronization 2025-09-04 12:41:07 +02:00
467933299e feat: add test page with buttons for logging and server mutation 2025-09-01 10:15:15 +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
9d80dad9bd Refactor editAnnuncio functionality to use AnnunciUpdate schema
- Updated the editAnnuncio procedure to accept a new input structure containing annuncioId and data.
- Removed the old EdiAnnuncioSchema and replaced it with a direct use of AnnunciUpdate.
- Simplified the editAnnuncioHandler to directly spread the data object into the database update call.
- Renamed getAnnuncioById to getAnnuncioByIdForEdit for clarity.
2025-08-28 12:37:32 +02:00
19d273ff49 fix: enhance pricing component formatting and update sorting logic in PrezzarioTable 2025-08-27 12:33:14 +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
485bcda0d3 Refactor session handling: implement useEnforcedSession for better session validation across components 2025-08-20 14:04:23 +02:00
f7553e827d Remove unused publicProcedure from testRouter and clean up mailer imports 2025-08-19 16:00:24 +02:00
df9313b3b4 Add logo attachment to email and update image source in Base component 2025-08-19 15:37:21 +02:00
a427edbe04 Enhance ServizioMain layout with flexbox and add delete functionality for user interests 2025-08-10 16:49:21 +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
9b44cad8eb Refactor pagination logic in AnnunciList and update API to use page and pageSize parameters for improved data fetching 2025-08-08 16:55:02 +02:00
7bfef22f80 Enhance Open Graph support by adding meta data retrieval and updating robots.txt for better SEO 2025-08-08 13:30:21 +02:00
41decd54f2 Add missing where clause to filter non-admin users in stats query 2025-08-08 10:05:32 +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
77f1bec4ce Fix user count retrieval in stats router to handle potential null values 2025-08-06 09:17:51 +02:00
c426566cca Frontend: Update Admin Dashboard with new TimeserieBarChart and TimeserieBarChartStacked components for enhanced analytics visualization 2025-08-05 19:23:55 +02:00
7018533f3f Frontend: Enhance Admin Dashboard: Add AnalyticsChart for generated contacts and update layout spacing 2025-08-05 18:04:15 +02:00
ef58dc618c Add SKIP_REDIS environment variable and handle KeyDB client initialization in various services 2025-08-04 18:59:33 +02:00
29c64c7e39 init 2025-08-04 17:45:44 +02:00