540661862a
rename deprecated using path for ObjectManager
2020-09-08 15:42:42 +02:00
df1c8178ec
fix choice deprecation with choices_as_values
2020-09-08 15:41:13 +02:00
a38208f5cf
fix sf4 deprecated: remove choices_as_values form option
2020-07-22 17:05:24 +02:00
3c5082dafb
fix sf4 deprecated service argument syntax
2020-07-16 15:20:56 +02:00
5558db5102
fix error with post_text extension
2018-07-18 16:46:29 +02:00
122e54eed6
fix errors in editing custom field group
2018-05-17 21:09:46 +02:00
84de2e148d
use translatable strign helper to translate string
2018-05-16 22:08:53 +02:00
cacf6d0f3a
fix error when adding customfield choice
2018-05-16 21:52:36 +02:00
nobohan
e021cea2da
fix deprecation error: use gqcn and pass option in array
2018-04-20 14:19:17 +02:00
nobohan
654f7b4d26
flip value for 'other'
2018-04-11 17:48:31 +02:00
nobohan
ed526fa8ea
fix deprecations: no more need to define these services (that cause a deprecation...)
2018-04-11 16:41:35 +02:00
nobohan
0a08c362bb
fix deprecations: getName -> getBlockPrefix in forms
2018-04-09 10:24:52 +02:00
nobohan
3439319e59
fix error
2018-04-06 08:13:05 +02:00
nobohan
c8f53e6472
fix deprecations: use fqcn and other deprecated properties
2018-04-05 17:09:01 +02:00
nobohan
44596bf58d
fix deprecations: use fqcn for collectionType in getParent()
2018-04-05 16:23:23 +02:00
nobohan
4c4f4b5ca7
fix deprecations: use fqcn
2018-04-05 15:23:29 +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
7ed0e3fddd
fix deprecations: use fqcn for trasnlatable_string
2018-04-05 13:35:30 +02:00
nobohan
2cfe83e69c
fix deprecations: remove array in setAllowedTypes
2018-04-05 10:33:23 +02:00
nobohan
a35fd76053
fix deprecations: add choices_as_values=true + flip contents of choice in ChoiceType
2018-04-04 22:01:52 +02:00
nobohan
14412c87fe
fix deprecations: use fqcn + remove arrays in addAllowedTypes/Values
2018-04-04 18:22:58 +02:00
nobohan
b07d876157
fix deprecations: use fqcn
2018-04-04 18:17:51 +02:00
nobohan
7edd6affe4
fix deprecations: use fqcn
2018-04-04 18:11:51 +02:00
nobohan
23dd4ec48b
fix deprecations: use choices_as_values=true and flip content of the choice options
2018-04-04 17:50:23 +02:00
nobohan
9951a5d765
fix deprecations: use fcqn instead of 'choice'
2018-04-04 16:38:30 +02:00
nobohan
b84ee91652
fix deprecations: use fqcn instead of 'choices'
2018-04-04 15:55:45 +02:00
affeae238c
adding empty data on CFChoice
...
And fixing a bug occuring because type of empty data are wrong.
fix #23
2016-08-11 23:26:32 +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
f18b384a06
remove 'empty_data' which cause conflict with transformer
...
this blocked the possibility to uncheck the 'active' field on the
choice.
2015-11-30 22:33:15 +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
e1435d0883
fix form to jump to create a custom field
2015-11-07 09:38:12 +01:00
Marc Ducobu
bfca9baaeb
Refactoring Form/Type/ChoicesType.php : removing useless spaces
2015-10-22 15:06:57 +02:00
Marc Ducobu
46bba56776
Refacotring Form/Type/ChoicesListType.php : indenation
2015-10-22 15:06:14 +02:00
Marc Ducobu
98088e5f7a
Refactoring Form/CustomFieldType.php : indentation
2015-10-22 15:05:02 +02:00
Marc Ducobu
101783b9f1
Only display active custom fields in form & view
2015-09-30 13:32:24 +02:00
Marc Ducobu
afc51d2f31
Adding TODO message
2015-09-29 16:14:53 +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
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
a2b3ff6d63
remove %locale% from cf choice
...
refs #332
2015-02-05 17:40:32 +01:00
Marc Ducobu
b5bf383005
Allow to customize the 'other value' statement in CFChoice - close #361
2014-11-26 18:49:24 +01:00
aa16bdcbb9
Add a label "other value" on the _other option, fix #323
...
[ci skip]
2014-11-14 12:14:08 +01:00
Marc Ducobu
f02d9ff098
Refactoring useless return line
2014-11-13 21:29:01 +01:00
952d70f049
choice with other + some development tips
2014-11-10 11:25:54 +01:00
Marc Ducobu
43384a564c
Adding CustomFieldsGroupToIdTransformer.php
2014-11-08 18:16:35 +01:00