From de4cd60b3d09b45d0cbc2f1cedc4affa0aff7f0f Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Mon, 18 Jul 2022 12:52:02 +0200 Subject: [PATCH 01/26] query adjusted to fetch only active objectives for a social action --- .../Repository/SocialWork/GoalRepository.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php b/src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php index ec74b1919..58608bb6c 100644 --- a/src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php +++ b/src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php @@ -13,6 +13,7 @@ namespace Chill\PersonBundle\Repository\SocialWork; use Chill\PersonBundle\Entity\SocialWork\Goal; use Chill\PersonBundle\Entity\SocialWork\SocialAction; +use DateTime; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\QueryBuilder; @@ -73,6 +74,14 @@ final class GoalRepository implements ObjectRepository $qb = $this->buildQueryBySocialActionWithDescendants($action); $qb->select('g'); + $qb->andWhere( + $qb->expr()->orX( + $qb->expr()->isNull('g.desactivationDate'), + $qb->expr()->gt('g.desactivationDate', ':now') + ) + ) + ->setParameter('now', new DateTime('now')); + foreach ($orderBy as $sort => $order) { $qb->addOrderBy('g.' . $sort, $order); } From 62720005884a479e598a44923201692132e322b9 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Mon, 18 Jul 2022 12:53:20 +0200 Subject: [PATCH 02/26] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ed9cdebf..fff655f1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to * [person-thirdparty]: fix quick-add of names that consist of multiple parts (eg. De Vlieger) within onthefly modal person/thirdparty * [search]: Order of birthdate fields changed in advanced search to avoid confusion. * [workflow]: Constraint added to workflow (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/675) +* [social_action]: only show active objectives (https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/625) ## Test releases From 62dc9097080933ad966380d76eed16fe29ceb899 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Mon, 18 Jul 2022 14:51:40 +0200 Subject: [PATCH 03/26] php cs fixes, stan ok! --- .../ChillPersonBundle/Repository/SocialWork/GoalRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php b/src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php index 58608bb6c..3dbf811f4 100644 --- a/src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php +++ b/src/Bundle/ChillPersonBundle/Repository/SocialWork/GoalRepository.php @@ -80,7 +80,7 @@ final class GoalRepository implements ObjectRepository $qb->expr()->gt('g.desactivationDate', ':now') ) ) - ->setParameter('now', new DateTime('now')); + ->setParameter('now', new DateTime('now')); foreach ($orderBy as $sort => $order) { $qb->addOrderBy('g.' . $sort, $order); From fd0e541e3f6ae67cf0681ae8b02e51766c5f390f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 29 Sep 2022 22:05:29 +0200 Subject: [PATCH 04/26] [workflow] Feature: allow user to retrieve the access link for the workflow + show dest email for a workflow --- CHANGELOG.md | 2 ++ .../views/Workflow/_decision.html.twig | 24 +++++++++++++++++++ .../views/Workflow/_history.html.twig | 9 +++++++ .../Authorization/EntityWorkflowVoter.php | 16 +++++++++++++ .../translations/messages.fr.yml | 6 ++++- 5 files changed, 56 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 030b4ba33..9c8cc8379 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to ## Unreleased +* [workflow] Feature: allow user to copy and send manually the access link for the workflow +* [workflow] Feature: show the email addresses that received an access link for the workflow ## Test releases diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/_decision.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_decision.html.twig index bb0411371..bd9274739 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/_decision.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_decision.html.twig @@ -95,6 +95,15 @@ {% endif %} + {% if entity_workflow.currentStep.destEmail|length > 0 %} +

{{ 'workflow.An access key was also sent to those addresses'|trans }} :

+
    + {% for e in entity_workflow.currentStep.destEmail -%} +
  • {{ e }}
  • + {%- endfor %} +
+ {% endif %} + {% if entity_workflow.currentStep.destUserByAccessKey|length > 0 %}

{{ 'workflow.Those users are also granted to apply a transition by using an access key'|trans }} :

    @@ -103,6 +112,21 @@ {% endfor %}
{% endif %} + + {% if is_granted('CHILL_MAIN_WORKFLOW_LINK_SHOW', entity_workflow) %} +

{{ 'workflow.This link grant any user to apply a transition'|trans }} :

+ + {% set link = absolute_url(path('chill_main_workflow_grant_access_by_key', {'id': entity_workflow.currentStep.id, 'accessKey': entity_workflow.currentStep.accessKey})) %} +
+ + + + +
+ {% endif %} + + {% endif %} diff --git a/src/Bundle/ChillMainBundle/Resources/views/Workflow/_history.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_history.html.twig index dda309da0..72aab397c 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Workflow/_history.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Workflow/_history.html.twig @@ -81,6 +81,15 @@ {% endif %} + {% if entity_workflow.currentStep.destEmail|length > 0 %} +

{{ 'workflow.An access key was also sent to those addresses'|trans }} :

+
    + {% for e in entity_workflow.currentStep.destEmail -%} +
  • {{ e }}
  • + {%- endfor %} +
+ {% endif %} + {% if step.destUserByAccessKey|length > 0 %}

