9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
b394d7247d
fix cs: too much line before declaring strict type
2022-10-06 08:55:32 +02:00
67c3f3a840
fix cs with licencse header
2022-10-05 17:08:14 +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
09b2c9a14e
fixed: do not show same person twice if persons are members simultaneously
2022-07-11 15:11:35 +02:00
dae383dbd9
fix some psalm errors
2022-04-30 01:34:23 +02:00
2d9af8f8c0
period: fix method hasPreviousUser and create method isChangedUser, and use it in Notification
2022-04-22 12:12:30 +02:00
a4ece21f2b
in household, force validTo of address to be NULL
2022-04-01 15:06:00 +02:00
3756631595
fix some psalm issues
2022-03-02 16:39:36 +01:00
4f4b1bfbaa
PersonAddressMove: fix tests, address history on household, and household::getMembersOnRange
2022-02-21 00:12:57 +01:00
caa63ea97a
PersonAddressMoveEvent on household move (wip)
2022-02-19 14:04:51 +01:00
b9dbb1916a
migration for history, and create history location on each change
2022-02-14 23:03:40 +01:00
9b4c350213
fix tests for accompanying period comments
2022-02-11 13:36:35 +01:00
53b3f98bba
Household/composition add + fixes household composition editor
2022-01-24 10:59:00 +00:00
264bd76461
Issue336 internal create action fixes
2021-12-14 18:48:31 +00:00
f8071d32c0
batch replace/rename initialComment by pinnedComment
2021-12-13 16:31:16 +01:00
4e4add3cc1
check for ancestors when validating the presence of accompanying
...
period's social issues
2021-12-07 18:17:22 +01:00
e6c60e66fc
fix validator for taking ancestors into account
2021-12-07 18:05:05 +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
Pol Dellaiera
a9188355c5
cs: Enable more risky rules.
2021-11-30 11:37:57 +01:00
Pol Dellaiera
8f96a1121d
cs: Fix code style (safe rules only).
2021-11-23 14:08:50 +01:00
5111a0ff6a
Show alt names in person search results
2021-11-05 12:52:31 +00:00
09e5cc1545
create api for social issue consistency
2021-08-22 00:02:22 +02:00
8030792eb6
Remove creation of AccompanyingPeriod on person creation
2021-07-22 15:36:36 +00:00
38c06977ca
add link to household or household editor
2021-06-10 15:18:41 +02:00
041b1dfc51
Controller action to move members of an household
2021-05-31 20:42:07 +02:00
ae8e5bc2e3
Merge branch 'master' into 'fix-accompanying-period-opening'
...
# Conflicts:
# src/Bundle/ChillPersonBundle/Controller/AccompanyingCourseApiController.php
2021-05-26 13:11:23 +00:00
8e95166c24
fix replacing an initial comment in accompanying period
2021-05-18 19:19:22 +02:00
2610730219
add initial comment to accompanying period
2021-05-18 19:04:09 +02:00
87e2ac9386
handling multi types and acc-period/repositories endpoint
2021-05-13 00:54:44 +02:00
4f3f16d9b0
Set requestor for accompanying period
2021-05-10 15:59:58 +02:00
f3a8552829
rewrite methods for participation
2021-05-10 13:21:28 +02:00
33457d3cbc
Merge branch 'fix-accompanying-period-opening' into bootstrap-api
2021-05-06 16:02:13 +02:00
e919b4322e
fix accompanying period/remove person
2021-05-06 15:49:38 +02:00
b6131379f9
Merge remote-tracking branch 'origin/master' into bootstrap-api
2021-05-06 13:20:12 +02:00
07e0692783
bootstrap api and apply on accompanying period
2021-05-06 00:14:36 +02:00
Pol Dellaiera
e470a6a97e
Merge remote-tracking branch 'tmp/fix-person-last-address' into drupol-fix-person-addresses
2021-05-05 11:24:18 +02:00
eaa0ad925f
fix folder name
2021-03-18 13:37:13 +01:00