320 Commits

Author SHA1 Message Date
Marc Ducobu
92c12963a8 Adding license 2015-03-18 12:04:47 +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
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
b40a1595c1 export raw string (no html conversion) and replace " by "" - refs #401 2015-02-18 12:41:57 +01:00
Marc Ducobu
47a9a29236 allowing csv rendering for custom fields 2015-02-17 15:01:12 +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
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
9e8374bef7 define route in chill_main configuration
refs #273
2015-01-22 17:19:24 +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
a9630e7013 move doctrine/orm and doctrine/doctrine-bundle to stable version 2015-01-08 21:35:09 +01:00
b946e2d0a3 Update test to match with new admin route & button name 2014-12-27 16:10:47 +01:00
7a7cb25d7a update Fixtures app config 2014-12-27 16:10:23 +01:00
af15209998 reactive travis 2014-12-24 01:22:09 +01:00
81b25aff26 Insert migrations file refs #223 2014-11-29 01:13:30 +01:00
a925533fc8 fix bug : CFChoice was not rendered correctly with _other option 2014-11-27 13:54:58 +01:00
65b8499458 take into account new lines into customfiels text
[ci skip]
2014-11-27 12:45:12 +01:00
Marc Ducobu
19a674d7a0 Adding Nl translation 2014-11-27 12:26:52 +01:00
Marc Ducobu
b5bf383005 Allow to customize the 'other value' statement in CFChoice - close #361 2014-11-26 18:49:24 +01:00
Marc Ducobu
a8831056d2 class cf-title for form construction ref #363 2014-11-25 15:52:02 +01:00
Marc Ducobu
c8cb5d3b10 Adding customFieldsGroup in admin menu + Using admin template 2014-11-21 17:43:06 +01:00
Marc Ducobu
1c45ce9ff4 Adding customFields in admin menu 2014-11-21 17:40:51 +01:00
Marc Ducobu
43c56b0f04 CustomFieldsDefaultGroup/list.html.twig with admin layout 2014-11-21 17:34:57 +01:00
Marc Ducobu
7cf7d6c4d8 Adding route for CustomFieldsDefaultGroup:list in menu admin 2014-11-21 17:19:41 +01:00
b687e9e07d Add a 'none' text on rendering when the custom fields is empty
close #347
2014-11-20 17:35:16 +01:00
ff40e2991c [CFChoice] Allow true in option 'other'
Before this commit, only the "1" value was taken into account
2014-11-20 11:59:39 +01:00
8bfa675bd4 Import command "create fields" from report bundle to custom-fields bundle.
This command allows to create custom fields from a yml file
2014-11-20 10:45:10 +01:00
Marc Ducobu
67f434ef85 refactoring CustomFieldText var MultipleCFInline -> multipleCFInline 2014-11-19 15:34:16 +01:00
Marc Ducobu
44fde3fa71 Translation of radio button None close #315 2014-11-19 11:49:18 +01:00
Marc Ducobu
a74882f592 Adding translations 2014-11-19 09:52:17 +01:00
Marc Ducobu
d2a78ce852 all more than one CF in one line close #322 2014-11-18 14:18:13 +01:00
Marc Ducobu
f702d76e68 Adding CustomFieldsDefaultGroup Entity for specifying that a group is a default group ref #307 2014-11-17 17:59:06 +01:00
Marc Ducobu
ce0db40129 Adding AGPL license 2014-11-17 17:22:48 +01:00
Marc Ducobu
bd77964c07 Refactoring Controller/CustomFieldGroupController.php : removing useless 'use Chill\CustomFieldsBundle\Form\CustomFieldGroupType' 2014-11-17 17:21:56 +01:00
Marc Ducobu
1f7f5cf575 Refactoring Controller/CustomFieldController.php : removing useless 'use Chill\CustomFieldsBundle\Form\CustomFieldType' 2014-11-17 17:20:39 +01:00
Marc Ducobu
780002bed5 Using TranslatableStringHelperTwig for displaying CustomFieldTitle 2014-11-17 12:19:32 +01:00
Marc Ducobu
43d863ef88 Using TranslatableStringHelper inside CustomFieldChoice, CustomFieldText & CustomFieldTitle 2014-11-17 12:10:14 +01:00
1191cd7f90 suspend travis temporarily 2014-11-14 17:24:43 +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
ce314899a8 Removing echo 2014-11-13 21:29:18 +01:00
Marc Ducobu
f02d9ff098 Refactoring useless return line 2014-11-13 21:29:01 +01:00
d0a04279d3 show the name into custom fields's choice label refs #291 2014-11-13 18:38:10 +01:00