562 Commits

Author SHA1 Message Date
dc98fd9d86 add a hack to export on CSV
Currently, it seems that using the function fputcsv make PHP consider
that header were sent. We have to send headers explicitly from the Controller.
2016-05-25 11:01:43 +02:00
2b4aec4b1a add missing messages 2016-05-25 11:00:29 +02:00
5bad2b7ef4 register horizontal list in services 2016-05-25 10:57:09 +02:00
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
63a1ab8d93 rename const TYPE_CSV_LIST => TYPE_LIST
The list is not restricted to CSV format.
2016-05-25 10:55:39 +02:00
90f710faa0 Create an horizontal CSV list 2016-05-25 10:54:43 +02:00
6011c720a9 [search] allow '-' in argument name 2016-05-17 21:29:20 +02:00
f56de656d3 [minor] add missing message 2016-05-17 09:21:15 +02:00
590e4c07f9 fix error on Bad Credentials message 2016-05-10 13:28:35 +02:00
Marc Ducobu
a766651443 Passage de opensansXX à Open Sans + font-weight 2016-05-06 19:03:48 +02:00
Marc Ducobu
510d3ff480 Merge 2016-05-06 16:30:15 +02:00
Marc Ducobu
b67b6f4917 Improving the timeline UI 2016-05-06 16:27:35 +02:00
Marc Ducobu
84d263cfa5 Refactoring 2016-05-06 12:22:18 +02:00
4c073fcb70 adding a link to user manual 2016-04-29 17:43:31 +02:00
0c5a7f04dd use the font 'open Sans' with all variants
close #21
2016-04-29 17:26:37 +02:00
250b1826f6 adding messages for valid / not valid 2016-04-26 16:54:27 +02:00
a182dcc1a1 allow exportInterface to return NativeQuery
ref #9
2016-04-25 21:57:23 +02:00
5b879ae13c by default, aggregators and filters are disabled 2016-04-21 23:10:20 +02:00
afcf9e270e add translations for all steps and clean layout 2016-04-21 22:50:17 +02:00
4bfe4b361f replacing the response of Export::getLabel by a Closure 2016-04-21 22:20:37 +02:00
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
e57b421aec handling form for exportInterface 2016-04-19 12:38:48 +02:00
5dd98945f8 fix doc and code alignement 2016-04-19 12:22:43 +02:00
ecf246d6e9 fix typo in doc 2016-04-19 12:16:02 +02:00
dbe7d4855b improve form layout 2016-04-19 00:24:55 +02:00
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
fed93f47a1 remove dead code + some comment 2016-04-15 23:13:41 +02:00
53ad43d600 add tests 2016-04-15 23:13:41 +02:00
bcdee0be94 bootstrap test for isGranted 2016-04-15 23:13:41 +02:00
a4fbf27519 fix bug when using isGrantedForElement with ModifierInstance with a Role 2016-04-15 23:13:41 +02:00
70806408fd rewrite interface and create first tests 2016-04-15 23:13:41 +02:00
df69448324 add acl for exports 2016-04-15 23:13:41 +02:00
8726f6faee make aggregators take role into accoutn 2016-04-15 23:13:41 +02:00
b7f92a71cf remove unused param in aggregators type + fix bug with labels 2016-04-15 23:13:41 +02:00
630be1d3d2 take into account all reachble centers by default for authorization 2016-04-15 23:13:41 +02:00
de27c50a5a begin to take ACL into account [WIP] [ci skip] 2016-04-15 23:13:41 +02:00
c51a46cee5 improve layout 2016-04-15 23:13:41 +02:00
685703d863 add column headers 2016-04-15 23:13:41 +02:00
8eba8dca24 add a step to pick center before export 2016-04-15 23:13:41 +02:00
fa246b37b6 [wip] clean controller + column header [ci skip] 2016-04-15 23:13:41 +02:00
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
cf255cd0a2 rewrite controller to add form validation
The controller handle form validation. Each step is now responsible for validating his own form and, if valid, redirect to next step. The last step gather data from previous step and generate a redirection to an HTTP GET query to generate the report.
2016-04-15 23:13:41 +02:00
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
ce2119ee6f handle requests and form to build an export 2016-04-15 23:13:40 +02:00
e1a9ad1612 [wip] add different steps to handle request 2016-04-15 23:13:40 +02:00
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
876a656bd2 update translation to take into account '0' seconds & minutes 2016-03-24 14:59:47 +01:00
dc5fd27a40 Merge remote-tracking branch 'framagit/master' 2016-03-24 14:21:28 +01:00