Commit Graph

8353 Commits

Author SHA1 Message Date
bbbf9aa3ee remove dump message 2026-01-02 15:07:56 +01:00
da3db1cf7a Remove ORM\ prefix from JoinColumn annotations in PersonHistory entity 2026-01-02 15:04:41 +01:00
3afdedabad Add return types to createValidator methods in test classes 2026-01-02 15:03:22 +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
14a0c2b4fd Refactor WidgetRenderingTwig: remove TwigFunction usage, replace with attributes for declaring functions. 2025-12-22 15:29:05 +01:00
22c3952c00 misc phpstan issues 2025-12-22 15:28:54 +01:00
c94cb741c6 Refactor ChillTwigRoutingHelper to extend AbstractExtension and register it as a Twig extension 2025-12-22 15:28:31 +01:00
d714a61a6d Refactor service definitions in menu.yaml to use _defaults for autowiring and autoconfiguration, and update SectionMenuBuilder constructor with property promotion. 2025-12-22 15:28:30 +01:00
a199f5983e Refactor SingleTaskType: replace UserPickerType with PickUserDynamicType and CenterResolverDispatcherInterface with CenterResolverManagerInterface. 2025-12-22 15:28:30 +01:00
1b5c3dfc33 Improve type declarations and add PHPDoc for ThirdPartySearch and ThirdPartyRepository 2025-12-22 14:25:55 +01:00
ed3fd429a4 Refactor findByDocumentFilename to use findOneByPrefix and implement findOneByPrefix in StoredObjectRepository 2025-12-22 14:21:13 +01:00
f3486e851a fix cs 2025-12-22 13:42:45 +01:00
741f655cfc Refactor Twig extensions to use attributes for declaring functions and filters, remove AbstractExtension inheritance, and clean up related service definitions. 2025-12-19 12:23:20 +01:00
0d42ed9262 Refactor ChillTwigRoutingHelper to extend AbstractExtension and register Twig filters properly 2025-12-19 11:56:44 +01:00
2b1f337a28 Serialize ticket filter parameters with JSON groups in person list view.
- Updated `list.html.twig` to serialize `ticketFilterParams` using the 'read' group for JSON normalization.
2025-12-17 15:31:53 +01:00
b1f7b83fdc Replace PhonenumberConstraint with PhoneNumber constraint in user profile update.
- Updated the `UpdateProfileCommand` to use `\Misd\PhoneNumberBundle\Validator\Constraints\PhoneNumber` instead of the deprecated `PhonenumberConstraint`.
- Removed unused `PhonenumberConstraint` imports from relevant files.
2025-12-16 14:53:33 +01:00
e1cda00a98 Optimize motive import with in-memory caching for deduplication.
- Introduced an in-memory cache to store and reuse created or found motives during import, reducing redundant database operations.
- Updated the logic to ensure parent motives are created or retrieved via the cache.
- Modified the test suite to verify parent and child motive relationships with deduplication.
- Ensured labels are consistently formatted and trimmed during the import process.
2025-12-16 14:53:23 +01:00
46b1399c3c Add support for "ordering" field in motive import.
- Extended motive import logic to parse and set the "ordering" field from YAML.
- Ensured invalid "ordering" values throw a runtime exception.
- Updated test cases to verify "ordering" is correctly set for child and standalone motives.
- Verified parent motives retain default "ordering" value (0).
2025-12-16 14:07:38 +01:00
022c0aaebf Add support for parent > child notation in motive import.
- Trimmed labels during motive import to ensure consistent formatting.
- Introduced logic to parse and handle "parent > child" syntax in motive names.
- Automatically creates and links parent motives if they don't exist.
- Added test case to verify parent-child relationship creation and linking.
2025-12-16 14:03:18 +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
0f1ff9baf4 Fix CS 2025-12-11 14:43:29 +01:00
a16d659f69 Tentatively fix CTRL+C in Collabora editor with edge and chrome browser (+ remove zimbra bundle from configuration) 2025-12-11 13:26:10 +00:00
c4a069ba2e Fix display of header for ByActivityNumberAggregator 2025-12-10 05:13:24 +01:00
2600c6fa2a Fix ByActivityNumberAggregator when used on count exports within ActivityBundle 2025-12-10 05:06:03 +01:00
27853c594d Fix missing translation variable in NewLocation component 2025-12-10 04:17:29 +01:00
Boris Waaub
b7df78bc55 Merge branch 'ticket-app-master' into 1849-1848-1920-1921-fix-bugs 2025-12-09 17:21:13 +01:00
Boris Waaub
24927069a4 FIX: eslint 2025-12-09 17:14:07 +01:00
Boris Waaub
10052cc5e1 FIX: Problème au chargement des "pelotons" 2025-12-09 17:11:45 +01:00
Boris Waaub
723beb3c02 FIX: Ajustement du style du formulaire dans ActionToolbarComponent 2025-12-09 16:47:09 +01:00
74d133e739 eslint: automatic fixes 2025-12-09 15:25:11 +01:00
Boris Waaub
c92467b284 FIX: Frontend: Problème d'affichage quand il n'y a pas de parent au motif 2025-12-09 11:15:50 +01:00
Boris Waaub
d3d2c06348 FIX: Dans les petits écrans, la modale d'accueil pourrait être plus large 2025-12-09 11:12:21 +01:00
Boris Waaub
fc66d0e070 FIX: Dans la modale d'accueil du ticket, les boutons doivent être dans le footer 2025-12-09 10:42:36 +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
9261bbadc3 Merge branch '1826-1891-1858-mobile-layout-fix-peloton-display-change-comment-display' into 'ticket-app-master'
Fix mobile layout, update Peloton display, and change comment display

See merge request Chill-Projet/chill-bundles!933
2025-12-05 16:27:12 +00:00
Boris Waaub
df15c2fee7 Fix mobile layout, update Peloton display, and change comment display 2025-12-05 16:27:12 +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
4919c03660 Eslint fixes 2025-12-05 15:09:15 +00:00
2f1445a3f3 Refactor UserMenuBuilder to include User type check for better type safety 2025-12-05 14:50:06 +00:00
e47c23c903 Add a counter for invitations awaiting reply 2025-12-05 14:24:58 +00:00
2ef789a794 fix eslint 2025-12-05 15:01:21 +01:00
a29232410d Merge branch '456-doc-generation-active-status' into 'master'
Show whether doc generation template is active or not + order alphabetically

Closes #456

See merge request Chill-Projet/chill-bundles!914
2025-12-05 12:39:12 +00:00
4cbb4c3ae3 Show whether doc generation template is active or not + order alphabetically 2025-12-05 12:39:12 +00: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
fb8cacb534 Merge branch '472-zimbra-connector' into 'master'
Create a connector to synchronize with zimbra calendars

Closes #472

See merge request Chill-Projet/chill-bundles!936
2025-12-05 11:59:32 +00:00