Jeremy Munsch
7d5912e396
chore: bun update
2026-10-27 09:59:01 +01:00
Jeremy Munsch
2831ad972b
fix: GetFoProductIndexPageQuery was not returning brands
2026-10-27 09:59:01 +01:00
Jérémy Munsch
fa5abe7470
test(EmployeeSyncService): add logger to EmployeeSyncService instantiation
...
This change ensures that the logger is properly injected into the EmployeeSyncService for better logging capabilities during tests.
2026-10-27 09:59:01 +01:00
Jérémy Munsch
85f3896337
fix(commands): update command signatures to include 'uwil' prefix
...
Updated command signatures for MailTest, SyncProductIncosCommand, and UserCreate to maintain consistency in naming conventions.
2026-10-27 09:59:00 +01:00
Jérémy Munsch
bf087c3bff
style(jobs): fix Date facade usage for consistency
...
Updated Date facade usage to ensure consistency in the jobs scheduling file.
2026-10-27 09:59:00 +01:00
Jeremy Munsch
450399fd74
fix: product inco previous button to product always
2026-10-27 09:59:00 +01:00
Jeremy Munsch
46e9c58ad2
refactor: battle test employee sync
2026-10-27 09:58:59 +01:00
Jérémy Munsch
232561cb83
chore: update dependencies in composer files
...
- Removed deprecated dxw/cidr dependency.
- Updated uwil/admin-secure-laravel to uwil/laravel-admin-secure.
- Adjusted versioning for dxw/cidr and other packages.
2026-10-27 09:58:59 +01:00
Jérémy Munsch
a7354cb051
feat: Add StringEncoder and StringHelper for encoding utilities
...
- Introduced StringEncoder for converting various encodings to UTF-8.
- Added StringHelper with methods for string manipulation and transliteration.
2026-10-27 09:58:59 +01:00
Jérémy Munsch
3e4732bcb4
fix: Bind mocked CrmService to container in RegisterCustomerTest
...
Ensure that all mocked dependencies in RegisterCustomerTest are properly bound
to the Laravel service container using App::instance(). This prevents any code
that resolves dependencies via container injection from getting real service
instances instead of mocks.
This fix aligns the Integration test pattern with Feature tests which already
use App::instance() to bind mocks to the container.
Changes:
- Add import for Illuminate\Support\Facades\App
- Add App::instance() calls after each mock creation in all 6 test cases
- Add mockCrmService() helper method to TestCase base class for future tests
Fixes CI failures where CRM service was being called in real instead of being mocked.
2026-10-27 09:58:59 +01:00
Jérémy Munsch
f67a8c88c9
ci: update bun install command to use --no-save
...
Changed bun install option from --frozen-lockfile to --no-save for better dependency management.
2026-10-27 09:58:58 +01:00
Jérémy Munsch
255590a4d0
ci: update bun image version in CI configuration
...
Updated bun image version to 1 for consistency across linting and testing stages.
2026-10-27 09:58:58 +01:00
Jérémy Munsch
eacb445b55
refactor: phpcs fixes on StoreShopRequest
2026-10-27 09:58:58 +01:00
Jérémy Munsch
b51d409a88
refactor: phpcs fixes on ExecuteMassAction
2026-10-27 09:58:57 +01:00
Jérémy Munsch
169fe52a26
chore(vscode): clean up PHP configuration settings
...
Removed unused PHP executable paths and cleaned up formatting in settings.json.
2026-10-27 09:58:57 +01:00
Jérémy Munsch
bd4efb4587
fix(lang): update French translations and validation messages
...
- Added new translations for INCO sheet features and other UI elements.
- Improved validation messages for better clarity and consistency.
2026-10-27 09:58:57 +01:00
Jérémy Munsch
5229999365
chore: update dependencies to latest versions
...
This update includes various improvements and security patches.
2026-10-27 09:58:56 +01:00
Jérémy Munsch
48443e4f82
chore(dependencies): update dxw/cidr and slevomat/coding-standard versions
...
Updated dxw/cidr to a specific commit and slevomat/coding-standard to the latest version.
2026-10-27 09:58:56 +01:00
Jérémy Munsch
c3f4c29c1a
ci: use image uwil-ci-8.5
2026-10-27 09:58:56 +01:00
Jérémy Munsch
353b899c3f
refactor(bo): change dispatch method for employee sync job
...
Updated the dispatch method to use dispatchAfterResponse for the employee sync job.
2026-10-27 09:58:55 +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
17f898e3f9
feat(domain): introduce DiscountRate VO and eliminate float rounding in pricing calculations
2026-10-27 09:58:54 +01:00
Jérémy Munsch
4165bfecb5
fix(tests): use valid UUID v7 for order references in integration tests
2026-10-27 09:58:54 +01:00
Jérémy Munsch
8a9210123f
feat(env): update environment variables for Arcadia API and LDC
...
Added APP_CURRENCY, FILESYSTEM_DISK, and LDC_HEADQUARTERS_PHONE_RECEPTION
to support new features and configurations.
2026-10-27 09:58:54 +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
50df658d58
feat(product-incos): implement actions, queries, sync job and command for Arcadia INCO sheets
2026-10-27 09:58:53 +01:00
Jérémy Munsch
3de48c14fd
feat(arcadia): add ArcadiaIncoService and DTOs to fetch and preview INCO sheets via Arcadia API
2026-10-27 09:58:53 +01:00
Jérémy Munsch
ba99113776
chore(deps): update package-lock.json after package.json dependency removals
2026-10-27 09:58:53 +01:00
Jérémy Munsch
62104ebe28
Revert "chore(deps): update bun.lock after removing unused npm packages"
...
This reverts commit 5d966b2b4d13853d90a55fef3fe290f053f7e2ed.
2026-10-27 09:58:52 +01:00
Jérémy Munsch
f0667b7d3e
chore(database): drop legacy xml_incos table and model in favor of Arcadia API
2026-10-27 09:58:52 +01:00
Jérémy Munsch
5a9480ab93
chore(deps): update bun.lock after removing unused npm packages
2026-10-27 09:58:52 +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
bae633e312
style: fix phpcs sniffs and complexity warnings
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
ae520d543d
chore(deps): remove unused npm packages fancybox, tippy.js and resolve-url-loader
2026-10-27 09:58:50 +01:00
Jérémy Munsch
9e4da0e287
fix(mass-actions): report exceptions instead of silently swallowing them
2026-10-27 09:58:50 +01:00
Jérémy Munsch
15e729cbe2
style: prefix global PHP classes with backslash instead of importing them
2026-10-27 09:58:49 +01:00
Jérémy Munsch
da0b32c7ee
refactor(views): remove orphan breadcrumb and script blade views
2026-10-27 09:58:49 +01:00
Jérémy Munsch
9a334b5ed1
refactor(models): remove unused ProductType and OrdersStatus models
2026-10-27 09:58:49 +01:00
Jérémy Munsch
b31ea9cad0
fix(phpcs): enable searchAnnotations in UnusedUses sniff configuration
2026-10-27 09:58:48 +01:00
Jérémy Munsch
e8ed520a38
feat(fontawesome): add faLock icon to library
...
Added the faLock icon to the FontAwesome library for enhanced UI options.
2026-10-27 09:58:48 +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
Jérémy Munsch
bf3e7a93fd
refactor(i18n): harmonize translation keys to English and complete French translations
...
- Convert hardcoded strings and French translation keys to English keys across Blade templates, Vue components, TypeScript modules, models, and routes
- Complete and synchronize lang/fr.json and lang/en.json translation dictionaries
- Add timezone attribute in lang/fr/validation.php and lang/en/validation.php
- Add missing English lang files for parity: crud.php, models.php, search.php, and vue.php
2026-10-27 09:58:47 +01:00
Jérémy Munsch
52588ae999
fix(ckeditor): prevent null value from being converted to string 'null' on validation returns
2026-10-27 09:58:47 +01:00
Jérémy Munsch
f84a1a7b8c
fix(orders): preserve pagination and query parameters in IndexOrdersRequest
2026-10-27 09:58:46 +01:00
Jérémy Munsch
30c4483ce9
fix(database): clean orders employee service code and legacy site names
...
- Strip site prefix and non-digits from service code in orders.employee JSON snapshot
- Normalize legacy site names with spaces (LDC SERVICES, LDC VOLAILLES, LDC TER) in orders.employee and employees tables
2026-10-27 09:58:46 +01:00
Jérémy Munsch
e0c4b34ed8
feat(employees): implement deterministic 6-character code generation using SerialCaster
...
- Add kwaadpepper/serial-int-caster and SerialCasterServiceProvider
- Update CodeGenerationService to encode Matricule deterministically with length 6
- Update Code value object to support lengths between 6 and 10 with 53 non-ambiguous characters
- Add database migration to sanitize legacy ambiguous codes
- Recreate and update unit and integration tests for CodeGenerationService and Code value object
2026-10-27 09:58:46 +01:00