8113 Commits

Author SHA1 Message Date
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
d8de53ca3c rename 'label' to 'name'.
Warning : this commit require to rename some table column, but the
original Version file has been update.

If you do not care to loose your date, you may run :

```
php app/console doctrine:migrations:execute --down 20160318111334
php app/console doctrine:migrations:execute --up 20160318111334
php app/console doctrine:cache:metadata #(if you have a cache for
doctrine meta date)
```
close #20
2016-03-24 23:30:37 +01:00
20c49d5bd0 remove event menu
ref #24
2016-03-24 23:06:35 +01:00
c9ce3aca96 some improvement to the Update / create event pages
- i18n of all the form
- add a title to each page
- chill layout of each page
- add flash message on successfully creation and update action

For the update page, (see #23), the user is not allowed to update
the center

close #23
close #2
2016-03-24 23:00:45 +01:00
Marc Ducobu
cf7f8a929b Allow the modification of event + adding the prefix chill_even to all the route 2016-03-24 18:03:45 +01:00
Marc Ducobu
fdb2c094a6 Removing IndexAction from Event controller 2016-03-24 17:39:01 +01:00
Marc Ducobu
6776e785b2 Merge 2016-03-24 15:24:14 +01:00
8db8c8925c add a link into section menu
Currently, the main link in section menu redirect
to a search which display the last events

ref #10
2016-03-24 15:19:23 +01:00
Marc Ducobu
cd13140e6c Adding add an event into the section menu 2016-03-24 15:18:59 +01:00
372cae7008 show always the form "add a participant" even if no participation yet 2016-03-24 15:18:50 +01:00
937c6269a1 Merge remote-tracking branch 'origin/master' 2016-03-24 15:03:54 +01:00
a91ce5fe4f fix bug in validation
close #21
2016-03-24 15:02:08 +01:00
876a656bd2 update translation to take into account '0' seconds & minutes 2016-03-24 14:59:47 +01:00
Marc Ducobu
0246dadd15 Adding validation for the event 2016-03-24 14:33:44 +01:00
Marc Ducobu
69465c387d Adding validation for the event 2016-03-24 14:33:18 +01:00
3ac192d34c remove empty default controller 2016-03-24 14:30:08 +01:00
dc5fd27a40 Merge remote-tracking branch 'framagit/master' 2016-03-24 14:21:28 +01:00
d6a1b878d3 add the twig date extension
The twig date extension allow to print message like "update 1 hour ago".

Documentation here : http://twig.sensiolabs.org/doc/extensions/date.html
2016-03-24 14:20:17 +01:00
75266361b2 Merge remote-tracking branch 'origin/master' 2016-03-24 14:19:09 +01:00
993882e925 feature: update an existing participation
The update allow to modify the status and role of a participation.

ref #8
2016-03-24 14:18:03 +01:00
Marc Ducobu
ccb4d6cfb5 Correction of routing : id -> event_id 2016-03-24 11:29:17 +01:00
Marc Ducobu
b1b258d76b Removing print 2016-03-24 10:52:21 +01:00
Marc Ducobu
ab609a4ddb Merging 2016-03-24 10:47:03 +01:00
Marc Ducobu
9eed387285 Adding the js function categoryLinkParentChildSelect for center and scope 2016-03-24 10:45:03 +01:00
Marc Ducobu
6d0ffcf1bc Adding the js function categoryLinkParentChildSelect to chill-main (from chill-group) 2016-03-24 10:42:46 +01:00
Marc Ducobu
e6a47ddcbc Refactoring : tabulation with 4 spaces 2016-03-24 09:47:14 +01:00
Marc Ducobu
332ee277d3 Changing Scope to Circle : getReachableScopes -> getReachableCircles 2016-03-24 08:59:46 +01:00
627b9fb08f add the possibility to add a participation of a person to an event
ref #5
2016-03-24 01:44:32 +01:00
bc8832b732 add a 'PickAPersonType'
ref Chill-project/Chill-Event#5
fix #9
2016-03-24 01:42:29 +01:00