b85cd1b994
DX: apply rector rules for phpunit up to 90
2023-08-31 11:08:42 +02:00
37419e06fc
Skip test for reviewing duplication detection on person creation
2023-08-30 20:29:30 +02:00
711cdc3481
mark empty test as skipped
2023-08-30 16:35:13 +02:00
149ed2bd75
Refactor test to create people without accompanying period on each iteration
2023-08-30 16:26:15 +02:00
1c0fd57913
Apply rector rules + fix CS
2023-08-30 14:55:26 +02:00
d01172274d
Remove unused properties
2023-08-30 14:37:20 +02:00
364a67b83a
Skip test which apply on different kernel configuration
2023-08-30 14:31:37 +02:00
df9f30265f
Fix Birthdate validator DI and dedicated test
2023-08-30 14:14:36 +02:00
1b8acfab24
Fix person view test
2023-08-30 13:58:46 +02:00
690697cb35
Fix person update controller tests
2023-08-29 17:37:56 +02:00
5314e7b501
Fix tests on person's controller
2023-08-29 15:02:38 +02:00
52d791f6d0
Refactor PersonControllerUpdateTest: separate validation test on dedicated test
2023-08-29 14:48:32 +02:00
80684f65fe
Fix button selecton on PersonControllerCreateTest
2023-08-28 17:59:13 +02:00
b1a9749dc0
Remove class test with any test methods
2023-08-28 16:43:49 +02:00
3f2339bc60
Find person in center using centerCurrent in RelationshipApiControllerTest
2023-08-28 16:09:22 +02:00
847fd71364
Fix tests on PersonContextWithThirdParty: fix construction of PersonContextWithThirdPartyTest
2023-08-28 16:09:22 +02:00
2c83b4c912
Fix HouseholdACLAwareRepository: use the correct association to person's center
2023-08-28 16:09:21 +02:00
c33330969c
FIX CS
2023-08-28 12:49:31 +02:00
410aa7098a
Fix docgen / PersonContextTest: there should not be any scope shown when only one scope is added.
2023-08-25 22:34:24 +02:00
ad1e5ecc95
Fix data provider for person, using the association with person center current
2023-08-25 22:23:18 +02:00
5136907d62
Fix deprecated lifecycleEvent to eventArgs in test
2023-08-02 23:25:20 +02:00
84dbfabd66
Fix double in test
2023-08-02 23:25:20 +02:00
24cc6a816b
Fix calls to templating service
2023-08-02 23:25:19 +02:00
009a0326d9
Configure routes using annotation
2023-08-02 23:05:33 +02:00
4b989fe25c
fix tests for filter and aggregators: boot kernel instead of calling parent::setUp
2023-07-30 22:21:57 +02:00
333579de06
DX: use more precise service parameter and use dataprovider for test
2023-07-28 13:06:45 +02:00
e839b03cc9
Update path to twig template with new syntax
2023-07-28 12:16:50 +02:00
f570fe92a5
apply rector rules
2023-07-28 02:40:02 +02:00
c20f65eebb
apply rector rules: symfony **UP TO** 44
2023-07-28 01:52:53 +02:00
6f2b538e27
Use Person::centerHistory
to load fixtures with given center
2023-07-28 01:22:55 +02:00
abc067adae
More useful error message when not enough people in database fixture
2023-07-28 00:54:18 +02:00
e45430f0c9
Merge branch 'rector/rules-up-to-php82' into rector/rules-symfony
2023-07-19 23:22:57 +02:00
023a29cb78
apply rector rules: php up to php82
2023-07-19 23:19:50 +02:00
74ed34ba97
apply rules rector
2023-07-19 22:48:26 +02:00
224c2c74e8
Merge remote-tracking branch 'origin/master' into rector/rules-up-to-php80
...
Conflicts:
src/Bundle/ChillActivityBundle/Controller/ActivityController.php
src/Bundle/ChillActivityBundle/Export/Aggregator/ACPAggregators/DateAggregator.php
src/Bundle/ChillActivityBundle/Menu/PersonMenuBuilder.php
src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php
src/Bundle/ChillActivityBundle/Service/DocGenerator/ActivityContext.php
src/Bundle/ChillCalendarBundle/Command/MapAndSubscribeUserCalendarCommand.php
src/Bundle/ChillCalendarBundle/RemoteCalendar/Connector/MSGraph/MSGraphUserRepository.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentAccompanyingCourseController.php
src/Bundle/ChillDocStoreBundle/Controller/DocumentPersonController.php
src/Bundle/ChillDocStoreBundle/Repository/PersonDocumentACLAwareRepository.php
src/Bundle/ChillEventBundle/Search/EventSearch.php
src/Bundle/ChillMainBundle/Controller/ExportController.php
src/Bundle/ChillMainBundle/Controller/PermissionsGroupController.php
src/Bundle/ChillMainBundle/Cron/CronManager.php
src/Bundle/ChillMainBundle/Entity/CronJobExecution.php
src/Bundle/ChillMainBundle/Export/ExportManager.php
src/Bundle/ChillMainBundle/Form/Type/Export/PickCenterType.php
src/Bundle/ChillMainBundle/Form/Type/Listing/FilterOrderType.php
src/Bundle/ChillMainBundle/Repository/NotificationRepository.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelper.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperBuilder.php
src/Bundle/ChillMainBundle/Templating/Listing/FilterOrderHelperFactory.php
src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseWorkController.php
src/Bundle/ChillPersonBundle/Controller/SocialWorkSocialActionApiController.php
src/Bundle/ChillPersonBundle/Export/Aggregator/PersonAggregators/AgeAggregator.php
src/Bundle/ChillPersonBundle/Export/Export/ListAccompanyingPeriod.php
src/Bundle/ChillPersonBundle/Export/Export/ListHouseholdInPeriod.php
src/Bundle/ChillPersonBundle/Repository/AccompanyingPeriodACLAwareRepository.php
src/Bundle/ChillPersonBundle/Security/Authorization/AccompanyingPeriodVoter.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/AccompanyingPeriodWorkEvaluationContext.php
src/Bundle/ChillPersonBundle/Service/DocGenerator/PersonContext.php
src/Bundle/ChillReportBundle/DataFixtures/ORM/LoadReports.php
src/Bundle/ChillTaskBundle/Controller/SingleTaskController.php
2023-07-17 12:49:13 +02:00
779eb812b0
Add new role to see confidential right on method AccompanyingPeriodACLAwareRepositoryInterface::findByUserAndPostalCodeOpenedAccompanyingPeriod
2023-07-05 21:56:50 +02:00
a990591e0c
handle right to see confidential course on regulation list
2023-07-05 16:23:14 +02:00
dd344aed52
Implements right "see confidential course" on method findByPerson
...
Add unit tests for that
2023-07-04 15:59:39 +02:00
c019fffbe7
fix cs
2023-06-29 17:53:15 +02:00
347eda05df
Fix: force the consistency of location in accompanying period
...
- internally, the entity remove the addressLocation when the
personLocation is set, and vice-versa;
- this commit add a migration which may solve the case when both case
happens (priority to personLocation + keep the history)
- add a constraint on the database to avoid such situation
2023-06-29 12:44:28 +02:00
abe020f116
Merge remote-tracking branch 'origin/master' into 103-document-page
2023-06-27 18:31:14 +02:00
fe936ac0f2
Feature: [export][course] filter course by step, between two dates
2023-06-16 13:56:43 +02:00
5cbdea29e9
Merge remote-tracking branch 'origin/master' into 103-document-page
2023-06-13 15:14:17 +02:00
4456fb3749
Fixing generic doc providers from calendar + fix cs
2023-06-13 11:01:40 +02:00
80dfa092db
fixes: add tests for generation and fix some situation
2023-05-31 23:29:34 +02:00
08874d734e
[generic doc] add doc provider and renderer for evaluation document
2023-05-26 21:58:52 +02:00
a31c4063a1
DX [cs-fixer] fixes
2023-05-24 14:02:05 +02:00
addbdacee8
Merge branch 'feature/change-parcours-status' into 'master'
...
Feature/change parcours status
See merge request Chill-Projet/chill-bundles!527
2023-05-17 08:13:18 +00:00
8a684734e7
Fixed: fix docgen normalization on household with "old" members
...
When a household had old members, the indexes of each "current" members
should be numerical and contiguous, to be transformed in a list. If this
is not the case, the members are mapped to an associative array.
This commit alter the generic DocGenObjectNormalizer to ensure that
the ReadableCollection are normalized using the
CollectionDocGenNormalizer as default, which do not preserve keys.
2023-05-16 23:30:02 +02:00
efaa01f4f6
DX: rector apply rules 'symfony up to 4.4
2023-05-05 18:21:33 +02:00