Commit Graph

4248 Commits

Author SHA1 Message Date
21cd0f7c45 Refactor normalizers: update getSupportedTypes to include '*' => false, improve return type handling, and add dedicated test classes for SocialAction, SocialIssue, and other entities. 2026-01-09 16:31:34 +01:00
1dfebc0297 Refactor normalizers: improve null handling, enhance normalization logic, add dedicated tests, and update supported types. 2026-01-06 17:41:19 +01:00
e6a2a2d165 Add getSupportedTypes method and update return types in PersonJsonDenormalizerTest 2026-01-05 16:13:17 +01:00
5fb3338af5 Refactor AccompanyingPeriodWorkNormalizer: improve normalization logic, add normalizeProperties method, enhance supportsNormalization, and introduce dedicated tests. 2026-01-05 16:05:16 +01:00
38b24c18bf Refactor AccompanyingPeriodWorkEvaluationDocument serialization: remove redundant read groups, adjust normalization logic, and add dedicated test class. 2026-01-02 17:30:40 +01:00
de5bdf7aa6 Add tests for AccompanyingPeriodWorkEvaluationNormalizer and refactor normalization logic 2026-01-02 17:30:31 +01:00
a5f3afd54e Add getLocale method to mock translator in ByStepAggregatorTest and ByStepFilterTest 2026-01-02 16:00:05 +01:00
b0cb08a07d Add getSupportedTypes and update method signatures in test normalizers 2026-01-02 15:10:48 +01:00
55c11c7f04 fix misc phpstan issues 2025-12-22 18:26:35 +01:00
35d91762d3 adaptations after having merged ticket-app-master 2025-12-22 17:23:50 +01:00
43d6a86627 Merge remote-tracking branch 'origin/ticket-app-master' into migrate_to_sf72
# Conflicts:
#	.gitlab-ci.yml
#	composer.json
#	config/services.yaml
#	phpunit.xml.dist
#	src/Bundle/ChillAsideActivityBundle/src/Entity/AsideActivity.php
#	src/Bundle/ChillCalendarBundle/Entity/CancelReason.php
#	src/Bundle/ChillCalendarBundle/Messenger/Handler/CalendarRemoveHandler.php
#	src/Bundle/ChillCalendarBundle/RemoteCalendar/DependencyInjection/RemoteCalendarCompilerPass.php
#	src/Bundle/ChillDocGeneratorBundle/Service/Messenger/OnGenerationFails.php
#	src/Bundle/ChillJobBundle/src/Entity/Immersion.php
#	src/Bundle/ChillMainBundle/CRUD/Controller/CRUDController.php
#	src/Bundle/ChillMainBundle/DataFixtures/ORM/LoadLocationType.php
#	src/Bundle/ChillMainBundle/Entity/Location.php
#	src/Bundle/ChillMainBundle/Routing/MenuComposer.php
#	src/Bundle/ChillMainBundle/Routing/MenuTwig.php
#	src/Bundle/ChillMainBundle/Security/PasswordRecover/RecoverPasswordHelper.php
#	src/Bundle/ChillMainBundle/Serializer/Normalizer/DateNormalizer.php
#	src/Bundle/ChillMainBundle/Tests/Form/Type/ScopePickerTypeTest.php
#	src/Bundle/ChillMainBundle/Tests/Services/MenuComposerTest.php
#	src/Bundle/ChillPersonBundle/Controller/PersonController.php
#	src/Bundle/ChillPersonBundle/Entity/Person.php
#	src/Bundle/ChillPersonBundle/Form/DataMapper/PersonAltNameDataMapper.php
#	src/Bundle/ChillPersonBundle/Repository/PersonACLAwareRepository.php
#	src/Bundle/ChillPersonBundle/Serializer/Normalizer/PersonJsonNormalizer.php
#	src/Bundle/ChillPersonBundle/Tests/Serializer/Normalizer/PersonJsonNormalizerTest.php
#	src/Bundle/ChillTaskBundle/Form/SingleTaskType.php
2025-12-22 16:36:57 +01:00
dae040ebfb Merge branch 'master' into fork/boriswa/1849-1848-1920-1921-fix-bugs
# Conflicts:
#	src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/Location/NewLocation.vue
2025-12-12 10:11:31 +01:00
74d133e739 eslint: automatic fixes 2025-12-09 15:25:11 +01:00
53b02a0ced Improve the display of upcoming calendar items within the person render box 2025-12-08 12:45:01 +00:00
985761ff00 Merge branch 'ticket/64-identifiants-person' into 'ticket-app-master'
Add Person's external identifiers to creation and edit form

