Commit Graph

323 Commits

Author SHA1 Message Date
05a8dba912 update cs using php-cs-fixer 3.30 2023-09-27 16:55:01 +02:00
27c1bb03ff update cs 2023-09-27 16:45:42 +02:00
9e017b0d66 Export: fix filter household by composition 2023-09-26 17:24:22 +02:00
7ca2380dad php cs fixes 2023-09-14 15:53:42 +02:00
87ea841aaa fix rector 2023-09-14 15:47:17 +02:00
758ad9bc87 [test][household] add a test to check if leaveMovement write an enddate when member startdate is today 2023-09-14 15:47:16 +02:00
6f1dd5b3f2 Fix new CS 2023-09-14 15:47:16 +02:00
c19d1ff0c7 php cs fixer 2023-09-07 16:08:18 +02:00
94f26df81e Make test personMove work for centers 2023-09-07 16:07:23 +02:00
3af065e530 WIP [centerHistory] Try to get test to work for personCenterHistory 2023-08-03 11:40:47 +02:00
fd79692f6d FEATURE [relationships] Add personMoveRelationHandler and test for this 2023-08-03 11:39:09 +02:00
2921073da3 [centerHistory] add conditions to be sure at least one center history exists per person 2023-07-27 10:34:19 +02:00
f02d97ddb0 FEATURE [centerHistory] attempt to complete test for centerHistory 2023-07-27 10:18:30 +02:00
bb187f5463 WIP started center_history query for duplicate person merge 2023-07-17 07:50:10 +02:00
860e076b89 [test] add dataprovider for testing move person where both are participating in the same parcours 2023-07-13 16:18:39 +02:00
e0cdf06e99 FIX [duplicate] adding test and handlers to handle fusion of doublons with special cases - after codewithme session 2023-07-13 15:30:33 +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
229af2e4f9 Feature: Adapt filters and aggregators with new steps 2023-04-28 11:49:36 +02:00
722f053f06 Feature: Change accompanying period info step in a cronjob 2023-04-28 11:49:35 +02:00
746ed4f5e5 DX: fix cs 2023-04-15 00:43:55 +02:00
858ade467c DX: rector rules upt to PHP 74 2023-04-15 00:20:19 +02:00
4c5dae60a8 DX: apply rector rulesets up to PHP 73 2023-03-29 22:39:11 +02:00
b9a7530f7a DX: apply rector rulesset up to PHP72 2023-03-29 22:32:52 +02:00
096e2f6e40 DX: fix cs 2023-02-17 22:20:09 +01:00
950ca42f68 Merge branch 'master' into upgrade-php82 2023-02-09 18:43:02 +01:00
80835dd7c3 Fixed: [export][filter by user's job] take into account the job associated to the user instead of the one associated to the course 2023-02-08 15:59:42 +00:00
9029426d03 Feature: [docgen] add center when normalizing person 2023-02-08 15:22:08 +00:00
afd2235254 DX: fix some phpstan issues and add test for ParticipationOverlapValidator.php 2023-02-07 22:11:39 +01:00
88eefa698b Fixed: add string key for summary of charges and resources into doc generation 2023-02-07 15:09:40 +01:00
70871176fc DX: fix cs 2023-02-06 17:47:54 +01:00
e54c2ca712 Feature: Add a list export for evaluation, actions and household 2023-01-26 14:22:30 +00:00
0e661784b0 DX: fix construct of ReferrerScopeAggregator in test 2022-11-15 18:17:58 +01:00
8e44f20535 Features: [export] Remove old unnecessary filters for person with accompanying period
Those filters applyed on persons and allowed to select person which has a new, closing, or active accompanying period. But this is deprecated: there are now a dedicated Export for that ( CountPersonWithAccompanyingCourse)
2022-11-10 15:21:56 +01:00
cda25d3459 DX: more cs 2022-11-02 14:40:17 +01:00
60f93f7f12 DX: more code style fixes 2022-11-02 14:06:10 +01:00
81c73f6acf Merge branch 'master' into 111_exports_suite 2022-10-24 11:06:12 +02:00
2a782044e6 DX: [docgen] add more test for docgenObjectNormalizer and AccompanyingPeriodResourceNormalizer 2022-10-19 17:11:10 +02:00