{{ 'workflow.Those users are also granted to apply a transition by using an access key'|trans }} :

    diff --git a/src/Bundle/ChillMainBundle/Security/Authorization/EntityWorkflowVoter.php b/src/Bundle/ChillMainBundle/Security/Authorization/EntityWorkflowVoter.php index 82dfc7681..c34022359 100644 --- a/src/Bundle/ChillMainBundle/Security/Authorization/EntityWorkflowVoter.php +++ b/src/Bundle/ChillMainBundle/Security/Authorization/EntityWorkflowVoter.php @@ -27,6 +27,8 @@ class EntityWorkflowVoter extends Voter public const SEE = 'CHILL_MAIN_WORKFLOW_SEE'; + public const SHOW_ENTITY_LINK = 'CHILL_MAIN_WORKFLOW_LINK_SHOW'; + private EntityWorkflowManager $manager; private Security $security; @@ -80,6 +82,19 @@ class EntityWorkflowVoter extends Voter case self::DELETE: return $subject->getStep() === 'initial'; + case self::SHOW_ENTITY_LINK: + if ($subject->getStep() === 'initial') { + return false; + } + + $currentStep = $subject->getCurrentStepChained(); + + if ($currentStep->isFinal()) { + return false; + } + + return $currentStep->getPrevious()->getTransitionBy() === $this->security->getUser(); + default: throw new UnexpectedValueException("attribute {$attribute} not supported"); } @@ -91,6 +106,7 @@ class EntityWorkflowVoter extends Voter self::SEE, self::CREATE, self::DELETE, + self::SHOW_ENTITY_LINK, ]; } } diff --git a/src/Bundle/ChillMainBundle/translations/messages.fr.yml b/src/Bundle/ChillMainBundle/translations/messages.fr.yml index 1e95e32d0..36f793817 100644 --- a/src/Bundle/ChillMainBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillMainBundle/translations/messages.fr.yml @@ -454,7 +454,6 @@ workflow: Delete workflow: Supprimer le workflow Steps is not waiting for transition. Maybe someone apply the transition before you ?: L'étape que vous cherchez a déjà été modifiée par un autre utilisateur. Peut-être quelqu'un a-t-il modifié cette étape avant vous ? You get access to this step: Vous avez acquis les droits pour appliquer une transition sur ce workflow. - Those users are also granted to apply a transition by using an access key: Ces utilisateurs peuvent également valider cette étape, grâce à un lien d'accès dest by email: Liens d'autorisation par email dest by email help: Les adresses email mentionnées ici recevront un lien d'accès. Ce lien d'accès permettra à l'utilisateur de valider cette étape. Add an email: Ajouter une adresse email @@ -466,6 +465,11 @@ workflow: Previous workflow transitionned help: Workflows où vous avez exécuté une action. For: Pour You must select a next step, pick another decision if no next steps are available: Il faut une prochaine étape. Choissisez une autre décision si nécessaire. + An access key was also sent to those addresses: Un lien d'accès a été envoyé à ces addresses + Those users are also granted to apply a transition by using an access key: Ces utilisateurs ont obtennu l'accès grâce au lien reçu par email + Access link copied: Lien d'accès copié + This link grant any user to apply a transition: Le lien d'accès suivant permet d'appliquer une transition + The workflow may be accssed through this link: Une transition peut être appliquée sur ce workflow grâce au lien d'accès suivant Subscribe final: Recevoir une notification à l'étape finale From 713b8357cddf5b0cc2f03707cff397f18956d5dc Mon Sep 17 00:00:00 2001 From: nobohan Date: Thu, 6 Oct 2022 15:26:44 +0200 Subject: [PATCH 05/26] [person]: add new test for social action normalizer --- .../Normalizer/SocialActionNormalizerTest.php | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/Bundle/ChillPersonBundle/Tests/Serializer/Normalizer/SocialActionNormalizerTest.php diff --git a/src/Bundle/ChillPersonBundle/Tests/Serializer/Normalizer/SocialActionNormalizerTest.php b/src/Bundle/ChillPersonBundle/Tests/Serializer/Normalizer/SocialActionNormalizerTest.php new file mode 100644 index 000000000..9d43eaaf8 --- /dev/null +++ b/src/Bundle/ChillPersonBundle/Tests/Serializer/Normalizer/SocialActionNormalizerTest.php @@ -0,0 +1,48 @@ +normalizer = self::$container->get(NormalizerInterface::class); + } + + public function testNormalization() + { + $sa = new SocialAction(); + + $normalized = $this->normalizer->normalize( + $sa, + 'json', + ['groups' => ['read']] + ); + + $this->assertIsArray($normalized); + $this->assertArrayHasKey('type', $normalized); + $this->assertEquals('social_work_social_action', $normalized['type']); + } +} From 49731777b42e6823527388a2fcbe2059d5d11fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 6 Oct 2022 20:51:44 +0200 Subject: [PATCH 06/26] fix cs: declare type and license header mismatch --- src/Bundle/ChillActivityBundle/ChillActivityBundle.php | 1 - .../Controller/ActivityReasonCategoryController.php | 1 - .../ChillActivityBundle/Controller/ActivityReasonController.php | 1 - .../Controller/AdminActivityPresenceController.php | 1 - .../Controller/AdminActivityTypeCategoryController.php | 1 - .../Controller/AdminActivityTypeController.php | 1 - src/Bundle/ChillActivityBundle/Controller/AdminController.php | 1 - src/Bundle/ChillActivityBundle/DataFixtures/ORM/LoadActivity.php | 1 - .../DataFixtures/ORM/LoadActivityNotifications.php | 1 - .../ChillActivityBundle/DataFixtures/ORM/LoadActivityReason.php | 1 - .../DataFixtures/ORM/LoadActivityReasonCategory.php | 1 - .../ChillActivityBundle/DataFixtures/ORM/LoadActivityType.php | 1 - .../DataFixtures/ORM/LoadActivityTypeCategory.php | 1 - .../ChillActivityBundle/DataFixtures/ORM/LoadActivitytACL.php | 1 - .../DependencyInjection/ChillActivityExtension.php | 1 - .../ChillActivityBundle/DependencyInjection/Configuration.php | 1 - src/Bundle/ChillActivityBundle/Entity/Activity.php | 1 - src/Bundle/ChillActivityBundle/Entity/ActivityPresence.php | 1 - src/Bundle/ChillActivityBundle/Entity/ActivityReason.php | 1 - src/Bundle/ChillActivityBundle/Entity/ActivityReasonCategory.php | 1 - src/Bundle/ChillActivityBundle/Entity/ActivityTypeCategory.php | 1 - .../EntityListener/ActivityEntityListener.php | 1 - src/Bundle/ChillActivityBundle/Export/Declarations.php | 1 - src/Bundle/ChillActivityBundle/Form/ActivityPresenceType.php | 1 - .../ChillActivityBundle/Form/ActivityReasonCategoryType.php | 1 - src/Bundle/ChillActivityBundle/Form/ActivityReasonType.php | 1 - src/Bundle/ChillActivityBundle/Form/ActivityType.php | 1 - src/Bundle/ChillActivityBundle/Form/ActivityTypeCategoryType.php | 1 - src/Bundle/ChillActivityBundle/Form/ActivityTypeType.php | 1 - .../ChillActivityBundle/Form/Type/ActivityFieldPresence.php | 1 - .../ChillActivityBundle/Form/Type/TranslatableActivityReason.php | 1 - .../Form/Type/TranslatableActivityReasonCategory.php | 1 - .../ChillActivityBundle/Menu/AccompanyingCourseMenuBuilder.php | 1 - src/Bundle/ChillActivityBundle/Menu/AdminMenuBuilder.php | 1 - src/Bundle/ChillActivityBundle/Menu/PersonMenuBuilder.php | 1 - .../Notification/ActivityNotificationHandler.php | 1 - .../Repository/ActivityACLAwareRepository.php | 1 - .../Repository/ActivityACLAwareRepositoryInterface.php | 1 - .../Repository/ActivityReasonCategoryRepository.php | 1 - .../ChillActivityBundle/Repository/ActivityReasonRepository.php | 1 - src/Bundle/ChillActivityBundle/Repository/ActivityRepository.php | 1 - .../Repository/ActivityTypeCategoryRepository.php | 1 - .../ChillActivityBundle/Security/Authorization/ActivityVoter.php | 1 - .../ChillActivityBundle/Service/DocGenerator/ActivityContext.php | 1 - .../DocGenerator/ListActivitiesByAccompanyingPeriodContext.php | 1 - .../Templating/Entity/ActivityReasonRender.php | 1 - src/Bundle/ChillActivityBundle/Test/PrepareActivityTrait.php | 1 - .../Tests/Controller/ActivityControllerTest.php | 1 - .../Tests/Controller/ActivityReasonCategoryControllerTest.php | 1 - .../Tests/Controller/ActivityReasonControllerTest.php | 1 - .../Tests/Controller/ActivityTypeControllerTest.php | 1 - src/Bundle/ChillActivityBundle/Tests/Entity/ActivityTest.php | 1 - .../Tests/Export/Aggregator/ActivityReasonAggregatorTest.php | 1 - .../Tests/Export/Export/CountActivityTest.php | 1 - .../ChillActivityBundle/Tests/Export/Export/ListActivityTest.php | 1 - .../Tests/Export/Export/StatActivityDurationSumTest.php | 1 - src/Bundle/ChillActivityBundle/Tests/Form/ActivityTypeTest.php | 1 - .../Tests/Form/Type/TranslatableActivityReasonTest.php | 1 - .../Tests/Form/Type/TranslatableActivityTypeTest.php | 1 - .../Tests/Security/Authorization/ActivityVoterTest.php | 1 - .../ChillActivityBundle/Tests/Timeline/TimelineProviderTest.php | 1 - .../ChillActivityBundle/Timeline/TimelineActivityProvider.php | 1 - .../Validator/Constraints/ActivityValidity.php | 1 - .../Validator/Constraints/ActivityValidityValidator.php | 1 - .../ChillActivityBundle/migrations/Version20150701091248.php | 1 - .../ChillActivityBundle/migrations/Version20150702093317.php | 1 - .../ChillActivityBundle/migrations/Version20150704091347.php | 1 - .../ChillActivityBundle/migrations/Version20160222103457.php | 1 - .../ChillActivityBundle/migrations/Version20161114085659.php | 1 - .../ChillActivityBundle/migrations/Version20210304154629.php | 1 - .../ChillActivityBundle/migrations/Version20210311114250.php | 1 - .../ChillActivityBundle/migrations/Version20210401090853.php | 1 - .../ChillActivityBundle/migrations/Version20210408122329.php | 1 - .../ChillActivityBundle/migrations/Version20210415113216.php | 1 - .../ChillActivityBundle/migrations/Version20210422073711.php | 1 - .../ChillActivityBundle/migrations/Version20210422123846.php | 1 - .../ChillActivityBundle/migrations/Version20210506071150.php | 1 - .../ChillActivityBundle/migrations/Version20210506090417.php | 1 - .../ChillActivityBundle/migrations/Version20210506094520.php | 1 - .../ChillActivityBundle/migrations/Version20210506112500.php | 1 - .../ChillActivityBundle/migrations/Version20210520095626.php | 1 - .../ChillActivityBundle/migrations/Version20210528161250.php | 1 - .../ChillActivityBundle/migrations/Version20210602103243.php | 1 - .../ChillActivityBundle/migrations/Version20211119173555.php | 1 - .../ChillActivityBundle/migrations/Version20211207152023.php | 1 - .../ChillActivityBundle/migrations/Version20220425133027.php | 1 - .../ChillActivityBundle/migrations/Version20220527124438.php | 1 - .../ChillAsideActivityBundle/src/ChillAsideActivityBundle.php | 1 - .../ChillAsideActivityBundle/src/Controller/AdminController.php | 1 - .../src/Controller/AsideActivityCategoryController.php | 1 - .../src/Controller/AsideActivityController.php | 1 - .../src/DataFixtures/ORM/LoadAsideActivity.php | 1 - .../src/DataFixtures/ORM/LoadAsideActivityCategory.php | 1 - .../src/DependencyInjection/ChillAsideActivityExtension.php | 1 - .../src/DependencyInjection/Configuration.php | 1 - src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php | 1 - .../src/Entity/AsideActivityCategory.php | 1 - .../src/Form/AsideActivityCategoryType.php | 1 - .../ChillAsideActivityBundle/src/Form/AsideActivityFormType.php | 1 - .../ChillAsideActivityBundle/src/Menu/AdminMenuBuilder.php | 1 - .../ChillAsideActivityBundle/src/Menu/SectionMenuBuilder.php | 1 - src/Bundle/ChillAsideActivityBundle/src/Menu/UserMenuBuilder.php | 1 - .../src/Repository/AsideActivityCategoryRepository.php | 1 - .../src/Repository/AsideActivityRepository.php | 1 - .../src/Templating/Entity/CategoryRender.php | 1 - .../src/Tests/Controller/AsideActivityControllerTest.php | 1 - .../src/migrations/Version20210706124644.php | 1 - .../src/migrations/Version20210804082249.php | 1 - .../src/migrations/Version20210806140343.php | 1 - .../src/migrations/Version20210806140710.php | 1 - .../src/migrations/Version20210810084456.php | 1 - .../src/migrations/Version20210922182907.php | 1 - .../src/migrations/Version20211004134012.php | 1 - src/Bundle/ChillBudgetBundle/Calculator/CalculatorInterface.php | 1 - src/Bundle/ChillBudgetBundle/Calculator/CalculatorManager.php | 1 - src/Bundle/ChillBudgetBundle/Calculator/CalculatorResult.php | 1 - src/Bundle/ChillBudgetBundle/ChillBudgetBundle.php | 1 - src/Bundle/ChillBudgetBundle/Config/ConfigRepository.php | 1 - .../ChillBudgetBundle/Controller/AbstractElementController.php | 1 - src/Bundle/ChillBudgetBundle/Controller/ChargeController.php | 1 - src/Bundle/ChillBudgetBundle/Controller/ElementController.php | 1 - src/Bundle/ChillBudgetBundle/Controller/ResourceController.php | 1 - .../DependencyInjection/ChillBudgetExtension.php | 1 - .../DependencyInjection/Compiler/CalculatorCompilerPass.php | 1 - .../ChillBudgetBundle/DependencyInjection/Configuration.php | 1 - src/Bundle/ChillBudgetBundle/Entity/AbstractElement.php | 1 - src/Bundle/ChillBudgetBundle/Entity/Charge.php | 1 - src/Bundle/ChillBudgetBundle/Entity/Resource.php | 1 - src/Bundle/ChillBudgetBundle/Form/ChargeType.php | 1 - src/Bundle/ChillBudgetBundle/Form/ResourceType.php | 1 - src/Bundle/ChillBudgetBundle/Menu/HouseholdMenuBuilder.php | 1 - src/Bundle/ChillBudgetBundle/Menu/PersonMenuBuilder.php | 1 - src/Bundle/ChillBudgetBundle/Repository/ChargeRepository.php | 1 - src/Bundle/ChillBudgetBundle/Repository/ResourceRepository.php | 1 - .../Security/Authorization/BudgetElementVoter.php | 1 - src/Bundle/ChillBudgetBundle/Service/Summary/SummaryBudget.php | 1 - .../ChillBudgetBundle/Service/Summary/SummaryBudgetInterface.php | 1 - src/Bundle/ChillBudgetBundle/Templating/Twig.php | 1 - .../ChillBudgetBundle/Tests/Controller/ElementControllerTest.php | 1 - .../ChillBudgetBundle/migrations/Version20180522080432.php | 1 - .../ChillBudgetBundle/migrations/Version20181219145631.php | 1 - .../ChillBudgetBundle/migrations/Version20220224090319.php | 1 - src/Bundle/ChillCalendarBundle/ChillCalendarBundle.php | 1 - src/Bundle/ChillCalendarBundle/Controller/AdminController.php | 1 - .../ChillCalendarBundle/Controller/CalendarAPIController.php | 1 - src/Bundle/ChillCalendarBundle/Controller/CalendarController.php | 1 - .../Controller/CalendarRangeAPIController.php | 1 - .../ChillCalendarBundle/Controller/CancelReasonController.php | 1 - .../ChillCalendarBundle/DataFixtures/ORM/LoadCalendarRange.php | 1 - .../ChillCalendarBundle/DataFixtures/ORM/LoadCancelReason.php | 1 - src/Bundle/ChillCalendarBundle/DataFixtures/ORM/LoadInvite.php | 1 - .../DependencyInjection/ChillCalendarExtension.php | 1 - .../ChillCalendarBundle/DependencyInjection/Configuration.php | 1 - src/Bundle/ChillCalendarBundle/Entity/Calendar.php | 1 - src/Bundle/ChillCalendarBundle/Entity/CalendarRange.php | 1 - src/Bundle/ChillCalendarBundle/Entity/CancelReason.php | 1 - src/Bundle/ChillCalendarBundle/Entity/Invite.php | 1 - src/Bundle/ChillCalendarBundle/Event/ListenToActivityCreate.php | 1 - src/Bundle/ChillCalendarBundle/Export/Declarations.php | 1 - src/Bundle/ChillCalendarBundle/Form/CalendarType.php | 1 - src/Bundle/ChillCalendarBundle/Form/CancelReasonType.php | 1 - .../ChillCalendarBundle/Menu/AccompanyingCourseMenuBuilder.php | 1 - src/Bundle/ChillCalendarBundle/Menu/AdminMenuBuilder.php | 1 - src/Bundle/ChillCalendarBundle/Menu/UserMenuBuilder.php | 1 - .../ChillCalendarBundle/Repository/CalendarRangeRepository.php | 1 - src/Bundle/ChillCalendarBundle/Repository/CalendarRepository.php | 1 - .../ChillCalendarBundle/Repository/CancelReasonRepository.php | 1 - src/Bundle/ChillCalendarBundle/Repository/InviteRepository.php | 1 - .../Tests/Controller/CalendarControllerTest.php | 1 - .../ChillCalendarBundle/migrations/Version20210715141731.php | 1 - .../ChillCalendarBundle/migrations/Version20210723074557.php | 1 - .../ChillCalendarBundle/migrations/Version20210723142003.php | 1 - .../ChillCalendarBundle/migrations/Version20210723142842.php | 1 - .../ChillCalendarBundle/migrations/Version20211119173557.php | 1 - .../ChillCalendarBundle/migrations/Version20220527124558.php | 1 - .../ChillCalendarBundle/migrations/Version20220527234046.php | 1 - src/Bundle/ChillCustomFieldsBundle/ChillCustomFieldsBundle.php | 1 - .../Command/CreateFieldsOnGroupCommand.php | 1 - .../ChillCustomFieldsBundle/Controller/AdminController.php | 1 - .../ChillCustomFieldsBundle/Controller/CustomFieldController.php | 1 - .../Controller/CustomFieldsGroupController.php | 1 - .../ChillCustomFieldsBundle/CustomFields/AbstractCustomField.php | 1 - .../ChillCustomFieldsBundle/CustomFields/CustomFieldChoice.php | 1 - .../ChillCustomFieldsBundle/CustomFields/CustomFieldDate.php | 1 - .../CustomFields/CustomFieldInterface.php | 1 - .../CustomFields/CustomFieldLongChoice.php | 1 - .../ChillCustomFieldsBundle/CustomFields/CustomFieldNumber.php | 1 - .../ChillCustomFieldsBundle/CustomFields/CustomFieldText.php | 1 - .../ChillCustomFieldsBundle/CustomFields/CustomFieldTitle.php | 1 - .../ChillCustomFieldsBundle/DataFixtures/ORM/LoadOption.php | 1 - .../DependencyInjection/ChillCustomFieldsExtension.php | 1 - .../DependencyInjection/Configuration.php | 1 - .../DependencyInjection/CustomFieldCompilerPass.php | 1 - src/Bundle/ChillCustomFieldsBundle/Entity/CustomField.php | 1 - .../Entity/CustomFieldLongChoice/Option.php | 1 - .../ChillCustomFieldsBundle/Entity/CustomFieldsDefaultGroup.php | 1 - src/Bundle/ChillCustomFieldsBundle/Entity/CustomFieldsGroup.php | 1 - .../EntityRepository/CustomFieldLongChoice/OptionRepository.php | 1 - src/Bundle/ChillCustomFieldsBundle/Form/CustomFieldType.php | 1 - .../ChillCustomFieldsBundle/Form/CustomFieldsGroupType.php | 1 - .../Form/DataTransformer/CustomFieldDataTransformer.php | 1 - .../Form/DataTransformer/CustomFieldsGroupToIdTransformer.php | 1 - .../Form/DataTransformer/JsonCustomFieldToArrayTransformer.php | 1 - .../ChillCustomFieldsBundle/Form/Extension/PostTextExtension.php | 1 - .../Form/Extension/PostTextIntegerExtension.php | 1 - .../Form/Extension/PostTextNumberExtension.php | 1 - .../ChillCustomFieldsBundle/Form/Type/ChoiceWithOtherType.php | 1 - src/Bundle/ChillCustomFieldsBundle/Form/Type/ChoicesListType.php | 1 - src/Bundle/ChillCustomFieldsBundle/Form/Type/ChoicesType.php | 1 - src/Bundle/ChillCustomFieldsBundle/Form/Type/CustomFieldType.php | 1 - .../ChillCustomFieldsBundle/Form/Type/CustomFieldsTitleType.php | 1 - .../ChillCustomFieldsBundle/Form/Type/LinkedCustomFieldsType.php | 1 - src/Bundle/ChillCustomFieldsBundle/Menu/AdminMenuBuilder.php | 1 - .../ChillCustomFieldsBundle/Service/CustomFieldProvider.php | 1 - .../ChillCustomFieldsBundle/Service/CustomFieldsHelper.php | 1 - .../Service/CustomFieldsHelperException.php | 1 - .../Templating/Twig/CustomFieldRenderingTwig.php | 1 - .../Templating/Twig/CustomFieldsGroupRenderingTwig.php | 1 - .../Tests/Config/ConfigCustomizablesEntitiesTest.php | 1 - .../Tests/Controller/CustomFieldControllerTest_TODO.php | 1 - .../Tests/Controller/CustomFieldsGroupControllerTest.php | 1 - .../ChillCustomFieldsBundle/Tests/CustomFieldTestHelper.php | 1 - .../Tests/CustomFields/CustomFieldsChoiceTest.php | 1 - .../Tests/CustomFields/CustomFieldsNumberTest.php | 1 - .../Tests/CustomFields/CustomFieldsTextTest.php | 1 - .../Tests/Form/Extension/PostTextIntegerExtensionTest.php | 1 - .../Tests/Form/Extension/PostTextNumberExtensionTest.php | 1 - .../ChillCustomFieldsBundle/Tests/Routing/RoutingLoaderTest.php | 1 - .../Tests/Service/CustomFieldsHelperTest.php | 1 - .../Tests/Templating/Twig/CustomFieldRenderingTwigTest.php | 1 - .../Tests/Templating/Twig/CustomFieldsGroupRenderingTwigTest.php | 1 - .../ChillCustomFieldsBundle/migrations/Version20141128195430.php | 1 - .../ChillCustomFieldsBundle/migrations/Version20150224164531.php | 1 - .../ChillCustomFieldsBundle/migrations/Version20151210155904.php | 1 - .../ChillCustomFieldsBundle/migrations/Version20151210205610.php | 1 - src/Bundle/ChillDocGeneratorBundle/ChillDocGeneratorBundle.php | 1 - src/Bundle/ChillDocGeneratorBundle/Context/ContextManager.php | 1 - .../ChillDocGeneratorBundle/Context/ContextManagerInterface.php | 1 - .../Context/DocGeneratorContextInterface.php | 1 - .../Context/DocGeneratorContextWithAdminFormInterface.php | 1 - .../Context/DocGeneratorContextWithPublicFormInterface.php | 1 - .../Context/Exception/ContextNotFoundException.php | 1 - .../Context/Exception/UnexpectedTypeException.php | 1 - .../Controller/AdminDocGeneratorTemplateController.php | 1 - .../Controller/DocGeneratorTemplateController.php | 1 - .../DataFixtures/ORM/LoadDocGeneratorTemplate.php | 1 - .../DependencyInjection/ChillDocGeneratorExtension.php | 1 - .../DependencyInjection/Configuration.php | 1 - .../ChillDocGeneratorBundle/Entity/DocGeneratorTemplate.php | 1 - .../ChillDocGeneratorBundle/Form/DocGeneratorTemplateType.php | 1 - .../ChillDocGeneratorBundle/GeneratorDriver/DriverInterface.php | 1 - .../GeneratorDriver/Exception/TemplateException.php | 1 - .../ChillDocGeneratorBundle/GeneratorDriver/RelatorioDriver.php | 1 - src/Bundle/ChillDocGeneratorBundle/Menu/AdminMenuBuilder.php | 1 - .../Repository/DocGeneratorTemplateRepository.php | 1 - .../ChillDocGeneratorBundle/Serializer/Encoder/DocGenEncoder.php | 1 - .../Serializer/Helper/NormalizeNullValueHelper.php | 1 - .../Serializer/Normalizer/CollectionDocGenNormalizer.php | 1 - .../Serializer/Normalizer/DocGenObjectNormalizer.php | 1 - .../ChillDocGeneratorBundle/Service/Context/BaseContextData.php | 1 - .../ChillDocGeneratorBundle/migrations/Version20210805162522.php | 1 - .../ChillDocGeneratorBundle/migrations/Version20210812214310.php | 1 - .../ChillDocGeneratorBundle/migrations/Version20211103111010.php | 1 - .../ChillDocGeneratorBundle/migrations/Version20211119173556.php | 1 - .../ChillDocGeneratorBundle/migrations/Version20211201191757.php | 1 - .../tests/Serializer/Encoder/DocGenEncoderTest.php | 1 - .../tests/Serializer/Normalizer/DocGenObjectNormalizerTest.php | 1 - .../tests/Service/Context/BaseContextDataTest.php | 1 - src/Bundle/ChillDocStoreBundle/ChillDocStoreBundle.php | 1 - src/Bundle/ChillDocStoreBundle/Controller/AdminController.php | 1 - .../Controller/DocumentAccompanyingCourseController.php | 1 - .../Controller/DocumentCategoryController.php | 1 - .../ChillDocStoreBundle/Controller/DocumentPersonController.php | 1 - .../ChillDocStoreBundle/DataFixtures/ORM/LoadDocumentACL.php | 1 - .../DataFixtures/ORM/LoadDocumentCategory.php | 1 - .../DependencyInjection/ChillDocStoreExtension.php | 1 - .../ChillDocStoreBundle/DependencyInjection/Configuration.php | 1 - .../ChillDocStoreBundle/Entity/AccompanyingCourseDocument.php | 1 - src/Bundle/ChillDocStoreBundle/Entity/Document.php | 1 - src/Bundle/ChillDocStoreBundle/Entity/DocumentCategory.php | 1 - src/Bundle/ChillDocStoreBundle/Entity/PersonDocument.php | 1 - src/Bundle/ChillDocStoreBundle/Entity/StoredObject.php | 1 - .../EntityRepository/AccompanyingCourseDocumentRepository.php | 1 - .../Exception/StoredObjectManagerException.php | 1 - .../ChillDocStoreBundle/Form/AccompanyingCourseDocumentType.php | 1 - src/Bundle/ChillDocStoreBundle/Form/DocumentCategoryType.php | 1 - src/Bundle/ChillDocStoreBundle/Form/PersonDocumentType.php | 1 - src/Bundle/ChillDocStoreBundle/Form/StoredObjectType.php | 1 - src/Bundle/ChillDocStoreBundle/Menu/AdminMenuBuilder.php | 1 - src/Bundle/ChillDocStoreBundle/Menu/MenuBuilder.php | 1 - .../ChillDocStoreBundle/Object/ObjectToAsyncFileTransformer.php | 1 - src/Bundle/ChillDocStoreBundle/Object/PersistenceChecker.php | 1 - .../Repository/AccompanyingCourseDocumentRepository.php | 1 - .../Repository/DocumentCategoryRepository.php | 1 - .../Repository/PersonDocumentACLAwareRepository.php | 1 - .../Repository/PersonDocumentACLAwareRepositoryInterface.php | 1 - .../ChillDocStoreBundle/Repository/StoredObjectRepository.php | 1 - .../Security/Authorization/AccompanyingCourseDocumentVoter.php | 1 - .../Security/Authorization/PersonDocumentVoter.php | 1 - .../Serializer/Normalizer/StoredObjectDenormalizer.php | 1 - src/Bundle/ChillDocStoreBundle/Service/StoredObjectManager.php | 1 - .../ChillDocStoreBundle/Service/StoredObjectManagerInterface.php | 1 - .../ChillDocStoreBundle/Templating/WopiEditTwigExtension.php | 1 - .../Templating/WopiEditTwigExtensionRuntime.php | 1 - src/Bundle/ChillDocStoreBundle/Tests/StoredObjectManagerTest.php | 1 - .../Workflow/AccompanyingCourseDocumentWorkflowHandler.php | 1 - .../ChillDocStoreBundle/migrations/Version20180605102533.php | 1 - .../ChillDocStoreBundle/migrations/Version20180606133338.php | 1 - .../ChillDocStoreBundle/migrations/Version20210903091534.php | 1 - .../ChillDocStoreBundle/migrations/Version20210903123835.php | 1 - .../ChillDocStoreBundle/migrations/Version20210928182542.php | 1 - .../ChillDocStoreBundle/migrations/Version20211119173558.php | 1 - .../ChillDocStoreBundle/migrations/Version20220131093117.php | 1 - .../ChillDocStoreBundle/migrations/Version20220525141646.php | 1 - src/Bundle/ChillEventBundle/ChillEventBundle.php | 1 - src/Bundle/ChillEventBundle/Controller/AdminController.php | 1 - src/Bundle/ChillEventBundle/Controller/EventController.php | 1 - src/Bundle/ChillEventBundle/Controller/EventTypeController.php | 1 - .../ChillEventBundle/Controller/ParticipationController.php | 1 - src/Bundle/ChillEventBundle/Controller/RoleController.php | 1 - src/Bundle/ChillEventBundle/Controller/StatusController.php | 1 - src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadEventTypes.php | 1 - .../ChillEventBundle/DataFixtures/ORM/LoadParticipation.php | 1 - src/Bundle/ChillEventBundle/DataFixtures/ORM/LoadRolesACL.php | 1 - .../ChillEventBundle/DependencyInjection/ChillEventExtension.php | 1 - .../ChillEventBundle/DependencyInjection/Configuration.php | 1 - src/Bundle/ChillEventBundle/Entity/Event.php | 1 - src/Bundle/ChillEventBundle/Entity/EventType.php | 1 - src/Bundle/ChillEventBundle/Entity/Participation.php | 1 - src/Bundle/ChillEventBundle/Entity/Role.php | 1 - src/Bundle/ChillEventBundle/Entity/Status.php | 1 - .../ChillEventBundle/Form/ChoiceLoader/EventChoiceLoader.php | 1 - src/Bundle/ChillEventBundle/Form/EventType.php | 1 - src/Bundle/ChillEventBundle/Form/EventTypeType.php | 1 - src/Bundle/ChillEventBundle/Form/ParticipationType.php | 1 - src/Bundle/ChillEventBundle/Form/RoleType.php | 1 - src/Bundle/ChillEventBundle/Form/StatusType.php | 1 - src/Bundle/ChillEventBundle/Form/Type/PickEventType.php | 1 - src/Bundle/ChillEventBundle/Form/Type/PickEventTypeType.php | 1 - src/Bundle/ChillEventBundle/Form/Type/PickRoleType.php | 1 - src/Bundle/ChillEventBundle/Form/Type/PickStatusType.php | 1 - src/Bundle/ChillEventBundle/Menu/AdminMenuBuilder.php | 1 - src/Bundle/ChillEventBundle/Menu/PersonMenuBuilder.php | 1 - src/Bundle/ChillEventBundle/Repository/EventRepository.php | 1 - .../ChillEventBundle/Repository/ParticipationRepository.php | 1 - src/Bundle/ChillEventBundle/Search/EventSearch.php | 1 - .../ChillEventBundle/Security/Authorization/EventVoter.php | 1 - .../Security/Authorization/ParticipationVoter.php | 1 - .../ChillEventBundle/Tests/Controller/EventControllerTest.php | 1 - .../Tests/Controller/EventTypeControllerTest.php | 1 - .../Tests/Controller/ParticipationControllerTest.php | 1 - .../ChillEventBundle/Tests/Controller/RoleControllerTest.php | 1 - .../ChillEventBundle/Tests/Controller/StatusControllerTest.php | 1 - src/Bundle/ChillEventBundle/Tests/Search/EventSearchTest.php | 1 - src/Bundle/ChillEventBundle/Timeline/TimelineEventProvider.php | 1 - src/Bundle/ChillEventBundle/migrations/Version20160318111334.php | 1 - src/Bundle/ChillEventBundle/migrations/Version20190110140538.php | 1 - src/Bundle/ChillEventBundle/migrations/Version20190115140042.php | 1 - src/Bundle/ChillEventBundle/migrations/Version20190201143121.php | 1 - .../ChillFamilyMembersBundle/ChillAMLIFamilyMembersBundle.php | 1 - src/Bundle/ChillFamilyMembersBundle/Config/ConfigRepository.php | 1 - .../Controller/FamilyMemberController.php | 1 - .../DependencyInjection/ChillAMLIFamilyMembersExtension.php | 1 - .../DependencyInjection/Configuration.php | 1 - .../ChillFamilyMembersBundle/Entity/AbstractFamilyMember.php | 1 - src/Bundle/ChillFamilyMembersBundle/Entity/FamilyMember.php | 1 - src/Bundle/ChillFamilyMembersBundle/Form/FamilyMemberType.php | 1 - src/Bundle/ChillFamilyMembersBundle/Form/FamilyMembersType.php | 1 - src/Bundle/ChillFamilyMembersBundle/Menu/UserMenuBuilder.php | 1 - .../Repository/FamilyMemberRepository.php | 1 - .../Resources/migrations/Version20180522142023.php | 1 - .../Security/Voter/FamilyMemberVoter.php | 1 - src/Bundle/ChillFamilyMembersBundle/Templating/Twig.php | 1 - .../Tests/Controller/FamilyMemberControllerTest.php | 1 - .../CRUD/CompilerPass/CRUDControllerCompilerPass.php | 1 - .../ChillMainBundle/CRUD/Controller/AbstractCRUDController.php | 1 - src/Bundle/ChillMainBundle/CRUD/Controller/ApiController.php | 1 - src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php | 1 - src/Bundle/ChillMainBundle/CRUD/Form/CRUDDeleteEntityForm.php | 1 - src/Bundle/ChillMainBundle/CRUD/Resolver/Resolver.php | 1 - src/Bundle/ChillMainBundle/CRUD/Routing/CRUDRoutesLoader.php | 1 - src/Bundle/ChillMainBundle/CRUD/Templating/TwigCRUDResolver.php | 1 - src/Bundle/ChillMainBundle/Center/GroupingCenterInterface.php | 1 - src/Bundle/ChillMainBundle/ChillMainBundle.php | 1 - src/Bundle/ChillMainBundle/Command/ChillImportUsersCommand.php | 1 - .../Command/ChillUserSendRenewPasswordCodeCommand.php | 1 - .../Command/LoadAddressesBEFromBestAddressCommand.php | 1 - .../ChillMainBundle/Command/LoadAddressesFRFromBANOCommand.php | 1 - .../ChillMainBundle/Command/LoadAndUpdateLanguagesCommand.php | 1 - src/Bundle/ChillMainBundle/Command/LoadCountriesCommand.php | 1 - src/Bundle/ChillMainBundle/Command/LoadPostalCodeFR.php | 1 - src/Bundle/ChillMainBundle/Command/LoadPostalCodesCommand.php | 1 - src/Bundle/ChillMainBundle/Command/SetPasswordCommand.php | 1 - src/Bundle/ChillMainBundle/Controller/AddressApiController.php | 1 - .../ChillMainBundle/Controller/AddressReferenceAPIController.php | 1 - src/Bundle/ChillMainBundle/Controller/AdminController.php | 1 - src/Bundle/ChillMainBundle/Controller/CenterController.php | 1 - src/Bundle/ChillMainBundle/Controller/CivilityApiController.php | 1 - src/Bundle/ChillMainBundle/Controller/CivilityController.php | 1 - src/Bundle/ChillMainBundle/Controller/CountryController.php | 1 - src/Bundle/ChillMainBundle/Controller/DefaultController.php | 1 - src/Bundle/ChillMainBundle/Controller/LanguageController.php | 1 - src/Bundle/ChillMainBundle/Controller/LocationApiController.php | 1 - src/Bundle/ChillMainBundle/Controller/LocationController.php | 1 - .../ChillMainBundle/Controller/LocationTypeApiController.php | 1 - src/Bundle/ChillMainBundle/Controller/LocationTypeController.php | 1 - src/Bundle/ChillMainBundle/Controller/LoginController.php | 1 - src/Bundle/ChillMainBundle/Controller/MenuController.php | 1 - .../ChillMainBundle/Controller/NotificationApiController.php | 1 - src/Bundle/ChillMainBundle/Controller/NotificationController.php | 1 - src/Bundle/ChillMainBundle/Controller/PasswordController.php | 1 - .../ChillMainBundle/Controller/PermissionApiController.php | 1 - .../ChillMainBundle/Controller/PermissionsGroupController.php | 1 - .../ChillMainBundle/Controller/PostalCodeAPIController.php | 1 - src/Bundle/ChillMainBundle/Controller/PostalCodeController.php | 1 - src/Bundle/ChillMainBundle/Controller/ScopeController.php | 1 - src/Bundle/ChillMainBundle/Controller/SearchController.php | 1 - .../ChillMainBundle/Controller/TimelineCenterController.php | 1 - src/Bundle/ChillMainBundle/Controller/UIController.php | 1 - src/Bundle/ChillMainBundle/Controller/UserApiController.php | 1 - src/Bundle/ChillMainBundle/Controller/UserController.php | 1 - src/Bundle/ChillMainBundle/Controller/UserJobApiController.php | 1 - src/Bundle/ChillMainBundle/Controller/UserJobController.php | 1 - src/Bundle/ChillMainBundle/Controller/WorkflowApiController.php | 1 - src/Bundle/ChillMainBundle/Controller/WorkflowController.php | 1 - .../DataFixtures/ORM/LoadAbstractNotificationsTrait.php | 1 - .../ChillMainBundle/DataFixtures/ORM/LoadAddressReferences.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCenters.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCivility.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadCountries.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadGroupCenters.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLanguages.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLocationType.php | 1 - .../ChillMainBundle/DataFixtures/ORM/LoadPermissionsGroup.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadPostalCodes.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadRoleScopes.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadScopes.php | 1 - src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadUsers.php | 1 - .../ChillMainBundle/DependencyInjection/ChillMainExtension.php | 1 - .../DependencyInjection/CompilerPass/ACLFlagsCompilerPass.php | 1 - .../DependencyInjection/CompilerPass/ExportsCompilerPass.php | 1 - .../CompilerPass/GroupingCenterCompilerPass.php | 1 - .../DependencyInjection/CompilerPass/MenuCompilerPass.php | 1 - .../CompilerPass/NotificationCounterCompilerPass.php | 1 - .../CompilerPass/SearchableServicesCompilerPass.php | 1 - .../DependencyInjection/CompilerPass/TimelineCompilerClass.php | 1 - .../DependencyInjection/CompilerPass/WidgetsCompilerPass.php | 1 - .../DependencyInjection/ConfigConsistencyCompilerPass.php | 1 - src/Bundle/ChillMainBundle/DependencyInjection/Configuration.php | 1 - .../DependencyInjection/MissingBundleException.php | 1 - .../DependencyInjection/RoleProvidersCompilerPass.php | 1 - .../DependencyInjection/Widget/AbstractWidgetsCompilerPass.php | 1 - .../DependencyInjection/Widget/AddWidgetConfigurationTrait.php | 1 - .../DependencyInjection/Widget/Factory/AbstractWidgetFactory.php | 1 - .../Widget/Factory/WidgetFactoryInterface.php | 1 - .../Widget/HasWidgetFactoriesExtensionInterface.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/Extract.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/GetJsonFieldByKey.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/JsonAggregate.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/JsonbArrayLength.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/JsonbExistsInArray.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/OverlapsI.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/Replace.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/STContains.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/Similarity.php | 1 - .../ChillMainBundle/Doctrine/DQL/StrictWordSimilarityOPS.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/ToChar.php | 1 - src/Bundle/ChillMainBundle/Doctrine/DQL/Unaccent.php | 1 - .../Doctrine/Event/TrackCreateUpdateSubscriber.php | 1 - .../ChillMainBundle/Doctrine/Migrations/VersionComparator.php | 1 - src/Bundle/ChillMainBundle/Doctrine/Model/Point.php | 1 - src/Bundle/ChillMainBundle/Doctrine/Model/PointException.php | 1 - .../ChillMainBundle/Doctrine/Model/TrackCreationInterface.php | 1 - src/Bundle/ChillMainBundle/Doctrine/Model/TrackCreationTrait.php | 1 - .../ChillMainBundle/Doctrine/Model/TrackUpdateInterface.php | 1 - src/Bundle/ChillMainBundle/Doctrine/Model/TrackUpdateTrait.php | 1 - .../Doctrine/ORM/Hydration/FlatHierarchyEntityHydrator.php | 1 - .../ChillMainBundle/Doctrine/Type/NativeDateIntervalType.php | 1 - src/Bundle/ChillMainBundle/Doctrine/Type/PointType.php | 1 - src/Bundle/ChillMainBundle/Entity/Address.php | 1 - src/Bundle/ChillMainBundle/Entity/AddressReference.php | 1 - src/Bundle/ChillMainBundle/Entity/Center.php | 1 - src/Bundle/ChillMainBundle/Entity/Civility.php | 1 - src/Bundle/ChillMainBundle/Entity/Country.php | 1 - .../ChillMainBundle/Entity/Embeddable/CommentEmbeddable.php | 1 - .../Entity/Embeddable/PrivateCommentEmbeddable.php | 1 - src/Bundle/ChillMainBundle/Entity/GroupCenter.php | 1 - src/Bundle/ChillMainBundle/Entity/HasCenterInterface.php | 1 - src/Bundle/ChillMainBundle/Entity/HasCentersInterface.php | 1 - src/Bundle/ChillMainBundle/Entity/HasScopeInterface.php | 1 - src/Bundle/ChillMainBundle/Entity/HasScopesInterface.php | 1 - src/Bundle/ChillMainBundle/Entity/Language.php | 1 - src/Bundle/ChillMainBundle/Entity/Location.php | 1 - src/Bundle/ChillMainBundle/Entity/LocationType.php | 1 - src/Bundle/ChillMainBundle/Entity/Notification.php | 1 - src/Bundle/ChillMainBundle/Entity/NotificationComment.php | 1 - src/Bundle/ChillMainBundle/Entity/PermissionsGroup.php | 1 - src/Bundle/ChillMainBundle/Entity/PostalCode.php | 1 - src/Bundle/ChillMainBundle/Entity/RoleScope.php | 1 - src/Bundle/ChillMainBundle/Entity/Scope.php | 1 - src/Bundle/ChillMainBundle/Entity/User.php | 1 - src/Bundle/ChillMainBundle/Entity/UserJob.php | 1 - src/Bundle/ChillMainBundle/Entity/Workflow/EntityWorkflow.php | 1 - .../ChillMainBundle/Entity/Workflow/EntityWorkflowComment.php | 1 - .../ChillMainBundle/Entity/Workflow/EntityWorkflowStep.php | 1 - src/Bundle/ChillMainBundle/Export/AggregatorInterface.php | 1 - src/Bundle/ChillMainBundle/Export/DirectExportInterface.php | 1 - src/Bundle/ChillMainBundle/Export/ExportElementInterface.php | 1 - .../ChillMainBundle/Export/ExportElementValidatedInterface.php | 1 - .../ChillMainBundle/Export/ExportElementsProviderInterface.php | 1 - src/Bundle/ChillMainBundle/Export/FilterInterface.php | 1 - src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php | 1 - src/Bundle/ChillMainBundle/Export/Formatter/CSVListFormatter.php | 1 - .../ChillMainBundle/Export/Formatter/CSVPivotedListFormatter.php | 1 - .../Export/Formatter/SpreadsheetListFormatter.php | 1 - src/Bundle/ChillMainBundle/Export/FormatterInterface.php | 1 - src/Bundle/ChillMainBundle/Export/GroupedExportInterface.php | 1 - src/Bundle/ChillMainBundle/Export/ListInterface.php | 1 - src/Bundle/ChillMainBundle/Form/AdvancedSearchType.php | 1 - src/Bundle/ChillMainBundle/Form/CenterType.php | 1 - .../ChillMainBundle/Form/ChoiceLoader/PostalCodeChoiceLoader.php | 1 - src/Bundle/ChillMainBundle/Form/CivilityType.php | 1 - src/Bundle/ChillMainBundle/Form/CountryType.php | 1 - src/Bundle/ChillMainBundle/Form/DataMapper/AddressDataMapper.php | 1 - .../ChillMainBundle/Form/DataMapper/PrivateCommentDataMapper.php | 1 - .../ChillMainBundle/Form/DataMapper/ScopePickerDataMapper.php | 1 - src/Bundle/ChillMainBundle/Form/EntityWorkflowCommentType.php | 1 - src/Bundle/ChillMainBundle/Form/Event/CustomizeFormEvent.php | 1 - src/Bundle/ChillMainBundle/Form/LanguageType.php | 1 - src/Bundle/ChillMainBundle/Form/LocationFormType.php | 1 - src/Bundle/ChillMainBundle/Form/LocationTypeType.php | 1 - src/Bundle/ChillMainBundle/Form/NotificationCommentType.php | 1 - src/Bundle/ChillMainBundle/Form/NotificationType.php | 1 - src/Bundle/ChillMainBundle/Form/PermissionsGroupType.php | 1 - src/Bundle/ChillMainBundle/Form/ScopeType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/AddressDateType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/AddressType.php | 1 - .../ChillMainBundle/Form/Type/AppendScopeChoiceTypeTrait.php | 1 - src/Bundle/ChillMainBundle/Form/Type/ChillCollectionType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/ChillDateTimeType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/ChillDateType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/ChillPhoneNumberType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/ChillTextareaType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/CommentType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/ComposedGroupCenterType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/ComposedRoleScopeType.php | 1 - .../Form/Type/DataTransformer/AddressToIdDataTransformer.php | 1 - .../Form/Type/DataTransformer/CenterTransformer.php | 1 - .../Form/Type/DataTransformer/DateIntervalTransformer.php | 1 - .../Form/Type/DataTransformer/EntityToJsonTransformer.php | 1 - .../Form/Type/DataTransformer/MultipleObjectsToIdTransformer.php | 1 - .../Form/Type/DataTransformer/ObjectToIdTransformer.php | 1 - .../Form/Type/DataTransformer/ScopeTransformer.php | 1 - src/Bundle/ChillMainBundle/Form/Type/DateIntervalType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/Export/AggregatorType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/Export/ExportType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/Export/FilterType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/Export/FormatterType.php | 1 - .../ChillMainBundle/Form/Type/Export/PickFormatterType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/PickAddressType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/PickCenterType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/PickCivilityType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/PickUserDynamicType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/PostalCodeType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/PrivateCommentType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/ScopePickerType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/Select2ChoiceType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/Select2CountryType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/Select2EntityType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/Select2LanguageType.php | 1 - .../ChillMainBundle/Form/Type/TranslatableStringFormType.php | 1 - src/Bundle/ChillMainBundle/Form/Type/UserPickerType.php | 1 - src/Bundle/ChillMainBundle/Form/UserCurrentLocationType.php | 1 - src/Bundle/ChillMainBundle/Form/UserJobType.php | 1 - src/Bundle/ChillMainBundle/Form/UserPasswordType.php | 1 - src/Bundle/ChillMainBundle/Form/UserType.php | 1 - .../ChillMainBundle/Form/Utils/PermissionsGroupFlagProvider.php | 1 - src/Bundle/ChillMainBundle/Form/WorkflowStepType.php | 1 - src/Bundle/ChillMainBundle/Form/WorkflowTransitionType.php | 1 - .../Notification/Counter/NotificationByUserCounter.php | 1 - .../ChillMainBundle/Notification/Email/NotificationMailer.php | 1 - .../PersistNotificationOnTerminateEventSubscriber.php | 1 - .../Notification/Exception/NotificationHandlerNotFound.php | 1 - src/Bundle/ChillMainBundle/Notification/Mailer.php | 1 - .../Notification/NotificationHandlerInterface.php | 1 - .../ChillMainBundle/Notification/NotificationHandlerManager.php | 1 - .../ChillMainBundle/Notification/NotificationPersister.php | 1 - .../Notification/NotificationPersisterInterface.php | 1 - src/Bundle/ChillMainBundle/Notification/NotificationPresence.php | 1 - .../Notification/Templating/NotificationTwigExtension.php | 1 - .../Notification/Templating/NotificationTwigExtensionRuntime.php | 1 - src/Bundle/ChillMainBundle/Pagination/ChillItemsPerPageTwig.php | 1 - src/Bundle/ChillMainBundle/Pagination/ChillPaginationTwig.php | 1 - src/Bundle/ChillMainBundle/Pagination/Page.php | 1 - src/Bundle/ChillMainBundle/Pagination/PageGenerator.php | 1 - src/Bundle/ChillMainBundle/Pagination/PageInterface.php | 1 - src/Bundle/ChillMainBundle/Pagination/Paginator.php | 1 - src/Bundle/ChillMainBundle/Pagination/PaginatorFactory.php | 1 - src/Bundle/ChillMainBundle/Pagination/PaginatorInterface.php | 1 - .../ChillMainBundle/Phonenumber/PhoneNumberHelperInterface.php | 1 - src/Bundle/ChillMainBundle/Phonenumber/PhonenumberHelper.php | 1 - src/Bundle/ChillMainBundle/Phonenumber/Templating.php | 1 - src/Bundle/ChillMainBundle/Redis/ChillRedis.php | 1 - src/Bundle/ChillMainBundle/Redis/RedisConnectionFactory.php | 1 - .../ChillMainBundle/Repository/AddressReferenceRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/AddressRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/CivilityRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/CountryRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/GroupCenterRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/LanguageRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/LocationRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/LocationTypeRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/NotificationRepository.php | 1 - .../ChillMainBundle/Repository/PermissionsGroupRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/PostalCodeRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/RoleScopeRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/UserACLAwareRepository.php | 1 - .../Repository/UserACLAwareRepositoryInterface.php | 1 - src/Bundle/ChillMainBundle/Repository/UserJobRepository.php | 1 - src/Bundle/ChillMainBundle/Repository/UserRepository.php | 1 - .../Repository/Workflow/EntityWorkflowRepository.php | 1 - .../Repository/Workflow/EntityWorkflowStepRepository.php | 1 - src/Bundle/ChillMainBundle/Routing/Loader/ChillRoutesLoader.php | 1 - src/Bundle/ChillMainBundle/Routing/LocalMenuBuilderInterface.php | 1 - .../Routing/MenuBuilder/AdminLanguageMenuBuilder.php | 1 - .../Routing/MenuBuilder/AdminLocationMenuBuilder.php | 1 - .../ChillMainBundle/Routing/MenuBuilder/AdminUserMenuBuilder.php | 1 - .../ChillMainBundle/Routing/MenuBuilder/SectionMenuBuilder.php | 1 - .../ChillMainBundle/Routing/MenuBuilder/UserMenuBuilder.php | 1 - src/Bundle/ChillMainBundle/Routing/MenuComposer.php | 1 - src/Bundle/ChillMainBundle/Routing/MenuTwig.php | 1 - src/Bundle/ChillMainBundle/Search/AbstractSearch.php | 1 - .../ChillMainBundle/Search/Entity/SearchUserApiProvider.php | 1 - .../ChillMainBundle/Search/HasAdvancedSearchFormInterface.php | 1 - src/Bundle/ChillMainBundle/Search/Model/Result.php | 1 - src/Bundle/ChillMainBundle/Search/ParsingException.php | 1 - src/Bundle/ChillMainBundle/Search/SearchApi.php | 1 - src/Bundle/ChillMainBundle/Search/SearchApiInterface.php | 1 - src/Bundle/ChillMainBundle/Search/SearchApiNoQueryException.php | 1 - src/Bundle/ChillMainBundle/Search/SearchApiQuery.php | 1 - src/Bundle/ChillMainBundle/Search/SearchApiResult.php | 1 - src/Bundle/ChillMainBundle/Search/SearchInterface.php | 1 - src/Bundle/ChillMainBundle/Search/SearchProvider.php | 1 - .../ChillMainBundle/Search/UnknowSearchDomainException.php | 1 - src/Bundle/ChillMainBundle/Search/UnknowSearchNameException.php | 1 - .../ChillMainBundle/Search/Utils/ExtractDateFromPattern.php | 1 - .../Search/Utils/ExtractPhonenumberFromPattern.php | 1 - .../ChillMainBundle/Search/Utils/SearchExtractionResult.php | 1 - .../Security/Authorization/AbstractChillVoter.php | 1 - .../Security/Authorization/AuthorizationHelper.php | 1 - .../Security/Authorization/AuthorizationHelperInterface.php | 1 - .../Security/Authorization/ChillVoterInterface.php | 1 - .../Security/Authorization/DefaultVoterHelper.php | 1 - .../Security/Authorization/DefaultVoterHelperFactory.php | 1 - .../Security/Authorization/DefaultVoterHelperGenerator.php | 1 - .../Security/Authorization/EntityWorkflowVoter.php | 1 - .../ChillMainBundle/Security/Authorization/NotificationVoter.php | 1 - .../Security/Authorization/VoterGeneratorInterface.php | 1 - .../Security/Authorization/VoterHelperFactoryInterface.php | 1 - .../Security/Authorization/VoterHelperInterface.php | 1 - .../Security/Authorization/WorkflowEntityDeletionVoter.php | 1 - src/Bundle/ChillMainBundle/Security/ParentRoleHelper.php | 1 - .../Security/PasswordRecover/PasswordRecoverEvent.php | 1 - .../Security/PasswordRecover/PasswordRecoverEventSubscriber.php | 1 - .../Security/PasswordRecover/PasswordRecoverLocker.php | 1 - .../Security/PasswordRecover/PasswordRecoverVoter.php | 1 - .../Security/PasswordRecover/RecoverPasswordHelper.php | 1 - .../ChillMainBundle/Security/PasswordRecover/TokenManager.php | 1 - .../ChillMainBundle/Security/ProvideRoleHierarchyInterface.php | 1 - src/Bundle/ChillMainBundle/Security/ProvideRoleInterface.php | 1 - .../Security/Resolver/CenterResolverDispatcher.php | 1 - .../Security/Resolver/CenterResolverDispatcherInterface.php | 1 - .../Security/Resolver/CenterResolverInterface.php | 1 - .../ChillMainBundle/Security/Resolver/CenterResolverManager.php | 1 - .../Security/Resolver/CenterResolverManagerInterface.php | 1 - .../ChillMainBundle/Security/Resolver/DefaultCenterResolver.php | 1 - .../ChillMainBundle/Security/Resolver/DefaultScopeResolver.php | 1 - .../ChillMainBundle/Security/Resolver/ResolverTwigExtension.php | 1 - .../Security/Resolver/ScopeResolverDispatcher.php | 1 - .../ChillMainBundle/Security/Resolver/ScopeResolverInterface.php | 1 - src/Bundle/ChillMainBundle/Security/RoleProvider.php | 1 - .../ChillMainBundle/Security/UserProvider/UserProvider.php | 1 - src/Bundle/ChillMainBundle/Serializer/Model/Collection.php | 1 - src/Bundle/ChillMainBundle/Serializer/Model/Counter.php | 1 - .../ChillMainBundle/Serializer/Normalizer/AddressNormalizer.php | 1 - .../ChillMainBundle/Serializer/Normalizer/CenterNormalizer.php | 1 - .../Serializer/Normalizer/CollectionNormalizer.php | 1 - .../Serializer/Normalizer/CommentEmbeddableDocGenNormalizer.php | 1 - .../ChillMainBundle/Serializer/Normalizer/DateNormalizer.php | 1 - .../Serializer/Normalizer/DiscriminatedObjectDenormalizer.php | 1 - .../Serializer/Normalizer/DoctrineExistingEntityNormalizer.php | 1 - .../Serializer/Normalizer/EntityWorkflowNormalizer.php | 1 - .../Serializer/Normalizer/EntityWorkflowStepNormalizer.php | 1 - .../Serializer/Normalizer/NotificationNormalizer.php | 1 - .../Serializer/Normalizer/PhonenumberNormalizer.php | 1 - .../ChillMainBundle/Serializer/Normalizer/PointNormalizer.php | 1 - .../Serializer/Normalizer/PrivateCommentEmbeddableNormalizer.php | 1 - .../ChillMainBundle/Serializer/Normalizer/UserNormalizer.php | 1 - .../Service/Import/AddressReferenceBEFromBestAddress.php | 1 - .../Service/Import/AddressReferenceBaseImporter.php | 1 - .../ChillMainBundle/Service/Import/AddressReferenceFromBano.php | 1 - .../Service/Import/PostalCodeBEFromBestAddress.php | 1 - .../ChillMainBundle/Service/Import/PostalCodeBaseImporter.php | 1 - .../ChillMainBundle/Service/Import/PostalCodeFRFromOpenData.php | 1 - src/Bundle/ChillMainBundle/Service/Mailer/ChillMailer.php | 1 - src/Bundle/ChillMainBundle/Templating/CSVCellTwig.php | 1 - .../ChillMainBundle/Templating/ChillMarkdownRenderExtension.php | 1 - src/Bundle/ChillMainBundle/Templating/ChillTwigHelper.php | 1 - src/Bundle/ChillMainBundle/Templating/ChillTwigRoutingHelper.php | 1 - .../Templating/Entity/AbstractChillEntityRender.php | 1 - src/Bundle/ChillMainBundle/Templating/Entity/AddressRender.php | 1 - .../ChillMainBundle/Templating/Entity/ChillEntityRender.php | 1 - .../Templating/Entity/ChillEntityRenderExtension.php | 1 - .../Templating/Entity/ChillEntityRenderInterface.php | 1 - src/Bundle/ChillMainBundle/Templating/Entity/CommentRender.php | 1 - src/Bundle/ChillMainBundle/Templating/Entity/UserRender.php | 1 - .../Templating/Events/DelegatedBlockRenderingEvent.php | 1 - .../ChillMainBundle/Templating/Listing/FilterOrderHelper.php | 1 - .../Templating/Listing/FilterOrderHelperBuilder.php | 1 - .../Templating/Listing/FilterOrderHelperFactory.php | 1 - .../Templating/Listing/FilterOrderHelperFactoryInterface.php | 1 - src/Bundle/ChillMainBundle/Templating/Listing/Templating.php | 1 - .../ChillMainBundle/Templating/TranslatableStringHelper.php | 1 - .../Templating/TranslatableStringHelperInterface.php | 1 - src/Bundle/ChillMainBundle/Templating/TranslatableStringTwig.php | 1 - .../ChillMainBundle/Templating/UI/CountNotificationUser.php | 1 - .../Templating/UI/NotificationCounterInterface.php | 1 - src/Bundle/ChillMainBundle/Templating/Widget/WidgetInterface.php | 1 - .../ChillMainBundle/Templating/Widget/WidgetRenderingTwig.php | 1 - .../ChillMainBundle/Test/Export/AbstractAggregatorTest.php | 1 - src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php | 1 - src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php | 1 - src/Bundle/ChillMainBundle/Test/PrepareCenterTrait.php | 1 - src/Bundle/ChillMainBundle/Test/PrepareCircleTrait.php | 1 - src/Bundle/ChillMainBundle/Test/PrepareClientTrait.php | 1 - src/Bundle/ChillMainBundle/Test/PrepareScopeTrait.php | 1 - src/Bundle/ChillMainBundle/Test/PrepareUserTrait.php | 1 - .../ChillMainBundle/Tests/Authorization/ParentRoleHelperTest.php | 1 - .../ChillMainBundle/Tests/Controller/AddressControllerTest.php | 1 - .../Tests/Controller/AddressReferenceApiControllerTest.php | 1 - .../ChillMainBundle/Tests/Controller/CenterControllerTest.php | 1 - .../ChillMainBundle/Tests/Controller/ExportControllerTest.php | 1 - .../ChillMainBundle/Tests/Controller/LoginControllerTest.php | 1 - .../Tests/Controller/NotificationApiControllerTest.php | 1 - .../Tests/Controller/PermissionApiControllerTest.php | 1 - .../Tests/Controller/PermissionsGroupControllerTest.php | 1 - .../Tests/Controller/PostalCodeApiControllerTest.php | 1 - .../ChillMainBundle/Tests/Controller/ScopeControllerTest.php | 1 - .../ChillMainBundle/Tests/Controller/SearchApiControllerTest.php | 1 - .../ChillMainBundle/Tests/Controller/SearchControllerTest.php | 1 - .../ChillMainBundle/Tests/Controller/UserApiControllerTest.php | 1 - .../ChillMainBundle/Tests/Controller/UserControllerTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Doctrine/Model/PointTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Entity/NotificationTest.php | 1 - .../ChillMainBundle/Tests/Entity/Workflow/EntityWorkflowTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Export/ExportManagerTest.php | 1 - .../ChillMainBundle/Tests/Form/Type/PickCenterTypeTest.php | 1 - .../PersistNotificationOnTerminateEventSubscriberTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Pagination/PageTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Pagination/PaginatorTest.php | 1 - .../ChillMainBundle/Tests/Phonenumber/PhonenumberHelperTest.php | 1 - .../ChillMainBundle/Tests/Routing/Loader/RouteLoaderTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Search/AbstractSearchTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Search/SearchApiQueryTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Search/SearchProviderTest.php | 1 - .../Tests/Search/Utils/ExtractDateFromPatternTest.php | 1 - .../Tests/Search/Utils/ExtractPhonenumberFromPatternTest.php | 1 - .../Tests/Security/Authorization/AuthorizationHelperTest.php | 1 - .../Tests/Security/PasswordRecover/TokenManagerTest.php | 1 - .../Tests/Security/Resolver/CenterResolverDispatcherTest.php | 1 - .../Tests/Security/Resolver/DefaultScopeResolverTest.php | 1 - .../Tests/Security/Resolver/ScopeResolverDispatcherTest.php | 1 - .../Tests/Serializer/Normalizer/DateNormalizerTest.php | 1 - .../Normalizer/DoctrineExistingEntityNormalizerTest.php | 1 - .../Tests/Serializer/Normalizer/PhonenumberNormalizerTest.php | 1 - .../Tests/Services/Import/AddressReferenceBaseImporterTest.php | 1 - .../Tests/Services/Import/PostalCodeBaseImporterTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Services/MenuComposerTest.php | 1 - .../Tests/Templating/ChillMarkdownRenderExtensionTest.php | 1 - .../Tests/Templating/Entity/AddressRenderTest.php | 1 - src/Bundle/ChillMainBundle/Tests/TestHelper.php | 1 - src/Bundle/ChillMainBundle/Tests/Util/CountriesInfoTest.php | 1 - src/Bundle/ChillMainBundle/Tests/Util/DateRangeCoveringTest.php | 1 - .../Workflow/EventSubscriber/NotificationOnTransitionTest.php | 1 - src/Bundle/ChillMainBundle/Timeline/TimelineBuilder.php | 1 - .../ChillMainBundle/Timeline/TimelineProviderInterface.php | 1 - src/Bundle/ChillMainBundle/Timeline/TimelineSingleQuery.php | 1 - src/Bundle/ChillMainBundle/Util/CountriesInfo.php | 1 - src/Bundle/ChillMainBundle/Util/DateRangeCovering.php | 1 - .../Validation/Constraint/PhonenumberConstraint.php | 1 - .../Validation/Constraint/RoleScopeScopePresenceConstraint.php | 1 - .../Constraint/UserUniqueEmailAndUsernameConstraint.php | 1 - .../Validation/Validator/RoleScopeScopePresence.php | 1 - .../Validation/Validator/UserUniqueEmailAndUsername.php | 1 - .../ChillMainBundle/Validation/Validator/ValidPhonenumber.php | 1 - .../Validator/Constraints/Entity/UserCircleConsistency.php | 1 - .../Constraints/Entity/UserCircleConsistencyValidator.php | 1 - .../Validator/Constraints/Export/ExportElementConstraint.php | 1 - .../Constraints/Export/ExportElementConstraintValidator.php | 1 - .../ChillMainBundle/Workflow/Counter/WorkflowByUserCounter.php | 1 - .../ChillMainBundle/Workflow/EntityWorkflowHandlerInterface.php | 1 - src/Bundle/ChillMainBundle/Workflow/EntityWorkflowManager.php | 1 - .../EventSubscriber/EntityWorkflowTransitionEventSubscriber.php | 1 - .../Workflow/EventSubscriber/NotificationOnTransition.php | 1 - .../Workflow/EventSubscriber/SendAccessKeyEventSubscriber.php | 1 - .../Workflow/Exception/HandlerNotFoundException.php | 1 - src/Bundle/ChillMainBundle/Workflow/Helper/MetadataExtractor.php | 1 - .../Workflow/Notification/WorkflowNotificationHandler.php | 1 - .../Workflow/RelatedEntityWorkflowSupportsStrategy.php | 1 - .../Workflow/Templating/WorkflowTwigExtension.php | 1 - .../Workflow/Templating/WorkflowTwigExtensionRuntime.php | 1 - .../Workflow/Validator/EntityWorkflowCreation.php | 1 - .../Workflow/Validator/EntityWorkflowCreationValidator.php | 1 - src/Bundle/ChillMainBundle/Workflow/Validator/StepDestValid.php | 1 - .../Workflow/Validator/StepDestValidValidator.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20100000000000.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20141128194409.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20150821105642.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20150821122935.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20160310122322.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20180703191509.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20180709181423.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20180905101426.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20180911093642.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20200422122715.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210304085819.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210308111926.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210414091001.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210420115006.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210503085107.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210505153727.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210525144016.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210528090000.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210610140248.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210616134328.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210903144853.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20210929192242.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211006151653.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211007150019.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211012141336.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211013124455.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211015084653.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211022094429.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211116162847.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211119173554.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211123093355.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211125142016.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211125142017.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211213112628.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211216213649.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211225231532.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211228183221.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211228215919.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211229140308.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20211230003532.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220112123436.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220112150413.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220112161136.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220114132105.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220114165950.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220120155303.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220124085957.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220125134253.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220128211748.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220217133607.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220223171457.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220302132728.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220325134944.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220413154743.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220413225830.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220413230159.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220506131307.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220506145935.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220513151853.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220516085659.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220711150006.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220729205416.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220730204216.php | 1 - src/Bundle/ChillMainBundle/migrations/Version20220829132409.php | 1 - .../Events/PersonAddressMoveEventSubscriber.php | 1 - .../AccompanyingPeriod/Events/UserRefEventSubscriber.php | 1 - .../AccompanyingPeriodLinkedWithSocialIssuesEntityInterface.php | 1 - .../AccompanyingPeriodSocialIssueConsistencyEntityListener.php | 1 - .../AccompanyingPeriod/Suggestion/ReferralsSuggestion.php | 1 - .../Suggestion/ReferralsSuggestionInterface.php | 1 - src/Bundle/ChillPersonBundle/Actions/ActionEvent.php | 1 - src/Bundle/ChillPersonBundle/Actions/Remove/PersonMove.php | 1 - .../CRUD/Controller/EntityPersonCRUDController.php | 1 - .../CRUD/Controller/OneToOneEntityPersonCRUDController.php | 1 - src/Bundle/ChillPersonBundle/ChillPersonBundle.php | 1 - src/Bundle/ChillPersonBundle/Command/ChillPersonMoveCommand.php | 1 - .../ChillPersonBundle/Command/ImportPeopleFromCSVCommand.php | 1 - .../ChillPersonBundle/Command/ImportSocialWorkMetadata.php | 1 - .../Command/RemoveOldDraftAccompanyingPeriodCommand.php | 1 - .../ChillPersonBundle/Config/ConfigPersonAltNamesHelper.php | 1 - .../Controller/AccompanyingCourseApiController.php | 1 - .../Controller/AccompanyingCourseCommentController.php | 1 - .../Controller/AccompanyingCourseController.php | 1 - .../Controller/AccompanyingCourseWorkApiController.php | 1 - .../Controller/AccompanyingCourseWorkController.php | 1 - .../Controller/AccompanyingPeriodController.php | 1 - .../Controller/AccompanyingPeriodRegulationListController.php | 1 - .../Controller/AccompanyingPeriodWorkEvaluationApiController.php | 1 - src/Bundle/ChillPersonBundle/Controller/AdminController.php | 1 - .../ChillPersonBundle/Controller/ClosingMotiveController.php | 1 - .../ChillPersonBundle/Controller/HouseholdApiController.php | 1 - .../Controller/HouseholdCompositionController.php | 1 - .../Controller/HouseholdCompositionTypeApiController.php | 1 - .../Controller/HouseholdCompositionTypeController.php | 1 - src/Bundle/ChillPersonBundle/Controller/HouseholdController.php | 1 - .../ChillPersonBundle/Controller/HouseholdMemberController.php | 1 - .../ChillPersonBundle/Controller/HouseholdPositionController.php | 1 - .../ChillPersonBundle/Controller/MaritalStatusController.php | 1 - src/Bundle/ChillPersonBundle/Controller/OpeningApiController.php | 1 - src/Bundle/ChillPersonBundle/Controller/OriginController.php | 1 - .../ChillPersonBundle/Controller/PersonAddressController.php | 1 - src/Bundle/ChillPersonBundle/Controller/PersonApiController.php | 1 - src/Bundle/ChillPersonBundle/Controller/PersonController.php | 1 - .../ChillPersonBundle/Controller/PersonDuplicateController.php | 1 - .../ChillPersonBundle/Controller/PersonResourceController.php | 1 - .../Controller/PersonResourceKindController.php | 1 - .../Controller/ReassignAccompanyingPeriodController.php | 1 - src/Bundle/ChillPersonBundle/Controller/RelationController.php | 1 - .../ChillPersonBundle/Controller/RelationshipApiController.php | 1 - .../Controller/ResidentialAddressController.php | 1 - .../ChillPersonBundle/Controller/SocialIssueApiController.php | 1 - .../Controller/SocialWork/EvaluationController.php | 1 - .../ChillPersonBundle/Controller/SocialWork/GoalController.php | 1 - .../ChillPersonBundle/Controller/SocialWork/ResultController.php | 1 - .../Controller/SocialWork/SocialActionController.php | 1 - .../Controller/SocialWork/SocialIssueController.php | 1 - .../Controller/SocialWorkEvaluationApiController.php | 1 - .../ChillPersonBundle/Controller/SocialWorkGoalApiController.php | 1 - .../Controller/SocialWorkResultApiController.php | 1 - .../Controller/SocialWorkSocialActionApiController.php | 1 - .../ChillPersonBundle/Controller/TimelinePersonController.php | 1 - .../Controller/UserAccompanyingPeriodController.php | 1 - .../ChillPersonBundle/DataFixtures/Helper/PersonRandomHelper.php | 1 - .../DataFixtures/Helper/RandomPersonHelperTrait.php | 1 - .../DataFixtures/ORM/LoadAccompanyingPeriodClosingMotive.php | 1 - .../DataFixtures/ORM/LoadAccompanyingPeriodNotifications.php | 1 - .../DataFixtures/ORM/LoadAccompanyingPeriodOrigin.php | 1 - .../DataFixtures/ORM/LoadAccompanyingPeriodWork.php | 1 - .../ChillPersonBundle/DataFixtures/ORM/LoadCustomFields.php | 1 - src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadHousehold.php | 1 - .../DataFixtures/ORM/LoadHouseholdCompositionType.php | 1 - .../ChillPersonBundle/DataFixtures/ORM/LoadHouseholdPosition.php | 1 - .../ChillPersonBundle/DataFixtures/ORM/LoadMaritalStatus.php | 1 - src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php | 1 - src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPersonACL.php | 1 - src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadRelations.php | 1 - .../ChillPersonBundle/DataFixtures/ORM/LoadRelationships.php | 1 - .../DataFixtures/ORM/LoadSocialWorkMetadata.php | 1 - .../DependencyInjection/ChillPersonExtension.php | 1 - .../CompilerPass/AccompanyingPeriodTimelineCompilerPass.php | 1 - .../ChillPersonBundle/DependencyInjection/Configuration.php | 1 - src/Bundle/ChillPersonBundle/Doctrine/DQL/AddressPart.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartAddressId.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartCountryCode.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartCountryId.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartCountryName.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartIsNoAddress.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartPostCodeCode.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartPostCodeId.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartPostCodeLabel.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartStreetAddress1.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartStreetAddress2.php | 1 - .../Doctrine/DQL/AddressPart/AddressPartValidFrom.php | 1 - src/Bundle/ChillPersonBundle/Entity/AccompanyingPeriod.php | 1 - .../AccompanyingPeriod/AccompanyingPeriodLocationHistory.php | 1 - .../Entity/AccompanyingPeriod/AccompanyingPeriodWork.php | 1 - .../AccompanyingPeriod/AccompanyingPeriodWorkEvaluation.php | 1 - .../AccompanyingPeriodWorkEvaluationDocument.php | 1 - .../Entity/AccompanyingPeriod/AccompanyingPeriodWorkGoal.php | 1 - .../Entity/AccompanyingPeriod/ClosingMotive.php | 1 - .../ChillPersonBundle/Entity/AccompanyingPeriod/Comment.php | 1 - .../ChillPersonBundle/Entity/AccompanyingPeriod/Origin.php | 1 - .../ChillPersonBundle/Entity/AccompanyingPeriod/Resource.php | 1 - .../ChillPersonBundle/Entity/AccompanyingPeriod/UserHistory.php | 1 - .../ChillPersonBundle/Entity/AccompanyingPeriodParticipation.php | 1 - src/Bundle/ChillPersonBundle/Entity/HasPerson.php | 1 - src/Bundle/ChillPersonBundle/Entity/Household/Household.php | 1 - .../ChillPersonBundle/Entity/Household/HouseholdComposition.php | 1 - .../Entity/Household/HouseholdCompositionType.php | 1 - .../ChillPersonBundle/Entity/Household/HouseholdMember.php | 1 - .../Entity/Household/PersonHouseholdAddress.php | 1 - src/Bundle/ChillPersonBundle/Entity/Household/Position.php | 1 - src/Bundle/ChillPersonBundle/Entity/MaritalStatus.php | 1 - .../ChillPersonBundle/Entity/Person/PersonCurrentAddress.php | 1 - src/Bundle/ChillPersonBundle/Entity/Person/PersonResource.php | 1 - .../ChillPersonBundle/Entity/Person/PersonResourceKind.php | 1 - .../ChillPersonBundle/Entity/Person/ResidentialAddress.php | 1 - src/Bundle/ChillPersonBundle/Entity/PersonAltName.php | 1 - src/Bundle/ChillPersonBundle/Entity/PersonNotDuplicate.php | 1 - src/Bundle/ChillPersonBundle/Entity/PersonPhone.php | 1 - src/Bundle/ChillPersonBundle/Entity/Relationships/Relation.php | 1 - .../ChillPersonBundle/Entity/Relationships/Relationship.php | 1 - src/Bundle/ChillPersonBundle/Entity/SocialWork/Evaluation.php | 1 - src/Bundle/ChillPersonBundle/Entity/SocialWork/Goal.php | 1 - src/Bundle/ChillPersonBundle/Entity/SocialWork/Result.php | 1 - src/Bundle/ChillPersonBundle/Entity/SocialWork/SocialAction.php | 1 - src/Bundle/ChillPersonBundle/Entity/SocialWork/SocialIssue.php | 1 - .../ChillPersonBundle/Event/Person/PersonAddressMoveEvent.php | 1 - .../EventListener/AccompanyingPeriodWorkEventListener.php | 1 - .../ChillPersonBundle/EventListener/PersonEventListener.php | 1 - src/Bundle/ChillPersonBundle/Export/Declarations.php | 1 - .../Filter/AccompanyingCourseFilters/ActivityTypeFilter.php | 1 - .../Export/Filter/PersonFilters/FamilySituationFilter.php | 1 - .../ChillPersonBundle/Form/AccompanyingCourseCommentType.php | 1 - src/Bundle/ChillPersonBundle/Form/AccompanyingCourseType.php | 1 - src/Bundle/ChillPersonBundle/Form/AccompanyingPeriodType.php | 1 - .../ChillPersonBundle/Form/ChoiceLoader/PersonChoiceLoader.php | 1 - src/Bundle/ChillPersonBundle/Form/ClosingMotiveType.php | 1 - src/Bundle/ChillPersonBundle/Form/CreationPersonType.php | 1 - .../Form/DataMapper/PersonAltNameDataMapper.php | 1 - .../Form/DataTransformer/PersonToIdTransformer.php | 1 - src/Bundle/ChillPersonBundle/Form/HouseholdCompositionType.php | 1 - .../ChillPersonBundle/Form/HouseholdCompositionTypeType.php | 1 - src/Bundle/ChillPersonBundle/Form/HouseholdMemberType.php | 1 - src/Bundle/ChillPersonBundle/Form/HouseholdPositionType.php | 1 - src/Bundle/ChillPersonBundle/Form/HouseholdType.php | 1 - src/Bundle/ChillPersonBundle/Form/MaritalStatusType.php | 1 - src/Bundle/ChillPersonBundle/Form/OriginType.php | 1 - src/Bundle/ChillPersonBundle/Form/PersonConfimDuplicateType.php | 1 - .../ChillPersonBundle/Form/PersonFindManuallyDuplicateType.php | 1 - src/Bundle/ChillPersonBundle/Form/PersonResourceKindType.php | 1 - src/Bundle/ChillPersonBundle/Form/PersonResourceType.php | 1 - src/Bundle/ChillPersonBundle/Form/PersonType.php | 1 - src/Bundle/ChillPersonBundle/Form/RelationType.php | 1 - src/Bundle/ChillPersonBundle/Form/ResidentialAddressType.php | 1 - src/Bundle/ChillPersonBundle/Form/SocialWork/EvaluationType.php | 1 - src/Bundle/ChillPersonBundle/Form/SocialWork/GoalType.php | 1 - src/Bundle/ChillPersonBundle/Form/SocialWork/ResultType.php | 1 - .../ChillPersonBundle/Form/SocialWork/SocialActionType.php | 1 - src/Bundle/ChillPersonBundle/Form/SocialWork/SocialIssueType.php | 1 - .../ChillPersonBundle/Form/Type/ClosingMotivePickerType.php | 1 - src/Bundle/ChillPersonBundle/Form/Type/GenderType.php | 1 - src/Bundle/ChillPersonBundle/Form/Type/PersonAltNameType.php | 1 - src/Bundle/ChillPersonBundle/Form/Type/PersonPhoneType.php | 1 - src/Bundle/ChillPersonBundle/Form/Type/PickPersonDynamicType.php | 1 - src/Bundle/ChillPersonBundle/Form/Type/PickPersonType.php | 1 - .../ChillPersonBundle/Form/Type/Select2MaritalStatusType.php | 1 - src/Bundle/ChillPersonBundle/Household/MembersEditor.php | 1 - src/Bundle/ChillPersonBundle/Household/MembersEditorFactory.php | 1 - .../ChillPersonBundle/Menu/AccompanyingCourseMenuBuilder.php | 1 - .../Menu/AdminAccompanyingCourseMenuBuilder.php | 1 - src/Bundle/ChillPersonBundle/Menu/AdminHouseholdMenuBuilder.php | 1 - src/Bundle/ChillPersonBundle/Menu/AdminPersonMenuBuilder.php | 1 - src/Bundle/ChillPersonBundle/Menu/AdminSocialWorkMenuBuilder.php | 1 - src/Bundle/ChillPersonBundle/Menu/HouseholdMenuBuilder.php | 1 - src/Bundle/ChillPersonBundle/Menu/PersonMenuBuilder.php | 1 - src/Bundle/ChillPersonBundle/Menu/SectionMenuBuilder.php | 1 - src/Bundle/ChillPersonBundle/Menu/UserMenuBuilder.php | 1 - .../Notification/AccompanyingPeriodNotificationHandler.php | 1 - .../ChillPersonBundle/Privacy/AccompanyingPeriodPrivacyEvent.php | 1 - src/Bundle/ChillPersonBundle/Privacy/PrivacyEvent.php | 1 - src/Bundle/ChillPersonBundle/Privacy/PrivacyEventSubscriber.php | 1 - .../AccompanyingPeriodWorkEvaluationDocumentRepository.php | 1 - .../AccompanyingPeriodWorkEvaluationRepository.php | 1 - .../AccompanyingPeriod/AccompanyingPeriodWorkGoalRepository.php | 1 - .../AccompanyingPeriod/AccompanyingPeriodWorkRepository.php | 1 - .../Repository/AccompanyingPeriod/CommentRepository.php | 1 - .../Repository/AccompanyingPeriod/OriginRepository.php | 1 - .../Repository/AccompanyingPeriod/ResourceRepository.php | 1 - .../Repository/AccompanyingPeriodACLAwareRepository.php | 1 - .../Repository/AccompanyingPeriodACLAwareRepositoryInterface.php | 1 - .../Repository/AccompanyingPeriodParticipationRepository.php | 1 - .../Repository/AccompanyingPeriodRepository.php | 1 - .../Repository/Household/HouseholdACLAwareRepository.php | 1 - .../Household/HouseholdACLAwareRepositoryInterface.php | 1 - .../Repository/Household/HouseholdCompositionRepository.php | 1 - .../Repository/Household/HouseholdCompositionTypeRepository.php | 1 - .../Repository/Household/HouseholdMembersRepository.php | 1 - .../Repository/Household/HouseholdRepository.php | 1 - .../Repository/Household/PersonHouseholdAddressRepository.php | 1 - .../Repository/Household/PositionRepository.php | 1 - .../ChillPersonBundle/Repository/MaritalStatusRepository.php | 1 - .../Repository/PersonACLAwareRepositoryInterface.php | 1 - .../ChillPersonBundle/Repository/PersonAltNameRepository.php | 1 - .../Repository/PersonNotDuplicateRepository.php | 1 - src/Bundle/ChillPersonBundle/Repository/PersonRepository.php | 1 - .../ChillPersonBundle/Repository/PersonResourceRepository.php | 1 - .../Repository/Relationships/RelationRepository.php | 1 - .../Repository/Relationships/RelationshipRepository.php | 1 - .../Repository/ResidentialAddressRepository.php | 1 - .../Repository/SocialWork/EvaluationRepository.php | 1 - .../ChillPersonBundle/Repository/SocialWork/GoalRepository.php | 1 - .../ChillPersonBundle/Repository/SocialWork/ResultRepository.php | 1 - .../Repository/SocialWork/SocialActionRepository.php | 1 - .../Repository/SocialWork/SocialIssueRepository.php | 1 - src/Bundle/ChillPersonBundle/Search/PersonSearch.php | 1 - .../ChillPersonBundle/Search/SearchHouseholdApiProvider.php | 1 - src/Bundle/ChillPersonBundle/Search/SearchPersonApiProvider.php | 1 - src/Bundle/ChillPersonBundle/Search/SimilarPersonMatcher.php | 1 - .../Security/Authorization/AccompanyingPeriodCommentVoter.php | 1 - .../Security/Authorization/AccompanyingPeriodResourceVoter.php | 1 - .../AccompanyingPeriodWorkEvaluationDocumentVoter.php | 1 - .../Authorization/AccompanyingPeriodWorkEvaluationVoter.php | 1 - .../Security/Authorization/AccompanyingPeriodWorkVoter.php | 1 - .../ChillPersonBundle/Security/Authorization/PersonVoter.php | 1 - .../Serializer/Normalizer/AccompanyingPeriodDocGenNormalizer.php | 1 - .../Serializer/Normalizer/AccompanyingPeriodOriginNormalizer.php | 1 - .../Normalizer/AccompanyingPeriodParticipationNormalizer.php | 1 - .../Normalizer/AccompanyingPeriodResourceNormalizer.php | 1 - .../Serializer/Normalizer/AccompanyingPeriodWorkDenormalizer.php | 1 - .../Normalizer/AccompanyingPeriodWorkEvaluationDenormalizer.php | 1 - .../AccompanyingPeriodWorkEvaluationDocumentNormalizer.php | 1 - .../Normalizer/AccompanyingPeriodWorkEvaluationNormalizer.php | 1 - .../Serializer/Normalizer/AccompanyingPeriodWorkNormalizer.php | 1 - .../Serializer/Normalizer/MembersEditorNormalizer.php | 1 - .../Serializer/Normalizer/PersonDocGenNormalizer.php | 1 - .../Serializer/Normalizer/PersonJsonNormalizer.php | 1 - .../Serializer/Normalizer/PersonJsonNormalizerInterface.php | 1 - .../Serializer/Normalizer/RelationshipDocGenNormalizer.php | 1 - .../Serializer/Normalizer/SocialActionNormalizer.php | 1 - .../Serializer/Normalizer/SocialIssueNormalizer.php | 1 - .../Serializer/Normalizer/WorkflowNormalizer.php | 1 - .../AccompanyingPeriod/OldDraftAccompanyingPeriodRemover.php | 1 - .../OldDraftAccompanyingPeriodRemoverInterface.php | 1 - .../Service/DocGenerator/AccompanyingPeriodContext.php | 1 - .../Service/DocGenerator/AccompanyingPeriodWorkContext.php | 1 - .../DocGenerator/AccompanyingPeriodWorkEvaluationContext.php | 1 - .../ChillPersonBundle/Service/DocGenerator/PersonContext.php | 1 - src/Bundle/ChillPersonBundle/Service/Import/ChillImporter.php | 1 - .../ChillPersonBundle/Service/Import/SocialWorkMetadata.php | 1 - .../Service/Import/SocialWorkMetadataInterface.php | 1 - .../ChillPersonBundle/Templating/Entity/ClosingMotiveRender.php | 1 - src/Bundle/ChillPersonBundle/Templating/Entity/PersonRender.php | 1 - .../Templating/Entity/PersonRenderInterface.php | 1 - .../ChillPersonBundle/Templating/Entity/ResourceKindRender.php | 1 - .../ChillPersonBundle/Templating/Entity/SocialActionRender.php | 1 - .../ChillPersonBundle/Templating/Entity/SocialIssueRender.php | 1 - src/Bundle/ChillPersonBundle/Test/PreparePersonTrait.php | 1 - .../AccompanyingPeriod/AccompanyingPeriodConfidentialTest.php | 1 - .../AccompanyingPeriod/Events/PersonMoveEventSubscriberTest.php | 1 - ...ccompanyingPeriodSocialIssueConsistencyEntityListenerTest.php | 1 - .../AccompanyingPeriod/Workflow/WorkflowEventSubscriberTest.php | 1 - .../Tests/Controller/AccompanyingCourseApiControllerTest.php | 1 - .../Tests/Controller/AccompanyingCourseControllerTest.php | 1 - .../Tests/Controller/AccompanyingPeriodControllerTest.php | 1 - .../AccompanyingPeriodRegulationListControllerTest.php | 1 - .../Tests/Controller/HouseholdApiControllerTest.php | 1 - .../Tests/Controller/HouseholdControllerTest.php | 1 - .../Tests/Controller/HouseholdMemberControllerTest.php | 1 - .../Tests/Controller/PersonAddressControllerTest.php | 1 - .../Tests/Controller/PersonApiControllerTest.php | 1 - .../Tests/Controller/PersonControllerCreateTest.php | 1 - .../Tests/Controller/PersonControllerUpdateTest.php | 1 - .../Controller/PersonControllerUpdateWithHiddenFieldsTest.php | 1 - .../Tests/Controller/PersonControllerViewTest.php | 1 - .../Controller/PersonControllerViewWithHiddenFieldsTest.php | 1 - .../Tests/Controller/PersonDuplicateControllerViewTest.php | 1 - .../Tests/Controller/RelationshipApiControllerTest.php | 1 - .../Tests/Controller/SocialIssueApiControllerTest.php | 1 - .../Tests/Entity/AccompanyingPeriod/ResourceTest.php | 1 - .../ChillPersonBundle/Tests/Entity/AccompanyingPeriodTest.php | 1 - .../Tests/Entity/Household/HouseholdMemberTest.php | 1 - .../ChillPersonBundle/Tests/Entity/Household/HouseholdTest.php | 1 - .../Tests/Entity/SocialWork/SocialIssueTest.php | 1 - .../Tests/Event/Person/PersonAddressMoveEventTest.php | 1 - .../Tests/EventListener/PersonCreateEventTest.php | 1 - .../Tests/Export/Aggregator/ActionTypeAggregatorTest.php | 1 - .../Tests/Export/Aggregator/AgeAggregatorTest.php | 1 - .../Tests/Export/Aggregator/GenderAggregatorTest.php | 1 - .../Tests/Export/Aggregator/GoalAggregatorTest.php | 1 - .../Tests/Export/Aggregator/NationalityAggregatorTest.php | 1 - .../Tests/Export/Aggregator/ReferrerAggregatorTest.php | 1 - .../Tests/Export/Aggregator/ResultAggregatorTest.php | 1 - .../Tests/Export/Export/CountAccompanyingCourseTest.php | 1 - .../ChillPersonBundle/Tests/Export/Export/CountPersonTest.php | 1 - .../Tests/Export/Export/CountSocialWorkActionsTest.php | 1 - .../Tests/Export/Export/StatAccompanyingCourseDurationTest.php | 1 - .../Tests/Export/Filter/AccompanyingPeriodFilterTest.php | 1 - .../Tests/Export/Filter/ActiveOnDateFilterTest.php | 1 - .../Tests/Export/Filter/ActiveOneDayBetweenDatesFilterTest.php | 1 - .../Tests/Export/Filter/ActivityTypeFilterTest.php | 1 - .../Tests/Export/Filter/AdministrativeLocationFilterTest.php | 1 - .../ChillPersonBundle/Tests/Export/Filter/BirthdayFilterTest.php | 1 - .../Tests/Export/Filter/ClosingMotiveFilterTest.php | 1 - .../Tests/Export/Filter/ConfidentialFilterTest.php | 1 - .../Tests/Export/Filter/EmergencyFilterTest.php | 1 - .../Tests/Export/Filter/EvaluationFilterTest.php | 1 - .../ChillPersonBundle/Tests/Export/Filter/GenderFilterTest.php | 1 - .../Tests/Export/Filter/GeographicalUnitStatFilterTest.php | 1 - .../Tests/Export/Filter/IntensityFilterTest.php | 1 - .../ChillPersonBundle/Tests/Export/Filter/JobFilterTest.php | 1 - .../Tests/Export/Filter/OpenBetweenDatesFilterTest.php | 1 - .../ChillPersonBundle/Tests/Export/Filter/OriginFilterTest.php | 1 - .../ChillPersonBundle/Tests/Export/Filter/ReferrerFilterTest.php | 1 - .../Tests/Export/Filter/RequestorFilterTest.php | 1 - .../ChillPersonBundle/Tests/Export/Filter/ScopeFilterTest.php | 1 - .../Tests/Export/Filter/SocialActionFilterTest.php | 1 - .../Tests/Export/Filter/SocialIssueFilterTest.php | 1 - .../ChillPersonBundle/Tests/Export/Filter/StepFilterTest.php | 1 - .../ChillPersonBundle/Tests/Export/Filter/UserJobFilterTest.php | 1 - .../Tests/Export/Filter/UserScopeFilterTest.php | 1 - .../ChillPersonBundle/Tests/Form/Type/PickPersonTypeTest.php | 1 - .../ChillPersonBundle/Tests/Household/MembersEditorTest.php | 1 - src/Bundle/ChillPersonBundle/Tests/Search/PersonSearchTest.php | 1 - .../Tests/Security/Authorization/PersonVoterTest.php | 1 - .../Normalizer/AccompanyingPeriodDocGenNormalizerTest.php | 1 - .../Normalizer/AccompanyingPeriodWorkDocGenNormalizerTest.php | 1 - .../AccompanyingPeriodWorkEvaluationDenormalizerTest.php | 1 - .../Tests/Serializer/Normalizer/HouseholdNormalizerTest.php | 1 - .../Tests/Serializer/Normalizer/PersonDocGenNormalizerTest.php | 1 - .../Tests/Serializer/Normalizer/PersonJsonNormalizerTest.php | 1 - .../Serializer/Normalizer/RelationshipDocGenNormalizerTest.php | 1 - .../Tests/Serializer/Normalizer/ResourceJsonNormalizerTest.php | 1 - .../Tests/Timeline/TimelineAccompanyingPeriodTest.php | 1 - .../AccompanyingPeriod/LocationValidityValidatorTest.php | 1 - .../Household/HouseholdMembershipSequentialValidatorTest.php | 1 - .../Tests/Validator/Household/MaxHolderValidatorTest.php | 1 - .../Tests/Validator/Person/BirthdateValidatorTest.php | 1 - .../Tests/Validator/Person/PersonHasCenterValidatorTest.php | 1 - .../Tests/Validator/Person/PersonValidationTest.php | 1 - .../Tests/Workflows/AccompanyingPeriodLifecycle.php | 1 - .../Timeline/AbstractTimelineAccompanyingPeriod.php | 1 - .../Timeline/TimelineAccompanyingPeriodClosing.php | 1 - .../Timeline/TimelineAccompanyingPeriodOpening.php | 1 - .../AccompanyingPeriod/AccompanyingPeriodValidity.php | 1 - .../AccompanyingPeriod/AccompanyingPeriodValidityValidator.php | 1 - .../AccompanyingPeriod/ConfidentialCourseMustHaveReferrer.php | 1 - .../ConfidentialCourseMustHaveReferrerValidator.php | 1 - .../Constraints/AccompanyingPeriod/LocationValidity.php | 1 - .../Constraints/AccompanyingPeriod/LocationValidityValidator.php | 1 - .../Constraints/AccompanyingPeriod/ParticipationOverlap.php | 1 - .../AccompanyingPeriod/ParticipationOverlapValidator.php | 1 - .../Constraints/AccompanyingPeriod/ResourceDuplicateCheck.php | 1 - .../AccompanyingPeriod/ResourceDuplicateCheckValidator.php | 1 - .../Constraints/Household/HouseholdMembershipSequential.php | 1 - .../Household/HouseholdMembershipSequentialValidator.php | 1 - .../Validator/Constraints/Household/MaxHolder.php | 1 - .../Validator/Constraints/Household/MaxHolderValidator.php | 1 - .../ChillPersonBundle/Validator/Constraints/Person/Birthdate.php | 1 - .../Validator/Constraints/Person/BirthdateValidator.php | 1 - .../Validator/Constraints/Person/PersonHasCenter.php | 1 - .../Validator/Constraints/Person/PersonHasCenterValidator.php | 1 - .../Constraints/Relationship/RelationshipNoDuplicate.php | 1 - .../Relationship/RelationshipNoDuplicateValidator.php | 1 - src/Bundle/ChillPersonBundle/Widget/AddAPersonWidget.php | 1 - src/Bundle/ChillPersonBundle/Widget/PersonListWidget.php | 1 - .../Widget/PersonListWidget/PersonFilteringInterface.php | 1 - src/Bundle/ChillPersonBundle/Widget/PersonListWidgetFactory.php | 1 - .../AccompanyingPeriodWorkEvaluationDocumentWorkflowHandler.php | 1 - .../Workflow/AccompanyingPeriodWorkEvaluationWorkflowHandler.php | 1 - .../Workflow/AccompanyingPeriodWorkWorkflowHandler.php | 1 - .../ChillPersonBundle/migrations/Version20141129010948.php | 1 - .../ChillPersonBundle/migrations/Version20150212173934.php | 1 - .../ChillPersonBundle/migrations/Version20150607231010.php | 1 - .../ChillPersonBundle/migrations/Version20150811152608.php | 1 - .../ChillPersonBundle/migrations/Version20150812110708.php | 1 - .../ChillPersonBundle/migrations/Version20150820113409.php | 1 - .../ChillPersonBundle/migrations/Version20160310161006.php | 1 - .../ChillPersonBundle/migrations/Version20160422000000.php | 1 - .../ChillPersonBundle/migrations/Version20160818113633.php | 1 - .../ChillPersonBundle/migrations/Version20160818151130.php | 1 - .../ChillPersonBundle/migrations/Version20170117131924.php | 1 - .../ChillPersonBundle/migrations/Version20180518144221.php | 1 - .../ChillPersonBundle/migrations/Version20180820120000.php | 1 - .../ChillPersonBundle/migrations/Version20181005140249.php | 1 - .../ChillPersonBundle/migrations/Version20181023101621.php | 1 - .../ChillPersonBundle/migrations/Version20190701124238.php | 1 - .../ChillPersonBundle/migrations/Version20191106103452.php | 1 - .../ChillPersonBundle/migrations/Version20200128084445.php | 1 - .../ChillPersonBundle/migrations/Version20200130213446.php | 1 - .../ChillPersonBundle/migrations/Version20200310090632.php | 1 - .../ChillPersonBundle/migrations/Version20200422125935.php | 1 - .../ChillPersonBundle/migrations/Version20210128152747.php | 1 - .../ChillPersonBundle/migrations/Version20210318095831.php | 1 - .../ChillPersonBundle/migrations/Version20210325141540.php | 1 - .../ChillPersonBundle/migrations/Version20210326113045.php | 1 - .../ChillPersonBundle/migrations/Version20210329090904.php | 1 - .../ChillPersonBundle/migrations/Version20210329113152.php | 1 - .../ChillPersonBundle/migrations/Version20210329144338.php | 1 - .../ChillPersonBundle/migrations/Version20210330164922.php | 1 - .../ChillPersonBundle/migrations/Version20210331084527.php | 1 - .../ChillPersonBundle/migrations/Version20210419105054.php | 1 - .../ChillPersonBundle/migrations/Version20210419105940.php | 1 - .../ChillPersonBundle/migrations/Version20210419112619.php | 1 - .../ChillPersonBundle/migrations/Version20210426145930.php | 1 - .../ChillPersonBundle/migrations/Version20210427125700.php | 1 - .../ChillPersonBundle/migrations/Version20210505093408.php | 1 - .../ChillPersonBundle/migrations/Version20210505154316.php | 1 - .../ChillPersonBundle/migrations/Version20210518075908.php | 1 - .../ChillPersonBundle/migrations/Version20210518162439.php | 1 - .../ChillPersonBundle/migrations/Version20210519204938.php | 1 - .../ChillPersonBundle/migrations/Version20210525211214.php | 1 - .../ChillPersonBundle/migrations/Version20210528092625.php | 1 - .../ChillPersonBundle/migrations/Version20210528111624.php | 1 - .../ChillPersonBundle/migrations/Version20210528132405.php | 1 - .../ChillPersonBundle/migrations/Version20210528142121.php | 1 - .../ChillPersonBundle/migrations/Version20210614191600.php | 1 - .../ChillPersonBundle/migrations/Version20210615074857.php | 1 - .../ChillPersonBundle/migrations/Version20210616102900.php | 1 - .../ChillPersonBundle/migrations/Version20210617073504.php | 1 - .../ChillPersonBundle/migrations/Version20210618080702.php | 1 - .../ChillPersonBundle/migrations/Version20210620143757.php | 1 - .../ChillPersonBundle/migrations/Version20210623135043.php | 1 - .../ChillPersonBundle/migrations/Version20210623142046.php | 1 - .../ChillPersonBundle/migrations/Version20210624131722.php | 1 - .../ChillPersonBundle/migrations/Version20210624131723.php | 1 - .../ChillPersonBundle/migrations/Version20210727152826.php | 1 - .../ChillPersonBundle/migrations/Version20210729163023.php | 1 - .../ChillPersonBundle/migrations/Version20210730094514.php | 1 - .../ChillPersonBundle/migrations/Version20210730205407.php | 1 - .../ChillPersonBundle/migrations/Version20210802202838.php | 1 - .../ChillPersonBundle/migrations/Version20210820093927.php | 1 - .../ChillPersonBundle/migrations/Version20210820100407.php | 1 - .../ChillPersonBundle/migrations/Version20210831140339.php | 1 - .../ChillPersonBundle/migrations/Version20210910161858.php | 1 - .../ChillPersonBundle/migrations/Version20210915093624.php | 1 - .../ChillPersonBundle/migrations/Version20211020131133.php | 1 - .../ChillPersonBundle/migrations/Version20211021125359.php | 1 - .../ChillPersonBundle/migrations/Version20211025141226.php | 1 - .../ChillPersonBundle/migrations/Version20211029075117.php | 1 - .../ChillPersonBundle/migrations/Version20211108100849.php | 1 - .../ChillPersonBundle/migrations/Version20211112170027.php | 1 - .../ChillPersonBundle/migrations/Version20211119211101.php | 1 - .../ChillPersonBundle/migrations/Version20211119215630.php | 1 - .../ChillPersonBundle/migrations/Version20211213150253.php | 1 - .../ChillPersonBundle/migrations/Version20211213203147.php | 1 - .../ChillPersonBundle/migrations/Version20211213213755.php | 1 - .../ChillPersonBundle/migrations/Version20211216154008.php | 1 - .../ChillPersonBundle/migrations/Version20211223150721.php | 1 - .../ChillPersonBundle/migrations/Version20220104133334.php | 1 - .../ChillPersonBundle/migrations/Version20220119091025.php | 1 - .../ChillPersonBundle/migrations/Version20220119155944.php | 1 - .../ChillPersonBundle/migrations/Version20220121121310.php | 1 - .../ChillPersonBundle/migrations/Version20220128133039.php | 1 - .../ChillPersonBundle/migrations/Version20220214200327.php | 1 - .../ChillPersonBundle/migrations/Version20220215135509.php | 1 - .../ChillPersonBundle/migrations/Version20220224145951.php | 1 - .../ChillPersonBundle/migrations/Version20220303113855.php | 1 - .../ChillPersonBundle/migrations/Version20220310063629.php | 1 - .../ChillPersonBundle/migrations/Version20220310124318.php | 1 - .../ChillPersonBundle/migrations/Version20220425000000.php | 1 - .../ChillPersonBundle/migrations/Version20220427150431.php | 1 - .../ChillPersonBundle/migrations/Version20220429133023.php | 1 - .../ChillPersonBundle/migrations/Version20220527124737.php | 1 - src/Bundle/ChillReportBundle/ChillReportBundle.php | 1 - src/Bundle/ChillReportBundle/Controller/ReportController.php | 1 - .../ChillReportBundle/DataFixtures/ORM/LoadCustomField.php | 1 - .../ChillReportBundle/DataFixtures/ORM/LoadCustomFieldsGroup.php | 1 - src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReportACL.php | 1 - src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php | 1 - .../DependencyInjection/ChillReportExtension.php | 1 - .../ChillReportBundle/DependencyInjection/Configuration.php | 1 - src/Bundle/ChillReportBundle/Entity/Report.php | 1 - .../ChillReportBundle/Export/Export/ReportListProvider.php | 1 - src/Bundle/ChillReportBundle/Form/ReportType.php | 1 - src/Bundle/ChillReportBundle/Search/ReportSearch.php | 1 - .../ChillReportBundle/Security/Authorization/ReportVoter.php | 1 - .../Tests/Controller/ReportControllerNextTest.php | 1 - .../ChillReportBundle/Tests/Controller/ReportControllerTest.php | 1 - .../Tests/DependencyInjection/ChillReportExtensionTest.php | 1 - src/Bundle/ChillReportBundle/Tests/Search/ReportSearchTest.php | 1 - .../Tests/Security/Authorization/ReportVoterTest.php | 1 - .../ChillReportBundle/Tests/Timeline/TimelineProviderTest.php | 1 - src/Bundle/ChillReportBundle/Timeline/TimelineReportProvider.php | 1 - .../ChillReportBundle/migrations/Version20141129012050.php | 1 - .../ChillReportBundle/migrations/Version20150622233319.php | 1 - src/Bundle/ChillTaskBundle/ChillTaskBundle.php | 1 - src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php | 1 - src/Bundle/ChillTaskBundle/Controller/TaskController.php | 1 - src/Bundle/ChillTaskBundle/DataFixtures/ORM/LoadTaskACL.php | 1 - .../ChillTaskBundle/DependencyInjection/ChillTaskExtension.php | 1 - .../Compiler/TaskWorkflowDefinitionCompilerPass.php | 1 - src/Bundle/ChillTaskBundle/DependencyInjection/Configuration.php | 1 - src/Bundle/ChillTaskBundle/Entity/AbstractTask.php | 1 - src/Bundle/ChillTaskBundle/Entity/RecurringTask.php | 1 - src/Bundle/ChillTaskBundle/Entity/SingleTask.php | 1 - .../ChillTaskBundle/Entity/Task/AbstractTaskPlaceEvent.php | 1 - src/Bundle/ChillTaskBundle/Entity/Task/SingleTaskPlaceEvent.php | 1 - .../ChillTaskBundle/Event/Lifecycle/TaskLifecycleEvent.php | 1 - src/Bundle/ChillTaskBundle/Event/TaskEvent.php | 1 - src/Bundle/ChillTaskBundle/Event/UI/UIEvent.php | 1 - src/Bundle/ChillTaskBundle/Form/SingleTaskListType.php | 1 - src/Bundle/ChillTaskBundle/Form/SingleTaskType.php | 1 - src/Bundle/ChillTaskBundle/Menu/MenuBuilder.php | 1 - src/Bundle/ChillTaskBundle/Menu/SectionMenuBuilder.php | 1 - src/Bundle/ChillTaskBundle/Menu/UserMenuBuilder.php | 1 - src/Bundle/ChillTaskBundle/Repository/AbstractTaskRepository.php | 1 - .../ChillTaskBundle/Repository/RecurringTaskRepository.php | 1 - .../Repository/SingleTaskAclAwareRepositoryInterface.php | 1 - src/Bundle/ChillTaskBundle/Repository/SingleTaskRepository.php | 1 - .../Security/Authorization/AuthorizationEvent.php | 1 - src/Bundle/ChillTaskBundle/Security/Authorization/TaskVoter.php | 1 - src/Bundle/ChillTaskBundle/Templating/TaskTwigExtension.php | 1 - .../ChillTaskBundle/Templating/UI/CountNotificationTask.php | 1 - .../Tests/Controller/SingleTaskControllerTest.php | 1 - .../ChillTaskBundle/Tests/Controller/TaskControllerTest.php | 1 - .../Timeline/SingleTaskTaskLifeCycleEventTimelineProvider.php | 1 - .../Timeline/TaskLifeCycleEventTimelineProvider.php | 1 - .../Workflow/Definition/DefaultTaskDefinition.php | 1 - .../ChillTaskBundle/Workflow/Event/DefaultTaskGuardEvent.php | 1 - src/Bundle/ChillTaskBundle/Workflow/TaskWorkflowDefinition.php | 1 - src/Bundle/ChillTaskBundle/Workflow/TaskWorkflowManager.php | 1 - src/Bundle/ChillTaskBundle/migrations/Version20180413135614.php | 1 - src/Bundle/ChillTaskBundle/migrations/Version20180413201023.php | 1 - src/Bundle/ChillTaskBundle/migrations/Version20180426093011.php | 1 - src/Bundle/ChillTaskBundle/migrations/Version20180502194119.php | 1 - src/Bundle/ChillTaskBundle/migrations/Version20181113161925.php | 1 - src/Bundle/ChillTaskBundle/migrations/Version20181113164108.php | 1 - src/Bundle/ChillTaskBundle/migrations/Version20210909153533.php | 1 - src/Bundle/ChillTaskBundle/migrations/Version20211029213909.php | 1 - src/Bundle/ChillThirdPartyBundle/ChillThirdPartyBundle.php | 1 - src/Bundle/ChillThirdPartyBundle/Controller/AdminController.php | 1 - .../Controller/ThirdPartyCategoryController.php | 1 - .../ChillThirdPartyBundle/Controller/ThirdPartyController.php | 1 - .../ChillThirdPartyBundle/DataFixtures/ORM/LoadThirdParty.php | 1 - .../DataFixtures/ORM/LoadThirdPartyCategory.php | 1 - .../DataFixtures/ORM/LoadThirdPartyProfession.php | 1 - .../DependencyInjection/ChillThirdPartyExtension.php | 1 - .../CompilerPass/ThirdPartyTypeCompilerPass.php | 1 - .../ChillThirdPartyBundle/DependencyInjection/Configuration.php | 1 - src/Bundle/ChillThirdPartyBundle/Entity/ThirdParty.php | 1 - src/Bundle/ChillThirdPartyBundle/Entity/ThirdPartyCategory.php | 1 - src/Bundle/ChillThirdPartyBundle/Entity/ThirdPartyProfession.php | 1 - .../EventListener/ThirdPartyEventListener.php | 1 - .../Form/ChoiceLoader/ThirdPartyChoiceLoader.php | 1 - src/Bundle/ChillThirdPartyBundle/Form/ThirdPartyCategoryType.php | 1 - src/Bundle/ChillThirdPartyBundle/Form/ThirdPartyType.php | 1 - .../ChillThirdPartyBundle/Form/Type/PickThirdPartyType.php | 1 - .../Form/Type/PickThirdPartyTypeCategoryType.php | 1 - .../Form/Type/PickThirdpartyDynamicType.php | 1 - src/Bundle/ChillThirdPartyBundle/Menu/AdminMenuBuilder.php | 1 - src/Bundle/ChillThirdPartyBundle/Menu/MenuBuilder.php | 1 - .../Repository/ThirdPartyACLAwareRepository.php | 1 - .../Repository/ThirdPartyACLAwareRepositoryInterface.php | 1 - .../Repository/ThirdPartyCategoryRepository.php | 1 - .../Repository/ThirdPartyProfessionRepository.php | 1 - .../ChillThirdPartyBundle/Repository/ThirdPartyRepository.php | 1 - src/Bundle/ChillThirdPartyBundle/Search/ThirdPartyApiSearch.php | 1 - src/Bundle/ChillThirdPartyBundle/Search/ThirdPartySearch.php | 1 - .../ChillThirdPartyBundle/Security/Voter/ThirdPartyVoter.php | 1 - .../Serializer/Normalizer/ThirdPartyNormalizer.php | 1 - .../ChillThirdPartyBundle/Templating/Entity/ThirdPartyRender.php | 1 - .../Tests/Controller/ThirdPartyControllerTest.php | 1 - src/Bundle/ChillThirdPartyBundle/Tests/Entity/ThirdPartyTest.php | 1 - .../Serializer/Normalizer/ThirdPartyDocGenNormalizerTest.php | 1 - .../Serializer/Normalizer/ThirdPartyJsonDenormalizerTest.php | 1 - .../ThirdPartyType/ThirdPartyTypeManager.php | 1 - .../ThirdPartyType/ThirdPartyTypeProviderInterface.php | 1 - .../ChillThirdPartyBundle/migrations/Version20190307111314.php | 1 - .../ChillThirdPartyBundle/migrations/Version20190307131650.php | 1 - .../ChillThirdPartyBundle/migrations/Version20190418090842.php | 1 - .../ChillThirdPartyBundle/migrations/Version20190429171109.php | 1 - .../ChillThirdPartyBundle/migrations/Version20190502144206.php | 1 - .../ChillThirdPartyBundle/migrations/Version20210525211216.php | 1 - .../ChillThirdPartyBundle/migrations/Version20210719105918.php | 1 - .../ChillThirdPartyBundle/migrations/Version20211006200924.php | 1 - .../ChillThirdPartyBundle/migrations/Version20211007150459.php | 1 - .../ChillThirdPartyBundle/migrations/Version20211007165001.php | 1 - .../ChillThirdPartyBundle/migrations/Version20211007194942.php | 1 - .../ChillThirdPartyBundle/migrations/Version20220302143821.php | 1 - .../ChillThirdPartyBundle/migrations/Version20220322095659.php | 1 - .../ChillThirdPartyBundle/migrations/Version20220324175549.php | 1 - src/Bundle/ChillWopiBundle/src/ChillWopiBundle.php | 1 - src/Bundle/ChillWopiBundle/src/Controller/Editor.php | 1 - .../src/DependencyInjection/ChillWopiExtension.php | 1 - .../ChillWopiBundle/src/DependencyInjection/Configuration.php | 1 - .../ChillWopiBundle/src/Resources/config/routes/routes.php | 1 - src/Bundle/ChillWopiBundle/src/Resources/config/services.php | 1 - src/Bundle/ChillWopiBundle/src/Service/Controller/Responder.php | 1 - .../src/Service/Controller/ResponderInterface.php | 1 - .../src/Service/Wopi/ChillDocumentLockManager.php | 1 - .../ChillWopiBundle/src/Service/Wopi/ChillDocumentManager.php | 1 - src/Bundle/ChillWopiBundle/src/Service/Wopi/ChillWopi.php | 1 - .../tests/Service/Wopi/ChillDocumentLockManagerTest.php | 1 - 1470 files changed, 1470 deletions(-) diff --git a/src/Bundle/ChillActivityBundle/ChillActivityBundle.php b/src/Bundle/ChillActivityBundle/ChillActivityBundle.php index 5c6a7f5d6..5f872a7dc 100644 --- a/src/Bundle/ChillActivityBundle/ChillActivityBundle.php +++ b/src/Bundle/ChillActivityBundle/ChillActivityBundle.php @@ -1,6 +1,5 @@ Date: Thu, 6 Oct 2022 20:46:57 +0200 Subject: [PATCH 07/26] Feature: Allow to filter periods to reassign by postal code --- .../Controller/PostalCodeAPIController.php | 6 +- .../PostalCodeToIdTransformer.php | 55 +++++++++ .../Form/Type/PickPostalCodeType.php | 49 ++++++++ .../Repository/PostalCodeRepository.php | 16 +-- .../PostalCodeRepositoryInterface.php | 42 +++++++ .../public/module/pick-postal-code/index.js | 66 +++++++++++ .../vuejs/PickPostalCode/PickPostalCode.md | 4 + .../vuejs/PickPostalCode/PickPostalCode.vue | 108 ++++++++++++++++++ .../vuejs/PickPostalCode/_PickPostalCode.scss | 3 + .../public/vuejs/PickPostalCode/api.js | 43 +++++++ .../Resources/views/Form/fields.html.twig | 6 + .../Form/Type/PickPostalCodeTypeTest.php | 67 +++++++++++ .../ChillMainBundle/chill.webpack.config.js | 1 + .../ReassignAccompanyingPeriodController.php | 15 ++- .../AccompanyingPeriodACLAwareRepository.php | 74 +++++++++++- ...nyingPeriodACLAwareRepositoryInterface.php | 11 ++ .../reassign_list.html.twig | 4 + .../translations/messages.fr.yml | 2 + 18 files changed, 553 insertions(+), 19 deletions(-) create mode 100644 src/Bundle/ChillMainBundle/Form/Type/DataTransformer/PostalCodeToIdTransformer.php create mode 100644 src/Bundle/ChillMainBundle/Form/Type/PickPostalCodeType.php create mode 100644 src/Bundle/ChillMainBundle/Repository/PostalCodeRepositoryInterface.php create mode 100644 src/Bundle/ChillMainBundle/Resources/public/module/pick-postal-code/index.js create mode 100644 src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/PickPostalCode.md create mode 100644 src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/PickPostalCode.vue create mode 100644 src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/_PickPostalCode.scss create mode 100644 src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/api.js create mode 100644 src/Bundle/ChillMainBundle/Tests/Form/Type/PickPostalCodeTypeTest.php diff --git a/src/Bundle/ChillMainBundle/Controller/PostalCodeAPIController.php b/src/Bundle/ChillMainBundle/Controller/PostalCodeAPIController.php index 437f0930c..8e679b228 100644 --- a/src/Bundle/ChillMainBundle/Controller/PostalCodeAPIController.php +++ b/src/Bundle/ChillMainBundle/Controller/PostalCodeAPIController.php @@ -14,7 +14,7 @@ namespace Chill\MainBundle\Controller; use Chill\MainBundle\CRUD\Controller\ApiController; use Chill\MainBundle\Pagination\PaginatorFactory; use Chill\MainBundle\Repository\CountryRepository; -use Chill\MainBundle\Repository\PostalCodeRepository; +use Chill\MainBundle\Repository\PostalCodeRepositoryInterface; use Chill\MainBundle\Serializer\Model\Collection; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; @@ -30,11 +30,11 @@ final class PostalCodeAPIController extends ApiController private PaginatorFactory $paginatorFactory; - private PostalCodeRepository $postalCodeRepository; + private PostalCodeRepositoryInterface $postalCodeRepository; public function __construct( CountryRepository $countryRepository, - PostalCodeRepository $postalCodeRepository, + PostalCodeRepositoryInterface $postalCodeRepository, PaginatorFactory $paginatorFactory ) { $this->countryRepository = $countryRepository; diff --git a/src/Bundle/ChillMainBundle/Form/Type/DataTransformer/PostalCodeToIdTransformer.php b/src/Bundle/ChillMainBundle/Form/Type/DataTransformer/PostalCodeToIdTransformer.php new file mode 100644 index 000000000..ca488fe1a --- /dev/null +++ b/src/Bundle/ChillMainBundle/Form/Type/DataTransformer/PostalCodeToIdTransformer.php @@ -0,0 +1,55 @@ +postalCodeRepository = $postalCodeRepository; + } + + public function reverseTransform($value) + { + if (null === $value || trim('') === $value) { + return null; + } + + if (!is_int((int) $value)) { + throw new TransformationFailedException('Cannot transform ' . gettype($value)); + } + + return $this->postalCodeRepository->find((int) $value); + } + + public function transform($value) + { + if (null === $value) { + return null; + } + + if ($value instanceof PostalCode) { + return $value->getId(); + } + + throw new TransformationFailedException('Could not reverseTransform ' . gettype($value)); + } +} diff --git a/src/Bundle/ChillMainBundle/Form/Type/PickPostalCodeType.php b/src/Bundle/ChillMainBundle/Form/Type/PickPostalCodeType.php new file mode 100644 index 000000000..d1feacd6a --- /dev/null +++ b/src/Bundle/ChillMainBundle/Form/Type/PickPostalCodeType.php @@ -0,0 +1,49 @@ +postalCodeToIdTransformer = $postalCodeToIdTransformer; + } + + public function buildForm(FormBuilderInterface $builder, array $options) + { + $builder->addViewTransformer($this->postalCodeToIdTransformer); + } + + public function buildView(FormView $view, FormInterface $form, array $options) + { + $view->vars['uniqid'] = $view->vars['attr']['data-input-postal-code'] = uniqid('input_pick_postal_code_'); + } + + public function configureOptions(OptionsResolver $resolver) + { + $resolver + ->setDefault('class', PostalCode::class) + ->setDefault('multiple', false) + ->setAllowedTypes('multiple', ['bool']) + ->setDefault('compound', false); + } +} diff --git a/src/Bundle/ChillMainBundle/Repository/PostalCodeRepository.php b/src/Bundle/ChillMainBundle/Repository/PostalCodeRepository.php index c53df01df..32c1322be 100644 --- a/src/Bundle/ChillMainBundle/Repository/PostalCodeRepository.php +++ b/src/Bundle/ChillMainBundle/Repository/PostalCodeRepository.php @@ -18,10 +18,9 @@ use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityRepository; use Doctrine\ORM\Query\ResultSetMapping; use Doctrine\ORM\Query\ResultSetMappingBuilder; -use Doctrine\Persistence\ObjectRepository; use RuntimeException; -final class PostalCodeRepository implements ObjectRepository +final class PostalCodeRepository implements PostalCodeRepositoryInterface { private EntityManagerInterface $entityManager; @@ -29,7 +28,7 @@ final class PostalCodeRepository implements ObjectRepository public function __construct(EntityManagerInterface $entityManager) { - $this->repository = $entityManager->getRepository(PostalCode::class); + $this->repository = $entityManager->getRepository($this->getClassName()); $this->entityManager = $entityManager; } @@ -51,20 +50,11 @@ final class PostalCodeRepository implements ObjectRepository return $this->repository->find($id, $lockMode, $lockVersion); } - /** - * @return PostalCode[] - */ public function findAll(): array { return $this->repository->findAll(); } - /** - * @param mixed|null $limit - * @param mixed|null $offset - * - * @return PostalCode[] - */ public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null): array { return $this->repository->findBy($criteria, $orderBy, $limit, $offset); @@ -95,7 +85,7 @@ final class PostalCodeRepository implements ObjectRepository return $this->repository->findOneBy($criteria, $orderBy); } - public function getClassName() + public function getClassName(): string { return PostalCode::class; } diff --git a/src/Bundle/ChillMainBundle/Repository/PostalCodeRepositoryInterface.php b/src/Bundle/ChillMainBundle/Repository/PostalCodeRepositoryInterface.php new file mode 100644 index 000000000..fe3dee195 --- /dev/null +++ b/src/Bundle/ChillMainBundle/Repository/PostalCodeRepositoryInterface.php @@ -0,0 +1,42 @@ +', + components: { + PickPostalCode, + }, + data() { + return { + city: city, + } + }, + methods: { + onCitySelected(city) { + this.city = city; + input.value = city.id; + }, + onCityRemoved(city) { + this.city = null; + input.value = ''; + } + } + }) + .use(i18n) + .mount(el); +} + +function loadDynamicPickers(element) { + + let apps = element.querySelectorAll('[data-module="pick-postal-code"]'); + + apps.forEach(function(el) { + + console.log('el', el); + const + uniqId = el.dataset.uniqid, + input = document.querySelector(`input[data-input-uniqid="${uniqId}"]`), + cityIdValue = input.value === '' ? null : input.value + ; + + console.log('uniqid', uniqId); + console.log('input', input); + console.log('input value', input.value); + console.log('cityIdValue', cityIdValue); + + if (cityIdValue !== null) { + makeFetch('GET', `/api/1.0/main/postal-code/${cityIdValue}.json`).then(city => { + loadOnePicker(el, input, uniqId, city); + }) + } else { + loadOnePicker(el, input, uniqId, null); + } + }); +} + +document.addEventListener('DOMContentLoaded', function(e) { + loadDynamicPickers(document) +}) diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/PickPostalCode.md b/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/PickPostalCode.md new file mode 100644 index 000000000..93dcf1816 --- /dev/null +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/PickPostalCode.md @@ -0,0 +1,4 @@ +# Pickpostalcode + +## Usage + diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/PickPostalCode.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/PickPostalCode.vue new file mode 100644 index 000000000..3c191b8c4 --- /dev/null +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/PickPostalCode.vue @@ -0,0 +1,108 @@ + + + diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/_PickPostalCode.scss b/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/_PickPostalCode.scss new file mode 100644 index 000000000..09f5fd539 --- /dev/null +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/_PickPostalCode.scss @@ -0,0 +1,3 @@ +.PickPostalCode { + +} diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/api.js b/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/api.js new file mode 100644 index 000000000..d31dcc3f4 --- /dev/null +++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/PickPostalCode/api.js @@ -0,0 +1,43 @@ +import {makeFetch, fetchResults} from 'ChillMainAssets/lib/api/apiMethods'; + +/** + * Endpoint chill_api_single_postal_code__index + * method GET, get Cities Object + * @params {object} a country object + * @returns {Promise} a promise containing all Postal Code objects filtered with country + */ +const fetchCities = (country) => { + // warning: do not use fetchResults (in apiMethods): we need only a **part** of the results in the db + const params = new URLSearchParams({item_per_page: 100}); + + if (country !== null) { + params.append('country', country.id); + } + + return makeFetch('GET', `/api/1.0/main/postal-code.json?${params.toString()}`).then(r => Promise.resolve(r.results)); +}; + +/** + * Endpoint chill_main_postalcodeapi_search + * method GET, get Cities Object + * @params {string} search a search string + * @params {object} country a country object + * @params {AbortController} an abort controller + * @returns {Promise} a promise containing all Postal Code objects filtered with country and a search string + */ +const searchCities = (search, country, controller) => { + const url = '/api/1.0/main/postal-code/search.json?'; + const params = new URLSearchParams({q: search}); + + if (country !== null) { + Object.assign('country', country.id); + } + + return makeFetch('GET', url + params, null, {signal: controller.signal}) + .then(result => Promise.resolve(result.results)); +}; + +export { + fetchCities, + searchCities, +}; diff --git a/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig index 586b900aa..7ab8a4c85 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Form/fields.html.twig @@ -238,3 +238,9 @@
    {% endblock %} + +{% block pick_postal_code_widget %} + {{ form_help(form)}} + +
    +{% endblock %} diff --git a/src/Bundle/ChillMainBundle/Tests/Form/Type/PickPostalCodeTypeTest.php b/src/Bundle/ChillMainBundle/Tests/Form/Type/PickPostalCodeTypeTest.php new file mode 100644 index 000000000..9c0174754 --- /dev/null +++ b/src/Bundle/ChillMainBundle/Tests/Form/Type/PickPostalCodeTypeTest.php @@ -0,0 +1,67 @@ +factory->create(PickPostalCodeType::class, null); + + $form->submit(['1']); + + $this->assertTrue($form->isSynchronized()); + + $this->assertEquals(1, $form->getData()->getId()); + } + + protected function getExtensions() + { + $postalCodeRepository = $this->prophesize(PostalCodeRepositoryInterface::class); + $postalCodeRepository->find(Argument::type('string')) + ->will(static function ($args) { + $postalCode = new PostalCode(); + $reflectionClass = new ReflectionClass($postalCode); + $id = $reflectionClass->getProperty('id'); + $id->setAccessible(true); + $id->setValue($postalCode, (int) $args[0]); + + return $postalCode; + }); + + $type = new PickPostalCodeType( + new PostalCodeToIdTransformer( + $postalCodeRepository->reveal() + ) + ); + + return [ + new PreloadedExtension([$type], []), + ]; + } +} diff --git a/src/Bundle/ChillMainBundle/chill.webpack.config.js b/src/Bundle/ChillMainBundle/chill.webpack.config.js index 628f04ba5..73f539739 100644 --- a/src/Bundle/ChillMainBundle/chill.webpack.config.js +++ b/src/Bundle/ChillMainBundle/chill.webpack.config.js @@ -70,6 +70,7 @@ module.exports = function(encore, entries) encore.addEntry('mod_entity_workflow_subscribe', __dirname + '/Resources/public/module/entity-workflow-subscribe/index.js'); encore.addEntry('mod_entity_workflow_pick', __dirname + '/Resources/public/module/entity-workflow-pick/index.js'); encore.addEntry('mod_wopi_link', __dirname + '/Resources/public/module/wopi-link/index.js'); + encore.addEntry('mod_pick_postal_code', __dirname + '/Resources/public/module/pick-postal-code/index.js'); // Vue entrypoints encore.addEntry('vue_address', __dirname + '/Resources/public/vuejs/Address/index.js'); diff --git a/src/Bundle/ChillPersonBundle/Controller/ReassignAccompanyingPeriodController.php b/src/Bundle/ChillPersonBundle/Controller/ReassignAccompanyingPeriodController.php index 181677709..c27362e17 100644 --- a/src/Bundle/ChillPersonBundle/Controller/ReassignAccompanyingPeriodController.php +++ b/src/Bundle/ChillPersonBundle/Controller/ReassignAccompanyingPeriodController.php @@ -11,7 +11,9 @@ declare(strict_types=1); namespace Chill\PersonBundle\Controller; +use Chill\MainBundle\Entity\PostalCode; use Chill\MainBundle\Entity\User; +use Chill\MainBundle\Form\Type\PickPostalCodeType; use Chill\MainBundle\Form\Type\PickUserDynamicType; use Chill\MainBundle\Pagination\PaginatorFactory; use Chill\MainBundle\Repository\UserRepository; @@ -92,12 +94,14 @@ class ReassignAccompanyingPeriodController extends AbstractController $form->handleRequest($request); $userFrom = $form['user']->getData(); + $postalCodes = $form['postal_code']->getData() instanceof PostalCode ? [$form['postal_code']->getData()] : []; $total = $this->accompanyingPeriodACLAwareRepository->countByUserOpenedAccompanyingPeriod($userFrom); $paginator = $this->paginatorFactory->create($total); $periods = $this->accompanyingPeriodACLAwareRepository - ->findByUserOpenedAccompanyingPeriod( + ->findByUserAndPostalCodesOpenedAccompanyingPeriod( $userFrom, + $postalCodes, ['openingDate' => 'ASC'], $paginator->getItemsPerPage(), $paginator->getCurrentPageFirstItemNumber() @@ -148,7 +152,9 @@ class ReassignAccompanyingPeriodController extends AbstractController { $data = [ 'user' => null, + 'postal_code' => null, ]; + $builder = $this->formFactory->createBuilder(FormType::class, $data, [ 'method' => 'get', 'csrf_protection' => false, ]); @@ -158,12 +164,17 @@ class ReassignAccompanyingPeriodController extends AbstractController 'label' => 'reassign.Current user', 'required' => false, 'help' => 'reassign.Choose a user and click on "Filter" to apply', + ]) + ->add('postal_code', PickPostalCodeType::class, [ + 'label' => 'reassign.Filter by postal code', + 'required' => false, + 'help' => 'reassign.Filter course which are located inside a postal code', ]); return $builder->getForm(); } - private function buildReassignForm(array $periodIds, ?User $userFrom): FormInterface + private function buildReassignForm(array $periodIds, ?User $userFrom = null): FormInterface { $defaultData = [ 'userFrom' => $userFrom, diff --git a/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepository.php b/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepository.php index f5217bfa7..071f7b3eb 100644 --- a/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepository.php +++ b/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepository.php @@ -11,7 +11,9 @@ declare(strict_types=1); namespace Chill\PersonBundle\Repository; +use Chill\MainBundle\Entity\Address; use Chill\MainBundle\Entity\Location; +use Chill\MainBundle\Entity\PostalCode; use Chill\MainBundle\Entity\Scope; use Chill\MainBundle\Entity\User; use Chill\MainBundle\Entity\UserJob; @@ -19,10 +21,14 @@ use Chill\MainBundle\Security\Authorization\AuthorizationHelper; use Chill\MainBundle\Security\Resolver\CenterResolverDispatcherInterface; use Chill\PersonBundle\Entity\AccompanyingPeriod; use Chill\PersonBundle\Entity\AccompanyingPeriodParticipation; +use Chill\PersonBundle\Entity\Household\PersonHouseholdAddress; use Chill\PersonBundle\Entity\Person; use Chill\PersonBundle\Security\Authorization\AccompanyingPeriodVoter; use DateTime; +use DateTimeImmutable; +use Doctrine\DBAL\Types\Types; +use Doctrine\ORM\Query\Expr\Join; use Doctrine\ORM\QueryBuilder; use Symfony\Component\Security\Core\Security; use function count; @@ -49,7 +55,12 @@ final class AccompanyingPeriodACLAwareRepository implements AccompanyingPeriodAC $this->centerResolverDispatcher = $centerResolverDispatcher; } - public function buildQueryOpenedAccompanyingCourseByUser(?User $user) + /** + * @param array|PostalCode[] + * + * @return QueryBuilder + */ + public function buildQueryOpenedAccompanyingCourseByUser(?User $user, array $postalCodes = []) { $qb = $this->accompanyingPeriodRepository->createQueryBuilder('ap'); @@ -65,6 +76,37 @@ final class AccompanyingPeriodACLAwareRepository implements AccompanyingPeriodAC ->setParameter('now', new DateTime('now')) ->setParameter('draft', AccompanyingPeriod::STEP_DRAFT); + if ([] !== $postalCodes) { + $qb->join('ap.locationHistories', 'location_history') + ->leftJoin(PersonHouseholdAddress::class, 'person_address', Join::WITH, 'IDENTITY(location_history.personLocation) = IDENTITY(person_address.person)') + ->join( + Address::class, + 'address', + Join::WITH, + 'COALESCE(IDENTITY(location_history.addressLocation), IDENTITY(person_address.address)) = address.id' + ) + ->andWhere( + $qb->expr()->orX( + $qb->expr()->isNull('person_address'), + $qb->expr()->andX( + $qb->expr()->lte('person_address.validFrom', ':now'), + $qb->expr()->orX( + $qb->expr()->isNull('person_address.validTo'), + $qb->expr()->lt('person_address.validTo', ':now') + ) + ) + ) + ) + ->andWhere( + $qb->expr()->isNull('location_history.endDate') + ) + ->andWhere( + $qb->expr()->in('address.postcode', ':postal_codes') + ) + ->setParameter('now', new DateTimeImmutable('now'), Types::DATE_IMMUTABLE) + ->setParameter('postal_codes', $postalCodes); + } + return $qb; } @@ -77,6 +119,18 @@ final class AccompanyingPeriodACLAwareRepository implements AccompanyingPeriodAC return $qb->getQuery()->getSingleScalarResult(); } + public function countByUserAndPostalCodesOpenedAccompanyingPeriod(?User $user, array $postalCodes): int + { + if (null === $user) { + return 0; + } + + return $this->buildQueryOpenedAccompanyingCourseByUser($user, $postalCodes) + ->select('COUNT(ap)') + ->getQuery() + ->getSingleScalarResult(); + } + public function countByUserOpenedAccompanyingPeriod(?User $user): int { if (null === $user) { @@ -158,6 +212,24 @@ final class AccompanyingPeriodACLAwareRepository implements AccompanyingPeriodAC return $qb->getQuery()->getResult(); } + public function findByUserAndPostalCodesOpenedAccompanyingPeriod(?User $user, array $postalCodes, array $orderBy = [], int $limit = 0, int $offset = 50): array + { + if (null === $user) { + return []; + } + + $qb = $this->buildQueryOpenedAccompanyingCourseByUser($user); + + $qb->setFirstResult($offset) + ->setMaxResults($limit); + + foreach ($orderBy as $field => $direction) { + $qb->addOrderBy('ap.' . $field, $direction); + } + + return $qb->getQuery()->getResult(); + } + /** * @return array|AccompanyingPeriod[] */ diff --git a/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepositoryInterface.php b/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepositoryInterface.php index 6dd44b290..0cca1a5f4 100644 --- a/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepositoryInterface.php +++ b/src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepositoryInterface.php @@ -11,6 +11,7 @@ declare(strict_types=1); namespace Chill\PersonBundle\Repository; +use Chill\MainBundle\Entity\PostalCode; use Chill\MainBundle\Entity\Scope; use Chill\MainBundle\Entity\User; use Chill\MainBundle\Entity\UserJob; @@ -25,6 +26,11 @@ interface AccompanyingPeriodACLAwareRepositoryInterface */ public function countByUnDispatched(array $jobs, array $services, array $administrativeLocations): int; + /** + * @param array|PostalCode[] $postalCodes + */ + public function countByUserAndPostalCodesOpenedAccompanyingPeriod(?User $user, array $postalCodes): int; + public function countByUserOpenedAccompanyingPeriod(?User $user): int; public function findByPerson( @@ -43,5 +49,10 @@ interface AccompanyingPeriodACLAwareRepositoryInterface */ public function findByUnDispatched(array $jobs, array $services, array $administrativeLocations, ?int $limit = null, ?int $offset = null): array; + /** + * @param array|PostalCode[] $postalCodes + */ + public function findByUserAndPostalCodesOpenedAccompanyingPeriod(?User $user, array $postalCodes, array $orderBy = [], int $limit = 0, int $offset = 50): array; + public function findByUserOpenedAccompanyingPeriod(?User $user, array $orderBy = [], int $limit = 0, int $offset = 50): array; } diff --git a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/reassign_list.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/reassign_list.html.twig index 63e25efeb..fb22f5153 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/reassign_list.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/AccompanyingPeriod/reassign_list.html.twig @@ -5,11 +5,13 @@ {% block js %} {{ encore_entry_script_tags('mod_set_referrer') }} {{ encore_entry_script_tags('mod_pickentity_type') }} + {{ encore_entry_script_tags('mod_pick_postal_code') }} {% endblock %} {% block css %} {{ encore_entry_link_tags('mod_set_referrer') }} {{ encore_entry_link_tags('mod_pickentity_type') }} + {{ encore_entry_link_tags('mod_pick_postal_code') }} {% endblock %} {% macro period_meta(period) %} @@ -48,6 +50,8 @@ {{ form_start(form) }} {{ form_label(form.user ) }} {{ form_widget(form.user, {'attr': {'class': 'select2'}}) }} + {{ form_label(form.postal_code) }} + {{ form_widget(form.postal_code) }}