37227a3aeb
Add attachments to workflow
2025-02-03 21:15:00 +00:00
a6aa2a81c2
Resolve merge with master
2024-12-11 10:46:06 +01:00
d68de96004
[phpstan fix] Add void return type on all fixture load methods
2024-11-28 11:47:17 +01:00
3e355a6465
php cs fixer
2024-11-26 18:04:36 +01:00
aa0785fc71
Apply prettier rules
2024-11-14 18:47:38 +01:00
27ecae4486
first eslint corrections
2024-10-31 17:28:02 +01:00
f0f651edea
update cs after php-cs-fixer upgrade
2024-09-12 12:02:33 +02:00
3c9ee41b3b
fix some tests
2024-09-04 18:30:18 +02:00
313fb9ffdf
PHP CS Fixer updated (3.63.1 -> v3.64.0)
2024-09-04 14:38:56 +02:00
e21db73b84
Refactor and simplify document management functionality to adapt to StoredObject versioning
...
This commit includes several updates to the document management functionality within ChillWopiBundle and ChillDocGeneratorBundle, refactoring for simplicity and improved readability.
2024-08-28 14:06:07 +02:00
c82991674e
Rector changes: repositories become final readonly classes
2024-07-18 09:49:05 +02:00
916724c0c5
Merge branch 'master' into upgrade-sf5
2024-06-24 10:46:21 +02:00
72045ce082
Add DocGenNormalizerTestAbstract class
...
A new class, DocGenNormalizerTestAbstract, was added to the ChillDocGeneratorBundle. This abstract class tests the normalization of null values and ensures they comply with expected formats and behaviors. It implements key methods that allow for providing non-null objects, expectation setting, and normalization.
2024-06-12 11:46:49 +02:00
0ff4593863
Apply rector rules: add annotation for doctrine mapping
2024-04-05 13:11:42 +02:00
a3f775a69b
Apply rector rules: add annotation for doctrine mapping
2024-04-05 00:19:30 +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
409a571010
fix upgrade in document generation request
2024-04-04 22:17:51 +02:00
931c69eee4
Merge remote-tracking branch 'origin/master' into upgrade-sf5
2024-04-04 18:45:01 +02:00
807f1b4aa1
Fix layout in admin document generation
...
A layout issue in the admin document generation has been fixed, particularly in the ChillDocGeneratorBundle. Unnecessary elements such as table headers and multiple entity data rows in DocGeneratorTemplate have been removed, simplifying the view page and improving its performance.
2024-03-26 22:10:01 +01:00
fc88a5f40d
Improve admin UX for configuration of document template (document generation)
2024-03-26 17:06:49 +00:00
f251e6f100
upgrade phpunit: make data provider static
2024-02-14 12:28: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
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
1098bafd3d
Replaced the deprecated 'self::$container->get' with 'self::getContainer()->get' using rector
...
This change is made to comply with the new Symfony standards and to avoid deprecation warnings for future versions. The update touches various functionalities, including retrieving EntityManagerInterface instance and various service classes within the test files.
2023-12-14 23:36:56 +01:00
da997badd9
Fix phpstan issues
2023-12-12 22:43:44 +01:00
63124f8f92
Fix type-hinting of DocGenObjectNormalizer and related
2023-11-21 13:37:23 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +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
1f2ecb923e
Remove unnecessary return types
2023-08-30 20:49:26 +02:00
bad3cdca09
Fix serializing collection with intersection types
2023-08-30 20:25:35 +02:00
68e1384416
Remove echo with array to string conversion
2023-08-30 15:11:47 +02:00
d1e09d7047
Fix constructor signature of BaseContext (in BaseContextDataTest.php)
2023-08-28 16:09:21 +02:00
e839b03cc9
Update path to twig template with new syntax
2023-07-28 12:16:50 +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
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
8a684734e7
Fixed: fix docgen normalization on household with "old" members
...
When a household had old members, the indexes of each "current" members
should be numerical and contiguous, to be transformed in a list. If this
is not the case, the members are mapped to an associative array.
This commit alter the generic DocGenObjectNormalizer to ensure that
the ReadableCollection are normalized using the
CollectionDocGenNormalizer as default, which do not preserve keys.
2023-05-16 23:30:02 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
47d0334b9e
Merge remote-tracking branch 'origin/master' into rector/rules-up-to-php74
2023-04-27 23:32:31 +02:00
01f2697b8d
Merge branch 'admin-permissionsgroup-templates' into 'master'
...
Improve permissionsgroup page in admin templates
See merge request Chill-Projet/chill-bundles!504
2023-04-21 15:36:00 +00: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
19034ac1d8
Merge remote-tracking branch 'origin/master' into refactor-using-rector-202303
2023-04-15 00:07:09 +02:00
ec7f59fc03
UX [translations] batch replace 'activité' by 'échange' + check !
...
note: fix some others mistakes
2023-04-14 15:58:27 +02:00