See merge request Chill-Projet/chill-bundles!881
2025-12-05 17:02:26 +00:00
6d93b2b1b6 Add Person's external identifiers to creation and edit form 2025-12-05 17:02:26 +00:00
d16de04d27 Merge branch 'master' into ticket-app-master
# Conflicts:
#	docs/source/development/create-a-new-bundle.md
#	src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc/CheckSocialAction.vue
#	src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc/CheckSocialIssue.vue
#	src/Bundle/ChillCalendarBundle/Menu/UserMenuBuilder.php
#	src/Bundle/ChillCalendarBundle/Resources/views/Calendar/_list.html.twig
#	src/Bundle/ChillCalendarBundle/Resources/views/Calendar/cancelCalendarByAccompanyingCourse.html.twig
#	src/Bundle/ChillCalendarBundle/Resources/views/Calendar/cancelCalendarByPerson.html.twig
#	src/Bundle/ChillCalendarBundle/translations/messages.fr.yml
#	src/Bundle/ChillDocStoreBundle/Resources/public/types/index.ts
#	src/Bundle/ChillMainBundle/Resources/public/lib/api/apiMethods.ts
#	src/Bundle/ChillMainBundle/translations/messages.fr.yml
#	src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/Confirm.vue
2025-12-05 17:04:49 +01:00
9d398f2cb5 Merge branch 'dutch-translations' into 'master'
Dutch translations

See merge request Chill-Projet/chill-bundles!934
2025-12-05 12:00:56 +00:00
7186fd9fb8 Dutch translations 2025-12-05 12:00:56 +00:00
f13d064a27 Merge branch '280-add-missing-fixtures' into 'master'
Add missing fixtures for proper loading of AccompanyingPeriods

Closes #280

See merge request Chill-Projet/chill-bundles!910
2025-12-05 11:39:09 +00:00
0ba5cd849c Remove double display of person id in the banner when there is a deathdate 2025-12-03 11:38:39 +01:00
035028c81c Add missing fixtures for proper loading of AccompanyingPeriods 2025-11-26 05:35:10 +01:00
0d32810d0d Change position and color of confirm parcours button 2025-11-24 15:13:16 +01:00
7eb895c0e1 Insert name of file as the document title when uploading 2025-11-19 13:33:51 +01:00
a43181d60d Remove the label if there is only one scope and no scope picking field is displayed. 2025-11-17 10:48:15 +00:00
869880d8f3 Revert "Display calendar items linked to person within search results"
This reverts commit f7ea7e4dbf.
2025-11-12 13:08:54 +01:00
f7ea7e4dbf Display calendar items linked to person within search results 2025-11-12 13:00:52 +01:00
c28bd22560 Resolve "Action d'accompagnement - afficher les objectifs avant les résultats" 2025-11-07 16:23:52 +00:00
51607572de Create admin for motive 2025-11-07 10:11:46 +00:00
a706c6f337 fix: set back to true suggestion of referrer when creating notification for
accompanyingPeriodWorkDocument
2025-11-06 16:18:33 +01:00
d691098a21 Merge branch 'master' into ticket-app-master
# Conflicts:
#	.junie/guidelines.md
#	src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc.vue
#	src/Bundle/ChillCalendarBundle/Resources/public/vuejs/Calendar/App.vue
#	src/Bundle/ChillCalendarBundle/Resources/public/vuejs/MyCalendarRange/App2.vue
#	src/Bundle/ChillDocStoreBundle/Resources/public/types/generic_doc.ts
#	src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/DropFileWidget/DropFileModal.vue
#	src/Bundle/ChillDocStoreBundle/Resources/public/vuejs/StoredObjectButton/HistoryButton/HistoryButtonListItem.vue
#	src/Bundle/ChillMainBundle/Resources/public/chill/js/date.ts
#	src/Bundle/ChillMainBundle/Resources/public/vuejs/DownloadExport/App.vue
#	src/Bundle/ChillMainBundle/Resources/public/vuejs/WorkflowAttachment/App.vue
#	src/Bundle/ChillMainBundle/Resources/public/vuejs/WorkflowAttachment/Component/AttachmentList.vue
#	src/Bundle/ChillMainBundle/Resources/public/vuejs/WorkflowAttachment/Component/GenericDocItemBox.vue
#	src/Bundle/ChillMainBundle/Resources/public/vuejs/WorkflowAttachment/Component/PickGenericDoc.vue
#	src/Bundle/ChillMainBundle/Resources/public/vuejs/WorkflowAttachment/Component/PickGenericDocModal.vue
#	src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/EntityWorkflow/EntityWorkflowVueSubscriber.vue
#	src/Bundle/ChillMainBundle/Resources/public/vuejs/_components/Modal.vue
#	src/Bundle/ChillMainBundle/Resources/views/layout.html.twig
#	src/Bundle/ChillMainBundle/translations/messages+intl-icu.fr.yaml
#	src/Bundle/ChillPersonBundle/Resources/public/mod/DuplicateSelector/AccompanyingPeriodWorkSelector.ts
#	src/Bundle/ChillPersonBundle/Resources/public/types.ts
#	src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/App.vue
#	src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourseWorkEdit/components/FormEvaluation.vue
#	src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AccompanyingPeriodWorkSelector/AccompanyingPeriodWorkList.vue
#	src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AccompanyingPeriodWorkSelector/AccompanyingPeriodWorkSelectorModal.vue
#	src/Bundle/ChillPersonBundle/Resources/public/vuejs/_js/i18n.ts
#	src/Bundle/ChillPersonBundle/translations/messages.fr.yml
2025-11-06 10:16:15 +01:00
671ed21d59 Expand timeSpent choices for evaluation document and translate them to user locale or fallback 'fr' 2025-11-05 09:29:50 +00:00
4b9db6ceb6 Merge branch '451-activity-social-actions-list' into 'master'
Fix: display also social actions linked to parents of the selected social issue

