julienfastre
c059fe8a95
add exportElementProvider to provide elements dynamically to export manager
2018-06-13 16:44:22 +02:00
julienfastre
587b248549
improve script for downloading exports
2018-06-12 17:58:02 +02:00
nobohan
9cd32cb59c
fix deprecations: add choices_as_values=true + flip contents of choice in ChoiceType
2018-04-04 22:00:37 +02:00
nobohan
1b16b8e1da
fix deprecations: set choices_as_values = true + flip content of choices options
2018-04-04 10:51:35 +02:00
nobohan
56a695e66e
fix deprecations: use the fqcn for choiceType
2018-04-04 10:29:57 +02:00
julienfastre
5b4dcb9013
upgrade php-office to last stable version
2018-04-03 12:45:59 +02:00
julienfastre
8e9b94898f
fix error when filter::describeAction return an array with only one element
2017-04-19 00:29:53 +02:00
julienfastre
d5c26c6d47
[export] adding spreadsheet formatter
2017-02-19 21:40:55 +01:00
julienfastre
5c0ca70ebf
add api to add a validation on export elements
...
Exports elements should implements "ExportElementValidatedInterface"
2017-02-02 22:45:10 +01:00
julienfastre
e19868e595
ExportInterface::getLabels should return a closure
2016-12-23 15:25:21 +01:00
julienfastre
2cf948192c
fix error with empty yield
2016-12-09 20:35:26 +01:00
julienfastre
9d18581db1
add an interface for export which are lists
...
Lists does not supports aggregators.
The export manager will filter the aggregators applying on the export
depending on the interface implemented by the export: if the export implements
`Export\ListInterface`, no aggregators will be returned for this export.
2016-12-09 19:52:54 +01:00
julienfastre
12dbb587df
improve export to add filtering parameters on result
...
The csv formatter now add a message about filtering parameters.
The filterInterface has been adapted to render a message.
2016-12-01 22:29:41 +01:00
julienfastre
ef96aad966
fix doc for export interface
2016-10-20 12:21:19 +02:00
julienfastre
baba8dbe5f
check that the export::getResult return an array
...
if the export does not return an array, and UnexpectedValueException is thrown
2016-05-25 10:56:37 +02:00
julienfastre
63a1ab8d93
rename const TYPE_CSV_LIST => TYPE_LIST
...
The list is not restricted to CSV format.
2016-05-25 10:55:39 +02:00
julienfastre
90f710faa0
Create an horizontal CSV list
2016-05-25 10:54:43 +02:00
julienfastre
a182dcc1a1
allow exportInterface to return NativeQuery
...
ref #9
2016-04-25 21:57:23 +02:00
julienfastre
4bfe4b361f
replacing the response of Export::getLabel by a Closure
2016-04-21 22:20:37 +02:00
julienfastre
85dfb222ae
adding headers and labels in CSVListFormatter
2016-04-21 13:38:13 +02:00
Marc Ducobu
7ea7137194
New formatter : CSVListFormatter
2016-04-19 17:54:19 +02:00
Marc Ducobu
0067fa85ad
Adding doc
2016-04-19 17:53:02 +02:00
julienfastre
e57b421aec
handling form for exportInterface
2016-04-19 12:38:48 +02:00
julienfastre
5dd98945f8
fix doc and code alignement
2016-04-19 12:22:43 +02:00
julienfastre
ecf246d6e9
fix typo in doc
2016-04-19 12:16:02 +02:00
julienfastre
f888b39cdb
improve test, modify exportInterface, use constants for ExportType keys
...
- add a test for 'generate' ;
- the ExportType declare keys, and those keys are used in ExportManager;
- the export interface does not require the "has form" function, and
export form is taken into account
2016-04-15 23:13:41 +02:00
julienfastre
bcdee0be94
bootstrap test for isGranted
2016-04-15 23:13:41 +02:00
julienfastre
a4fbf27519
fix bug when using isGrantedForElement with ModifierInstance with a Role
2016-04-15 23:13:41 +02:00
julienfastre
70806408fd
rewrite interface and create first tests
2016-04-15 23:13:41 +02:00
julienfastre
df69448324
add acl for exports
2016-04-15 23:13:41 +02:00
julienfastre
8726f6faee
make aggregators take role into accoutn
2016-04-15 23:13:41 +02:00
julienfastre
630be1d3d2
take into account all reachble centers by default for authorization
2016-04-15 23:13:41 +02:00
julienfastre
de27c50a5a
begin to take ACL into account [WIP] [ci skip]
2016-04-15 23:13:41 +02:00
julienfastre
685703d863
add column headers
2016-04-15 23:13:41 +02:00
julienfastre
fa246b37b6
[wip] clean controller + column header [ci skip]
2016-04-15 23:13:41 +02:00
julienfastre
fe1a9a0838
add form to formatter
...
The formatter can add a form. This form is handle by controller and exportManager.
[WIP] The csv formatter ask the user to ordering the aggregators.
2016-04-15 23:13:41 +02:00
julienfastre
fa1be795ec
add method helper on manager to simplify controller
...
The controller does not have to handle data of the form ExportType. The ExportManager now handles those data. This is supposed to limit the number of place where the form data are handled.
2016-04-15 23:13:40 +02:00
julienfastre
ce2119ee6f
handle requests and form to build an export
2016-04-15 23:13:40 +02:00
julienfastre
e1a9ad1612
[wip] add different steps to handle request
2016-04-15 23:13:40 +02:00
julienfastre
b40b85527a
create a first set of export framework
...
- create interfaces
- create an export manager
- add a compiler pass to gather services tagged for export
2016-04-15 23:13:40 +02:00