From aa54e82c6ce073955ed4bd65a2e0f2b3e3f0eb61 Mon Sep 17 00:00:00 2001 From: Boris Waaub Date: Fri, 10 Apr 2026 10:06:24 +0000 Subject: [PATCH] Add fields for upsert person --- .gitlab-ci.yml | 3 + .junie/guidelines.md | 1 + package.json | 1 + .../public/vuejs/MyCalendarRange/App2.vue | 710 +++++++++--------- .../Controller/CalendarControllerTest.php | 23 +- .../ChillMainBundle/Entity/PostalCode.php | 4 +- .../Repository/CountryRepository.php | 4 +- .../Templating/Entity/AddressRender.php | 12 +- .../Tests/Controller/UserControllerTest.php | 12 +- .../Upsert/Handler/PersonUpsertHandler.php | 62 ++ .../Actions/Upsert/UpsertMessage.php | 9 +- .../Repository/PersonACLAwareRepository.php | 10 +- .../components/ButtonLocation.vue | 151 ++-- .../Handler/PersonUpsertHandlerTest.php | 52 ++ .../AccompanyingCourseApiControllerTest.php | 6 +- .../PersonIdentifierListApiControllerTest.php | 2 +- .../PersonACLAwareRepositoryTest.php | 99 ++- .../Tests/Search/PersonSearchTest.php | 5 +- .../src/Security/Voter/TicketVoter.php | 2 +- ...tListApiControllerByAddresseeGroupTest.php | 7 +- ...TicketListApiControllerByAddresseeTest.php | 9 +- ...etListApiControllerByAddresseeToMeTest.php | 3 +- ...ketListApiControllerByCreatedAfterTest.php | 7 +- ...etListApiControllerByCreatedBeforeTest.php | 7 +- .../TicketListApiControllerByCreatorTest.php | 7 +- ...ketListApiControllerByPersonCenterTest.php | 9 +- ...piControllerByResponseTimeExceededTest.php | 5 +- .../TicketListApiControllerByTicketIdTest.php | 5 +- ...ApiControllerCurrentStateEmergencyTest.php | 5 +- ...icketListApiControllerCurrentStateTest.php | 5 +- .../TicketListApiControllerMotivesTest.php | 9 +- .../TicketListApiControllerTest.php | 11 +- .../Controller/TicketListControllerTest.php | 7 + .../TicketACLAwareRepositoryTest.php | 24 +- 34 files changed, 720 insertions(+), 568 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7733eafc8..670edfbd4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,10 +99,12 @@ build: stage: Composer install image: chill/base-image:8.3-edge variables: + COMPOSER_MEMORY_LIMIT: 3G before_script: - composer config -g cache-dir "$(pwd)/.cache" script: - composer install --optimize-autoloader --no-ansi --no-interaction --no-progress + - php bin/console cache:clear cache: paths: - .cache/ @@ -110,6 +112,7 @@ build: expire_in: 1 day paths: - vendor/ + - var/translations/ code_style: stage: Tests diff --git a/.junie/guidelines.md b/.junie/guidelines.md index df0efdfbb..5a63347d7 100644 --- a/.junie/guidelines.md +++ b/.junie/guidelines.md @@ -242,6 +242,7 @@ symfony composer exec phpunit # Run a specific test file symfony composer exec phpunit -- path/to/TestFile.php +symfony composer exec phpunit -- path/to/TestFile.php # Run a specific test method symfony composer exec phpunit --filter methodName path/to/TestFile.php diff --git a/package.json b/package.json index 12a5fee26..cd4f23a07 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "@hotwired/stimulus": "^3.0.0", "@luminateone/eslint-baseline": "^1.0.9", "@symfony/stimulus-bridge": "^3.2.0", + "@symfony/ux-translator": "file:vendor/symfony/ux-translator/assets", "@symfony/webpack-encore": "^4.1.0", "@tsconfig/node20": "^20.1.4", "@types/dompurify": "^3.0.5", diff --git a/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue b/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue index 952ab748f..6e610de56 100644 --- a/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue +++ b/src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue @@ -1,231 +1,193 @@