83ef12a2ef
Upgrade CS to PHP CS Fixer 3.65.0 (700668e) Persian Successor (was version 3.64.x)
2024-11-26 12:15:29 +01:00
7206e13984
Merge branch 'master' into upgrade-sf5
2024-09-16 15:29:43 +02:00
6f28d154c8
Fix referrers display to show only current referrers.
...
Updated the view to loop through current referrers in the accompanying period. Added new method `getReferrersHistoryCurrent` to the entity to filter and return only active referrers, ensuring correct display in the UI. Also included documentation for better code clarity.
2024-09-16 15:25:25 +02:00
ad47804c91
Apply rector changes to Collection typing
2024-08-27 16:23:08 +02:00
916724c0c5
Merge branch 'master' into upgrade-sf5
2024-06-24 10:46:21 +02:00
31b541d12f
Update AccompanyingPeriodWorkNormalizer and related classes
...
Updated the AccompanyingPeriodWorkNormalizer, its test, and the related entity class. Now, the normalizer includes additional checks for different formats and conditions, and cleans the context accordingly before processing. AccompanyingPeriodWorkDocGenNormalizerTest now extends from a new abstract base class. Changes are made in AccompanyingPeriodWork entity for datetime handling and serialization.
2024-06-12 11:47:13 +02:00
addc623add
php style fixer
2024-04-16 12:01:37 +02:00
f510acd170
add back the annotation to edit accompanying period work for referrers
2024-04-16 11:55:54 +02:00
bc683b28d6
update normalizers to take into account referrerHistory logic for accompanying period work
2024-04-16 11:55:50 +02:00
853014d8d2
remove attempt to adjust accompanyingperiod work for display of user job and service at specific date
2024-04-16 11:52:58 +02:00
d62e9ce269
Implement 'at date' for display of service and user job in accompanying period work entities (for twig templates) -> vue component still to fix
2024-04-16 11:52:58 +02:00
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
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
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
88469dbe8e
Fix serialization of accompangying period work referrers
2023-11-14 18:34:28 +01:00
bc2041cbdd
apply more cs rules for php-cs
2023-10-17 13:27:03 +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
075aca493b
DX: type-hing oneToMany and ManyToMany properties as collection
2023-07-19 16:21:17 +02:00
d815b44280
DX: more type-hinting on AccompanyingPeriodWork
2023-06-13 23:05:34 +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
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
e19cac168b
php csfixes
2022-05-04 13:00:46 +02:00
acee0ade24
add merge method
2022-05-02 14:01:41 +02:00
37a198b860
PrivateCommentEmbeddable created and added to entities + datamapper
2022-04-26 20:21:33 +02:00
064286aa2f
private comment for action. still needs (de)normalization
2022-04-26 09:52:00 +02:00
bf0578b6d7
[Accompanying period work] list evaluations associated to a work by startDate, and then by id, from the most recent to older
2022-04-20 13:49:47 +02:00
nobohan
690a443bdb
fix code style for AccompanyingPeriodWork - referrers
2022-03-10 16:25:05 +01:00
nobohan
492c22d1b7
AccompanyingPeriodWork: add referrers field
2022-03-10 08:40:11 +01:00
a9694da557
add workflow on evaluationdocument in UI
2022-02-27 02:38:08 +01:00
1e81256404
fix cs
2022-02-08 19:37:59 +01:00
d8929a6222
Merge branch 'master' into homepage/rewrite
2022-02-01 21:26:27 +01:00
fcff4bf863
fix phpcs
2022-02-01 18:01:34 +01:00
79b82e09e1
add document from activity
2022-02-01 17:58:20 +01:00
e98b1b049b
add context to MyEvaluations (action and course containers)
2022-02-01 17:28:30 +01:00
5d2cb8c712
homepage: add social action in evaluation serialisation
2022-02-01 14:14:55 +01:00
Pol Dellaiera
8401ce2656
cs: Fix code-style (using PHPCSFixer and PHPCS).
2021-12-21 10:59:23 +01:00
683d055088
Adding an unrelated to issue to an accompanyingCourseWork
2021-12-12 13:55:22 +00:00
e053529afb
add docgen context for AccompanyingPeriodWork
2021-12-03 12:21:36 +01:00
Pol Dellaiera
cd3be25c22
cs: Remove duplicated headers.
2021-11-30 13:54:58 +01:00
Pol Dellaiera
47c5855a21
cs: Switch to a stricter way of coding - this might break in a lot of places.
2021-11-30 13:33:18 +01:00