291 Commits

Author SHA1 Message Date
Marc Ducobu
23438926b1 Refactoring CustomFields/CustomFieldChoice.php : indentation 2015-10-22 15:02:49 +02:00
Marc Ducobu
4abb994725 Resources/views/CustomFieldsGroup/render_for_test.html.twig : refactoring : good indentation 2015-09-30 14:32:57 +02:00
Marc Ducobu
2d60c62d91 Reparing tests 2015-09-30 14:32:20 +02:00
Marc Ducobu
eb4da0a71d Tests/CustomFieldTestHelper.php : refactoring : code indentation 2015-09-30 14:03:28 +02:00
Marc Ducobu
b11a356fd3 Tests/CustomFields/CustomFieldsTextTest.php : refactoring 2015-09-30 14:01:04 +02:00
Marc Ducobu
0e5e87eb41 Command/CreateFieldsOnGroupCommand.php : re-indent + adding function to be more readable 2015-09-30 13:33:09 +02:00
Marc Ducobu
101783b9f1 Only display active custom fields in form & view 2015-09-30 13:32:24 +02:00
Marc Ducobu
9f98c4e7e6 Adding method getActiveCustomFields 2015-09-30 13:31:09 +02:00
Marc Ducobu
5583fbcc6c Entity/CustomField : renaming getActive to isActive 2015-09-30 13:28:45 +02:00
Marc Ducobu
20ba768e43 Renaming template for custom field group 2015-09-30 13:27:59 +02:00
Marc Ducobu
653112ba57 refactoring Command/CreateFieldsOnGroupCommand.php : code indent 2015-09-29 20:20:14 +02:00
Marc Ducobu
afc51d2f31 Adding TODO message 2015-09-29 16:14:53 +02:00
Marc Ducobu
11c27edd2b Solving travis-ci problem 2015-09-28 15:56:56 +02:00
Marc Ducobu
f310b3daab close 623 2015-09-28 13:58:51 +02:00
Marc Ducobu
e7ce8934ab Refactoring CustomFields/CustomFieldChoice.php : good indentation 2015-09-28 13:55:32 +02:00
add762e9f5 set chill deps to master branch 2015-06-30 14:46:01 +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
Julien Fastré
11324cb834 update homepage link in composer.json
fix #1
2015-06-09 11:34:23 +02:00
Marc Ducobu
b1ad090e8c Adding doc to Service/CustomFieldsHelper.php 2015-03-18 14:19:59 +01:00
Marc Ducobu
3534e64d28 Adding doc to Service/CustomFieldProvider.php 2015-03-18 13:52:10 +01:00
Marc Ducobu
52aa147ed7 Code presentation refactoring + adding doc 2015-03-18 12:33:35 +01:00
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