302 Commits

Author SHA1 Message Date
d5c26c6d47 [export] adding spreadsheet formatter 2017-02-19 21:40:55 +01:00
5c0ca70ebf add api to add a validation on export elements
Exports elements should implements "ExportElementValidatedInterface"
2017-02-02 22:45:10 +01:00
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
34c0ff3ba1 improve layout of export
The filters and aggregators form are now displayed only if
the form is checked.
2016-12-01 15:49:48 +01:00
d33500f764 improve layout and messages for export 2016-11-24 22:48:11 +01:00
6c1c481e1a adding a container for form rows
fix #14
2016-11-23 21:47:02 +01:00
eb624ac63d improve layout of export form 2016-11-21 23:05:31 +01:00
d77746a299 fix comment in wrong place 2016-11-21 22:46:22 +01:00
38ed02b514 Customization of buttons :
- new bt-show and bt-new classes
- add margin-right after i inside sc-button
2016-11-15 21:49:33 +01:00
5fd6aa95e5 make cf-title look a legend
ref Chill-project/Chill-Person#12
2016-11-13 20:59:08 +01:00
010c7652a6 Fixing minor issue with widget api and removing homepage menu 2016-09-23 12:34:48 +02:00
a3e7c60e01 replacing delegated_block api by widget api 2016-09-18 23:55:15 +02:00
812aeac3d7 adding style to pagination
ref #24
2016-09-06 13:15:35 +02:00
d20404bc3c implementing pagination api on search, and creating a "preview" of results
The search controller return a subset of the 5 first results. If the user want to
see more, the services implementing SearchInterface should add a link "see more",
and make use of the Pagination API to paginate.
2016-08-19 21:33:37 +02:00
2732bb1553 adding a pagination api
ref #24
2016-08-19 21:27:50 +02:00
09b258876d adding repository for user entity + simplify service config
The configuration of repositories is now in a new file for a better readability.
2016-06-21 22:02:43 +02:00
8aa37c7b73 creating entity repository for users
I also re-arranged the configuration of repositories to a dedicated file, which should improve readability.
2016-06-21 15:46:27 +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
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
a4b4365f7b fix #15: comment function checkNullValuesInChoices 2016-05-26 21:00:06 +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
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
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
Marc Ducobu
7ea7137194 New formatter : CSVListFormatter 2016-04-19 17:54:19 +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
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
8eba8dca24 add a step to pick center before export 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
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
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
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
0fa3a9b0ed Merge remote-tracking branch 'framagit/master' 2016-03-23 15:16:58 +01:00