72 Commits

Author SHA1 Message Date
4587f66402 Add household info to activity exports 2024-08-30 08:57:27 +00:00
67c3de733f
Refactor ActivityReasonAggregator: can be applied also on export for Activities linked with accompanying period
This commit renames the ActivityReasonAggregator's namespace from PersonAggregators to Aggregator and modifies its methods. The join method in the query builder has been changed from innerJoin to leftJoin, 'group by' part is simplified, and the applyOn method now returns Declarations::ACTIVITY instead of Declarations::ACTIVITY_PERSON. Further modifications apply to the getFormDefaultData method and the corresponding test.
2024-02-07 16:47:33 +01:00
b17b2a8cfb
Export: add export "number of household associated with an activity" 2023-12-04 16:39:01 +01:00
af6bee2497
Export: add an export which count persons on activity 2023-11-15 13:25:08 +01:00
cbc83c0e63
Export: add grouping "group activity by person" (activites saved in person context) 2023-11-13 15:29:01 +01:00
27012d842d
Export: add an ActivityPresenceFilter 2023-11-13 15:29:01 +01:00
4112e59af4
Export: add an ActivityPresenceAggregator 2023-11-09 17:35:34 +01:00
bb1602934c
Fix "group activity by creator job" aggregator 2023-11-07 16:07:24 +01:00
83fe3ec3fc
Export: add a "filter activity by creator job" filter 2023-11-07 16:06:22 +01:00
7bff5ce39e
DX: rename UserScopeFilter to CreatorScopeFilter 2023-10-24 14:17:08 +02:00
981dc6a959
[export] add a filter and aggregator on accompanying periods: group by activity type (accompanying course having at least one activity from this type) 2023-10-19 10:33:56 +02:00
11fb9bcd0b
[export] add a filter and aggregator on activities: filter/group by persons taking part to the activity 2023-10-19 10:33:55 +02:00
63e9d1a96f
[export] add a filter and aggregator on activity: by creator job 2023-10-16 11:52:03 +02:00
65aa0a1588
Merge remote-tracking branch 'origin/master' into rector/rules-symfony 2023-09-27 15:25:29 +02:00
4e27d71bea
Re-associate activity exports and filters
Some filter can work on both exports and lists associated to persons and accompanyings periods. They are moved to a more common namespace.

The modifiers in list are also fixed to allow an association with these filters.
2023-09-26 17:59:04 +02:00
009a0326d9
Configure routes using annotation 2023-08-02 23:05:33 +02:00
f3912e5544 Merge branch '129-export-filter-course-having-activity' into 'master'
[export] Add a filter "filter course having an activity between two dates"

Closes #129

See merge request Chill-Projet/chill-bundles!574
2023-07-12 16:20:18 +00:00
2882038efc
[export] Add a filter "filter course having an activity between two dates" 2023-07-11 16:00:40 +02:00
6065680e1e
Feature: [export] allow to group activities by location 2023-07-11 15:01:32 +02:00
ba55fa349b FEATURE [genericDoc][activity] finalize implementation 2023-05-31 16:53:38 +02:00
97b7ff2e43
Feature: takes activity into account for AccompanyingPeriodInfo 2023-04-28 11:49:34 +02:00
cc62c9cc4a Feature: [export][activity] Add filter on localisation for activities 2023-02-08 15:42:44 +00:00
164beb3ca9
Fixed: [Activity] fix appearance of reason list in Activity form
Fix https://gitlab.com/Chill-Projet/chill-bundles/-/issues/44
2023-01-13 16:15:05 +01:00
25dd65fbd8
Feature: [admin][ActivityReason] improve administration for activity reason
* list alphabetically;
* show "active" in index
2023-01-13 15:40:51 +01:00
88fb48e2be
Fixed: let the aggregator "Activity by type" be shown again 2022-12-05 18:26:01 +01:00
43d9ba1ba5 Create 16 new filters/aggregators in Bundles: Vendée, Person, Activity
Basic file creation, with methods, namespace, and title translation
2022-10-28 13:07:24 +02:00
7b3fcad251 Feature: [export][activity] Filter activities by users scope and job 2022-10-18 16:27:49 +02:00
a7ade9dac4 DX: use tags iterator to inject aggregators, filters and export during ExportManager's construct
Squashed commit of the following:

commit dc2bbc8f4da24549a1d42feb3b453af9f79ab2ff
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Oct 18 10:40:14 2022 +0200

    Fixes: remove iterator_to_array on formatter, which causes a PHP crashes

commit 4ce56a01a77103661fb790d0988df6625f1fb11b
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 17 17:41:14 2022 +0200

    DX: use tags and dependency injection to build ExportManager
2022-10-18 16:27:49 +02:00
50e12375f8 Feature: [export][activity] Group by users (participating) job and scope
on activity exports
2022-10-17 00:25:16 +02:00
4ed760949a Feature: [export][activity] Add filter and aggregator by users
(participating to the activity)
2022-10-16 23:56:25 +02:00
c07cd2b715 Fixed: [export][activity] use createdBy property instead of user for
grouping or filtering by creator
2022-10-14 21:55:02 +02:00
eb112b8a85 exports: remove duplicate test
cfr commit 18a6a5a7ebeefc5999d16f7a3edf9bf89ba8e9e8
2022-09-21 10:33:49 +02:00
18a6a5a7eb exports: move acp ActivityType filter in ChillActivityBundle 2022-09-13 13:27:24 +02:00
dea7982ca8 exports: add activity linked_to_acp new aggregators (wip) 2022-08-22 19:04:48 +02:00
c4944cce17 exports: move activity old aggregators in PersonAggregators folder 2022-08-22 17:12:33 +02:00
f8f17a6a06 exports: move activity old filters in PersonFilters folder 2022-08-22 13:37:20 +02:00
248d56e598 exports: add activity linked_to_acp new filters 2022-08-22 13:28:50 +02:00
d9b668e614 exports: create new activity linked to acp exports indicators + title/descr/groups translations 2022-08-17 11:44:15 +02:00
57d00df460 exports: split namespace between activity linked to person <> acp 2022-08-17 10:12:29 +02:00
72a5a6cd27 hop 2022-08-09 15:22:05 +02:00
ac0c221267 start activity exports adaptations and new additions 2022-08-03 16:48:33 +02:00
nobohan
0f319a1003 admin: reorganising activity menu and submenus 2022-05-09 16:22:17 +02:00
juminet
21d4e49fce activity: doc gen 2022-01-24 13:51:14 +00:00
f10d762e59 Eventlistener to create accompanyingPeriodWork 2021-12-06 13:57:10 +00:00
juminet
b300858bdd activity: avoid existing entities being added in Users, ThirdParties, Persons 2021-11-29 12:27:54 +00:00
Pol Dellaiera
d9b862925f
fix: Let Symfony inject dependencies automatically. 2021-11-18 11:41:41 +01:00
Pol Dellaiera
97ab71b63d
fix: Add missing repositories, fix typing information, autoload Repository directory. 2021-11-18 11:41:40 +01:00
8296d60cb6 add base authorization to person search + improve search ordering 2021-11-15 11:17:03 +00:00
120f7d8026 upgrade voter and acl for activities and implement autoconfiguration for
ChillProvideRole interface
2021-09-20 13:56:44 +02:00
075f22e79c configure SocialIssue consistency on Activity and AccompanyingPeriod 2021-08-22 00:02:22 +02:00