66 Commits

Author SHA1 Message Date
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
c8146ded17
Feature: add a list for people with their associated accompanying course 2023-07-07 12:36:24 +02:00
0e9597bf77
fix handling of DirectExportInterface 2023-06-25 15:47:30 +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
ad82685c02
allow to edit existing saved export with new export options 2023-06-06 10:49:00 +02:00
cf576dca7b
fix missing choices in getFormDefaultData with automatic generation 2023-06-05 18:16:32 +02:00
938027cc1e
apply fixes for list 2023-06-05 17:54:00 +02:00
db14221729
fix cs 2023-06-05 17:42:37 +02:00
ea77adc640
[edit export] add required method on export's interface
The method "getFormDefaultData" is applyied on every interface which
will use it:

- ExportInterface
- AggregatorInterface
- DirectExportInterface
- FilterInterface

The method buildForm is moved to those interfaces.

[ci-skip]
2023-06-05 17:09:58 +02:00
cb0a6bbd21
Regenerate data from saved export on formatter test
[ci-skip]
2023-06-04 01:10:50 +02:00
fb0afc7e0a
[WIP] get default data from saved exports for center and export steps 2023-06-02 15:32:38 +02:00
d1e1b1c4ce
[export form] decouple data from PickCenter form 2023-06-01 14:07:31 +02:00
dde3002100
DX: apply rector rules up to php8.0 2023-04-28 22:30:33 +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
48772efd54
DX: fix phpstan issues 2023-03-28 22:32:08 +02:00
f07ea3259e php cs fixes 2023-02-22 11:54:03 +01:00
5e58d36e79 Feature: exports for aside activities 2023-02-08 14:28:21 +00:00
e54c2ca712 Feature: Add a list export for evaluation, actions and household 2023-01-26 14:22:30 +00:00
368136ea57
Feature: [activity][list] Fix list for activities and refactor list with an helper 2022-12-05 18:26:01 +01:00
24833be681 take into account null value in formatter 2022-11-25 14:15:56 +01:00
434ef075da
Feature: Add geographical unit name and ref ids in list, associated to address 2022-11-14 17:06:39 +01:00
6fd75a175f Fixed: [export] improve memory footprint for filter by Geographical Unit 2022-11-03 13:59:16 +01:00
60f93f7f12 DX: more code style fixes 2022-11-02 14:06:10 +01:00
acc9523ff5 DX: repairs code style, and psalm types 2022-11-02 10:52:49 +01:00
afa6dfd77c fix psalm errors 2022-11-02 10:52:49 +01:00
6ffe99a2be Feature: [export] Add a list of accompanying periods 2022-11-02 10:52:49 +01:00
f434cc5c02 Fixed: [list person] fix list person and add new fields 2022-11-02 10:52:49 +01:00
333c305eef Fixed: [export][list person] use address from household for person list 2022-11-02 10:52:49 +01:00
4af261a366 Fixed: correctly show datetime in spreadsheet list 2022-11-02 10:52:49 +01:00
a7ade9dac4 DX: use tags iterator to inject aggregators, filters and export during ExportManager's construct
Squashed commit of the following:

commit dc2bbc8f4da24549a1d42feb3b453af9f79ab2ff
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Oct 18 10:40:14 2022 +0200

    Fixes: remove iterator_to_array on formatter, which causes a PHP crashes

commit 4ce56a01a77103661fb790d0988df6625f1fb11b
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 17 17:41:14 2022 +0200

    DX: use tags and dependency injection to build ExportManager
2022-10-18 16:27:49 +02:00
2fdb1dfb52 DX: more type hint for DirectExportInterface 2022-10-06 23:43:16 +02:00
9699e2304a fix cs: declare type and license header mismatch 2022-10-06 22:25:43 +02:00
b394d7247d fix cs: too much line before declaring strict type 2022-10-06 08:55:32 +02:00
67c3f3a840 fix cs with licencse header 2022-10-05 17:08:14 +02:00
a967e1ed17 fix cs 2022-10-05 15:23:28 +02:00
95f7622923 [Export][person] Fixed: error and more precision on household
composition

A filter and two aggregators create a join between composition and
household, but with a parameter at different date.

Each aggregator and filter now have a custom alias, to allow to set this
date parameter on each join.
2022-09-26 16:45:36 +02:00
e487bdf7fd fix issue628 when result is null 2022-09-22 13:22:34 +02:00
42c395ecc9 export: add logger to make feedback on deployed instances easier to debug 2022-09-20 19:09:20 +02:00
e379d8adb5 [feature] use internal services to check for acl on exports 2022-09-17 08:23:28 +02:00
6c29638fed exports: fix export_result cell if null (issue 628)
https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/628
2022-09-13 14:54:36 +02:00
3851e65777 fix errors with Role type 2022-09-07 13:38:13 +02:00
d9e602247e fix errors with Role type 2022-09-07 11:09:03 +02:00
75bdc335e5 remove usage of deprecated Role into Export 2022-09-05 17:26:36 +02:00
9798cb8a09 due to excel limit, title can not exceed 31 characters 2022-07-26 11:41:16 +02:00
e323937405 Temporarily disable ACL on new exports 2022-07-14 10:26:26 +02:00