Commit graph

32 commits

Author SHA1 Message Date
a7e9f1d8ff refactor: update storage configuration to use environment variables 2025-10-29 10:08:37 +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
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
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
8b2de9472e feat: update GetAnnuncioParsed and ParseAnnunci methods for improved filtering and error handling 2025-10-15 14:52:30 +02:00
4524f1b4bc feat: refactor image handling and parsing logic, improve utility functions, and enhance route management 2025-10-15 14:27:06 +02:00
ada7f0b7e0 feat: update Docker configuration and add nginx setup for reverse proxy 2025-10-10 15:11:09 +02:00
ae6fb3a27b feat: implement email parsing and validation in parser package 2025-09-03 10:02:04 +02:00
9c47d57969 feat: update AnnunciInsert to set homepage and stato fields to false 2025-08-29 16:36:23 +02:00
7812e97131 date format 2025-08-29 10:16:49 +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
9fb9623671 fix: update data extraction and parsing for availability, permanence, and people in Annuncio 2025-08-27 17:03:57 +02:00
1ac2d4b3ab Refactor storage handlers to use centralized configuration
- Updated `fs.go` and `minio.go` to replace hardcoded storage paths with values from the new config package.
- Introduced a new `config` package to manage application configuration, including database and storage settings.
- Removed the `models.go` file from `typedefs` as it was no longer needed.
- Added a new `config.go` file to handle loading environment variables and application settings.
- Created a new `types.go` file in `typedefs` to define storage strategies.
- Updated `storage_handler.go` to utilize the new configuration structure.
2025-08-22 12:57:33 +02:00
2725098203 Refactor database handling and queries
- Updated DbHandler to accept configuration parameters instead of using environment variables directly.
- Moved database queries from handler.go to a dedicated queries package for better organization and separation of concerns.
- Implemented error handling in query functions to provide more informative error messages.
- Refactored image handling to utilize the new queries package for database interactions.
- Cleaned up unused code and comments across various files.
- Improved overall code readability and maintainability.
2025-08-22 10:11:07 +02:00
080002f4ae feat: add DbHandler and helpers for database operations with logging and utility functions 2025-08-21 13:54:15 +02:00
0837f447fc Refactor parser functionality: move ParseDettaglio and related tests to new parser package; remove unused utils functions 2025-08-21 13:53:55 +02:00
3b3d2e51ce feat: add utility functions for string manipulation, XML fetching, and directory handling 2025-08-21 13:53:38 +02:00
3e854270f0 feat: update type references to use typedefs in multiple files 2025-08-21 12:46:02 +02:00
2ef3c38c8a feat: refactor MiogestHandler to use typedefs and add ParseDettaglio function with tests 2025-08-21 12:45:53 +02:00
d4690ed653 Refactor test script to use echo for testing success instead of ping 2025-08-18 10:29:11 +02:00
24a5749272 Update scripts to use /bin/sh and ensure executable permissions 2025-08-18 10:22:02 +02:00
d471fe0f02 Add script files to Docker image 2025-08-18 09:55:51 +02:00
a7fdb2227a Add scripts for cleaning expired storage and updating jobs 2025-08-18 09:54:38 +02:00
3c63aa0eb8 Add og_url handling in InsertAnnunciInDB and extractData_update for improved Open Graph support 2025-08-08 11:25:55 +02:00
c0bf6f5156 Add Og_url field to AnnuncioParsed and AnnunciDB for improved image handling 2025-08-08 11:15:40 +02:00
9ed9a4c39e fix: update Dockerfile to use golang:1.24-bullseye base image 2025-08-07 17:24:33 +02:00
46e58c6b26 Update dependencies in go.mod and go.sum to latest versions 2025-08-05 10:06:17 +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