Commit graph

1022 commits

Author SHA1 Message Date
Jérémy Munsch
cdb30e2f70
test(tests): add PSR-4 namespaces to Integration test files 2026-11-16 14:21:17 +01:00
Jérémy Munsch
a87e5a0c94
test(tests): add unit tests for Pagination value object 2026-11-16 14:19:02 +01:00
Jérémy Munsch
588a93cbcf
test(tests): add PSR-4 namespaces to Unit test files 2026-11-16 14:18:42 +01:00
Jérémy Munsch
8b9eb59b50
test(tests): replace $this->fail with caught exception assertion in LaravelCacheLockTest 2026-11-16 13:11:20 +01:00
Jérémy Munsch
348119ec7c
test(tests): normalize Integration Cqs and Feature App directories (lot 3C) 2026-11-16 13:09:00 +01:00
Jérémy Munsch
3f4856efa2
test(tests): move Laravel-bound tests out of Unit and group Unit Cqs tests (lot 3B) 2026-11-16 13:02:15 +01:00
Jérémy Munsch
7b27f532ee
test(tests): fix PHPStan level 10 errors in OrderTunnelServiceTest and PickupSchedulingServiceTest 2026-11-16 13:00:47 +01:00
Jérémy Munsch
29b9a87d78
test(tests): update mock usage in DataTableServiceTest
Refactor mock creation to use \Mockery::mock for consistency.
2026-11-16 12:54:52 +01:00
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