Commit graph

21 commits

Author SHA1 Message Date
c3cee9910b
chore: integrate PublicS3Disk and PrivateS3Disk classes
- Added PublicS3Disk and PrivateS3Disk classes for S3 disk management.
- Updated ProductController and RecipeController to utilize PublicS3Disk for file uploads.
- Modified MediaController to redirect to S3 URLs.
- Enhanced migration script to support file migration to new S3 structure.
- Updated filesystem and storage service configurations for public/private S3 disks.
2026-11-04 16:42:20 +01:00
39bb68bbc8
chore(manifest): add SESSION_CONNECTION variable to manifest
This change introduces a new environment variable for session connection configuration.
2026-11-04 12:20:17 +01:00
22e97e0bc8
chore(manifest): add CACHE_PREFIX variable to manifest
Updated the manifest to include a CACHE_PREFIX variable for better cache management.
2026-11-04 11:50:51 +01:00
66f5d17480
chore(manifest): update environment variables for AWS and Redis
Added AWS configuration and Redis settings to the manifest.
2026-11-04 11:15:55 +01:00
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
Jeremy Munsch
9efcb32ee1
refactor: hudge bump !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111
Fixes #59
2026-10-16 14:00:55 +02:00
Jeremy Munsch
03ffaf5093
refactor: lint fixes 2026-09-25 13:25:27 +02:00
33494d0360
refactor: phpcs,phpstan fixes with pint pass 2026-09-21 11:50:39 +02:00
108e26f9c0
feat(sanitize): add HTML sanitization utility functions
- Introduced DOMPurify for sanitizing HTML inputs.
- Added `sanitizeRichHtml` and `toSanitizedHtml` functions for safe HTML rendering.
- Updated various components to use the new sanitization methods to prevent XSS attacks.
2026-09-21 11:47:38 +02: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
4421d8e770 feat: ✨ add k8s laravel package 2026-04-09 10:31:17 +02:00
K Muller
db25bec3e5 feat: ✨ add :
- sentry
- variables in manifest
- some dynamic pages
- breadcrumbs
- dynamic page resolver
2026-04-07 16:21:09 +02:00
K Muller
f42dc37674 feat: ✨ add Recaptcha provider / form 2026-04-03 13:56:21 +02:00
K Muller
2dd2c78fa7 chore: 📦 install backend 2026-03-30 14:17:31 +02:00
K Muller
eef93adb2c chore: 📦 update laravel-common > 5.1.1 2026-03-30 14:12:01 +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
f4bd2b6a56
Initial with given files 2024-02-05 11:50:43 +01:00