Jérémy Munsch
4dd7cc82fe
feat(order): add InactiveShopperException handling in order finalization
...
- Introduced InactiveShopperException to manage inactive shopper scenarios.
- Updated FinalizeOrder and FinalizeOrderOutput to handle new exception.
- Enhanced TunnelController and tests to ensure proper redirection and error handling.
2026-11-15 19:59:17 +01:00
Jérémy Munsch
47b0c16857
feat(auth): implement ResetCustomerPassword action and related classes
...
Adds functionality for resetting customer passwords, including input and output handling.
2026-11-15 19:57:38 +01:00
Jérémy Munsch
6c60e067f0
fix(auth): handle inactive employee response in password reset
...
Return a generic response for inactive employees instead of throwing an exception.
2026-11-15 19:52:29 +01:00
Jérémy Munsch
b62e15efc2
feat(product): add GetProductIncoForEditQuery and related classes
...
Implement GetProductIncoForEditQuery, its input and output classes to handle product INCO data retrieval.
Update ProductIncosController to utilize the new query for editing product INCOs.
Add tests for GetProductIncoForEditQuery to ensure correct behavior.
2026-11-15 19:47:32 +01:00
Jérémy Munsch
b10c22b931
refactor(requests): inject dependencies into AddBasketRequest
...
Updated AddBasketRequest to use dependency injection for Executor and GetProductWithPricingQuery.
2026-11-15 19:44:35 +01:00
Jérémy Munsch
5278c3e3f9
refactor(requests): inject Currency dependency into StoreDiscountRequest and StoreProductRequest
...
This change improves the handling of currency in discount and product requests.
2026-11-15 19:43:25 +01:00
Jérémy Munsch
2884a76a76
refactor(auth): move URL generation for email verification and password reset to AuthServiceProvider
...
This change centralizes the URL generation logic for email verification and password reset, improving maintainability.
2026-11-15 19:42:03 +01:00
Jérémy Munsch
66e406499d
refactor(auth): remove parent constructor calls in auth controllers
...
This change simplifies the constructors in the ForgotPasswordController, LoginController, RegisterController, and ResetPasswordController by removing unnecessary parent constructor calls.
2026-11-15 19:41:27 +01:00
Jérémy Munsch
6ff09f1369
fix(verification): remove parent constructor call in constructor
...
This change ensures that the parent constructor is not called,
which may be necessary for the current functionality.
2026-11-15 19:34:39 +01:00
Jérémy Munsch
5491c4fc30
fix(auth): avoid flashing login success for unverified customers
2026-11-15 18:25:48 +01:00
Jérémy Munsch
bb23dae81e
perf(basket): eliminate N+1 queries and return BasketDto from GetBasketQuery
2026-11-15 16:59:45 +01:00
Jérémy Munsch
2f76a874d9
refactor(orders): decouple basket and order tunnel via domain events
2026-11-15 16:45:06 +01:00
Jérémy Munsch
bf1c0d7d4e
test(HtmlSanitizer): add tests for HTML sanitization behavior
...
- Ensure password fields are preserved during sanitization.
- Validate rich HTML fields are purified correctly.
- Confirm HTTP scheme is stripped from oembed URLs after sanitization.
2026-11-15 16:45:05 +01:00
Jérémy Munsch
d1d0585b34
fix(contact): update orderRef to use OrderReference value object
...
Refactor orderRef handling in contact forms to ensure proper validation and type safety.
2026-11-15 16:45:05 +01:00
Jérémy Munsch
10b97e3a00
fix(orders): handle invalid timeslot format gracefully
...
Catch InvalidArgumentException when timeslot format is invalid to prevent failures.
2026-11-15 16:45:04 +01:00
Jérémy Munsch
3426ea22a9
security(auth): enforce active employment and email verification on password reset
2026-11-15 16:45:03 +01:00
Jérémy Munsch
ff780a7a46
security(contact): throttle contact submissions and idempotently delete S3 attachments via SendContactMailJob
2026-11-15 16:45:03 +01:00
Jérémy Munsch
4771ef9a72
fix(auth): prevent registration on already assigned employee
2026-11-15 16:45:02 +01:00
Jérémy Munsch
79ae763e88
fix(orders): serialize order finalization with distributed lock via #[Locked] attribute
2026-11-15 16:45:01 +01:00
Jérémy Munsch
4c3fa373da
fix(orders): revalidate timeslot cutoff, product orderability and use contractual FinalizeOrderOutput
2026-11-15 16:45:01 +01:00
Jérémy Munsch
93e4b202da
feat(products): enhance product form data with additional fields
...
Added support for new product attributes including tax rate, invoicing unit, order unit, and orderable dates. Updated related queries and views to accommodate these changes.
2026-11-15 16:45:00 +01:00
Jérémy Munsch
758fec824d
refactor(phpstan): reach PHPStan level 10 compliance and enforce global namespace prefixes
2026-11-15 16:44:59 +01:00
Jérémy Munsch
3af75ac974
feat(uploads): enforce MIME/extension validation and display upload rules on BO/FO forms
2026-11-15 16:44:59 +01:00
Jérémy Munsch
9808ef9769
refactor(products): decouple views, policies and queries from Eloquent model via ProductDtoAssemblerService
2026-11-15 16:44:58 +01:00
Jérémy Munsch
cfba7f4756
refactor(storage): migrate media models, basket value objects and CQS actions to S3
2026-11-15 16:44:58 +01:00
Jérémy Munsch
e4db1a476d
refactor(infra): configure PVC-less volumes, /tmp purifier cache and S3 CSP headers
2026-11-15 16:44:57 +01:00
Jérémy Munsch
74ab9b3041
refactor: reorganize imports across multiple controllers and jobs
...
This commit refactors the import statements in various controllers and jobs
to improve code organization and readability. Unused imports were removed,
and necessary imports were added to ensure proper functionality.
2026-11-10 18:15:32 +01:00
Jérémy Munsch
d0efb0f527
refactor: update namespaces for actions and queries
...
Refactored the codebase to change the namespaces of various actions and queries from `App\Actions` to `App\Cqs\Actions` and `App\Queries` to `App\Cqs\Queries`. This restructuring improves organization and clarity in the codebase.
2026-11-10 15:13:26 +01:00
Jérémy Munsch
e857a58d00
test(Product): add comprehensive tests for Product entity
...
- Implement tests for product publication status.
- Add tests for product orderability based on various conditions.
- Enhance pricing calculation tests for different discount scenarios.
- Remove outdated PricingServiceTest and refactor ProductAvailabilityServiceTest.
2026-10-29 19:48:38 +01:00
Jérémy Munsch
7b910c5af6
refactor(UpdateShopPickupExceptionsRequest): remove unused messages method
...
Cleaned up the code by removing the messages method as it was not utilized.
2026-10-29 18:43:02 +01:00
Jérémy Munsch
0874259eba
style(FilteredProductResource): fix indentation for nutriscore line
2026-10-29 17:10:13 +01:00
Jérémy Munsch
8e42639134
feat(order): implement change selected order functionality
...
Add functionality to change the order of models in the product list.
This includes new actions, requests, and UI components for user interaction.
2026-10-29 16:39:23 +01:00
Jérémy Munsch
a94d8a4b49
feat(products): add discount filtering to product index
...
- Implement discount filtering in product queries and views.
- Update related request and response handling for discounts.
2026-10-29 16:09:41 +01:00
Jérémy Munsch
82697ed416
fix(products): respect is_old_price_displayed discount setting in product cards
...
- Condition strikethrough price display on showStrippedPrice in ProductCard.vue
- Add showStrippedPrice to product Zod schemas, TypeScript types, repositories and store
- Optimize showStrippedPrice in FilteredProductResource using eager-loaded validDiscount
- Add unit tests for productModelSchema and integration tests in ProductsControllerTest
2026-10-29 15:08:53 +01:00
Jérémy Munsch
1e1172b757
feat(validation): update address attribute to use postal_address
...
Updated the address attribute in multiple requests and views to use the new 'postal_address' translation key for consistency.
2026-10-28 12:51:06 +01:00
Jérémy Munsch
5a0cc6c519
feat(ContactFormRequest): add attributes method for validation messages
...
Added a method to define custom attribute names for validation.
2026-10-28 10:56:39 +01:00
Jérémy Munsch
4ff3daecab
refactor(Auth): improve reset URL handling and validation
...
refactor(Helpers): update parameter types and remove ignores
refactor(Models): streamline order assignment logic
refactor(Enums): clarify unused constant warnings
refactor(Services): encapsulate cutoff week offset logic
2026-10-28 08:53:34 +01:00
Jérémy Munsch
1899fd1f0e
chore: phpcs fix
2026-10-27 20:20:52 +01:00
Jérémy Munsch
8e213e2e33
fix: htmlsanitizer and contact form validation
2026-10-27 20:18:08 +01:00
Jérémy Munsch
b8a0f16efa
fix(Crm): update customer input handling in UpdateCustomer action
...
Refactor input validation and data preparation for customer updates.
2026-10-27 18:57:46 +01:00
Jérémy Munsch
eacb445b55
refactor: phpcs fixes on StoreShopRequest
2026-10-27 09:58:58 +01:00
Jérémy Munsch
353b899c3f
refactor(bo): change dispatch method for employee sync job
...
Updated the dispatch method to use dispatchAfterResponse for the employee sync job.
2026-10-27 09:58:55 +01:00
Jérémy Munsch
87661b2a60
refactor: migrate customer registration and mass actions to actions
2026-10-27 09:58:55 +01:00
Jérémy Munsch
17f898e3f9
feat(domain): introduce DiscountRate VO and eliminate float rounding in pricing calculations
2026-10-27 09:58:54 +01:00
Jérémy Munsch
14647576df
feat(bo/product-incos): adapt BO controller, requests, routes and views for Arcadia INCO management
2026-10-27 09:58:53 +01:00
Jérémy Munsch
5492ffe217
refactor(orders): simplify OrderReference to wrap UuidInterface directly and remove obsolete UuidConverter
2026-10-27 09:58:51 +01:00
Jérémy Munsch
bae633e312
style: fix phpcs sniffs and complexity warnings
2026-10-27 09:58:51 +01:00
Jérémy Munsch
15e729cbe2
style: prefix global PHP classes with backslash instead of importing them
2026-10-27 09:58:49 +01:00
Jérémy Munsch
d4db0cffc6
fix(slides): allow empty text in slide requests and indicate connected visibility in BO
2026-10-27 09:58:48 +01:00
Jérémy Munsch
f84a1a7b8c
fix(orders): preserve pagination and query parameters in IndexOrdersRequest
2026-10-27 09:58:46 +01:00