9788 Commits

Author SHA1 Message Date
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
866d119feb Implements timeline
refs #224

Squashed commit of the following:

commit fb46cea3858036a932b8c6ff1354f4b0d9f166fb
Merge: d881b3d 0f4e285
Author: Julien Fastré <julien@fastre.info>
Date:   Wed Feb 18 00:14:38 2015 +0100

    Merge branch 'master' of git://github.com/Chill-project/Person into timeline

commit d881b3d69a53b2502f16d98d9d1809ead17fd77e
Author: Julien Fastré <julien@fastre.info>
Date:   Wed Feb 18 00:12:04 2015 +0100

    add closing period to timeline

    refs #224

commit 6363e59213f5cddded4e0678454e98929f885d39
Author: Julien Fastré <julien@fastre.info>
Date:   Wed Feb 18 00:08:09 2015 +0100

    refactor timeline #224

commit bd2e1b1808f73e39532e9538413025df5487cad0
Author: Julien Fastré <julien@fastre.info>
Date:   Wed Feb 11 00:39:05 2015 +0100

    implementing timeline for opening history file

    refs #224

    Some parts (method TimelineProviderInterface::getEntities, ...) are different from
    the design described in #224 and must be discussed
2015-02-18 00:16:02 +01:00
8ce0f9d0b8 refactor timeline builder and timelineProviderInterface
refs #224
2015-02-18 00:05:27 +01:00
d2a00d3035 refactor timelineProfiderInterface + comments
[ci-skip]
2015-02-18 00:05:27 +01:00
799893316d first implementation of timeline
refs #224

Some parts have evolved from issue, we should rethink some parts of the design
2015-02-18 00:05:27 +01:00
3f4132e23d code format 2015-02-18 00:05:27 +01:00
Marc Ducobu
6ec0892ac6 Allowing export for reports 2015-02-17 15:11:42 +01:00
Marc Ducobu
47a9a29236 allowing csv rendering for custom fields 2015-02-17 15:01:12 +01:00
Marc Ducobu
756a188817 Export view 2015-02-16 18:09:04 +01:00
Marc Ducobu
10fdc2e072 Adding AGPL License 2015-02-16 12:34:56 +01:00
Marc Ducobu
0f4e285bd7 Renaming history -> accompanying_period in db 2015-02-12 19:02:22 +01:00
Marc Ducobu
e4b21bc611 Updating messages : history -> accompanying period + removing unused messages 2015-02-12 17:35:58 +01:00
Marc Ducobu
ef6fb61d4d Renaming private varialbes of Entity/Person : history -> accompanyingPeriods, proxyHistoryOpenState -> proxyAccompanyingPeriodOpenState 2015-02-12 17:21:10 +01:00
Marc Ducobu
1071d5ff62 Removing unused message 2015-02-12 16:41:02 +01:00
Marc Ducobu
0157c3c9ba Changing comments : history -> accompanying period 2015-02-12 16:40:38 +01:00
Marc Ducobu
fe825e4979 Updating violation message 2015-02-12 16:33:25 +01:00
Marc Ducobu
a7c5f464b2 Changing validation group : history_consistent -> accompanying_period_consistent 2015-02-12 16:24:50 +01:00