401 Commits

Author SHA1 Message Date
b4e5618e00 fix phpunit tests errors 2023-10-04 10:06:46 +02:00
15e23087ed cs-fixer, phpstan et rector 2023-10-04 09:45:15 +02:00
c6a06ebaf9 [export] fix 6 job/scope agg/filters in acp (queries with 2 history) 2023-10-03 19:43:18 +02:00
c00c26c3e5 [export] fix 2 job/scope 'WorkingOnCourse' filters in acp 2023-10-03 19:43:18 +02:00
84ba626fb5 add missing form child in getFormDefaultData() + sort methods
try to resolve 2 last unit tests errors on ci (no errors in local)
2023-10-03 19:42:06 +02:00
eddcfc3921 cs-fixer 2023-10-03 19:42:06 +02:00
f025b0d184 [export] fix 4 job/scope filters in activity and acp 2023-10-03 19:42:03 +02:00
1973a4b849 [export] fix 2 job/scope aggregators in acp 2023-10-03 19:40:23 +02:00
bea21d45fc [export] fix 2 job/scope aggregators in activity and acp 2023-10-03 19:40:23 +02:00
4460db1dc4 Fix syntax error 2023-10-03 19:40:23 +02:00
2100d45671 fix phpstan error 2023-10-03 19:40:23 +02:00
aeb0d5eab8 [export] fix acpw socialWork agent ScopeFilter query + unit test (partial) 2023-10-03 19:40:23 +02:00
bc69f83c37 [export] fix acpw socialWork agent JobFilter query + unit test (partial) 2023-10-03 19:40:23 +02:00
9b272e9b9e [export] fix acp user Scope Filter query + unit test (partial) 2023-10-03 19:40:23 +02:00
f225a83a3e [export] fix acp userJob Filter query + unit test (partial) 2023-10-03 19:40:23 +02:00
e738bf0f5e [export] fix translations in message yaml tree 2023-10-03 19:40:23 +02:00
0953faedc4 [export] fix acpw socialWork agent ScopeAggregator query + unit test 2023-10-03 19:40:23 +02:00
7c25ca8dd4 [export] fix acpw socialWork agent JobAggregator query + unit test 2023-10-03 19:40:23 +02:00
8b7600e09f [export] fix acp UserJobAggregator query + unit test 2023-10-03 19:40:23 +02:00
9db0011b2e [export] fix acp ReferrerScopeAggregator query + unit test
TO CHECK: logic in alterQuery. calc_date is same for 2 histories ?
2023-10-03 19:40:23 +02:00
d2323e91ca
new cs rule: single_line_empty_body
Rule is added to the last version of php-cs-fixer
2023-09-12 15:58:59 +02:00
b9231a91a3
Fix CountryOfBirthAggregator: allow to receive null data in getLabels method 2023-09-12 15:54:12 +02:00
b36e37d9c5
Fix CompositionFilter 2023-09-12 15:54:12 +02:00
40b7c8ad8f
fix rector and cs 2023-09-01 17:50:07 +02:00
2c52a5bffa
Fix tests 2023-09-01 16:10:04 +02:00
a197a6b418
fix tests implementing AbstractFilterTest 2023-09-01 14:21:03 +02:00
1c0fd57913
Apply rector rules + fix CS 2023-08-30 14:55:26 +02:00
f570fe92a5
apply rector rules 2023-07-28 02:40:02 +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
63f9bd5548
[export] Add ordering by person''s lastname or course opening date in list which concerns accompanying course or people 2023-07-07 12:42:32 +02:00
c8146ded17
Feature: add a list for people with their associated accompanying course 2023-07-07 12:36:24 +02:00
7f30742fc3
Rename ListPersonWithAccompanyingPeriod to ListPersonHavingAccompanyingPeriod 2023-07-07 09:36:39 +02:00
56d9072abe
change id, to avoid collision between ListPersonHelper and ListAccompanyingPeriodHelper 2023-07-07 09:33:03 +02:00
7ccff61c25
Refactor ListAccompanyingPeriod to use a helper for most of the work 2023-07-07 09:17:36 +02:00
0361743ae0 Merge branch '113-add-missing-filters' into 'master'
Add missing aggregators and filters

Closes #113

See merge request Chill-Projet/chill-bundles!567
2023-07-05 20:08:20 +00:00
c8b62d990a
fixes for exports and list 2023-06-30 17:12:09 +02:00
b7df62d4f5
[export] use a rolling date on age aggregator (Person)
This query allow to detects the saved export which won't work any more:

```sql
select
s.id, user_id, description, title, u.label
from chill_main_saved_export s join users u on u.id = s.user_id
WHERE
options->'export'->'export'->'aggregators'->'person_age_aggregator'->'enabled' is not null;
```
2023-06-29 23:15:15 +02:00
5a395b160f
[export] add aggregator and filter related to AccompanyingPeriodInfo +
Center aggregator for Person

see #113
2023-06-29 17:53:47 +02:00
4a5ac170ba
[export] add dates for filter "user working on course" 2023-06-29 17:53:47 +02:00
90e8687799
Fixed: [export] rename label on CurrentActionFilter 2023-06-28 17:01:42 +02:00
a93051d157
[export] set the default date for accompanying period list 2023-06-27 15:14:19 +02:00
9f0fdb031a
Merge remote-tracking branch 'origin/master' into 110-export-editable 2023-06-26 11:06:52 +02:00
9978b6a6e4
Fix: fix the loading of pickCenterType when no regroupments exists and
defaults of SocialWorkTypeFilter
2023-06-23 13:09:19 +02:00
21f11fb034
execute rector run on filters and aggregators 2023-06-18 21:36:40 +02:00
50de389bc7
Revert "apply fixes for list"
This reverts commit 938027cc
2023-06-18 11:58:42 +02:00
960acb8c0a
Revert "apply rector rules for exports"
This reverts commit 3adf3625
2023-06-18 11:57:26 +02:00
fe936ac0f2
Feature: [export][course] filter course by step, between two dates 2023-06-16 13:56:43 +02:00
8fabfdd5c0
Feature: [export] filter on accompanying period step: allow to check multiple steps 2023-06-16 13:56:41 +02:00