580 Commits

Author SHA1 Message Date
70806408fd rewrite interface and create first tests 2016-04-15 23:13:41 +02:00
df69448324 add acl for exports 2016-04-15 23:13:41 +02:00
8726f6faee make aggregators take role into accoutn 2016-04-15 23:13:41 +02:00
b7f92a71cf remove unused param in aggregators type + fix bug with labels 2016-04-15 23:13:41 +02:00
630be1d3d2 take into account all reachble centers by default for authorization 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
685703d863 add column headers 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
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
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
Marc Ducobu
332ee277d3 Changing Scope to Circle : getReachableScopes -> getReachableCircles 2016-03-24 08:59:46 +01:00
0fa3a9b0ed Merge remote-tracking branch 'framagit/master' 2016-03-23 15:16:58 +01:00
Marc Ducobu
e285603e18 Merge branch 'master' of https://git.framasoft.org/Chill-project/Chill-Main 2016-03-22 14:29:41 +01:00
Marc Ducobu
f205a1ccca Refactoring : adding the JS in the pabe bottom part 2016-03-22 14:29:00 +01:00
Marc Ducobu
8f91076c6b Code refactoring 2016-03-22 14:27:53 +01:00
386d4dd623 fix bug when postal code is null + add validation for address &postcode
fix #20
fix #18
2016-03-18 11:49:56 +01:00
4a77d7617a add script to add postal code 2016-03-15 16:01:27 +01:00
5c67a9098e allow delegation of block rendering
ref #12

In a template, you can now allow rendering of a block from other bundle.

The layout template must explicitly call the rendering of other block,
with the twig function

```
chill_delegated_block('block_name', { 'array' : 'with context' } )
```

This will launch an event
`Chill\MainBundle\Templating\Events\DelegatedBlockRenderingEvent` with
the event's name 'chill_block.block_name'.

You may add content to the page using the function
`DelegatedBlockRenderingEvent::addContent`.
2016-03-14 22:45:04 +01:00
42455b7d66 improve address rendering macro 2016-03-14 14:58:35 +01:00
d8efc93be0 add form to update/create address and pick postal code 2016-03-10 21:44:13 +01:00
a9e04e56be make the form compliant with sf 3.0 2016-03-10 21:43:40 +01:00
7679786288 add address and postal code 2016-03-10 17:57:30 +01:00
6ae1b8334e Remove the admin menu from the section user's menu. 2016-02-25 13:08:10 +01:00
c5cf3ab467 [UI] add improvement to display entities with boxes 2016-02-22 14:53:38 +01:00
0801db979b Merge remote-tracking branch 'framagit/master' 2016-02-21 22:54:51 +01:00
53fef9b083 allow cache for the most used entities 2016-02-21 22:54:09 +01:00
68b358aa22 update support data 2016-01-20 17:09:33 +01:00
09099b0566 Merge branch 'master' into 1.0
Conflicts:
	Resources/public/css/scratch.css.map
2016-01-05 14:17:58 +01:00
c8077ac575 allow php 7 a force symfony 2.8 2016-01-05 14:04:45 +01:00
23ec2a1a16 fix issue with translations in tests 2016-01-05 14:02:07 +01:00
dabd58ed89 fix issue with password change + tests user lifecycle 2016-01-05 13:47:17 +01:00
9fe445ed20 layout of post-text extension 2015-12-30 16:58:01 +01:00
daf7d1f71f improve layout of report + flash message 2015-12-18 01:44:11 +01:00
d77f85dbd0 greater textarea 2015-12-17 21:53:15 +01:00
9aa686fac6 select radio button with empty value
if multiple radio button doesn't have a value, the default one is
checked.

This is done using javascript, currently.
2015-12-17 21:46:53 +01:00
06cc78c5cb mark test skipped as the hack is not working 2015-12-16 12:56:03 +01:00
9f9bc8ab4d adapt to symfony 2.8 2015-12-16 12:55:41 +01:00
590762889b Merge branch 'master' into '1.0'
Select2js allow clear



See merge request !3
2015-12-15 11:01:04 +01:00
Marc Ducobu
9f4286d297 Select2js allow clear 2015-12-15 10:08:37 +01:00