Commit graph

344 commits

Author SHA1 Message Date
b4b1dd21ac
refactor(NutritionalValue): improve value validation logic
Refactored the constructor to use strict comparison for value validation.
2026-11-05 12:56:14 +01:00
bb454c3684
feat(factory): update Product and Recipe factories for image paths and nutritional values
- Changed image URL generation to use UUIDs for consistency.
- Updated nutritional values to use new NutritionalValue objects.
2026-11-05 12:55:37 +01:00
47671eaa6f
refactor(Product): remove unused StorageService references
Cleaned up the Product model by removing the StorageService dependency and related deletion logic.
2026-11-05 12:34:57 +01:00
19a2af8d5b
refactor(PublicS3Disk): improve publicUrlOf method logic
Refactor the publicUrlOf method to enhance readability and maintainability.
2026-11-05 12:19:07 +01:00
bc69c9f64d
feat(products): implement GetBoPaginatedProductsQuery and input/output classes
feat(recipes): implement GetBoPaginatedRecipesQuery and input/output classes

feat(requests): add table parameter resolution for products and recipes
2026-11-05 12:17:58 +01:00
6c691f77fc
feat(queries): add new product and recipe queries with inputs
- Implement GetCategoriesProductsQuery and GetCategoriesProductsQueryInput for product category retrieval.
- Implement GetRelatedProductsQuery and GetRelatedProductsQueryInput for related product fetching.
- Implement GetFrontRecipesQuery and GetFrontRecipesQueryInput for front-end recipe listing.
- Implement GetRelatedRecipesQuery and GetRelatedRecipesQueryInput for related recipe fetching.
- Update ProductController and RecipeController to utilize new query classes.
- Enhance IndexProductRequest and IndexRecipeRequest to convert requests to query inputs.
2026-11-05 12:02:36 +01:00
04a9f97719
feat(recipes): implement CRUD actions for recipes
- Added actions for creating, updating, deleting, force deleting, and restoring recipes.
- Introduced input classes for each action to handle data validation and transfer.
- Implemented DTOs for recipes to facilitate data transfer between layers.
- Updated RecipeController to utilize new actions and input classes.
- Enhanced recipe model to manage picture URLs and storage.
- Updated frontend components to handle new data structures and display images correctly.
2026-11-05 11:54:19 +01:00
57faeada75
feat(dto): add CategoryProductsDto, ProductDto, and ProductSummaryDto
Add new DTOs for handling product and category data structures.
These DTOs facilitate data transfer and serialization for products and categories.

refactor(controller): update ProductController to use executor pattern

Refactor ProductController to utilize an executor for handling product creation,
updating, and deletion, improving code organization and maintainability.

refactor(controller): update RecipeController to use executor pattern

Refactor RecipeController to utilize an executor for handling recipe creation,
improving code organization and maintainability.

chore: remove MediaController

Remove MediaController as it is no longer needed in the application.

feat(request): enhance StoreProductRequest and UpdateProductRequest

Enhance StoreProductRequest and UpdateProductRequest to include methods for
transforming request data into input objects for actions.

chore: add ActionExecutorService for executing actions and queries

Introduce ActionExecutorService to handle the execution of actions and queries
with logging and transaction management.

chore(deps): update composer dependencies

Update composer dependencies to include webmozart/assert for improved type assertions.
2026-11-05 11:37:20 +01:00
da93f3e59e
feat(PublicS3Disk): initialize with S3 public endpoint
Updated PublicS3Disk to accept S3 public endpoint in constructor.
Enhanced publicUrlOf method to generate public URLs using the adapter.
2026-11-05 09:07:07 +01:00
1e670eb1c2
fix(MediaController): improve S3 URL generation logic
Ensure proper handling of S3 disk type and URL construction.
2026-11-05 07:57:14 +01:00
b67e4cff9f
chore(middleware): fix namespace for AdminSecureMiddleware 2026-11-05 07:40:39 +01:00
75609b7c26
chore(migration): remove obsolete model file migration script
This migration script is no longer needed and has been deleted.
2026-11-04 18:01:14 +01:00
1a09fbf269
chore(manifest): update AWS_URL to use APP_OVH_S3_URL
This change updates the AWS_URL configuration to use the APP_OVH_S3_URL variable for better clarity.
2026-11-04 18:00:57 +01:00
f21563522b
fix(migration): improve S3 file migration handling
Enhance the migration process to check multiple S3 disks for file existence
and handle exceptions more gracefully.
2026-11-04 17:44:29 +01:00
c31a2d5a08
chore(composer): update league/uri and symfony packages to latest versions
Updated dependencies to ensure compatibility and access to new features.
2026-11-04 17:32:26 +01:00
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
905666e168
chore(manifest): update Redis client from predis to phpredis
This change updates the Redis client configuration to use phpredis for improved performance and compatibility.
2026-11-04 11:23:29 +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
ac51908d5e
chore(docker): update frontend build process and dependencies
Replaced npm with bun for package management and build.
2026-11-04 10:59:16 +01:00
9c5bba55c0
chore(deps): update dependencies and add overrides for Tailwind CSS
- Updated various dependencies to their latest versions.
- Added overrides for @tailwindcss/typography to specify postcss-selector-parser version.
2026-11-04 10:43:48 +01:00
Jérémy
d54b8dda51 Merge branch 'externalize-model-files' into 'develop'
Externalize files using new built in house dep

