Commit graph

18 commits

Author SHA1 Message Date
e9c26d8b42 refactor: enhance build ID generation and API error handling in configuration 2025-11-25 12:04:53 +01:00
f4262b8711 feat: Refactor video handling in announcements
- Updated the announcement detail component to directly use images and videos from the data structure.
- Changed the form edit component to accommodate the new media structure, replacing AnnunciWithImages with AnnunciWithMedia.
- Modified the announcements list to initialize videos as an empty array.
- Enhanced the announcement view to handle external videos and updated the footer to display them correctly.
- Introduced a new utility function to generate YouTube embed URLs.
- Updated the database schema to replace url_video with external_videos and added a new videos_refs table for video management.
- Implemented video processing logic, including downloading, transcoding, and thumbnail generation.
- Added migration scripts for the new videos_refs table and updated existing references in the database.
2025-11-18 15:20:14 +01:00
5ea42bb24b upd 2025-10-23 15:16:42 +02: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
7db56a50ec feat: update CacheKey to use NEXT_PUBLIC_BUILD_ID for consistent caching 2025-10-16 11:58:15 +02:00
c84e315eee feat: implement CacheKey for image caching and update image sources across components 2025-10-16 11:16:50 +02:00
1aca72ac69 fix: update access token expiration to 1 minute and comment out secure flag 2025-09-04 11:55:46 +02:00
26e0754b1c d 2025-09-04 11:32:17 +02:00
5755b00d7b formatt 2025-08-29 16:18:32 +02:00
3f82763168 eslint migration biome 2025-08-28 18:27:07 +02:00
7241c19cd5 fix: update development scripts to use turbopack for improved performance 2025-08-28 14:29:16 +02:00
f0881a062f test with turbo 2025-08-28 13:46:51 +02:00
e20731e027 Enhance API error handling: add errorLink to handle UNAUTHORIZED errors and reload the page 2025-08-19 19:14:30 +02:00
5d8305b9ff Implement code changes to enhance functionality and improve performance 2025-08-06 16:26:14 +02:00
61e1d3246d Update SKIP_REDIS environment variable handling to use string comparison 2025-08-04 19:39:43 +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