8099 Commits

Author SHA1 Message Date
388030952b
Merge remote-tracking branch 'origin/testing-202505' into testing-202505 2025-06-18 12:00:46 +02:00
82a08f1e27
Merge branch '339-partage-d'export-enregistré' into testing-202505
# Conflicts:
#	src/Bundle/ChillPersonBundle/Resources/public/types.ts
2025-06-18 12:00:05 +02:00
925fbaed6d
Fix CS 2025-06-18 11:56:20 +02:00
c407c3029f
Extend ReferrerFilter to render user descriptions and handle "me" referrers in export data generation. 2025-06-18 11:55:58 +02:00
81b6ae193c
Refactor removeUserNotRelatedToJob logic to improve SQL clarity and handle edge cases
We remove the user from the group if the user is deactivated, or of the user does not have any job_history line currently, or if the userjob_id is null in the job_history.
2025-06-18 11:34:32 +02:00
51168ac3c4
In SocialActionFilter, mention the social issue and if a social action is deactivated
All the social action are shown, even the deactivated. So, we append the fact the the social action is also deactivated. We added option in SocialActionRender to achieve this.
2025-06-17 17:45:26 +02:00
12ee091d09
Translate 'Download export' title in wait.html.twig. 2025-06-17 17:10:15 +02:00
49607e431f
Set ON DELETE SET NULL for savedExport foreign key in ExportGeneration entity and related migration 2025-06-17 16:20:14 +02:00
00350b9efc
Refactor scope condition logic in FilterListAccompanyingPeriodHelper
Replaced inline string interpolation with `sprintf` for scope conditions and added user-based condition handling. Introduced new user-specific parameters to enhance query flexibility. Removed unused `AuthorizationHelperForCurrentUserInterface` import.
2025-06-17 16:05:56 +02:00
9a50dad671
Update authorization helper interface in export classes
Replaced `AuthorizationHelperForCurrentUserInterface` with the more generic `AuthorizationHelperInterface` in tests and export helpers. Adjusted method signatures to include the `User` parameter for scope retrieval. Removed unused `centers` mapping in `ListActivity`.
2025-06-17 15:35:04 +02:00
4206d17345
Add debug logging for SQL query execution during export process 2025-06-17 14:25:57 +02:00
110a2e894f
Cast exportId to string in logging for consistent logging output 2025-06-17 12:11:11 +02:00
a0daf4428f
Merge branch 'master' into 339-partage-d'export-enregistré 2025-06-17 12:05:27 +02:00
bdf1cf71ba
Fix argument usage in localizeString method for UserRenderBoxBadge component
Adjusted `localizeString` method to accept a `label` parameter, ensuring proper localization of `user_job.label` and `main_scope.name`. Also made minor syntax adjustments to improve readability.
2025-06-17 10:55:30 +02:00
f78b8cad9c
Cast exportId to string in OnExportGenerationFails logging 2025-06-17 10:39:59 +02:00
6b0c85cdf0
Normalize form data by converting entities using normalizeDoctrineEntity and support array input in denormalizeStringRepresentation. 2025-06-17 10:39:13 +02:00
92b71af239
Merge branch 'master' into 339-partage-d'export-enregistré
# Conflicts:
#	phpstan-baseline-level-4.neon
2025-06-17 09:50:11 +02:00
527dc971d7 Order social actions according to startdate in desc order 2025-06-10 10:23:50 +02:00
49cbb6a002 Clean skeleton (and add Junie guidelines) 2025-06-04 08:13:35 +00:00
43e5bc8337
Merge remote-tracking branch 'origin/339-partage-d'export-enregistré' into testing-202505 2025-05-30 15:00:37 +02:00
845e582c44
Merge remote-tracking branch 'origin/359-fusion-accompanying-period-work' into testing-202505 2025-05-30 14:59:23 +02:00
f3e04bd2bf
Merge remote-tracking branch 'origin/master' into testing-202505 2025-05-30 14:58:45 +02:00
29c1ba3c2b
Fix compilation of app for calendar 2025-05-30 13:29:56 +02:00
df88c31c40 Replace node-sass with sass and update bootstrap to version 5.3 2025-05-28 15:04:59 +00:00
6f1fe1c118 Merge branch '379-translation-localization-vue' into 'master'
Resolve "Finish handling of internationalization in vuejs: handling translation of "translatable string""

Closes #379

