Commit graph

597 commits

Author SHA1 Message Date
5350d6bbe4 asdsad 2025-10-29 11:56:32 +01:00
0ac0e76fff updates 2025-10-29 11:17:48 +01:00
8a73a8e67d sdf 2025-10-29 11:14:39 +01:00
9218d2f7ac Add user seeding SQL script and initial Docker Compose configuration
- Created a new SQL migration script to seed a default user into the USERS table.
- Added a comprehensive Docker Compose configuration for the application, including services for the database, MinIO, KeyDB, backend, and web components.
- Configured health checks and environment variables for each service to ensure proper startup and connectivity.
2025-10-29 11:06:53 +01:00
a7e9f1d8ff refactor: update storage configuration to use environment variables 2025-10-29 10:08:37 +01:00
7630e4273b s 2025-10-29 09:50:49 +01:00
bff55bcb40 a 2025-10-29 09:45:07 +01:00
bd5a35a172 Refactor service document handling and contact modal
- Removed temp_tokens data from SQL initialization.
- Updated AllegatiComp to invalidate additional service announcements on file removal.
- Simplified imports in interactions.tsx and removed unused components.
- Enhanced ServizioContent layout for better display of announcements.
- Adjusted button styles in servizio_annunci_accordions for responsiveness.
- Streamlined ricerca-table by removing unnecessary ServizioProvider wrapping.
- Modified upload modal to support new upload callback structure.
- Added new document reference fields to Servizio schema.
- Introduced UsersStorageUserStorageId type for better type safety.
- Updated servizio.controller to include document references in service announcements.
- Changed storage.controller to return user_storage_id on conflict.
- Updated docker-compose to streamline storage service configuration.
- Created migration script for new foreign key constraints on document references.
- Implemented ContattiProprietarioModal to manage document uploads and contact unlocking.
2025-10-29 09:39:06 +01:00
f3c4f231a9 refactor: remove ASPNETCORE_PORT configuration from server settings 2025-10-29 09:24:49 +01:00
c389a58832 refactor: remove MinIO configuration arguments from Dockerfile 2025-10-29 09:24:15 +01:00
020b13db0b feat: add storage token configuration and update storage request URLs 2025-10-29 09:23:13 +01:00
f006b4f658 feat: add WhatsApp button and update contact warning style in ContattiProprietarioData 2025-10-28 14:57:41 +01:00
15a8d41a16 feat: update contact modal to include 'Owner/Reference' label 2025-10-28 14:54:26 +01:00
1f2bfc9907 refactor: remove unused production compose script and update service references in dev_utils_compose.sh 2025-10-28 14:44:14 +01:00
d94a1e7836 fix: update storage image reference to remove variable interpolation 2025-10-28 13:20:04 +01:00
262cf0cbb4 feat: add image description label with commit info in build_and_push_ghcr.sh 2025-10-28 13:18:05 +01:00
ec377438cf feat: add confidentiality notice to SchedaAnnuncio component 2025-10-28 12:44:26 +01:00
7b545f21cb refactor: consolidate keydb services into dev-docker-compose.yml and remove redundant keydb-docker-compose.yml 2025-10-28 12:44:22 +01:00
f85ea22215 chore: update biome schema and dependencies, refactor key usage in components
- Updated biome schema version from 2.2.2 to 2.3.1 in biome.json.
- Removed experimentalScannerIgnores from files section and replaced with ignore patterns.
- Added CSS parser configuration for Tailwind directives.
- Updated linter rules for better code quality.
- Refactored key usage in various components to use unique identifiers instead of array indices.
- Updated package-lock.json and package.json to reflect new biome version.
- General code cleanup and improvements across multiple components for better maintainability.
2025-10-28 11:55:01 +01:00
b83527eb97 cleanup 2025-10-28 10:54:42 +01:00
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
7f93bdeb98 refactor: update storage-related API and components for improved functionality 2025-10-24 18:05:51 +02:00
7b619e54db refactor: remove unused setOpen prop from ARMinimizableLinks component 2025-10-24 16:17:53 +02:00
6acfc08169 new storage for files 2025-10-24 16:10:59 +02:00
f7003fc6b9 fix: remove unused SENDGRID_API_KEY from backend environment variables 2025-10-23 15:28:33 +02:00
c05341ad42 fix: update deployment condition to match correct package name 2025-10-23 15:19:27 +02:00
5ea42bb24b upd 2025-10-23 15:16:42 +02:00
6a5820dda1 test new storage 2025-10-22 15:41:53 +02:00
eabe7f36c1 refactor: update TODO list with new cache key and last update visibility 2025-10-22 09:25:34 +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
40076ce48a cleanup 2025-10-21 16:57:59 +02:00
1e3a28d81a fix: update global CSS file name and add new Radix UI components
- Changed global CSS file reference from "global.css" to "globals.css" in components.json.
- Added new dependencies for Radix UI components in package.json and package-lock.json.
- Updated the ServizioContent component to include new dialog functionality for managing announcements.
- Removed commented-out code in RicercaUser component for cleaner codebase.
2025-10-21 14:35:06 +02:00
2cb7067beb refactor: enhance sidebar functionality with cookie state management and animations 2025-10-21 14:34:24 +02:00
d2548e8854 refactor: remove redundant orderBy clauses in getAllServizioAnnunci function 2025-10-21 14:33:47 +02:00
c7db99376d annuncio image height 2025-10-21 14:33:41 +02:00
028a0b7057 refactor: remove unused getStaticPaths function from user communications page 2025-10-20 18:02:45 +02:00
11129d6ecb refactor: update getStaticProps to getServerSideProps in user-related pages for improved data fetching 2025-10-20 18:00:53 +02:00
b84c98c334 refactor: replace baseUrl prop with env.BASE_URL in email components 2025-10-20 17:27:32 +02:00
f2ee374e32 fix cid 2025-10-20 17:08:13 +02:00
f904500e2d refactor: remove check-env-vars.js and update lint script to streamline environment checks 2025-10-20 16:42:43 +02:00
8a17863c85 feat: update environment variable handling for BASE_URL and NEXT_PUBLIC_BASE_URL across Docker and application files 2025-10-20 16:39:59 +02:00
8e4d73941f fix: restore shared NEXT_PUBLIC_BASE_URL definition in environment configuration 2025-10-20 16:26:26 +02:00
Marco
d29943f2a4
Delete .env.marcopedone 2025-10-20 16:23:29 +02:00
Marco
e3da36a313
Delete .env.infoalloggi 2025-10-20 16:23:15 +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
60e3f26fd8 fix: update BASE_URL to INTERNAL_BASE_URL in revalidationHelper and remove unused BASE_URL from docker-compose 2025-10-20 15:04:35 +02:00
07767dd51b fix: update environment variable handling and add baseUrl prop to email components for improved functionality 2025-10-20 12:33:49 +02:00
42249a75e2 fix: add inputId prop to CodiceBox in multiple components for improved accessibility 2025-10-20 11:56:54 +02:00
af6ba02d67 fix: adjust z-index values in MapSection and RicercaFilters components 2025-10-20 11:53:21 +02:00
9bea29607b fix: update z-index for CodiceBox in RicercaFilters component 2025-10-20 11:49:30 +02:00