10604 Commits

Author SHA1 Message Date
Marc Ducobu
a6bac03242 Refactoring : exception in _getPerson method 2015-03-06 20:46:38 +01:00
Marc Ducobu
5207a8fa12 Removing @todo - refs #410 2015-03-06 20:38:51 +01:00
Marc Ducobu
5634a19174 Improve person accompanyingPeriod validation - close #410 2015-03-06 20:36:21 +01:00
Marc Ducobu
c80326d0ed Refactoring : rm empty line 2015-03-06 13:13:20 +01:00
Marc Ducobu
6e59b8e724 Refactoriing 2015-03-06 13:10:04 +01:00
Marc Ducobu
b85f3e396c Refactoring : removing useless line return 2015-03-05 19:19:22 +01:00
Marc Ducobu
0051a73a26 Good test doc + more effective test 2015-03-05 19:18:24 +01:00
Marc Ducobu
821454493b Refactoring : adding doc + date in DateTime constructor 2015-03-05 19:09:32 +01:00
Marc Ducobu
d12f5ee77f Improving license header 2015-03-05 18:12:31 +01:00
Marc Ducobu
3d35944613 Refactoring : resolving netbeans warnings 2015-03-05 18:00:07 +01:00
Marc Ducobu
2dc2479304 Adding documentation 2015-03-05 17:55:47 +01:00
008cb5b216 fix refreshing person problem
the entity "person" wasn't managed any more by the ORM, for an unknow reason.
2015-03-05 15:45:26 +01:00
Marc Ducobu
1c252eac43 Move csvCellFilter into Templating\CSVCellTwig - close #416 2015-03-03 10:57:23 +01:00
df9fb881b1 add title to report box in timeline 2015-02-27 17:43:09 +01:00
e2e89d433f add test for timeline/accompnying period 2015-02-27 17:42:01 +01:00
d943f20279 basic layout for report 2015-02-27 17:20:21 +01:00
Marc Ducobu
2efa187bfa Merge branch 'master' of git://github.com/Chill-project/Report 2015-02-27 14:01:46 +01:00
Marc Ducobu
9b867ea0e0 Improving Test refs #401 2015-02-27 14:01:30 +01:00
Marc Ducobu
26ed31e89e Better line return 2015-02-27 12:58:50 +01:00
Marc Ducobu
3f92b6bf4d adding utf8 format 2015-02-27 12:58:27 +01:00
Marc Ducobu
3e6c929150 Improving CSV genertion 2015-02-26 19:03:14 +01:00
Marc Ducobu
caffa5b30f Better test 2015-02-26 18:55:21 +01:00
ae6553ae0d Add timeline to report
refs #357 and refs #224

Squashed commit of the following:

commit 1393a2b283566f428e13160da18487c2a0bbea78
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Feb 26 12:13:56 2015 +0100

    add summary_fields in timeline

    The tests and fixtures are adapted accordingly

commit d0374961c2b03a334ff724fbe2995d082d7d7e01
Author: Julien Fastré <julien@fastre.info>
Date:   Thu Feb 26 10:36:56 2015 +0100

    fix namespace

commit c2d71a17301d923cb20ae295f7d1efef8727a643
Author: Julien Fastré <julien@fastre.info>
Date:   Mon Feb 23 21:59:26 2015 +0100

    Improve rendering in person context

commit 827d3116a36f8b86bc2dcd79926e42a3d472bb70
Author: Julien Fastré <julien@fastre.info>
Date:   Mon Feb 23 16:34:43 2015 +0100

    add test for timeline page

commit d93aa527190a6038b4c58dff3af81568c377cd0f
Author: Julien Fastré <julien@fastre.info>
Date:   Mon Feb 23 16:34:07 2015 +0100

    add message for timeline

commit 63de4ddc2c7eca8530b3cc6e122d44840340329d
Author: Julien Fastré <julien@fastre.info>
Date:   Mon Feb 23 13:48:32 2015 +0100

    create timeline provider
