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
78a3dfd65e
Add validation for household metadata
...
A new validation group 'household_metadata' has been added to the Household form. The 'waitingForBirth' field now has a type check, and for the 'waitingForBirthDate' field, an expression is added to ensure it's set if 'waitingForBirth' is true. Simultaneously, error handling for form submission has been enriched in the HouseholdController to display specific error messages.
2024-04-08 14:52:40 +02:00
579bd829f8
Apply rector rules: symfony up to 54
2024-04-04 23:30:25 +02:00
2ddfd56401
fix phpstan and rector errors, fix path for rector rules
2024-02-13 19:12:14 +01: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
f8840d89bf
Add capability to store closing motive when closing accompanying period
...
The commit introduces new functionality in the bundle that allows storing the closing motive when a course is closed. This is achieved by modifying the model and database schema to include a new `closingMotive` field in AccompanyingPeriodStepHistory entity.
2024-02-07 15:35:44 +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
da997badd9
Fix phpstan issues
2023-12-12 22:43:44 +01:00
57bd6d1be4
remove dump
2023-10-26 17:33:39 +02:00
5188891108
php style fixer
2023-10-26 15:21:20 +02:00
c6deb21606
replace old method of getting translator with injection of translatorInterface
2023-10-26 15:20:19 +02:00
89a185a34f
replace get->('translator') with injection of translatorInterface
2023-10-26 14:13:12 +02:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
adf1110340
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
2023-10-17 09:29:33 +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
e5a449118e
Reassign list: when reassigning course, the job associated to the period becomes the job of the new referrer (user)
...
https://gitlab.com/Chill-Projet/chill-bundles/-/issues/162
2023-09-28 14:56:53 +02:00
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
65aa0a1588
Merge remote-tracking branch 'origin/master' into rector/rules-symfony
2023-09-27 15:25:29 +02:00
0e47a1cf59
Merge branch '38-gestion-doublon' into 'master'
...
fix the doublons module
Closes #38
See merge request Chill-Projet/chill-bundles!577
2023-09-14 14:08:51 +00:00
7ca2380dad
php cs fixes
2023-09-14 15:53:42 +02:00
6f1dd5b3f2
Fix new CS
2023-09-14 15:47:16 +02:00
cd85e37c1b
do active center filtering in frontend for person creation
2023-09-14 14:30:58 +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
19789acbbe
php cs fixes
2023-09-12 15:18:03 +02:00
4d111cd6cf
filter out active centers in api
2023-09-11 16:37:27 +02:00
c1d70ec63e
try fix error cannot insert multiple commands into prepared statement
2023-09-11 11:23:21 +02:00
34ee2b3ba5
Fix new CS
2023-09-06 16:18:28 +02:00
1c0fd57913
Apply rector rules + fix CS
2023-08-30 14:55:26 +02:00
c33330969c
FIX CS
2023-08-28 12:49:31 +02:00
0e0b0b8874
DX: fix cs
2023-08-02 23:25:19 +02:00
24cc6a816b
Fix calls to templating service
2023-08-02 23:25:19 +02:00
dbccf7ff80
For integer for getting person_id in PersonController
2023-08-02 23:05:34 +02:00
009a0326d9
Configure routes using annotation
2023-08-02 23:05:33 +02:00
7f96a895e1
DX: remove unused property on PersonController
2023-07-28 13:05:29 +02:00
e839b03cc9
Update path to twig template with new syntax
2023-07-28 12:16:50 +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
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
e6da727a11
Merge branch 'issue120_filter_social_actions' into 'master'
...
Add filter to social actions
See merge request Chill-Projet/chill-bundles!570
2023-07-14 09:14:21 +00:00
1cc61cee36
Fixed: fix CS + fix "my workflow" api when course or work has been delete
2023-07-14 09:44:05 +02:00
a21cefab31
Fix: last fixes for accompanying period work filters
...
- avoid errors when the user inverse date from and date to (we correct them)
- allow the user to filter by multiple users
- do not show filter by types if only one action type
- more type-hinting in the $filter argument for AccompanyingPeriodWorkRepository::findByAccompanyingPeriodOpenFirst
2023-07-14 09:23:23 +02:00
f2673d6c83
Merge remote-tracking branch 'origin/master' into issue120_filter_social_actions
2023-07-13 21:14:31 +02:00
59da93fd75
corrections
2023-07-13 14:07:01 +02:00