616 Commits

Author SHA1 Message Date
5c0ca70ebf add api to add a validation on export elements
Exports elements should implements "ExportElementValidatedInterface"
2017-02-02 22:45:10 +01:00
43047c5008 add test - test that getQueryKeys returns an array 2017-01-17 12:19:03 +01:00
3671918777 adding custom dql function get_json_field_by_key and jsonaggregate 2017-01-16 20:20:43 +01:00
9d1e414e79 set 'enabled' key to a constant
As this key is reused in other bundle, it is safer to hold the key in a constant
2017-01-16 13:14:10 +01:00
d90248349d fix invalid test on expected return by getDescriptionAction 2017-01-12 17:45:56 +01:00
b5737f4801 clone query builder to avoid to run test on altered queries
if the instance is not cloned, the queryBuilder is used multiple times, and the
second test is run on an already altered test.
2017-01-09 21:12:48 +01:00
7c57dd3661 add abstract test for aggregators 2017-01-09 20:17:58 +01:00
828d009fa8 rename class 2017-01-09 20:03:50 +01:00
e506cc84bd creating abstract filter test 2016-12-26 21:18:17 +01:00
45342fcde3 move export test helper to new namespace 2016-12-26 21:15:29 +01:00
e19868e595 ExportInterface::getLabels should return a closure 2016-12-23 15:25:21 +01:00
49b3a7154e adding Test directory to apigen generation 2016-12-20 12:15:48 +01:00
39a2dc0c41 add an abstract class for testing ExportInterface
This class provide methods to test Exports in a simple way.
2016-12-20 11:29:53 +01:00
fedfa5dad3 setting version before project name in api 2016-12-12 21:29:18 +01:00
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