Commit graph

8 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
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
597e1c720a
refactor: add missing nutritional values on products 2026-10-20 12:23:15 +02:00
b989a45864
refactor: update products csv file and parser 2026-10-19 13:10:17 +02:00
c35b65d76f
refactor: add "Sans élevage" on Breeding 2026-10-19 10:59:37 +02:00
33494d0360
refactor: phpcs,phpstan fixes with pint pass 2026-09-21 11:50:39 +02:00
028f769dbc
feat(products): add create and edit product pages
- Implemented Create and Edit pages for products with forms.
- Added validation and permissions handling for product actions.
- Introduced new product model and related types for better structure.
- Enhanced sidebar registry to remove auth dependency for link resolution.
- Updated routes to handle precognitive requests for product forms.
2026-09-21 11:36:52 +02:00
Jeremy Munsch
d29100bb61
refactor: add recipes and products with data migration from sharepoint doc 2026-09-21 11:35:41 +02:00