1503 Commits

Author SHA1 Message Date
Marc Ducobu
1c252eac43 Move csvCellFilter into Templating\CSVCellTwig - close #416 2015-03-03 10:57:23 +01:00
d943f20279 basic layout for report 2015-02-27 17:20:21 +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
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
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
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
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
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
722709c432 check config of available language
check that the configuration is consistent with fallback locale : the fallback locale must be comprised in chill_main.available_languages.

+tests

refs #332
2015-02-05 16:15:15 +01:00
904fb633ff adding Resources/public/stylesheets/sass/ to gitignore 2015-02-05 16:14:53 +01:00
9a7b2e68b9 remove sudo to faster builds in travis ci 2015-01-30 18:31:08 +01:00
6c4851134d Add migrations to custom field travis build
refs #402
2015-01-30 18:29:59 +01:00
042e0e4703 add load languages
+ fix order in load countries
2015-01-30 18:00:31 +01:00
Marc Ducobu
f0d2ac8091 js code for display an alert message when leaving a page containing an unsubmitted form - refs #391 2015-01-30 12:26:51 +01:00
Marc Ducobu
281d532a20 Js code for solving #391 - refs #391 2015-01-27 16:31:53 +01:00
Marc Ducobu
4c0ea2c3ff Improving gruntfile 2015-01-27 15:52:01 +01:00
Marc Ducobu
9677e42c2d renaming main.js -> chill.js 2015-01-27 15:51:43 +01:00
Marc Ducobu
c29d17ff4f Reorganizing public folder 2015-01-27 15:39:03 +01:00
8e3ada1631 disable sudo for speeding-up travis CI
see http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
2015-01-23 14:47:13 +01:00
1442842e6a remove date format from twig config
date format is now handled by twig extension 'intl'

refs #272
2015-01-23 14:46:04 +01:00
5f117ffa4a enable twig intl extension
This extension allow bundles to format date and number according to localization.

We would like to use this to format date :

``` twig

date|localizeddate('medium', none)

```

refs #272
[documentation of the extension](http://twig.sensiolabs.org/doc/extensions/intl.html)
2015-01-23 11:38:54 +01:00
9e8374bef7 define route in chill_main configuration
refs #273
2015-01-22 17:19:24 +01:00
8f457e0a63 loads route automatically
route must now be indicated in config.yml under chill_main.routing.resources.

Other bundle may add routes prepending configuration
2015-01-22 17:05:21 +01:00
0d3f48ef32 remove reference to delete entity - clean code
refs #259
2015-01-22 10:26:43 +01:00
3707b08aee remove entities for testing purpose - clean code
fix #259
2015-01-22 09:50:53 +01:00
4d4a3116a0 switch back to doctrine/orm 2.4 2015-01-21 22:26:09 +01:00
7871a2e956 back deps to doctrine/orm 2.4 2015-01-21 22:21:45 +01:00
Julien Fastré
6615d3fba6 remove dev comment
[ci skip]
2015-01-15 13:49:58 +01:00
a9630e7013 move doctrine/orm and doctrine/doctrine-bundle to stable version 2015-01-08 21:35:09 +01:00
e9535c62cb switch doctrine/dbal to stable 2.5 release 2015-01-08 21:25:49 +01:00
9468157b50 fix recompose function + doc 2015-01-06 21:15:16 +01:00