171 Commits

Author SHA1 Message Date
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
70871176fc
DX: fix cs 2023-02-06 17:47:54 +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
2096e175d4 Fixed: [export][list person] use address from household for person list 2022-11-07 11:29:09 +01:00
a26029999f Merge branch '111_exports_suite' into testing 2022-10-12 11:30:52 +02:00
76aa9c7058 Fixed: do not store center in Person any more, the centerHistory is now fully in use 2022-10-08 01:11:54 +02:00
8cf166f7ea store an end date instead of a string when person is removed from a participation 2022-10-08 01:10:00 +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
b20a75c2ee Merge branch '111_exports_suite' into testing 2022-10-05 15:28:51 +02:00
a967e1ed17 fix cs 2022-10-05 15:23:28 +02:00
4388331b2f Merge branch '111_exports_suite' into testing 2022-10-05 10:21:42 +02:00
ac39baa5f5 Fixed: avoid the requirement to store person current center, which is a readonly entity 2022-09-29 18:21:14 +02:00
2309484692 Fixed: cascade persist the center history when a person is created 2022-09-28 17:21:39 +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
f3ca01fd88 cs: fix 2022-07-11 13:34:10 +02:00
68c1833584 fixed: CS 2022-07-11 12:56:48 +02:00
cec1588e91 Merge branch 'master' into calendar/finalization 2022-07-10 22:00:19 +02:00
1d8f25e2c8 use the date parameter in deprecated method getLastAddress 2022-07-08 15:04:06 +02:00
8bbd3b01d9 Add a mention on next calendars on search results 2022-07-01 18:01:42 +02:00
8ba7a39335 fix conflicting doc between class Resource and resource 2022-04-30 01:46:14 +02:00
dae383dbd9 fix some psalm errors 2022-04-30 01:34:23 +02:00
4794039250 declare properties used for cache 2022-04-27 14:45:42 +02:00
c7762dd6d2 fix trimming for email in person / thirdparty 2022-03-31 12:51:53 +02:00
dcddf4b3f1 trim email 2022-03-31 10:24:58 +02:00
eb2bad0f47 docgen normalization budget: fix budget when person is null 2022-03-30 21:35:02 +02:00
bc43d8bae5 force type on Person entity 2022-03-30 21:01:17 +02:00
36b1f05524 do not launch PersonMoveEvent when moving to the same household 2022-03-30 16:42:57 +02:00
02409d4992 Merge remote-tracking branch 'origin/master' into issue469_budget 2022-03-24 16:22:52 +01:00
c5ffca22ff ease docgen normlisation for resources 2022-03-22 22:37:19 +01:00
5c68879509 fix doctrine annotation to make it comply with cs 2022-03-14 13:41:11 +01:00
nobohan
db95e935d9 order accompanying period by opening date in search person 2022-03-08 11:37:08 +01:00
0833bb49ca fixes for budgets 2022-03-03 10:37:10 +01:00
ac12e75714 Merge remote-tracking branch 'origin/master' into issue469_budget 2022-03-02 22:01:28 +01:00
09de7cbf7d allow null values on phonenumber in location and person 2022-03-02 15:53:39 +01:00
3eb826d422 default value for Phonenumbers 2022-03-02 14:21:53 +01:00
f4f488dad1 normalization of phonenumber 2022-03-02 14:10:48 +01:00
Pol Dellaiera
18c57d532c
Update Person entity fixup 2022-02-28 15:01:26 +01:00
Pol Dellaiera
dbbbd99788
Use PhoneNumber form type. 2022-02-28 15:01:26 +01:00
Pol Dellaiera
7ad78fbce1
remove regex 2022-02-28 15:01:26 +01:00
Pol Dellaiera
d780d95157
work in progress 2022-02-28 15:00:55 +01:00
2e59c1415b csfixes plus changelog updated 2022-02-25 16:24:25 +01:00
f8d5f13a88 add methods to get budgetResources and budgetCharges in person entity 2022-02-25 16:20:07 +01:00
1658fee090 test on members editor post move + listen for event (wip) 2022-02-15 00:23:01 +01:00
646f39b9ed Merge conflicts fixed 2022-01-28 12:15:51 +01:00
8e2d3616b5 Merge remote-tracking branch 'origin/master' into issue383_referent_in_acc_course 2022-01-24 15:04:55 +01:00
53b3f98bba Household/composition add + fixes household composition editor 2022-01-24 10:59:00 +00:00
nobohan
25ebeebdfb accompanying course: display closed acc. period in list 2022-01-20 08:32:48 +01:00