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
a7a921ee4d
batch replacing ', ou' in filters
2022-10-18 15:25:43 +02:00
9eb451e359
cs fixer
2022-10-18 14:37:33 +02:00
8928664f87
Merge branch '111_exports_suite' into 641_issues_with_children
2022-10-17 18:16:30 +02:00
32ddc5465c
review: fix stuffs on socialAction and socialIssue filters:
...
* filters call static entity method
* add renderString option to manage add_children
* add tests on new entity method getDescendantsWithThisFor..()
* rename function in repository
* rename 'Select2..' classes by 'Pick..' and replace all occurences
2022-10-17 17:31:17 +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
6d40ef279f
issue641: simplify alterQuery where clause in concerned filters
2022-10-16 19:38:13 +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
8b71e141cf
Feature: [activity] track creation and update on activity
2022-10-14 21:06:21 +02:00
c3f9ce1ea6
issue641: create 2 new Select2 formType (for actions and issues)
2022-10-10 18:28:30 +02:00
7276cb971f
issue649: new formType to use select2 with LocationTypeFilter
2022-10-10 15:59:16 +02:00
ca67170ad3
DX: do not loop on possible choices to display action
2022-10-06 23:24:38 +02:00
9ad9ef6758
DX: rename argument $qb to $query in export's, getResult
method, and add missing return type and import
...
This name is the same as the implemented interface.
2022-10-06 22:56:34 +02:00
e518cf703d
fix cs again
2022-10-06 22:45:07 +02:00
36590e7810
fix cs: mismatch header and strict type declaration
2022-10-06 22:25:45 +02:00
9699e2304a
fix cs: declare type and license header mismatch
2022-10-06 22:25:43 +02:00
c6b78d1c0c
Merge branch '111_exports_suite' of gitlab.com:Chill-Projet/chill-bundles into 111_exports_suite
2022-10-06 18:48:38 +02:00
c73bb10dce
issue 644: Use Vue AddPersons picker to select users
2022-10-06 18:47:53 +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
a967e1ed17
fix cs
2022-10-05 15:23:28 +02:00
e737f20735
batch removing unused $request prophesise in Tests setup()
2022-09-29 20:46:18 +02:00
b7c2903815
keep prophecy when test get 'request_stack'
2022-09-29 20:46:18 +02:00
6bddd320fa
Add Activity Export/Export missing tests
2022-09-29 20:46:18 +02:00
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
32f252149b
[export] Feature: rely on person's center history to build export's
...
query
2022-09-28 15:43:58 +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
b9d4b5650b
[Activity][Export] Fixed: use leftJoin on aggregators
2022-09-22 16:58:29 +02:00
37662a4187
batch replacing 'actacp' by 'acp'
2022-09-21 18:04:34 +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
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
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
eb112b8a85
exports: remove duplicate test
...
cfr commit 18a6a5a7ebeefc5999d16f7a3edf9bf89ba8e9e8
2022-09-21 10:33:49 +02:00
390009b395
export: create new filter tests
2022-09-21 10:17:53 +02:00
b25a1c3cbb
correct import path with filter/aggr
2022-09-21 10:17:53 +02:00
d716e0c2c2
add missing roles and adapt role voter for exports houshold and activity
2022-09-17 08:23:28 +02:00
fb60808dca
export translations: improve title translations in filter/aggrs stack
2022-09-14 17:53:07 +02:00
18a6a5a7eb
exports: move acp ActivityType filter in ChillActivityBundle
2022-09-13 13:27:24 +02:00
a817b0bf4c
exports: re-enable all modifiers stack with shared filters/aggrs
2022-09-08 11:31:23 +02:00
1dcff2f23c
exports: add condition with distinct alias on join clauses
2022-09-07 21:40:53 +02:00
81359877c4
exports: add condition with distinct alias on join clauses (wip)
2022-09-07 19:45:41 +02:00
1c92f58b3b
Merge branch 'tests/fixes-2022-09-05' into 111_exports_suite
2022-09-06 15:02:36 +02:00