2015-02-26 12:15:36 +01:00
Marc Ducobu
dcd951b90a License improving 2015-02-26 12:09:17 +01:00
77bbf711a6 add info to configuration reference 2015-02-26 09:55:49 +01:00
d486676011 add 'custom_fields_group_linked_custom_fields' type
The type create a choice field with, as choices, the custom fields depending of a customFieldGroup.

The type can only be appended to customFieldsGroupType.
2015-02-24 22:29:20 +01:00
0cecb67645 fix form for new custom group
If the CustomFieldGroup->getEntity is not set, the form for creation throw an error
2015-02-24 21:54:40 +01:00
0c2b5f3fb4 Add column option, definition in config & adapt form
Exemple for configuration :

```
chill_custom_fields:
    customizables_entities:
        -
            class: Chill\ReportBundle\Entity\Report
            name: ReportEntity
            options:
                summary_fields: {key: abc, form_type: text, form_options: { required: false }}
```
2015-02-24 21:15:02 +01:00
960ba13555 remove unused form type 2015-02-24 16:58:35 +01:00
0daee1dd56 add helper method get authentication
This allow to create authenticated client with :

```
use Chill\MainBundle\Tests\TestHelper as MainTestHelper;

class XYZTest extens WebTestCase {

   public function testABC()
   {
      $client = static::createClient(array(),
              MainTestHelper::getAuthenticatedClientOptions()
              );

      //...
   }

}

```
2015-02-23 21:45:09 +01:00
4585980ca8 fix copyright statement 2015-02-22 21:50:13 +01:00
95b83587b2 fix copyright statement 2015-02-22 21:49:54 +01:00
edd74b710b fix copyright statement 2015-02-22 21:49:08 +01:00
Marc Ducobu
ebc5e6ea11 Test for reportExport 2015-02-20 17:40:32 +01:00
f060a6dcf4 FIX person cf in csv 2015-02-20 11:19:22 +01:00
Marc Ducobu
b8bc875513 Adding Test for person export 2015-02-19 15:20:06 +01:00
Marc Ducobu
8624b4dff3 Removing useless space 2015-02-19 15:19:44 +01:00
Marc Ducobu
a2dafa01dc Adding license 2015-02-19 11:31:01 +01:00
Marc Ducobu
0cd8b9af3c Adding csv_row twig filter 2015-02-18 16:30:08 +01:00
Marc Ducobu
80851c4071 adding person id 2015-02-18 16:28:52 +01:00
Marc Ducobu
6791041c28 Adding csv_cell twig filter 2015-02-18 16:26:12 +01:00
Marc Ducobu
abf9ebfc8a Merge branch 'master' of git://github.com/Chill-project/Person
Conflicts:
	Resources/config/routing.yml
2015-02-18 15:51:00 +01:00
Marc Ducobu
a7b807514b First version of export person - 'rfs #400 2015-02-18 15:47:27 +01:00
Marc Ducobu
5f9a81639c Person id -> Report id 2015-02-18 15:00:52 +01:00
Marc Ducobu
ba7604a71e Adding id - refs #401 2015-02-18 14:59:07 +01:00
Marc Ducobu
be759dd640 use of 'csv_cell' twig filter refs #401 2015-02-18 13:13:00 +01:00
Marc Ducobu
88cb918c82 Adding twig filter for csv cell content - refs #401 2015-02-18 13:11:34 +01:00
Marc Ducobu
b40a1595c1 export raw string (no html conversion) and replace " by "" - refs #401 2015-02-18 12:41:57 +01:00
Marc Ducobu
a10ca2dec4 Merge branch 'master' of git://github.com/Chill-project/Main 2015-02-18 12:37:36 +01:00
Marc Ducobu
6cb7b89a27 Adding license 2015-02-18 12:37:17 +01:00