17 Commits

Author SHA1 Message Date
3c37924dc1 sf4, setting new path for all config yaml files, and replace 'controller' path syntax in routes definitions 2020-08-03 13:18:58 +02:00
533d27785e sf4, adding require symfony/templating + fix treebuilder depreciation 2020-07-31 18:21:00 +02:00
a43dc3733f re-enable fixtures with sf3 2018-05-04 22:50:17 +02:00
fe73a64e9d Add possibility to hide empty value in customfield group view rendering
A new parameter is defined :

```
chill_custom_fields:
    show_empty_values_in_views = true|false
```

A new method is added to CustomFieldInterface: `isEmptyValue`. To ease
the dev of new classes, an AbstractCustomField class is created, which
implements the most commons function (currently, only isEmptyValue).

A new Twig Filter is added: `chill_custom_field_is_empty`

The twig filter `chill_custom_fields_group_widget` has a new possibility
in array option : `show_empty`. Default to
chill_custom_fields.show_empty_values_in_view. May be forced by
true/false.
2015-12-15 11:11:36 +01:00
408c774e53 move to symfony 2.7 + implements acl
merge of branch add_acl

Squashed commit of the following:

commit b112df16e568ad4a305e290b4cca9eb696bcf5d7
Merge: f8c44ca 11324cb
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 30 09:59:03 2015 +0200

    Merge remote-tracking branch 'origin/master' into add_acl

commit f8c44ca20b5a53fb18da00ab265d626dd8c770b2
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 22:47:50 2015 +0200

    fix Form signature to match abstractForm

    OptionsResolverInterface => OptionsResolver

commit 586155ecfa85240d683aa8bd37493e948f89cd67
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 22:47:25 2015 +0200

    remove deprecation warnings from phpunit

commit 6ada3ddef336b958a886215fcdb040a29f5a411f
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 22:30:30 2015 +0200

    replace deprecated setDefaultOptions

    setdefaultsOptions => configureOptions

commit 28b0e258d52b08ecd3799e19b15bd4b1f1e58f83
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 11:20:30 2015 +0200

    fix twig.form.resources deprecations

commit cb09035c8f0eb74192f7e3e68c93c6378f158f2f
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 10:58:19 2015 +0200

    switch to symfony 2.7 [ci skip]
2015-06-30 14:43:27 +02:00
77bbf711a6 add info to configuration reference 2015-02-26 09:55:49 +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
9e8374bef7 define route in chill_main configuration
refs #273
2015-01-22 17:19:24 +01:00
Marc Ducobu
ac98dac82d Remove useless linereturn 2014-11-11 11:54:51 +01:00
Marc Ducobu
16308d0139 ChillCustomFieldsBundle:Form:form_div_layout.html.twig -> ChillCustomFieldsBundle:Form:fields.html.twig 2014-11-10 11:55:45 +01:00
Marc Ducobu
33be9bedfb Merge branch 'master' of git://github.com/Chill-project/CustomFields 2014-11-10 11:45:59 +01:00
Marc Ducobu
19318d3fb4 Refactoring 2014-11-10 11:45:34 +01:00
952d70f049 choice with other + some development tips 2014-11-10 11:25:54 +01:00
f9be8e3412 add form layout to config.yml automatically 2014-11-10 11:25:53 +01:00
Marc Ducobu
a6ae6ca5a9 Refactoring : indentation 2014-11-08 15:16:23 +01:00
8b71a9e7cf rename service name chill.custom_field_compiler to chill.custom_field.provider 2014-11-08 12:02:12 +01:00
8011746b26 move bundle to root dir for inclusion in packagist refs #259 2014-11-04 17:10:59 +01:00