Commit graph

21 commits

Author SHA1 Message Date
43568aeb36 log and health check 2026-05-26 12:36:52 +02:00
a37eaac2a3 backend update 2026-05-26 12:04:53 +02:00
364f4a77b3 mediarefs 2026-05-22 15:49:28 +02:00
48b31a5491 mega update storage 2026-05-19 18:42:34 +02:00
65e58ab2db refactor: remove backup handling code and related HTML view 2026-03-16 10:21:21 +01:00
f1bd40afce feat: enhance update feedback with loading and success messages in forms and video processing 2026-03-02 16:33:54 +01:00
2d0745f9ec feat: add Facebook cache invalidation functions and update server routes 2026-01-30 15:28:03 +01:00
47be8bd54a chore: update .gitignore to include failed_requests and remove TODO file; refactor backup routes in server.go to comment out unused code 2026-01-19 16:48:21 +01:00
9b08ce09dc chore: update Dockerfile and add health check for storage service 2026-01-15 16:06:25 +01:00
19b4693512 feat: enhance error handling in MiogestHandler and add Check Annunci script 2026-01-13 11:08:38 +01:00
40bd07ded3 refactor: enable logging in database handler and improve image/video processing feedback 2025-11-18 18:22:47 +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
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
29c64c7e39 init 2025-08-04 17:45:44 +02:00