15 Commits

Author SHA1 Message Date
540661862a rename deprecated using path for ObjectManager 2020-09-08 15:42:42 +02:00
84de2e148d use translatable strign helper to translate string 2018-05-16 22:08:53 +02:00
nobohan
3439319e59 fix error 2018-04-06 08:13:05 +02:00
nobohan
0f1c4d1120 fix deprecation: remove array on addAllowedValues 2018-04-05 15:14:45 +02:00
nobohan
d501fa31ae fix deprecations: use fqcn fr translatable_string 2018-04-05 13:59:14 +02:00
nobohan
14412c87fe fix deprecations: use fqcn + remove arrays in addAllowedTypes/Values 2018-04-04 18:22:58 +02:00
nobohan
7edd6affe4 fix deprecations: use fqcn 2018-04-04 18:11:51 +02:00
3230659a4b add a required field to custom fields type
ref Chill-project/Chill-CustomFields#17
2015-12-10 17:16:59 +01:00
4f2b605efc add a number field
The field has three option :

- lesser or equal than. If null, this option is ignored ;
- greather or equal than. If null, this options is ignored ;
- precision : the number of decimal after the number ;
- text after the field : a text to show after the field.

The field is rendered as an HTML integer input if precision = 0, or a
symfony number field if precision > 0.

ref chill-project/Chill-CustomFields#11
2015-12-08 19:45:04 +01:00
cbcc722c0d remove the field "customFieldsGroup" on custom field creation
The customFieldsGroup field is hidden when creating a new customFields.

The customFieldsGroup is retrieved from the url (`customFieldsGroup` value in the URL).

This should ease the task for administrator and be consistent with the UI which group customFields into customFieldsGroup.
2015-11-08 21:18:03 +01:00
Marc Ducobu
98088e5f7a Refactoring Form/CustomFieldType.php : indentation 2015-10-22 15:05:02 +02:00
Marc Ducobu
f310b3daab close 623 2015-09-28 13:58:51 +02: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
99a88e8705 add customfield text + fix options in custom fields 2014-11-08 11:55:59 +01:00
8011746b26 move bundle to root dir for inclusion in packagist refs #259 2014-11-04 17:10:59 +01:00