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
bd314a4575
fix(middlewares): handle guest and auth redirects correctly
...
Ensure that both guest and authenticated user redirects are processed properly.
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
9c537d83b2
chore: add linting command to composer scripts
...
This enhances the development workflow by integrating a linting command
that checks code quality and style before commits.
2026-11-15 16:45:00 +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
97f6085622
test(isolation): decouple unit and integration tests from service container and enforce arch rules
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
Jérémy Munsch
f7a20c9d5d
style(queue): apply consistent formatting and add strict types
...
Improves code readability and enforces strict typing in queue configuration.
2026-11-15 16:44:57 +01:00
Jérémy Munsch
ba077f88b4
chore(dependencies): update AWS SDK and Flysystem packages
...
Updated dependencies for AWS SDK and Flysystem to ensure compatibility and access to the latest features.
2026-11-15 16:44:56 +01:00
Jérémy Munsch
30bfabfaf1
chore: remove some dead code
2026-11-15 16:44:56 +01:00
Jérémy Munsch
1fc311ee7e
refactor(env): update session and Redis configuration
...
Improved clarity and consistency in the environment configuration.
2026-11-15 16:44:55 +01:00
Jérémy Munsch
6bd1273f78
refactor(config): update Redis scheme handling
...
Ensure Redis scheme defaults to 'tcp' if not specified.
2026-11-15 16:44:55 +01:00
Jérémy Munsch
0ee0d7cce7
refactor: update configuration files for improved structure
...
- Added new database and queue configuration files.
- Enhanced .env.example with additional environment variables.
- Updated manifest.yaml for better deployment settings.
2026-11-15 16:44:55 +01:00
Jérémy Munsch
8b8ee17246
refactor: restore laravel 13 default configs for cache, filesystems and session
2026-11-15 16:44:54 +01:00
Jérémy Munsch
aaf7d442b3
fix(employee): handle expected end date, upsert errors, and employee persistence
2026-11-15 16:44:54 +01:00
Jérémy Munsch
083357f746
test(EmployeeCsvImportLineService): fix end date format in test
...
Updated the expected end date format in the test to match the correct 'Y-m-d' format.
2026-11-14 08:47:52 +01:00
Jérémy Munsch
552d220b69
refactor(csv): replace Fusonic CSV reader with League CSV
...
Updated the CSV reading implementation to use the League CSV library, enhancing flexibility and maintainability.
Removed the EnhancedCsvReader class and adjusted the EmployeeCsvReaderService accordingly.
2026-11-14 08:25:50 +01:00
Jérémy Munsch
87136fcc42
refactor(test): update query path for naming conventions
...
Adjusted the path for query tests to reflect the new directory structure.
2026-11-10 19:48:29 +01:00
Jérémy Munsch
b2989b4967
refactor(employee): update import handling and output structure
...
- Replaced resource handling with SplFileObject for better readability.
- Introduced ImportEmployeesOutput class for structured results.
- Updated related services and tests to accommodate new structures.
2026-11-10 19:31:34 +01:00
Jérémy Munsch
454695928b
refactor: format PHPDoc for query implementations
...
Improves readability of PHPDoc annotations across multiple query classes.
2026-11-10 18:17:04 +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
7a2004637d
feat(employee): implement employee import functionality
...
- Added EmployeesImportResults class to encapsulate import results.
- Created ImportEmployees action to handle CSV import and upsert employees.
- Introduced ImportEmployeesInput class for input validation.
- Developed EmployeeCsvReaderService for reading and parsing CSV files.
- Implemented EmployeeCsvImportLine to map CSV rows to employee data.
- Added EnhancedCsvReader for improved CSV handling.
- Updated composer.json to include fusonic/csv-reader dependency.
- Created tests for the new employee import functionality.
2026-11-10 18:08:41 +01:00
Jérémy Munsch
2dacdbabd6
refactor(service): reintroduce EmployeeUpsertService and related classes
...
- Moved employee upsert logic to a new service for better separation of concerns.
- Updated EmployeeSyncService to utilize the new EmployeeUpsertService.
- Added tests for EmployeeUpsertService to ensure correct functionality.
2026-11-10 15:14:24 +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
ef674986c2
refactor(service): update PickupSchedulingService for timezone handling
...
- Added timezone handling for cutoff times in PickupSchedulingService.
- Updated MissingOrderReminderNotification to use Paris timezone.
- Enhanced tests to validate cutoff behavior based on timezone.
2026-11-02 16:35:02 +01:00
Jérémy Munsch
0d527654ae
chore(deps): remove overrides for js-yaml, glob, and minimatch
2026-11-02 15:36:27 +01:00
Jérémy Munsch
64d418dcc9
refactor(component): remove unused imports from ImageInputComponent
...
Cleaned up the code by removing unnecessary imports to improve readability.
2026-11-02 15:29:24 +01:00
Jérémy Munsch
081c7a3599
chore(deps): update eslint, sass-embedded, and vue-tsc
...
Updated eslint to version 10.14.0, sass-embedded to 1.107.1,
and vue-tsc to 3.3.14 for improved performance and compatibility.
2026-11-02 15:24:34 +01:00
Jérémy Munsch
78466ec482
style(tests): format code for consistency in OrderLineDtoTest
2026-11-02 15:21:39 +01:00
Jérémy Munsch
192e72f554
refactor(dto): enhance OrderLineDto with flattened product properties
...
- Added new properties for product details in OrderLineDto.
- Updated fromModel method to map product properties correctly.
- Adjusted toArray method to include new properties.
- Improved unit tests for OrderLineDto to validate new behavior.
2026-11-02 14:53:17 +01:00