See merge request Chill-Projet/chill-bundles!822
2025-05-28 14:40:27 +00:00
649ad26721 Resolve "Finish handling of internationalization in vuejs: handling translation of "translatable string"" 2025-05-28 14:40:26 +00:00
a8c41141e8
Enhance note rendering with Markdown to HTML conversion in AccompanyingCourseWork/show.html.twig
Updated the note display logic to use the `chill_markdown_to_html` filter for better formatting and presentation. This change ensures that Markdown syntax in notes is properly rendered as HTML.
2025-05-28 16:36:03 +02:00
d82727f831
Update CommentEditor styles for responsiveness
Imported Bootstrap variables and updated styling to use responsive media breakpoints. Adjusted positioning of toggle buttons to ensure proper alignment on different screen sizes.
2025-05-28 16:36:03 +02:00
66bd63403b
Update event binding in CKEditor5 component template
Replaces the deprecated `@input` event with the `@update:modelValue` event to ensure compatibility with Vue 3. This improves handling of two-way binding for the `v-model` directive.
2025-05-28 16:31:59 +02:00
96e95dd8f1 Assure checkbox current user is checked in saved export 2025-05-27 16:19:57 +02:00
992e6d29d0 Merge branch '321-text-editor-fallback' into 'master'
Text editor: Add a toggle button to switch to simple text editor and add emoji and fullscreen to ckeditor toolbar

Closes #321

See merge request Chill-Projet/chill-bundles!827
2025-05-27 09:16:31 +00:00
c40e790425
Add handling and cleanup for expired export generations
Implemented a new cron job to identify and process expired export generations, dispatching messages for their removal. Added corresponding message handler, tests, and configuration updates to handle and orchestrate the deletion workflow.
2025-05-26 17:46:46 +02:00
3a016aa12a
Add auto-generated export descriptions and helper service
Introduce `ExportDescriptionHelper` to dynamically generate default descriptions for exports based on current settings. Update controllers, templates, and test cases to support and display the new auto-generated descriptions. This also adds a warning in the UI to prompt users to adjust these descriptions as needed.
2025-05-26 16:44:50 +02:00
be448c650e
Refactor SavedExport listing to support filtering.
Introduced filtering capabilities for SavedExport listings by title and description. Moved index functionality to a new `SavedExportIndexController` and updated the repository with the necessary filter logic. Adjusted the Twig template to render the new filter interface.
2025-05-26 14:16:09 +02:00
9f32b5ac48
Refactor BySocialIssueFilter to enhance normalization logic
Added ExportDataNormalizerTrait to streamline data normalization and denormalization processes. Updated constructor to inject dependencies for SocialIssueRepository and NormalizerInterface, improving modularity and maintainability. Adjusted form data normalization methods to utilize the new utilities.
2025-05-26 14:15:51 +02:00
e89f5e4713
Add and enforce 'DUPLICATE' permissions for Saved Exports
Introduce a new 'DUPLICATE' permission in SavedExportVoter and update related logic in the controller and templates to enforce this rule. Ensure only authorized users can duplicate exports and adjust UI elements accordingly for better permission handling.
2025-05-26 12:26:48 +02:00
e79d6d670b
Fix CS 2025-05-26 10:35:36 +02:00
9adbde0308
Add export configuration comparison and update options logic
Introduced a method to compare export generation options with saved exports, enabling detection of configuration differences. Updated template logic to conditionally adjust UI elements based on configuration discrepancies. This enhances flexibility when managing saved export options.
2025-05-26 10:35:27 +02:00
fe31cfd544
Refactor export generation to handle saved exports conditionally
Simplified the creation of `ExportGeneration` by introducing a `match` expression to handle cases with and without `savedExport`. This improves readability and ensures consistent handling of saved exports while normalizing configuration options.
2025-05-26 10:28:55 +02:00
e8bca6a502
Do not sync user which are enabled with UserGroup related to UserJob.
Updated SQL queries to include checks for user.enabled status, ensuring proper handling of both enabled and null states. This improves the synchronization logic by aligning it with user activity and account status conditions.
2025-05-23 15:52:11 +02:00
bb41af4ed2
replace ck-editor by new CommentEditor on every vuejs components 2025-05-23 13:51:44 +02:00
19dd4667f2
Integrate Vue-based editor with rich and simple mode toggle
Replaced CKEditor initialization with a Vue-based editor component. Introduced a toggle to switch between rich and simple editing modes, persisting the state in local storage. Updated CKEditor dependency to version 45.1.0.
2025-05-23 13:34:50 +02:00
976f293f28
Add Emoji and Fullscreen features to CKEditor configuration
Integrated Emoji, Mention (required for Emoji), and Fullscreen plugins into the CKEditor setup. Updated the toolbar to include respective buttons, enhancing functionality and user interaction.
2025-05-23 13:33:47 +02:00
5c9396077d
remove "faked" entity and simplify template string in Activity index.js
Replaced multi-line template string with a cleaner single-line backtick template. This improves readability and maintains consistent formatting in the code.
2025-05-23 13:22:56 +02:00
44a8ddeba4 Resolve "Reorganise page 'Mes parcours'" 2025-05-21 16:13:43 +00:00
8b2af35e97
Fix typo 2025-05-21 17:57:35 +02:00
b0918ddd09 Php cs fixes 2025-05-21 09:59:01 +02:00
a368e68abb Merge branch 'testing-202505' of https://gitlab.com/Chill-Projet/chill-bundles into testing-202505 2025-05-21 09:40:32 +02:00
85b9784eef Fix pipeline 2025-05-21 09:40:13 +02:00
dc44c46667 Fix SocialActionCSVExporterTest.php 2025-05-21 09:29:25 +02:00