See merge request ldc-web/projets/ovoteam!50
2026-11-04 10:32:13 +01:00
284907c2a6
feat(migration): add migration for model files to storage service
This migration handles the transfer of model files for products and recipes to the storage service.
2026-11-04 10:30:40 +01:00
be253a969e
chore(composer): update uwil/storage-laravel to version 1.0.2
chore(phpstan): refine PHPDoc error message for clarity
2026-11-04 10:18:52 +01:00
522cf7a87e
style: improve text wrapping and overflow handling in components
- Enhanced text wrapping and overflow handling in BreadcrumbsBase, ItemCard, PageHeader, Show (Products), and Show (Recipes) components for better responsiveness and readability.
2026-11-04 10:18:51 +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
26723b47f4
chore: update dependencies to latest versions
This update includes various dependency upgrades to improve stability and security.
2026-11-04 10:18:51 +01:00
e8cd693cb6
chore: update dependencies for improved stability
Updated various dependencies to their latest versions to enhance stability and security.
2026-11-04 10:18:50 +01:00
5a65ea9414
fix: restore dynamic pages and configuration 2026-11-04 10:18:50 +01:00
81be02c717
refactor(RecipeController, Recipe): externalize picture storage logic 2026-11-04 10:18:50 +01:00
dee327ce56
refactor(ProductController): externalize file storage logic
Updated product storage logic to utilize StorageService for handling file uploads and removals.
2026-11-04 10:18:49 +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
Jérémy
efb4584a25 Merge branch '48-update-assets' into 'develop'
fix: 🐛 use object-cover instead of object-contain/object-fit

Closes #48

See merge request ldc-web/projets/ovoteam!49
2026-11-04 10:10:14 +01:00
Corentin Huet
cbc98db487 fix: 🐛 use object-cover instead of object-contain/object-fit 2026-11-04 10:04:01 +01:00
Jérémy
c24a97345d Merge branch '43-update-content' into 'develop'
feat: ✨ update expertise since 1963 page content

Closes #43

See merge request ldc-web/projets/ovoteam!45
2026-11-04 09:58:23 +01:00
Jérémy
4d50aad375 Merge branch '45-seo' into 'develop'
feat: ✨ update page titles and meta descriptions

Closes #45

See merge request ldc-web/projets/ovoteam!46
2026-11-04 09:58:07 +01:00
Jérémy
7bc4f55912 Merge branch '47-range' into 'develop'
feat: ✨ update wide outdoor range page

Closes #47

See merge request ldc-web/projets/ovoteam!48
2026-11-04 09:57:38 +01:00
Corentin Huet
11c07644c0 feat: ✨ update wide outdoor range page 2026-11-02 11:33:39 +01:00
Corentin Huet
1476505853 feat: ✨ update page titles and meta descriptions 2026-10-28 12:32:00 +01:00
Corentin Huet
9f986d9043 feat: ✨ update expertise since 1963 page content 2026-10-28 12:27:19 +01:00
d32fd87d38
fix: made in france banner replacement Closes #36 2026-10-26 15:54:45 +01:00
Vincent BRIDIER
9718b292d9 Merge branch '20-rgpd' into 'develop'
docs: 📝 Added rgpd.md

See merge request ldc-web/projets/ovoteam!21
2026-10-26 13:17:20 +01:00
1fa2019cc4
refactor(requests): update validation rules for details field
Replaced max length validation with MaxStrippedLength for consistency.
2026-10-23 17:38:51 +02:00
f41ffc9257
fix: Fixes #40 resolve WYSIWYG counting 2026-10-23 17:09:57 +02:00
Jérémy
6172f00a38 Merge branch '36-ts-4032-refonte-site-v2-changement-de-visuel-banniere-page-fabrique-en-france' into 'develop'
Resolve "ts-4032 : Refonte site V2 - Changement de visuel bannière page "Fabriqué en France""

Closes #36

See merge request ldc-web/projets/ovoteam!43
2026-10-23 16:41:50 +02:00
ac7d180624
refactor: changement de hero page enagement 2026-10-23 16:39:20 +02:00
Jérémy
4bcb847d9d Merge branch '38-ts-4035-refonte-site-v2-modification-engagements' into 'develop'
Resolve "ts-4035 : Refonte site V2- Modification Engagements"

Closes #38

See merge request ldc-web/projets/ovoteam!42
2026-10-22 14:52:20 +02:00
Jérémy
b7ee6e3ed6 Merge branch '37-ts-4033-refonte-site-v2-modification-contenus-page-fabrique-en-france' into 'develop'
Resolve "ts-4033 : Refonte site V2 - Modification contenus page Fabriqué en France"

Closes #37

See merge request ldc-web/projets/ovoteam!41
2026-10-22 14:50:36 +02:00
3f853b8162
chore(data): remove sample.pdf from seed data
This file is no longer needed in the seed data.
2026-10-22 14:38:36 +02:00