24f9db6ae7
fix bug in changing custom field option
...
bug description :
> if you change the options of a custom field choice (i.e. from a
> multiple to a single, removing or adding allow_other), the data
> representation change and do not match with the expected
> representation of the form.
This commit fix this bug by switching the data representation to the
current options.
2015-12-17 23:50:24 +01: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
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
Marc Ducobu
7cf270cee4
Removing travis config file
2015-10-30 15:57: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
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
11c27edd2b
Solving travis-ci problem
2015-09-28 15:56:56 +02:00
edd74b710b
fix copyright statement
2015-02-22 21:49:08 +01:00
6c4851134d
Add migrations to custom field travis build
...
refs #402
2015-01-30 18:29:59 +01:00
3707b08aee
remove entities for testing purpose - clean code
...
fix #259
2015-01-22 09:50:53 +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
Marc Ducobu
9f4783c9f1
Fixing tests
2014-11-12 15:57:52 +01:00
952d70f049
choice with other + some development tips
2014-11-10 11:25:54 +01:00
568bf4f3c2
add doctrine fixtures bundle
2014-11-10 11:25:53 +01:00
65c814ee27
test form customFieldText creation
2014-11-09 01:53:21 +01:00
7daa1a240e
add testing for customfield, correcting request injection
2014-11-08 15:07:15 +01:00
4c9b6a6a15
fix travis port for postgresql
2014-11-04 22:38:23 +01:00
663b7705ae
move routes to /admin zone
2014-11-04 22:35:38 +01:00
11a71d99ec
allow server:run with built-in server and create route loader
2014-11-04 22:34:05 +01:00
0dc198f4e3
add travis
2014-11-04 21:34:33 +01:00
9ec7889595
final test for configuration refs #265
2014-11-04 17:22:56 +01:00
8011746b26
move bundle to root dir for inclusion in packagist refs #259
2014-11-04 17:10:59 +01:00