Closes #451

See merge request Chill-Projet/chill-bundles!907
2025-11-05 08:51:47 +00:00
c79c39b562 Fix: display also social actions linked to parents of the selected social issue 2025-11-05 08:51:47 +00:00
2df01833ad Merge branch '453-bug-csv-social-actions' into 'master'
Fix: export actions and their results in csv even when action does not have...

Closes #453

See merge request Chill-Projet/chill-bundles!908
2025-11-05 08:47:50 +00:00
ffb8183d4d Fix: export actions and their results in csv even when action does not have... 2025-11-05 08:47:49 +00:00
fa8e92ebf5 Merge branch '425-rename-cercle-and-centre' into 'master'
Resolve "Partout, renommer "cercle" en "service" et "centre" en "territoire""

Closes #425

See merge request Chill-Projet/chill-bundles!894
2025-11-04 15:25:11 +00:00
b7a92bf656 Resolve "Partout, renommer "cercle" en "service" et "centre" en "territoire"" 2025-11-04 15:25:10 +00:00
6999919d9f rector rules: apply rule with level 0 2025-11-03 18:16:07 +01:00
662e962549 fix CS 2025-11-03 16:22:33 +01:00
7654db4e39 apply rector ruleset "symfony constructor injection" 2025-11-03 16:22:02 +01:00
9093dceea4 rector rules for symfony set list 6.4 2025-11-03 13:44:31 +01:00
cdc489f01e Apply new rector rules regarding to PHP version to 8.4 2025-11-03 13:36:51 +01:00
bf38ec22c9 Add missing import in FormEvaluation.vue and temporarily set wopi-bundle requirement to specific commit (until bundles is fully upgraded to sf7) 2025-10-30 11:40:20 +01:00
fabbb0c091 fix phpstan 2025-10-30 01:33:28 +01:00
14d65fa931 apply rector rules 2025-10-30 01:20:52 +01:00
5634d72d6f fix cs 2025-10-30 00:42:35 +01:00
d74179f1e1 Refactor CSV creation and reading to use Reader::from and Writer::from.
- Replaced deprecated `createFromPath` and `createFromStream` methods with `from`.
- Updated all relevant commands, services, controllers, and exporters.
2025-10-30 00:22:22 +01:00
f42bb498e4 Fix deprecation notice League/csv for createFromStream and createFromPath replaced by new from() method 2025-10-27 13:21:04 +01:00
b132956ddc phpstan boolean corrections 2025-10-09 13:57:30 +02:00