Commit graph

10 commits

Author SHA1 Message Date
50a5b5c8e3 removed Storage vars 2026-05-19 18:44:32 +02:00
48b31a5491 mega update storage 2026-05-19 18:42:34 +02: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
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
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
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
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