176 Commits

Author SHA1 Message Date
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
97475ca3b6 fix test for config according to new dev deps 2015-11-30 22:13:59 +01:00
4c328d0aae remove dump informations 2015-11-30 22:12:59 +01:00
9b5544beaf create test for custom fields group complete scenario
a deps is added on the bundle "person" in order to make test working.
2015-11-30 22:10:04 +01:00
c9ca7c1e1b fix creation of custom field without cfgroup id 2015-11-30 21:31:58 +01:00
2401270754 add flash message for custom fields group 2015-11-27 14:29:38 +01:00
46173231d2 adding flash messages for customfield 2015-11-27 14:18:19 +01:00
cbf9cee65c clean code of usnused methods 2015-11-27 13:51:36 +01:00
fa3245b99b add a btn on edit link 2015-11-27 13:42:06 +01:00
bf99b68a2a Improve rendering of options and fields 2015-11-27 13:37:07 +01:00
f24a088a0d [wip] re-introduce 'add element' functionality 2015-11-25 21:26:30 +01:00
b96076022f [wip] layout of custom field edition
[ci skip]
2015-11-25 08:45:17 +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
421f54e194 remove code for custom fields default group CRUD
The CRUD of default groups is handled now by the custom fields index page. The CRUD is not necessary.
2015-11-08 18:52:28 +01:00
3e23c1f156 show options in show view 2015-11-08 18:47:16 +01:00
0dcf2c33f0 create custom fields default group from new layout 2015-11-08 17:59:43 +01:00
41c47df0c3 remove delete action and form 2015-11-07 09:56:28 +01:00
45d34dc312 fix customfieldsgroup edit view 2015-11-07 09:51:36 +01:00
e1435d0883 fix form to jump to create a custom field 2015-11-07 09:38:12 +01:00
59ce457131 add a title 2015-11-07 08:59:57 +01:00
043f5a1eaf fix show page 2015-11-05 23:49:22 +01:00
bb1e690bec fix "create" page with translation and layout 2015-11-05 22:41:54 +01:00
9d65ca5088 layout of index page for customfieldsgroup
- add a "default" column (according to chill-project/custom-fields#3 )
- translation
2015-10-31 17:55:10 +01:00
Marc Ducobu
7cf270cee4 Removing travis config file 2015-10-30 15:57:27 +01:00
Marc Ducobu
5e211b3f06 Adding ref to the dov 2015-10-30 15:56:43 +01:00
Marc Ducobu
e4aadc891c Removing travis build image 2015-10-30 10:42:45 +01:00
Marc Ducobu
1ebfe7749b Removing .travis.yml file 2015-10-30 10:41:32 +01:00
Marc Ducobu
6ad8d41244 Adding composer.lock in gitignore 2015-10-30 10:40:26 +01:00
Marc Ducobu
e2c1a9bb9f Adding customfileds config in the Admin section menu 2015-10-30 10:36:27 +01:00
d21595d306 add gitlab-ci to project
Squashed commit of the following:

commit 7baa7bddc3a1613816c691e454841baa885a5095
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 26 21:13:47 2015 +0100

    fix auth and database url

commit c47ad68586749e19fce125da9820d0fd0b2bf575
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 26 20:59:33 2015 +0100

    add gitlab-ci
2015-10-26 22:01:57 +01:00
Marc Ducobu
f068ac288f Debug JS - close refs #626 2015-10-22 15:09:43 +02:00
Marc Ducobu
6af61f71dc Refactoring Resources/views/CustomFieldsRendering/choice.html.twig : indentation 2015-10-22 15:07:38 +02: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
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