Commit Graph

12498 Commits

Author SHA1 Message Date
a180050622 Add exports permissions when loading fixtures 2025-07-02 12:39:20 +02:00
2c85de05b8 Fix test 2025-07-02 12:22:49 +02:00
e336d67fa7 Fix test 2025-07-02 12:12:07 +02:00
72a536bd8d Fix test 2025-07-02 12:09:35 +02:00
f8edfa6844 Fix cs 2025-07-02 12:08:11 +02:00
b7c0eaae9d Fix test 2025-07-02 12:08:06 +02:00
fef2fe915a Fix test to manage private methods on ExportDataNormalizerTrait 2025-07-02 11:44:28 +02:00
f1ff507d0a Apply some rector transformations 2025-07-02 11:28:47 +02:00
2a65398277 merge master and fix cs 2025-07-02 10:16:57 +02:00
63b179bd4c Merge branch 'master' into 339-partage-d'export-enregistré
# Conflicts:
#	src/Bundle/ChillMainBundle/Test/Export/AbstractAggregatorTest.php
#	src/Bundle/ChillMainBundle/Test/Export/AbstractExportTest.php
#	src/Bundle/ChillMainBundle/Test/Export/AbstractFilterTest.php
2025-07-02 10:14:59 +02:00
73bae475bd Add a label "shared with others" for export shared with other peoples 2025-07-02 10:12:01 +02:00
a4884eb3a0 Remove CSVListFormatter and CSVPivotedListFormatter along with their associated service definitions. 2025-07-02 10:06:44 +02:00
f73994aaff Add return type AggregatorInterface to getAggregator method for improved type safety. 2025-07-02 09:59:42 +02:00
be437c8784 Refactor spreadsheetformatter so that the generate method becomes pure + add test 2025-07-02 09:59:36 +02:00
af292beecb update configuration dof doctrine/deprecations 2025-07-01 16:08:27 +02:00
b4bbb1a456 Merge branch 'improve_person_resource_form' into 'master'
Improve person resource form

See merge request Chill-Projet/chill-bundles!846
2025-07-01 14:01:44 +00:00
606435a6b3 Pipeline corrections 2025-07-01 14:47:36 +02:00
404143f8a6 Merge branch 'improve_person_resource_form' of https://gitlab.com/Chill-Projet/chill-bundles into improve_person_resource_form 2025-07-01 14:34:39 +02:00
ec957a2fe3 Improve UX with better labeling in person resource form 2025-07-01 14:34:19 +02:00
8ed5e35f1a Merge branch 'master' of https://gitlab.com/Chill-Projet/chill-bundles 2025-07-01 14:33:27 +02:00
ec37676dab release v3.12.1 v3.12.1 2025-06-30 20:35:00 +02:00
2d8cda30b9 Add localizeString method to PickTemplate component for string localization 2025-06-30 20:32:17 +02:00
27d344c97d Release v3.12.0 v3.12.0 2025-06-30 11:00:42 +02:00
088e5692e2 Merge branch 'improve_person_resource_form' into 'master'
Improve admin templates for event admin entities + activity reason (category)...

See merge request Chill-Projet/chill-bundles!838
2025-06-30 08:44:24 +00:00
298044bc82 Improve admin templates for event admin entities + activity reason (category)... 2025-06-30 08:44:24 +00:00
ee4e223043 Merge branch '393-fix-dump-only-document-generator' into 'master'
Send data dumps as email attachments instead of links, update translations,...

Closes #393

See merge request Chill-Projet/chill-bundles!843
2025-06-30 08:41:09 +00:00
c53377ce8d Merge branch 'workflow-do-not-remove-workflow-canceled-automatically' into 'master'
Remove unnecessary workflow deletion logic when in the initial position

See merge request Chill-Projet/chill-bundles!844
2025-06-30 08:40:46 +00:00
95ccfff868 Refactor SpreadsheetListFormatter to avoid race condition
improve label caching, enhance type safety, and streamline header generation and value handling.
2025-06-27 16:08:43 +02:00
d4704dc2ef Refactor SpreadsheetListFormatter to streamline response generation and improve type safety. 2025-06-27 15:20:13 +02:00
0b580658de Remove unnecessary workflow deletion logic when in the initial position 2025-06-26 14:38:12 +02:00
7533cb3a71 Restrict SHARE action in SavedExportVoter to require COMPOSE_EXPORT permission. 2025-06-26 12:35:53 +02:00
786c60a50d Send data dumps as email attachments instead of links, update translations, and add unit tests for the handler. 2025-06-26 12:21:19 +02:00
456f00566d update juni guidelines 2025-06-26 12:19:49 +02:00
a38116cca4 fix cs 2025-06-20 17:31:13 +02:00
nobohan
9158e33854 #392 php cs-fixer 2025-06-19 21:29:43 +02:00
nobohan
af74f7860b Fixed nullable content for NewsItem in setContent signature #392 2025-06-19 17:53:33 +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
c2842148c6 Improve UX with better labeling in person resource form 2025-06-17 19:27:06 +02:00
10e4c7da23 Merge branch 'master' of https://gitlab.com/Chill-Projet/chill-bundles 2025-06-17 18:45:25 +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
ea4cbfe3b9 Update PHPStan configuration to store cache into var directory 2025-06-17 16:19:48 +02:00
9d00b8ae60 Enable filtering statistics by center in Chill configuration: set the default value in config
Set the default value in configuration file. This improves the readability of multiple options.
2025-06-17 16:06:27 +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