106 Commits

Author SHA1 Message Date
f0f651edea
update cs after php-cs-fixer upgrade 2024-09-12 12:02:33 +02:00
74be6460d4 Fix delete request for all entities 2024-07-17 13:33:05 +02:00
579bd829f8
Apply rector rules: symfony up to 54 2024-04-04 23:30:25 +02: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
dc860d0c46
DX: new CS for new version of php-cs-fixer 2023-11-05 23:14:19 +01:00
bc2041cbdd
apply more cs rules for php-cs 2023-10-17 13:27:03 +02:00
bad302f512
Update template pathes to new syntax 2023-10-02 13:56:22 +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
0a6131abcc
csfixer after (rebuild php container) 2023-09-07 12:16:47 +02:00
75bca46b98
cs fixer 2023-09-07 12:16:47 +02:00
009a0326d9
Configure routes using annotation 2023-08-02 23:05:33 +02:00
378e417d5c
Remove unnecessary comparison in ActivityController 2023-08-02 16:25:44 +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
aa553db659
apply rector rules after updating the code with master branch 2023-07-19 23:43:26 +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
6bdb3e9695
fix typo which prevent to apply a filter on activity types 2023-07-07 21:49:36 +02:00
c04fd66163
do not show filter on job or activity type if less than 2 possibilities 2023-07-05 22:20:27 +02:00
0e5f1b4ab9
Feature: [activity list] add pagination 2023-06-23 12:44:54 +02:00
f7c11d3567
Feature: Add filters on activity list 2023-06-23 12:27:18 +02:00
20023dff67
DX: fix cs 2023-05-24 13:35:35 +02:00
737f5f9275
fixes 2023-05-01 21:22:56 +02:00
dde3002100
DX: apply rector rules up to php8.0 2023-04-28 22:30:33 +02:00
a0d0c3840f Fix deprecated Role call 2023-04-18 19:04:30 +02:00
70871176fc
DX: fix cs 2023-02-06 17:47:54 +01:00
164beb3ca9
Fixed: [Activity] fix appearance of reason list in Activity form
Fix https://gitlab.com/Chill-Projet/chill-bundles/-/issues/44
2023-01-13 16:15:05 +01:00
25dd65fbd8
Feature: [admin][ActivityReason] improve administration for activity reason
* list alphabetically;
* show "active" in index
2023-01-13 15:40:51 +01:00
7a1cc9b076
Merge remote-tracking branch 'origin/master' into cire16 2022-12-22 10:22:58 +01:00
cd54fdd13f
Feature: [activity] automatically add a person to an activity, if
created in the person context

See https://gitlab.com/Chill-Projet/chill-bundles/-/issues/28
2022-11-18 16:12:49 +01:00
49731777b4 fix cs: declare type and license header mismatch 2022-10-06 20:51:44 +02:00
7e65e97caf fix cs: header and declare strict type order 2022-10-06 10:21:16 +02:00
087375f648 Merge branch '111_exports_suite' into calendar/finalization 2022-10-06 09:31:43 +02:00
b394d7247d fix cs: too much line before declaring strict type 2022-10-06 08:55:32 +02:00
fb7c6f0a9b fix cs: too much line before declaring strict type 2022-10-06 08:54:23 +02:00
67c3f3a840 fix cs with licencse header 2022-10-05 17:08:14 +02:00
63137c67f4 fix cs 2022-10-05 16:55:13 +02:00
642b1e43c8 fix cs 2022-10-05 15:30:55 +02:00
d95472ca9d Merge branch '111_exports_suite' into calendar/finalization 2022-10-05 15:28:37 +02:00
c059b7700e Improve label for aliases in "Filter by Activity" and use of new-style
EntityRepository for ActivityType

* [activity][export] Feature: improve label for aliases in "Filter by activity type"
* [activity][export] DX/Feature: use of an `ActivityTypeRepositoryInterface` instead of the old-style EntityRepository
2022-09-21 11:11:33 +02:00
8efb874742 merge exports branch into calendar branch 2022-09-07 10:11:43 +02:00
85796c2271 CS 2022-07-12 18:16:04 +02:00
5896a77ae9 Fixed: use CenterResolver where cases when center is resolved differently 2022-07-12 11:10:18 +02:00
11d1b26efc fixed: unable to create a course (due to method change in activity entity) 2022-07-12 10:44:40 +02:00
ce17c15d41 fixed: ACL in activity creations and edition 2022-07-11 18:24:48 +02:00
f513749780 fix cs 2022-07-01 15:05:13 +02:00