120 Commits

Author SHA1 Message Date
451f7f4230 [person][Search] Feature: use the current center history when searching
for person
2022-09-27 10:22:15 +02:00
49d2e98a1a [person] Feature: add a person's center history
The association between Person and Center is now stored in a dedicated
Entity: `PersonCenterHistory`, which have a date interval (start date
and endDate). The SQL counterpart is a table, with a constraint which
ensure that no person might be associated with two center at the same time.

For ease, a view is created to get the current center associated with
the person.

The dedicated migration creates also:

* indexes for a rapid search for person at current date;
* and populate the table from current data, setting the startdate to the
  person's creation date and time if any, `NOW()` unless.

The `Person` entity is also updated to use the information from the
PersonCenterHistory classes, but this commit does not yet delete the
`Center` column.
2022-09-26 21:11:01 +02:00
4fe4f6a877 DXFeature: ClosingMotiveRepository implements correct interace 2022-09-22 14:02:00 +02:00
c442529799 fix cs 2022-09-05 14:49:07 +02:00
c72dc83c06 adjust countperson to make it work again 2022-08-02 13:44:28 +02:00
d5d38053cd renaming of export to avoid confusion + start of agent traitant filter 2022-07-26 14:43:21 +02:00
a06a2c9592 start of social actions export 2022-07-26 10:41:24 +02:00
da9eba2618 add regulation list and basic regulation list query 2022-06-16 15:37:51 +02:00
4257a918f3 fix error when search pattern is empty 2022-04-08 00:11:08 +02:00
de4f65fede change strategy for searching: use the AND between words, instead of OR 2022-03-29 12:42:17 +02:00
11d57094e8 fix cs 2022-03-21 15:22:40 +01:00
ac9e55e2fc fix methods for accompanying period repository acl aware
* add method to interface
* delegate ACL to another method
2022-03-21 14:54:01 +01:00
f084078cf2 Merge remote-tracking branch 'origin/master' into issue509_parcours_referent 2022-03-21 12:59:24 +01:00
b6b6c25b3b adapt queries for listing near recents evaluation and work on homepage, taking care of referrers 2022-03-21 12:54:50 +01:00
72ba2c6bca paginator added + phpcsfixes 2022-03-17 14:13:21 +01:00
97731b0a9b controller + template made to list confirmed parcours for a specific user 2022-03-17 12:28:00 +01:00
387b7c2fbd first commit 2022-03-16 11:36:46 +01:00
6edf0bcb3b fix delete links in documents 2022-03-03 13:57:00 +01:00
fccac80222 Merge remote-tracking branch 'origin/master' into issue439_residential_address_otf 2022-03-02 21:53:17 +01:00
nobohan
48a32f2403 residential address: filter by person in the repository 2022-03-01 14:36:22 +01:00
1e146f542e try to fix some things 2022-02-28 16:09:52 +01:00
432cce280b simplify showing title of workflow, and add handler for evaluationDocument 2022-02-25 14:02:36 +01:00
nobohan
c5d2953ecb php code fix for Residential Address 2022-02-18 09:15:13 +01:00
nobohan
24fc7a216b person: add current residential address in normalizer 2022-02-17 15:42:37 +01:00
nobohan
2926965400 move residentialAddress entity to the ChillPerson bundle 2022-02-17 15:08:12 +01:00
aebb21935b fix page "my accompanying period" and do not show drafts periods in
homepage (+ ordering)
2022-02-16 19:57:35 +01:00
657bf7075b fix ci 2022-02-11 13:18:32 +00:00
1e81256404 fix cs 2022-02-08 19:37:59 +01:00
4314823a70 change order for accompanying period work list 2022-02-08 19:36:45 +01:00
a612d7dd9f improve workflow decision form 2022-02-01 12:19:51 +01:00
44183957b8 Merge remote-tracking branch 'origin/master' into homepage/rewrite 2022-01-31 15:36:53 +01:00
41fa1d9ca6 fix cs 2022-01-31 13:02:43 +01:00
1a04d903fc fixes for page 'mes parcours' 2022-01-29 03:08:34 +01:00
292c9380ad endpoint for recent accompanying period attributions 2022-01-28 15:39:37 +01:00
fcd5fba13e add history for user in accompanying period (+ counter) 2022-01-28 14:42:18 +01:00
2cd51eed2e Merge remote-tracking branch 'origin/master' into homepage/rewrite 2022-01-28 14:13:28 +01:00
88d1fe24b4 Creation of PersonResource 2022-01-26 12:52:15 +00:00
a4bfa1cb16 Merge remote-tracking branch 'origin/master' into homepage/rewrite 2022-01-25 14:28:29 +01:00
c7dbaae8d6 105 worflow 2022-01-24 13:17:46 +00:00
53b3f98bba Household/composition add + fixes household composition editor 2022-01-24 10:59:00 +00:00
c42f62de4c fix phpstan errors: undefined variable or type invalid 2022-01-24 00:32:47 +01:00
eccc75aecf fix cs 2022-01-23 23:22:04 +01:00
6ab8f95f7d list of "my evaluation near end" 2022-01-23 22:40:17 +01:00
a786578cbe fix cs 2022-01-23 21:52:27 +01:00
20a4950c60 accompanying period work list for my, near end date 2022-01-23 13:23:50 +01:00
Pol Dellaiera
8401ce2656
cs: Fix code-style (using PHPCSFixer and PHPCS). 2021-12-21 10:59:23 +01:00
60032c96f7 update changelog and cs-fixer 2021-12-13 19:43:07 +01:00
19741530bf Corrections after merge (double declares) 2021-12-13 19:24:21 +01:00
a25123ee38 add docgen:normalization for relation 2021-12-13 19:03:42 +01:00
2524229941 docgen normalization for relation 2021-12-13 19:03:22 +01:00