9ce1788a14
phpstan en rector fixes
2024-05-22 16:42:47 +02:00
3df57c1569
Remove nullable parameter from createNamedBuilder call
...
The call to createNamedBuilder in EventController.php and ExportController.php was originally passing null as a parameter. This was generating PHPStan warnings. This commit replaces null with an empty string to comply with the method's expected types.
2024-04-10 12:43:25 +02:00
a3efae7831
Update budget element voter and improve form handling in permissions group
...
The base class of BudgetElementVoter has been changed to Voter, and the form handling in PermissionsGroupController has been improved for better validation. In addition, minor changes were made for better menu building and service configuration was updated. Unnecessary date validation in AbstractElement has been removed as well.
2024-04-10 10:31:00 +02:00
76fdd6d889
Add explicit controller definition requirement for APIs
...
Updated API creation to require an explicit controller definition. This change has been reflected in the ChillMainExtension and ChillPersonExtension files. Also, it has introduced a new exception, the InvalidCrudConfiguration, which will be thrown when a new API or CRUD is created without this explicit controller definition.
2024-04-08 19:06:47 +02:00
0ff4593863
Apply rector rules: add annotation for doctrine mapping
2024-04-05 13:11:42 +02:00
72016e1a21
Apply rector rules: add annotation for doctrine mapping
2024-04-05 00:01:30 +02:00
579bd829f8
Apply rector rules: symfony up to 54
2024-04-04 23:30:25 +02:00
92800f5dd0
fix cs
2024-04-04 22:19:56 +02:00
931c69eee4
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-04-04 18:45:01 +02:00
d29415317b
Allow users to display news on homepage (+ configuring a dashboard homepage)
2024-03-07 21:08:00 +00:00
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00
37af488f69
Merge branch 'master' into upgrade-sf5
2024-02-12 21:50:34 +01:00
036fe8d6f8
upgrade php-cs 3.49
2024-02-07 10:43:53 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
825cd127d1
update php-cs-fixer and rector + fix rules
2024-01-09 13:50:45 +01:00
5703fd0046
Refactor code to directly use Doctrine's ManagerRegistry
...
Replaced most of the invocations of getDoctrine()->getManager() with ManagerRegistry->getManager(), and added ManagerRegistry injection to controllers where needed. This is part of an ongoing effort to improve code clarity, and avoid unnecessary method chaining in various parts of the codebase.
2023-12-16 19:09:34 +01:00
2dd1b7c943
Fix some tests
2023-12-14 23:05:35 +01:00
da997badd9
Fix phpstan issues
2023-12-12 22:43:44 +01:00
be57c96a2f
Add phonenumber to user
2023-11-16 15:12:12 +00:00
86e659edd4
DX: replace some string by constants
2023-11-14 21:17:09 +01:00
c6deb21606
replace old method of getting translator with injection of translatorInterface
2023-10-26 15:20:19 +02:00
2c50f484f0
Fix export controller when generating an export without any data in session
2023-10-24 20:46:23 +02:00
4375ecf49a
[export controller] skip the page "select a center" when the configuration value of filter_stats_by_center
is set to false
2023-10-19 17:43:32 +02:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
c62495a280
Fix export of all users and mapping of columns in user csv export (admin zone)
2023-10-16 16:20:25 +02:00
51a4ffca2e
Fix cs with new cs rules (php-cs-fixer version 3.35)
2023-10-16 11:59:49 +02:00
978db5a5c5
update some queries in the interface to take into account history of user's scope and user's job
2023-10-16 11:52:02 +02:00
0b6b25fd95
improve histories order since User entity
2023-10-04 12:49:30 +02:00
c526973475
[admin][templates] move job/scope history in an unique template and display history for a given user
2023-10-04 12:33:50 +02:00
d6a1044585
just mark other uses with mainScope and userJob !!
2023-10-03 19:43:18 +02:00
024790128a
adjust history order
2023-10-03 19:40:23 +02:00
8a6f29ef79
add crud controller to user job/scope history
2023-10-03 19:40:23 +02:00
65aa0a1588
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
2023-09-27 15:25:29 +02:00
b4f9501af5
php cs fixes
2023-09-14 11:47:54 +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
9375d50112
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
...
# Conflicts:
# src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php
# src/Bundle/ChillAsideActivityBundle/src/Export/Export/ListAsideActivity.php
2023-09-12 15:21:15 +02:00
fa47dcd5b6
FIX [center][crud] use crud controller for center entity
2023-09-06 15:50:12 +02:00
1c0fd57913
Apply rector rules + fix CS
2023-08-30 14:55:26 +02:00
01e9a15bd7
FIX [sort][center] sort list of centers in admin alphabetically
2023-08-21 10:09:34 +02:00
0e0b0b8874
DX: fix cs
2023-08-02 23:25:19 +02:00
009a0326d9
Configure routes using annotation
2023-08-02 23:05:33 +02:00
c20f65eebb
apply rector rules: symfony **UP TO** 44
2023-07-28 01:52:53 +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
b4614974c0
allow to edit existing saved export with new export options
2023-06-06 10:49:48 +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