Jérémy Munsch
ec6e220138
test(tests): update Carbon usage in GetPickTimeSlotQueryTest and IcsGeneratorServiceTest
...
Refactor date handling to use CarbonImmutable for consistency in tests.
2026-11-16 12:54:30 +01:00
Jérémy Munsch
7698821501
test(tests): add namespace declarations to test files
2026-11-16 12:54:16 +01:00
Jérémy Munsch
a2fd843398
test(tests): add unit tests for session-based basket repository
...
Added tests for the SessionBasketRepository to ensure correct behavior when finding, persisting, and deleting baskets in the session.
2026-11-16 12:53:27 +01:00
Jérémy Munsch
4c8280d932
test(tests): prune constructor-only DTO tests and consolidate contracts (lot 2C)
2026-11-16 12:50:19 +01:00
Jérémy Munsch
712d42ed96
test(tests): remove generic enum, exception string, and invariant-free input tests (lot 2B)
2026-11-16 12:47:36 +01:00
Jérémy Munsch
80d3478dbe
test(tests): merge unique assertions and remove strict duplicate test files (lot 2A)
2026-11-16 12:46:06 +01:00
Jérémy Munsch
875d6dd01d
test(tests): apply step 1 hygiene, clock reset, and explicit Arcadia policy skips
2026-11-16 12:39:21 +01:00
Jérémy Munsch
8a3d6a8156
chore(phpstan): add phpstan-mockery extension for testing
...
This addition enhances the testing capabilities by integrating phpstan-mockery.
2026-11-16 12:36:26 +01:00
Jérémy Munsch
50cef3b0cf
chore(dependencies): add phpstan-mockery for improved testing
...
This addition enhances the testing capabilities by integrating the PHPStan Mockery extension.
2026-11-16 11:49:32 +01:00
Jérémy Munsch
ea06b37a47
refactor(BaseEnum): improve cache handling and type annotations
...
Enhanced type annotations for cache variables and improved readability of the toLabels, toValues, and getCustomDefinitions methods.
2026-11-16 11:44:31 +01:00
Jérémy Munsch
cbb1ed812b
test(UpsertEmployeesFormFile): assert result is PendingCommand
2026-11-16 11:41:51 +01:00
Jérémy Munsch
d45022d8a4
fix(SessionBasketRepository): handle corrupted session payload correctly
...
Ensure that corrupted session data is ignored and null is returned, improving robustness.
2026-11-16 11:40:24 +01:00
Jérémy Munsch
f658dd4b64
refactor(tests): remove unused imports in test files
...
Cleaned up test files by removing unnecessary imports to improve readability.
2026-11-16 11:40:10 +01:00
Jérémy Munsch
d1f0b21ad5
refactor(EntityId): move UUID validation to EntityId constructor
...
Refactored the EntityId class to include UUID v7 validation in the constructor, ensuring all derived classes inherit this behavior.
2026-11-16 11:39:52 +01:00
Jérémy Munsch
3916771f69
test: update tests to remove schema creation and use factories
...
Refactor tests to eliminate schema creation in beforeEach hooks and utilize model factories for data setup.
2026-11-16 11:22:47 +01:00
Jérémy Munsch
c429697025
chore(deps): upgrade uwil/laravel-k8s to ^4.0 and uwil/sitemap-generator to ^8.1
2026-11-16 11:08:01 +01:00
Jérémy Munsch
2d616ed3b4
fix(translations): add missing employee account message in fr.json
...
Ensures consistency in employee account messages for French localization.
2026-11-16 10:39:39 +01:00
Jérémy Munsch
0116d220d4
feat(sitemap): implement sitemap generation and configuration
...
- Added new sitemap generation configuration.
- Removed deprecated refresh-sitemap configuration.
- Updated Product model to implement Sitemapable interface.
- Upgraded sitemap-generator dependency to version 8.1.
2026-11-16 10:35:40 +01:00
Jérémy Munsch
1e872f09d3
refactor(logging): remove 'daily' channel from k8s logging configuration
...
Simplifies the logging setup for Kubernetes by using only 'stdout'.
2026-11-16 10:05:46 +01:00
Jérémy Munsch
317ca4cd03
fix(sync): move Arcadia API calls outside transactions, track per-site employee cursors, and release reminder claim on failure
2026-11-16 08:45:40 +01:00
Jérémy Munsch
1ae8f65d7c
fix(integrity): include trashed products in max order and purge CRM email cache on deletion
2026-11-16 03:41:39 +01:00
Jérémy Munsch
3d1c798c08
refactor(orders): split pending placement, non-transactional Regate SMTP export and final confirmation
2026-11-16 03:32:57 +01:00
Jérémy Munsch
3e4dfdad4e
feat(tunnel): detect basket price changes during order finalization
2026-11-16 03:10:25 +01:00
Jérémy Munsch
fae7690161
fix(security): escape slider description/toast text and validate product brand and alt fields
2026-11-16 02:50:39 +01:00
Jérémy Munsch
d46d5e7b23
fix(auth): prevent premature customer creation and enforce active employee registration
2026-11-16 02:35:42 +01:00
Jérémy Munsch
f6bae64859
fix(fo): exclude unpublished products from associated products on product detail page
2026-11-16 02:18:51 +01:00
Jérémy Munsch
285f42c684
fix(shopper): evaluate employee calendar dates in Europe/Paris and document BO order cancel
2026-11-16 02:10:50 +01:00
Jérémy Munsch
92dd038cb9
fix(pickup): align scheduling on Europe/Paris cutoff and attach holidays on shop creation
2026-11-16 01:58:44 +01:00
Jérémy Munsch
abf3839f98
fix(dates): enforce UTC and calendar-date casts across models, requests and BO views
2026-11-16 01:58:43 +01:00
Jérémy Munsch
6663f0f66f
fix(fo): invert is_orderable condition for opacity and coming soon badge
2026-11-16 01:30:10 +01:00
Jérémy Munsch
550f2a11c8
fix(fo): use ProductWithPricingDto for product policy checks in FO views
2026-11-16 01:16:56 +01:00
Jérémy Munsch
f0617c06ce
feat(i18n): translate StatsShopType labels and synchronize fr/en json files
2026-11-16 01:01:41 +01:00
Jérémy Munsch
d0a49ec77c
fix(validation): use translation keys in Adult rule
2026-11-16 01:01:41 +01:00
Jérémy Munsch
0411e1d73b
refactor(datatable): require column listing resolver dependency in DataTableService
2026-11-16 01:01:33 +01:00
Jérémy Munsch
2c2a0502d6
refactor(routing): execute published product route binding via Executor
2026-11-16 00:53:36 +01:00
Jérémy Munsch
4bbea5d285
fix(bo): check proper model policy in ranges and pickup exceptions index views
2026-11-16 00:53:36 +01:00
Jérémy Munsch
13aec6bad8
fix(bo): authorize update in ChangesModelOrder actions
2026-11-16 00:53:11 +01:00
Jérémy Munsch
1ad8fc45a0
chore(arch): include shared, domain, and infra in lint/arch checks
2026-11-16 00:49:51 +01:00
Jérémy Munsch
13158d7301
chore(tests): configure phpstan, phpcs, and structural test setup
2026-11-16 00:39:49 +01:00
Jérémy Munsch
8029bcd959
test(actions): add missing integration tests for Products, Basket, CRM, and Orders
2026-11-15 22:11:27 +01:00
Jérémy Munsch
e0d2074b2b
fix(orders): render RegateExportFailedException gracefully while keeping rollback and Sentry reporting
2026-11-15 21:57:14 +01:00
Jérémy Munsch
fdb7df5858
fix(auth): prevent CRM split-brain and add post-commit hooks in RegisterCustomer
2026-11-15 21:44:33 +01:00
Jérémy Munsch
c427b60210
feat(jobs): handle shop pickup exceptions, chunking, and cache deduplication in SendMissingOrderReminderJob
2026-11-15 21:39:33 +01:00
Jérémy Munsch
3d4c4f74de
feat(jobs): add chunking and idempotent reminded_at tracking to SendReminderMail
2026-11-15 21:39:32 +01:00
Jérémy Munsch
efbd507ac9
feat(jobs): implement unique job handling for reminders
...
Added ShouldBeUnique interface to SendMissingOrderReminderJob and SendReminderMail for unique job processing.
2026-11-15 20:39:57 +01:00
Jérémy Munsch
86e7340c48
feat(products): add success and failure handling for product actions
...
- Implemented HandlesSuccess and HandlesFailure interfaces in CreateProduct and UpdateProduct actions.
- Added tracking of uploaded paths and cleanup on failure.
- Enhanced image storage handling to ensure proper cleanup of orphaned files.
feat(ranges): add success and failure handling for range actions
- Implemented HandlesSuccess and HandlesFailure interfaces in CreateRange and UpdateRange actions.
- Added tracking of uploaded paths and cleanup on failure.
- Enhanced image storage handling to ensure proper cleanup of orphaned files.
feat(slides): add success and failure handling for slide actions
- Implemented HandlesSuccess and HandlesFailure interfaces in CreateSlide and UpdateSlide actions.
- Added tracking of uploaded paths and cleanup on failure.
- Enhanced image storage handling to ensure proper cleanup of orphaned files.
chore: introduce TracksPendingStoragePaths trait
- Created a new trait to manage tracking of uploaded and obsolete storage paths.
- This will streamline the handling of file cleanup across various actions.
test: add tests for action failure handling and cleanup
- Added tests to verify that uploaded files are cleaned up on action failure.
- Ensured that previous files are preserved during rollback scenarios.
2026-11-15 20:31:37 +01:00
Jérémy Munsch
d2179fcdc8
style(SecureHeaders): update Content Security Policy directives
...
Refine CSP directives for improved security and clarity.
2026-11-15 20:15:08 +01:00
Jérémy Munsch
3ff21bdd49
feat(orders): implement CancelOrder action with output handling
...
Added CancelOrder action to handle order cancellations with appropriate output responses.
2026-11-15 20:12:16 +01:00
Jérémy Munsch
3f73535ce7
test(ResetCustomerPassword): update tests to check remember_token behavior
...
Ensure that the remember_token is retained for inactive shoppers during password reset tests.
2026-11-15 20:12:00 +01:00
Jérémy Munsch
afb385fe5d
fix(Timeslots): correct assertion for timeslotList type
...
Updated the assertion in the constructor to ensure all elements of $timeslotList are instances of PickupTimeSlot.
2026-11-15 20:11:37 +01:00