Commit graph

19 commits

Author SHA1 Message Date
d894f9d6ec feat: enhance user management and document handling; refactor service and schema integrations 2025-11-10 16:27:15 +01:00
fa8dcb7d86 feat: migrate document references from servizio to users_anagrafica table 2025-11-10 12:22:55 +01:00
82aeb763a0 refactor: Rename 'updated_at' column to 'media_updated_at' and update references throughout the codebase 2025-11-06 13:17:20 +01:00
3d70810937 feat(migrations): Add multiple database migrations for new tables and data seeding
- Created migration scripts for new tables including banlist, banners, event_queue, flags, testi_e_stringhe, and ratelimiter.
- Added data seeding for banners, etichette, flags, prezziario, and testi_e_stringhe with idempotent inserts.
- Initialized database with necessary extensions and user tables.
- Updated servizio table to include new columns for managing service states.
- Established foreign key relationships and unique constraints across various tables.
- Implemented sequences for auto-incrementing primary keys in several tables.
2025-10-30 19:14:31 +01:00
3d0d8ba830 refactor(dev-docker-compose): Remove unused environment variable from migrate service 2025-10-30 19:07:44 +01:00
5aeeebcb26 feat(migrations): Add new columns to servizio table for enhanced functionality 2025-10-30 18:43:14 +01:00
66ef4a7fbd feat(database): Add migrations for chat labels, messages, services, interests, announcements, pricing, orders, payments, and miscellaneous data
- Created tables for `chats_etichette`, `messages`, `servizio`, `servizio_interessi`, `servizio_annunci`, `prezziario`, `ordini`, `payments`, and `banlist`.
- Established primary and foreign key constraints for data integrity.
- Introduced enums for various types including `TipologiaPosizioneEnum`, `OrderTypeEnum`, and `PaymentStatusEnum`.
- Seeded initial data for banners, labels, flags, pricing, strings, and users.
- Implemented unique constraints where necessary to prevent duplicate entries.
2025-10-29 16:59:20 +01:00
527a7d7f57 Refactor GetAnnunciParsed and ParseAnnunci to include forceImages parameter for improved image processing control 2025-10-29 12:27:52 +01:00
fddf212c6d asd 2025-10-29 12:19:13 +01:00
5350d6bbe4 asdsad 2025-10-29 11:56:32 +01:00
0ac0e76fff updates 2025-10-29 11:17:48 +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
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
94fd389afa feat: update database schema and data with new fields for availability and payment options 2025-08-29 10:28:15 +02:00
750ec05a1e Add .dockerignore files and remove migration.sql
- Created a new .dockerignore file in the apps/db directory to exclude unnecessary files from Docker builds.
- Deleted the migration.sql file from the apps/db directory as it is no longer needed.
- Updated the .dockerignore file in the apps/infoalloggi directory to include additional files and directories to be ignored during Docker builds.
2025-08-28 14:58:43 +02:00
52712c25d5 Implement code changes to enhance functionality and improve performance 2025-08-16 19:38:38 +02:00
1c3e682515 Refactor interests table: replace with servizio_interessi and update constraints 2025-08-05 16:21:55 +02:00
edd57928c7 Remove sysctl settings from keydb service in docker-compose.yml and add TELEFONO field to user seed data in 3_seed_user.sql 2025-08-04 18:40:39 +02:00
29c64c7e39 init 2025-08-04 17:45:44 +02:00