Commit graph

9 commits

Author SHA1 Message Date
e55889369b
refactor(requests): simplify file validation rules
Updated the UpdateProductRequest and UpdateRecipeRequest to use built-in validation rules for file uploads, removing custom validation methods for pictures and PDFs. This change streamlines the validation process and improves code readability.

refactor(helper): remove unused FileStorageHelper

Deleted the FileStorageHelper class as it was no longer needed, simplifying the codebase.

refactor(toolbox): clean up ToolboxHelper methods

Removed unused methods and simplified existing ones in ToolboxHelper to enhance maintainability.

feat(models): add translation search method to Product and Recipe

Added a new method `whereTranslationLike` to both Product and Recipe models to facilitate searching translations.

chore(config): add storage service prefix configuration

Introduced a new configuration option for storage service prefix to allow customization of media paths.

fix(validation): add file existence validation message

Added a French translation for the file existence validation message to improve user feedback.

feat(routes): add media route for file access

Implemented a new route for accessing media files through a MediaController, enhancing file management capabilities.
2026-11-04 10:18:51 +01:00
4745eb493f
chore: update AWS configuration and add storage service
- Set AWS access keys and endpoint in .env.example
- Add FilePathCast for handling file paths
- Update composer.json to include new dependencies
- Add storage-service configuration file
- Update French validation messages for nutritional values
2026-11-04 10:18:49 +01:00
1200bfea4c
refactor: product.index page with search 2026-09-21 11:43:38 +02:00
Jeremy Munsch
d29100bb61
refactor: add recipes and products with data migration from sharepoint doc 2026-09-21 11:35:41 +02:00
Alexis Gousseau
c4fd2b048e
fix: 🐛 change default mailer to smtp 2026-05-27 11:07:56 +02:00
K Muller
a6370dcb47 first commit 2026-03-16 12:36:44 +01:00
Noah Lancien
5d36251324 RESET 2025-09-18 15:37:26 +02:00
Jérémy Munsch
4134baecb2
Mail as env var 2024-02-06 12:37:28 +01:00
Jérémy Munsch
489127a270
Setup .env 2024-02-06 10:19:36 +01:00