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
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
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
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
5491c4fc30
fix(auth): avoid flashing login success for unverified customers
2026-11-15 18:25:48 +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
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
bb23dae81e
perf(basket): eliminate N+1 queries and return BasketDto from GetBasketQuery
2026-11-15 16:59:45 +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
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
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
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
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
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
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
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
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
cd7d5f5fe9
feat(orders): implement default sorting for order queries
...
Added default sorting by date in descending order for order queries.
Updated related views and tests to reflect this change.
2026-10-29 21:16:06 +01:00
Jérémy Munsch
08354b44b6
style(tests): format code for better readability
...
Improved code formatting in ChangeOrderBladeTest for consistency.
2026-10-29 19:13:31 +01:00
Jérémy Munsch
ed593c25b0
test(UpdateShopPickupExceptionsRequest): remove redundant message test and update error messages
...
Updated error messages for better clarity and removed unnecessary test for custom messages.
2026-10-29 19:12:21 +01:00
Jérémy Munsch
c52b13cc51
feat(order): implement soft delete handling in order changes
...
Added support for soft-deleted models in ChangeModelOrder and ChangeModelOrderPosition actions.
This allows for proper order adjustments even when models are soft-deleted.
2026-10-29 19:04:46 +01:00
Jérémy Munsch
0874259eba
style(FilteredProductResource): fix indentation for nutriscore line
2026-10-29 17:10:13 +01:00
Jérémy Munsch
65df9aa04e
test(SettingsController): update assertions to check forbidden access
...
Updated test cases to assert forbidden responses instead of successful ones for employee site settings.
2026-10-29 17:05:34 +01:00
Jérémy Munsch
8e42639134
feat(order): implement change selected order functionality
...
Add functionality to change the order of models in the product list.
This includes new actions, requests, and UI components for user interaction.
2026-10-29 16:39:23 +01:00
Jérémy Munsch
a94d8a4b49
feat(products): add discount filtering to product index
...
- Implement discount filtering in product queries and views.
- Update related request and response handling for discounts.
2026-10-29 16:09:41 +01:00
Jérémy Munsch
82697ed416
fix(products): respect is_old_price_displayed discount setting in product cards
...
- Condition strikethrough price display on showStrippedPrice in ProductCard.vue
- Add showStrippedPrice to product Zod schemas, TypeScript types, repositories and store
- Optimize showStrippedPrice in FilteredProductResource using eager-loaded validDiscount
- Add unit tests for productModelSchema and integration tests in ProductsControllerTest
2026-10-29 15:08:53 +01:00
Jérémy Munsch
0d5958aae6
fix(products): update discount logic for price display
...
Corrected the logic for displaying discounted prices in the product views.
2026-10-29 14:56:35 +01:00
Jérémy Munsch
b8a0f16efa
fix(Crm): update customer input handling in UpdateCustomer action
...
Refactor input validation and data preparation for customer updates.
2026-10-27 18:57:46 +01:00
Jérémy Munsch
713c937890
fix(casts): update OrderReferenceCast to use base58 encoding
...
Refactor OrderReferenceCast to utilize base58 encoding for order references instead of UUID.
This change improves compatibility with the new OrderReference implementation.
2026-10-27 16:17:28 +01:00
Jérémy Munsch
5201aa3a5a
chore(jobs): disable Arcadia jobs until API is available and refresh
2026-10-27 11:21:13 +01:00
Jérémy Munsch
8cbbefb20b
feat: flash warning message when unauthenticated guest is redirected to login
2026-10-27 09:58:55 +01:00
Jérémy Munsch
87661b2a60
refactor: migrate customer registration and mass actions to actions
2026-10-27 09:58:55 +01:00
Jérémy Munsch
14647576df
feat(bo/product-incos): adapt BO controller, requests, routes and views for Arcadia INCO management
2026-10-27 09:58:53 +01:00
Jérémy Munsch
5492ffe217
refactor(orders): simplify OrderReference to wrap UuidInterface directly and remove obsolete UuidConverter
2026-10-27 09:58:51 +01:00
Jérémy Munsch
ff831beb01
test: apply Given/When/Then structure to remaining Pest tests
2026-10-27 09:58:51 +01:00
Jérémy Munsch
d29561fe64
test: annotate Pest closures using $this with \Tests\TestCase
2026-10-27 09:58:50 +01:00
Jérémy Munsch
d4db0cffc6
fix(slides): allow empty text in slide requests and indicate connected visibility in BO
2026-10-27 09:58:48 +01:00
Jérémy Munsch
3c309dc356
feat(slides): indicate visibility in BO and fix conditional slider display in FO
2026-10-27 09:58:47 +01:00