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.
This change introduces a throttling middleware to limit the rate of requests
for adding, removing, and emptying the basket, enhancing the application's
performance and security.
- 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.
- 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.
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.
Updated the condition for orderable end to include equality, ensuring products are excluded correctly when the current date matches the orderable end date.
This change simplifies the constructors in the ForgotPasswordController, LoginController, RegisterController, and ResetPasswordController by removing unnecessary parent constructor calls.
- Implement tests for DiscountValueCast to validate percentage and amount handling.
- Add tests for EmailCast to ensure proper email handling.
- Create tests for EmployeeSitesCast to validate JSON and array handling.
- Implement tests for MatriculeCast to validate matricule handling.
- Add tests for MoneyCast to ensure proper money handling.
- Create tests for NutritionalValuesCast to validate nutritional values handling.
- Implement tests for OrderEmployeeCast to validate employee data handling.
- Add tests for OrderLineProductCast to validate order line product handling.
- Create tests for OrderReferenceCast to validate order reference handling.
- Implement tests for ShopperEstablishmentCodeCast to validate establishment code handling.
- Add tests for ShopperServiceCodeCast to validate service code handling.
- Create tests for ShopperSiteCodeCast to validate site code handling.
- Ensure password fields are preserved during sanitization.
- Validate rich HTML fields are purified correctly.
- Confirm HTTP scheme is stripped from oembed URLs after sanitization.
Ensure that CrmService returns CrmServiceException when CRM fails
to retrieve customer data by hashcode or email, without caching the
result in case of errors.