Commit graph

18 commits

Author SHA1 Message Date
4c4397d0ee refactor: remove debug print statements for Mq parsing 2025-11-25 12:15:08 +01:00
0ecd7ce30d refactor: change 'mq' type from string to float64 and update related parsing logic 2025-11-25 12:05:14 +01:00
40bd07ded3 refactor: enable logging in database handler and improve image/video processing feedback 2025-11-18 18:22:47 +01:00
1c4471a327 refactor: enhance video processing logic to include additional checks and logging for better debugging 2025-11-18 16:36:08 +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
527a7d7f57 Refactor GetAnnunciParsed and ParseAnnunci to include forceImages parameter for improved image processing control 2025-10-29 12:27:52 +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
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
ae6fb3a27b feat: implement email parsing and validation in parser package 2025-09-03 10:02:04 +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
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
2ef3c38c8a feat: refactor MiogestHandler to use typedefs and add ParseDettaglio function with tests 2025-08-21 12:45:53 +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
29c64c7e39 init 2025-08-04 17:45:44 +02:00