f5fb721ddd
activity export export tests
2022-09-29 20:46:18 +02:00
2b8fe462ea
repair Activity Aggregator Tests
2022-09-29 20:46:18 +02:00
8d1160d093
delete duplicate AggregatorTest
2022-09-29 20:46:18 +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
3feb5115a5
Merge remote-tracking branch 'origin/master' into 111_exports_suite
2022-09-28 15:53:43 +02:00
b777e9c819
Merge branch 'person-change-center-history' into '111_exports_suite'
...
Track the change of person's centers
See merge request Chill-Projet/chill-bundles!454
2022-09-28 13:52:55 +00:00
a91b35298a
Do use the old name for the table, as it should exists when migrations are executed sequentially
2022-09-28 15:52:19 +02:00
32f252149b
[export] Feature: rely on person's center history to build export's
...
query
2022-09-28 15:43:58 +02:00
1786fa838f
Merge branch '111_exports_suite' into testing
2022-09-28 09:49:33 +02:00
f39b0ee002
[task] Feature: use the resolution of center with person's center
...
history
2022-09-27 16:09:09 +02:00
1386ae66de
centerDispatchResolver added in construct - was missing
2022-09-27 15:35:45 +02:00
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
9f2ecff63e
exports: ResidentialAddressAt ThirdParty/User Filter, improve query (issue637 et issue638)
2022-09-26 18:52:00 +02:00
78e00b8eba
exports: improve translations
2022-09-26 17:40:58 +02:00
e3764f6f91
[export][person] Fixed: use left join on association between works and
...
goal/results
2022-09-26 17:02:28 +02:00
95f7622923
[Export][person] Fixed: error and more precision on household
...
composition
A filter and two aggregators create a join between composition and
household, but with a parameter at different date.
Each aggregator and filter now have a custom alias, to allow to set this
date parameter on each join.
2022-09-26 16:45:36 +02:00
2c46886e36
Fix use import and add a "not null" condition on travel time
2022-09-26 14:59:31 +02:00
58eb089d1c
Fix use import and add a "not null" condition on travel time
2022-09-26 14:49:51 +02:00
6eff1962df
Fix import and add a "not null" condition on duration time
2022-09-26 14:43:04 +02:00
75713af0e0
[export][person] fix alias name for person in CountPersonWithAccompanyingCourse export
2022-09-23 21:58:50 +02:00
6cdb3033db
[export][person] Fixed: filter per person's age: use calculatio non year interval
2022-09-23 21:58:38 +02:00
7fe8d0837f
[export][person] fix alias name for person in CountPersonWithAccompanyingCourse export
2022-09-23 21:55:00 +02:00
753d6ea481
[export][person] Fixed: filter per person's age: use calculatio non year interval
2022-09-23 21:51:26 +02:00
8cf25415ab
Merge branch '111_exports_suite' into testing
2022-09-22 18:16:15 +02:00
89bdc76565
handle unknown in gender aggregator
2022-09-22 18:15:59 +02:00
743e0b9403
Merge branch '111_exports_suite' into testing
2022-09-22 16:58:47 +02:00
b9d4b5650b
[Activity][Export] Fixed: use leftJoin on aggregators
2022-09-22 16:58:29 +02:00
4fe4f6a877
DXFeature: ClosingMotiveRepository implements correct interace
2022-09-22 14:02:00 +02:00
e487bdf7fd
fix issue628 when result is null
2022-09-22 13:22:34 +02:00
37662a4187
batch replacing 'actacp' by 'acp'
2022-09-21 18:04:34 +02:00
97d6f35605
Merge branch '111_exports_suite' into testing
2022-09-21 17:31:13 +02:00
cf9b9b3c75
[person][export] Fixed: use left join for related entities in accompanying course aggregators
2022-09-21 17:30:00 +02:00
ca6fde934b
[export][person] Fixed: fixed inconsistency in requestor query
...
A condition was not present in a subquery, causing to take all courses into account,
not the one concerned by the filter
2022-09-21 17:28:55 +02:00
01fb93e9e0
[export][activity] count activities only once if the activity is present
...
multiple times due to JOIN
2022-09-21 17:28:55 +02:00
4e82126bed
[activity][export] Fixed: fixed inconsistencies with date filters
2022-09-21 17:28:55 +02:00
8b64933565
[activity][export]: Fixed: rename the alias for accompanying period, to
...
be suitable for usage with acp filters
2022-09-21 17:28:55 +02:00
683717e572
Merge branch '111_exports_suite' of gitlab.com:Chill-Projet/chill-bundles into 111_exports_suite
2022-09-21 14:34:04 +02:00
3c8dbe56fc
exports: create new aggregator tests + minor corrections in aggregators
2022-09-21 14:31:46 +02:00
7813f66935
Merge branch 'calendar/finalization' of gitlab.com:Chill-Projet/chill-bundles into calendar/finalization
2022-09-21 13:31:38 +02:00
9da410afb8
urgency and calendarrange exports
2022-09-21 13:31:24 +02:00
7ef84b9fd0
exports: create new aggregator test (untested)
2022-09-21 13:27:26 +02:00
8d7013b988
Merge branch 'calendar/finalization' of gitlab.com:Chill-Projet/chill-bundles into calendar/finalization
2022-09-21 12:46:03 +02:00
6405f2101f
exports: add new tests for calendar aggregators (untested)
2022-09-21 12:45:31 +02:00
40b4fd00b0
Merge branch 'calendar/finalization' of gitlab.com:Chill-Projet/chill-bundles into calendar/finalization
2022-09-21 12:26:03 +02:00
2331e9ea0f
Merge branch 'calendar/finalization' of gitlab.com:Chill-Projet/chill-bundles into calendar/finalization
2022-09-21 12:20:52 +02:00
e90ff67e33
add urgent property to calendar entity
2022-09-21 12:20:39 +02:00
27306015f4
exports: create new filter tests
2022-09-21 11:29:08 +02:00
c059b7700e
Improve label for aliases in "Filter by Activity" and use of new-style
...
EntityRepository for ActivityType
* [activity][export] Feature: improve label for aliases in "Filter by activity type"
* [activity][export] DX/Feature: use of an `ActivityTypeRepositoryInterface` instead of the old-style EntityRepository
2022-09-21 11:11:33 +02:00