702 Commits

Author SHA1 Message Date
0842708b7e change ordering of stages : publishing api at the end 2016-12-11 21:51:37 +01:00
e0fdf3ebf6 fix escaping 2016-12-11 21:48:52 +01:00
efa24e2838 fix upload dir and add delete-after for api doc 2016-12-11 21:36:27 +01:00
f9e5005f8d upload api to swift container for publication 2016-12-11 21:01:40 +01:00
122e86f4d6 Rename PrepareScopeTrait => PrepareCircleTrait
Scope is progressivly deprecated
2016-12-10 00:18:50 +01:00
2cf948192c fix error with empty yield 2016-12-09 20:35:26 +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
dc59c99f70 fix test with new filerinterface 2016-12-01 22:46:25 +01:00
12dbb587df improve export to add filtering parameters on result
The csv formatter now add a message about filtering parameters.

The filterInterface has been adapted to render a message.
2016-12-01 22:29:41 +01:00
2a21787ad4 add function to get countries by continent
The class Util::Country info return countries code by continent
2016-12-01 15:53:11 +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
9e8afe78c5 insert deploy to packagist 2016-11-19 19:52:52 +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
428007284e adapt ExportManager test to current api 2016-10-20 12:21:29 +02:00
ef96aad966 fix doc for export interface 2016-10-20 12:21:19 +02:00
7c6d446b87 allow empty configuration for widgets 2016-10-20 12:07:48 +02: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
c2e96f7052 try to fix artifact 2016-09-04 21:33:41 +02:00
6ff3c44145 fixing artifact and removing before_script on build-doc 2016-09-04 21:29:17 +02:00
1e3d7bc43c fixing error in .gitlab-ci, setting stages 2016-09-04 21:22:35 +02:00
55192a07eb adding job to build api doc 2016-09-04 21:16:09 +02:00
6855923b37 removing the --testdox report for phpunit execution
This should improve readability on which test failed.
2016-09-02 14:37:40 +02:00
32f887d71f adding the paginator to timeline 2016-09-02 08:21:42 +02:00
1b674f9141 renaming some function in paginator + fixing bug in paginator
- the '*itemPerPage' function are renamed '*itemsPerPage'
- the paginatorFactory now get the route parameters correctly
2016-09-02 08:20:08 +02:00
ede767d01a renaming SEARCH_PREVIEW => SEARCH_PREVIEW_OPTION 2016-08-25 22:15:33 +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
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