7191 Commits

Author SHA1 Message Date
85dfb222ae adding headers and labels in CSVListFormatter 2016-04-21 13:38:13 +02:00
e774090959 allow group_by in PickRoleType and PickStatusType 2016-04-19 18:36:29 +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
cf4a0d9e75 factorize PickRoleType, PickStatusType and rename TranslatableEventType 2016-04-19 15:30:44 +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
6fcf5944a0 Merge remote-tracking branch 'framagit-julien/export' 2016-04-19 11:57:55 +02:00
dbe7d4855b improve form layout 2016-04-19 00:24:55 +02:00
0d9a5ebde6 handling choiceType 2016-04-18 15:54:24 +02:00
4efbfd4bfc Merge remote-tracking branch 'framagit-julien/export' into export 2016-04-15 23:25:13 +02:00
11439f96c2 Merge branch 'master' into export 2016-04-15 23:24:00 +02:00
ffe15f2037 Merge branch 'master' into export 2016-04-15 23:21:34 +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
50e6a9e3e5 2nd step of creating the import script 2016-04-12 22:43:59 +02:00
0c71fd9606 first implementation of the command 2016-04-12 22:43:59 +02:00
78c53fe7b0 [feature] allow to edit multiple participations at once
ref #7
2016-04-12 22:40:11 +02:00
c1b9069138 fix the possibility to add multiple participation
ref #6
2016-04-11 23:59:14 +02:00
fe8994d775 Add event on page footer 2016-04-10 01:38:42 +02:00
9459d7a287 Allow to add multiple participation
The participationController accept a new parameter : `persons_ids`,
which must receive a comma-separated list of person ids. A participation
will be create for all those peoples.

The `new` and `create` actions does not allow to receive both
`person_id` and `persons_ids`.

Tests are added.

ref #6
2016-04-09 23:45:07 +02:00
bcfa2c2131 bootstrapping tests 2016-04-09 23:44:40 +02:00
93a5568aee splitting function in order to prepare single/multiple adding association
ref #6
2016-04-07 23:29:22 +02:00
Marc Ducobu
9cdbd8303a Removing code for Deleting an event 2016-03-25 10:10:15 +01:00
Marc Ducobu
005fd22290 adding css class for buttons - page participation new & edit 2016-03-25 09:07:32 +01:00
Marc Ducobu
4aa6c4b53f adding css class for buttons - page event new & show 2016-03-25 09:02:48 +01:00
Marc Ducobu
827d1d3f2c adding css class for buttons - page event edit 2016-03-25 08:57:41 +01:00
Marc Ducobu
5949fd8cfb adding css class for buttons 2016-03-25 08:53:29 +01:00
a6d4cb5f5e remove var_dump 2016-03-25 00:07:34 +01:00
90edc18531 fix missing label=> name in validation
ref #20
2016-03-24 23:59:24 +01:00