Jérémy Munsch
faef51091e
feat(pickup-exceptions): implement upsert and query for public holidays
...
Added functionality to upsert pickup exceptions for public holidays
and query for auto-updated exceptions. This includes new classes
for handling input and service integration with the public holidays API.
2026-11-15 20:04:29 +01:00
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
0ae05e031d
feat(jobs): enhance SendMissingOrderReminderJob with ICS content generation
...
- Added IcsGeneratorService for generating ICS content.
- Updated MissingOrderReminderNotification to include cutoff date and ICS content.
- Refactored SendMissingOrderReminderJob to utilize new ICS generation logic.
- Introduced IcsContent value object for better ICS content handling.
- Added tests for new functionality in SendMissingOrderReminderJob and IcsGeneratorService.
2026-11-15 19:49:48 +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
746fe1274d
fix(product): adjust orderable start condition to include equality
...
This change ensures that products are considered orderable if the current time is equal to the orderable start time.
2026-11-15 19:43:56 +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
c4d9c84408
feat(policy): implement customer order limit policy with config values
...
Added CustomerOrderLimitPolicy to manage order limits based on configuration values.
Updated tests to reflect changes in constructor parameters.
2026-11-15 19:39:35 +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
ece1b7238d
fix(slides): update status handling for publishing and unpublishing
...
Refactor the logic to preserve scheduling dates when updating slide statuses.
2026-11-15 19:31:49 +01:00
Jérémy Munsch
e3611be210
fix(api): change default for ignore_self_signed_cert to false
...
This change ensures that self-signed certificates are not ignored by default, enhancing security.
2026-11-15 18:56:33 +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
359f762f87
refactor(infra): enforce Infrastructure isolation from App except Models
2026-11-15 18:10:28 +01:00
Jérémy Munsch
7f1bc1c563
refactor(app): remove legacy App\Repositories and migrate callers to Eloquent
2026-11-15 18:10:26 +01:00
Jérémy Munsch
574c2a1abe
refactor(stats): migrate StatsService to Eloquent and remove legacy App\Directories and dead UserRepository
2026-11-15 18:10:08 +01:00
Jérémy Munsch
5f6ccaa35d
refactor(orders): rename App\Services\OrderService to OrderOwnershipService
2026-11-15 17:55:55 +01:00
Jérémy Munsch
7d5fc6401e
fix(fo): filter unpublished ranges on product index and validate client_timezone in Date macros
2026-11-15 17:17:28 +01:00
Jérémy Munsch
4be9252c24
refactor(storage): extract PublicImageStorageService and clean up S3 image lifecycle on update/delete actions
2026-11-15 17:13:39 +01:00
Jérémy Munsch
48e9c9d38e
perf(products): avoid reloading already hydrated products in ProductDtoAssemblerService
2026-11-15 16:59:46 +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
ee6a6607dc
fix(employee): enforce start_date and align active status rules
2026-11-15 16:45:07 +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
8986570e1d
refactor(ToolboxHelper): remove unused method and import
...
Cleaned up ToolboxHelper by removing the unused stripCkEditorSchemesOnMediaInputs method
and its associated import, streamlining the code.
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
a0f84c5da7
fix(crm): handle CRM exceptions without caching on failures
...
Ensure that CrmService returns CrmServiceException when CRM fails
to retrieve customer data by hashcode or email, without caching the
result in case of errors.
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
341a66a2d1
fix(order): ensure validated status for orders with lines and shop
...
This change adds a condition to filter orders by validated status
when retrieving orders with lines and shop for a specific pickup day.
2026-11-15 16:45:04 +01:00
Jérémy Munsch
8c484ae053
fix(auth): correct Gate usage for customer permissions
...
Updated the Gate check to use forUser method for proper customer context.
2026-11-15 16:45:03 +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
3c34f4af28
fix(http): restrict trusted proxy headers to Traefik and prefer X-Real-Ip
2026-11-15 16:45:02 +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
455bcd4988
fix(holidays): preserve current year holidays and add daily catch-up sync
2026-11-15 16:45:02 +01:00
Jérémy Munsch
6dfef2c7a1
feat(cqs): buffer domain events until commit and add action lifecycle hooks
2026-11-15 16:45:01 +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
5d715094d1
refactor(cqs): delegate job, command and listener mutations to CQS actions via Executor
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
0684215511
feat(storage): add S3 disks, temporary file factory and image optimizer service
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
4a9af4a90a
refactor(database): squash migrations into mysql-schema.sql and harden Setting singleton
2026-11-15 16:44:57 +01:00