5be85a4fc6
Refactored code to use PHP8 attributes instead of annotations
...
In this change, Doctrine and validation annotations have been replaced with PHP8 Attributes. The Rector tool has been configured with a list of annotations to convert to attributes. As a consequence, the PHPStan's rules have been updated to reflect these changes. The PHP8's nullable operator (?) has been added where required, and comments in field declaration have been replaced with #[Attribute] syntax.
2024-04-08 12:11:29 +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
f889d67e94
fixes after merge of master into upgrade-sf4
2024-02-12 22:31:16 +01:00
3bb911b4d0
Update version within PUT request
...
Try to add api logic
check for version being the same instead of smaller
implementing optimistic locking and displaying correct message in frontend
rector fixes
adjust violation message and add translation in translation.yaml
add translator in apiController
2024-02-08 12:09:51 +01:00
f00b39980c
Add version of the social action to the state
...
put correct serialization groups
2024-02-08 12:08:36 +01:00
1d21499eab
add version property to accompanyingperiodwork for optimistic locking
2024-02-08 12:08:35 +01:00
4bbad4fc61
fix cs with php-cs-fixer 3.49
2024-02-07 15:38:56 +01:00
f8840d89bf
Add capability to store closing motive when closing accompanying period
...
The commit introduces new functionality in the bundle that allows storing the closing motive when a course is closed. This is achieved by modifying the model and database schema to include a new `closingMotive` field in AccompanyingPeriodStepHistory entity.
2024-02-07 15:35:44 +01:00
036fe8d6f8
upgrade php-cs 3.49
2024-02-07 10:43:53 +01:00
27ce322690
upgrade php-cs-fixer to 3.47.0
2024-01-22 12:14:39 +01:00
3c8e59e088
php cs fixes after updating php cs fixer
2024-01-10 10:31:25 +01:00
b26b7a2706
Notification: avoid the comment's content to be null
2023-12-05 16:26:06 +00:00
88469dbe8e
Fix serialization of accompangying period work referrers
2023-11-14 18:34:28 +01:00
9ec5a633ad
Fix possible null values or not null values in some entity / string properties
2023-10-17 23:15:06 +02:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +02:00
a6fcdb5256
Merge remote-tracking branch 'origin/rector/rules-symfony' into rector/rules-symfony
2023-10-16 18:07:42 +02:00
6b8d6b76ba
Upgrade code from 146 to new standards
2023-10-16 18:04:40 +02:00
be8975ee04
Merge branch '146_parcours_annules' into rector/rules-symfony
2023-10-16 17:52:06 +02:00
51a4ffca2e
Fix cs with new cs rules (php-cs-fixer version 3.35)
2023-10-16 11:59:49 +02:00
978db5a5c5
update some queries in the interface to take into account history of user's scope and user's job
2023-10-16 11:52:02 +02:00
363785b779
Update schema to store accompanying period work referrer history
2023-10-11 15:37:44 +02:00
239372270e
Update schema to store accompanying period work referrer history
2023-10-05 09:33:23 +02:00
dac48ea4e0
last processing of review remarks
2023-10-04 11:19:39 +02:00
0c5b35926b
php cs fixer and phpstan
2023-09-29 07:52:50 +02:00
9b061eeaae
handle children of closing motive for isCanceledAccompanyingPeriod
2023-09-18 15:16:59 +02:00
6b958d193d
add property to closing motive to identify motives related to erroneous accompanying periods
2023-09-18 14:36:28 +02:00
754515f185
php cs fixes
2023-09-14 12:25:56 +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
e2a739eeff
Fix strong typing on some entities's methods: allow null values
2023-08-28 16:09:22 +02:00
f570fe92a5
apply rector rules
2023-07-28 02:40:02 +02:00
0ed5544ad3
More useful error message when not enough people in database fixture
2023-07-28 01:22:58 +02:00
023a29cb78
apply rector rules: php up to php82
2023-07-19 23:19:50 +02:00
075aca493b
DX: type-hing oneToMany and ManyToMany properties as collection
2023-07-19 16:21:17 +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
d815b44280
DX: more type-hinting on AccompanyingPeriodWork
2023-06-13 23:05:34 +02:00
dde3002100
DX: apply rector rules up to php8.0
2023-04-28 22:30:33 +02:00
f2e1c73f37
Build parts to track info on accompanying period
2023-04-28 11:49:33 +02:00
858ade467c
DX: rector rules upt to PHP 74
2023-04-15 00:20:19 +02:00
98aad8c4b6
Fixed: [accompanying period work / edit] allow endDate to be equal to startDate, and show validation errors to users
...
Fix https://gitlab.com/Chill-Projet/chill-bundles/-/issues/79
2023-04-11 10:45:10 +02:00
e528e4f57a
FEATURE [timespent][type] change type of time spent to integer
2023-02-16 14:14:45 +01:00
8957f3fed4
FEATURE [evaluation][serialization] add new time spent property to serialization
2023-02-16 14:14:44 +01:00
f75f6719bc
FEATURE [eval][duration] property added to an to save the time spent working on evaluation
2023-02-16 14:14:44 +01:00
59e21b6819
Feature: [acp] record the step history of each accompanying period
...
Each time a step is changed on an history, a record is stored in a
dedicated table.
When the acp's opening date is moved, the first row is adapted to match the new opening's date. This
mechanisme does not work if the opening date is move beyon the first end
date (if any), nor on the closing date.
2022-10-14 14:36:40 +02:00
66f282e221
DX: fix an accompanying period might be null in an AccompanyingPeriodComment
2022-10-13 16:50:21 +02:00
9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
67c3f3a840
fix cs with licencse header
2022-10-05 17:08:14 +02:00
nobohan
d55ba36619
[person] add comment field to accompanying period resource docgen
2022-07-18 15:39:00 +02:00