94f26df81e
Make test personMove work for centers
2023-09-07 16:07:23 +02:00
3af065e530
WIP [centerHistory] Try to get test to work for personCenterHistory
2023-08-03 11:40:47 +02:00
347eda05df
Fix: force the consistency of location in accompanying period
...
- internally, the entity remove the addressLocation when the
personLocation is set, and vice-versa;
- this commit add a migration which may solve the case when both case
happens (priority to personLocation + keep the history)
- add a constraint on the database to avoid such situation
2023-06-29 12:44:28 +02:00
abe020f116
Merge remote-tracking branch 'origin/master' into 103-document-page
2023-06-27 18:31:14 +02:00
7a1feaa8cb
show documents from person in list of document from course
2023-06-27 18:20:41 +02:00
471898e6d8
Fixed: filter social action to keep only currently activated
2023-06-21 14:17:54 +02:00
146103e87c
Fixed: Accompanyingperiod / comment: order by newest to oldest
2023-06-21 14:17:54 +02:00
7349be94c8
Merge remote-tracking branch 'origin/master' into 709-notification-eval-action
2023-06-13 23:05:51 +02:00
d815b44280
DX: more type-hinting on AccompanyingPeriodWork
2023-06-13 23:05:34 +02:00
88f48d474f
fix association's annotation between PersonCenterCurrent and Person entities
2023-06-06 17:08:38 +02:00
fbd555e89a
Feature: add Household composition on household in docgen
2023-05-17 16:05:53 +02:00
229af2e4f9
Feature: Adapt filters and aggregators with new steps
2023-04-28 11:49:36 +02:00
722f053f06
Feature: Change accompanying period info step in a cronjob
2023-04-28 11:49:35 +02:00
97b7ff2e43
Feature: takes activity into account for AccompanyingPeriodInfo
2023-04-28 11:49:34 +02:00
f2e1c73f37
Build parts to track info on accompanying period
2023-04-28 11:49:33 +02:00
746ed4f5e5
DX: fix cs
2023-04-15 00:43:55 +02:00
858ade467c
DX: rector rules upt to PHP 74
2023-04-15 00:20:19 +02:00
19034ac1d8
Merge remote-tracking branch 'origin/master' into refactor-using-rector-202303
2023-04-15 00:07:09 +02:00
d9dd8d7317
Merge remote-tracking branch 'origin/master' into fix-phpstan-issues-202303
2023-04-11 11:36:11 +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
b9a7530f7a
DX: apply rector rulesset up to PHP72
2023-03-29 22:32:52 +02:00
48772efd54
DX: fix phpstan issues
2023-03-28 22:32:08 +02:00
27dbdbcd96
Merge branch 'master' into upgrade-php82
2023-03-28 11:11:51 +02:00
23951f1997
Merge remote-tracking branch 'origin/master' into issue714_eval_time_spent
2023-03-24 17:51:37 +01:00
7dc07129f8
Merge branch 'master' into upgrade-php82
2023-02-28 18:21:51 +01:00
dbcc425f5f
DX: improve performance for counting feature linked to person
2023-02-28 17:22:54 +01: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
f57555dab4
DX: fix phpstan errors
2023-02-07 23:03:37 +01:00
70871176fc
DX: fix cs
2023-02-06 17:47:54 +01:00
584ac05b53
DX: fix phpstan errors
2023-02-04 01:19:34 +01:00
6bba6f68b3
DX: Remove deprecation on $this->get
inside controller
2023-01-13 16:40:13 +01:00
ad94c7bcb7
DX: Fix CS and type hinting
2022-12-22 11:22:49 +01:00
1f58acd871
Feature: [person][creation] Add center field to OnTheFly/Person
2022-12-21 17:27:11 +01:00
5328bee262
Fixed: [SocialAction] Fix the loading of evaluations associated to a SocialActions
2022-12-06 10:17:49 +01:00
fc15b85d11
DX: [accompanying period] refactor the getCenters method
...
Use more portable spl_object_hash for listing different centers
2022-11-28 12:24:10 +01:00
593caec851
Merge remote-tracking branch 'origin/111_exports_suite' into calendar/finalization
2022-11-25 15:29:17 +01:00
f434cc5c02
Fixed: [list person] fix list person and add new fields
2022-11-02 10:52:49 +01:00
333c305eef
Fixed: [export][list person] use address from household for person list
2022-11-02 10:52:49 +01:00
aae1fbf7e6
Merge branch '111_exports_suite' into calendar/finalization
2022-10-24 11:10:44 +02:00
1ec3e176fb
Merge branch 'master' into calendar/docgen-add-generation
2022-10-20 13:34:21 +02:00
9eb451e359
cs fixer
2022-10-18 14:37:33 +02:00
8928664f87
Merge branch '111_exports_suite' into 641_issues_with_children
2022-10-17 18:16:30 +02:00
531e05fc3a
DX: fix tests to find ancestor to all SocialAction and SocialIssue
2022-10-17 17:54:50 +02:00
32ddc5465c
review: fix stuffs on socialAction and socialIssue filters:
...
* filters call static entity method
* add renderString option to manage add_children
* add tests on new entity method getDescendantsWithThisFor..()
* rename function in repository
* rename 'Select2..' classes by 'Pick..' and replace all occurences
2022-10-17 17:31:17 +02: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
5a94ce49f1
[Feature] add active property to evaluation
2022-10-13 15:25:09 +02:00
f1fc6f9ab3
Fixed: usage of owner side / inversed side on SocialAction / Evaluation
...
In a ManyToMany relationship, doctrine does take care only of the owning
side of a relationship to inspect changes.
([see
documentation](https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/unitofwork-associations.html#important-concepts ))
This commit mark as "internal" the methods add/removeSocialAction on the
inversed side (`Evaluation`) and let the methods add/removeEvaluation
on the owning side (`SocialAction`) update the inversed side.
The usage is also adapted into SocialWorkMetadata's importer.
2022-10-10 20:52:35 +02:00