4528 Commits

Author SHA1 Message Date
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
Marc Ducobu
94109db4cf PersonHistoryFile -> AccompanyingPeriod - refs #275 - tests ok 2015-02-06 17:43:48 +01:00
Marc Ducobu
9ea23987a3 PersonHistoryFile -> AccompanyingPeriod - refs #275 - debug 2015-02-06 14:38:29 +01:00
Marc Ducobu
090f91e19a resolving conflict 2015-02-06 11:26:09 +01:00
Marc Ducobu
8d5d2189f1 PersonHistoryFile -> AccompanyingPeriod - refs #275 2015-02-06 11:19:36 +01:00
897a0361a8 fix web app for test and set default parameters/port to 5432 2015-02-05 21:29:11 +01:00
77247de990 fix method name 2015-02-05 17:52:03 +01:00
a2b3ff6d63 remove %locale% from cf choice
refs #332
2015-02-05 17:40:32 +01:00
49d5bc04fa add language definition in test app 2015-02-05 16:44:14 +01:00
ab8c565ff3 add language fallback to translatable string
refs #332
2015-02-05 16:43:45 +01:00
caaab740a9 remove ref to %locale% in translatable form 2015-02-05 16:31:33 +01:00