1503 Commits

Author SHA1 Message Date
dfaa4b0968 ordering activities by date
fix #15
2016-06-07 13:58:53 +02:00
384cb6c793 adding confirmation template
For action which require a confirmation message.

This is a way to have a template for every confirmation message in the
app.

Example of usage :

```
    {{ include('ChillMainBundle:Util:confirmation_template.html.twig',
        {
            # a title, not mandatory
            'title'             : 'Remove membership'|trans,
            # a confirmation question, not mandatory
            'confirm_question'  : 'Are you sure you want to remove
membership of "%name%" from the group "%group%"?'|trans({ '%name%' :
person.firstname ~ ' ' ~ person.lastname, '%group%' :
membership.cgroup.name }),
            # a route for "cancel" button (mandatory)
            'cancel_route'      : 'chill_group_membership_by_person',
            # the parameters for 'cancel' route (default to {} )
            'cancel_parameters' : { 'person_id' : membership.person.id
},
            # the form which will send the deletion. This form
            # **must** contains a SubmitType
            'form'              : form
        } ) }}

```
2016-06-01 16:17:53 +02:00
7c1698ed98 adding a logger for chill
The logger log messages to channel "chill".

The name of the service is `chill.main.logger`
2016-06-01 16:16:20 +02:00
69af3e8d43 add test to eventSearch
ref #10
2016-05-31 17:30:35 +02:00
9be006a946 fix error in recompose pattern 2016-05-27 17:15:54 +02:00
b0f4297948 improve js to link select with parent/child when parent is multiple
Now, the function take into account that parent might be multiple.

This is still incomplete : I do not know if this work if the parent is
multiple **and** a select2
2016-05-27 15:45:04 +02:00
329d688b5a adding a link to event types for link parent/categories 2016-05-27 15:44:28 +02:00
a4b4365f7b fix #15: comment function checkNullValuesInChoices 2016-05-26 21:00:06 +02:00
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
ca2d4db6f9 add search within event name, date, date-from, date-to
ref #10
2016-05-17 21:33:10 +02:00
6011c720a9 [search] allow '-' in argument name 2016-05-17 21:29:20 +02:00
5bcff0cba4 allow to add single participation with persons_ids 2016-05-17 21:04:14 +02:00
54ac8d052f fix bug on redirection when all required participation already exists
When we request multiple participations on an event, and all people already
participate on the event, the controller redirected to a route which provoked
a bad request error. Now, we redirect to the view route.
2016-05-17 20:41:03 +02:00
f56de656d3 [minor] add missing message 2016-05-17 09:21:15 +02:00
e723aeeeb4 [minor] add translation 2016-05-17 09:20:27 +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
3e3cf707de Merge branch 'master' of framagit.org:Chill-project/Chill-Activity 2016-05-06 16:32:34 +02:00
Marc Ducobu
79fa06640a Improving the timeline UI 2016-05-06 16:31:04 +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
f863b9db24 adapt to new exportInterface
see Chill-project/Chill-Main#9
2016-04-25 21:58:04 +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
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
dbe7d4855b improve form layout 2016-04-19 00:24:55 +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