5231 Commits

Author SHA1 Message Date
2f9b4a8c81 make aggregor take roles into account 2016-01-26 11:47:04 +01:00
0ab2e85aef refactor voter to take into account two differents object type 2016-01-26 11:23:38 +01:00
af359c9a2b add dummy acl for export [WIP][ci-skip] 2016-01-24 22:26:38 +01:00
9cb37a6115 add ACL for export 2016-01-24 22:25:55 +01:00
c74754af09 Merge remote-tracking branch 'framagit-julien/export' into export 2016-01-24 20:36:29 +01:00
5b3bd6545a add a role for stats, apply role on export 2016-01-23 01:20:41 +01:00
e6cacb8554 fix tranlsation in tests 2016-01-20 17:42:34 +01:00
68b358aa22 update support data 2016-01-20 17:09:33 +01:00
d70be5ea85 add person detection improvement: inversion firstName<->lastName 2016-01-18 22:30:57 +01:00
90f579d88a show memo in person details + minor fixes
The memo is shown only if not empty.

minor fixes :

- re-add label 'country of birth' on view page
- set title to pages
2016-01-18 21:32:22 +01:00
a5065f798a add gender aggregator 2016-01-14 12:19:29 +01:00
d81b2e1037 [wip] add different steps to exports 2016-01-11 21:46:41 +01:00
09099b0566 Merge branch 'master' into 1.0
Conflicts:
	Resources/public/css/scratch.css.map
2016-01-05 14:17:58 +01:00
c8077ac575 allow php 7 a force symfony 2.8 2016-01-05 14:04:45 +01:00
23ec2a1a16 fix issue with translations in tests 2016-01-05 14:02:07 +01:00
dabd58ed89 fix issue with password change + tests user lifecycle 2016-01-05 13:47:17 +01:00
e939a809b1 fix show empty values in timeline 2016-01-05 13:15:35 +01:00
84128fa718 transform raw value to serialized value in isEmptyValue 2016-01-05 12:10:49 +01:00
3c65e2d585 [export] add an export 'count activity' and first filters
- reason aggregator
- reason filter
- count activity export
2016-01-02 16:47:55 +01:00
2711fcee6d [export] add a first export and first filters
- nationality aggregator (work in progress: we have to set the feature
  'group by continent')
- gender filter
- nationality filter
- gender filter
2016-01-02 16:46:11 +01:00
4e4f45e2bc fix test with gender update
As the value was translated, the test cannot check in the page if the value
is updated.

We also remove the "incomplete" test, as we cannot consider this test is 
incomplete because the new value is checked from the database.
2016-01-01 23:10:39 +01:00
67ac2428bc fix usage of php-7 in ci 2016-01-01 22:59:47 +01:00
0e0a764652 Merge remote-tracking branch 'framagit/master' 2016-01-01 22:26:47 +01:00
f288f67bb9 fix error with empty values with multiple and non-existant data
if a value was array(null) or array(_other => null, _choices => null),
the isEmptyValue function failed.
2016-01-01 22:25:05 +01:00
b4ce83453c Merge branch 'master' into 'master'
Various improvements

- Introduce tests for twig functions ;
- Make the twig function `chill_custom_field_is_emtpy` consistent with other functions ;
- remove dead code from CustomFieldsHelper ;
- add validation on custom field slug
- fix bug in test
- re-introduce the units label in numeric/integer custom fields

See merge request !12
2016-01-01 16:25:59 +01:00
9fe445ed20 layout of post-text extension 2015-12-30 16:58:01 +01:00
f145ae7f88 re-introduce post_text extension in fields.html.twig + tests 2015-12-30 16:57:16 +01:00
8849d8bb54 fix test for custom field helper
The test was requesting an entity not present in database
2015-12-29 17:54:00 +01:00
4e34485d8d order results in person search by firstname and lastname 2015-12-29 17:23:36 +01:00
546fe49960 ignore platform reqs on build 2015-12-29 17:09:04 +01:00
7a8ef70cd1 fix renderLabel signature 2015-12-29 17:04:58 +01:00
e64e1e0fb1 add doc for chill_custom_fields_is_empty 2015-12-29 16:39:12 +01:00
287c70c6f3 add validation rule on slug for custom fields 2015-12-28 21:16:01 +01:00
3d2426d8df allow php7 and upgrade to symfony 2.8 2015-12-28 20:59:19 +01:00
cad44ae461 fix test 'complete scenario'
The link 'modifier' was changed to 'Modifier'
2015-12-28 20:54:34 +01:00
54391b02f3 consistency in twig methods
The method chill_custom_fields_is_empty take now the fields as first argument, and the customField as second argument, to be consistent with other twig methods.
2015-12-28 00:54:38 +01:00
d2039893b3 Simplifiying Helper and twig functions
Now, the CustomFieldsHelper methods and the twig function which render customFields require always a `Chill\CustomFields\Entity\CustomField`.

The possibility to add a slug and an object as argument to those method is abandoned, and was not used in other bundle (nevertheless, the method to catch a customField from his slug was buggy).
2015-12-28 00:38:27 +01:00
89221599d4 Merge branch 'add_gitlab_ci' 2015-12-24 16:09:26 +01:00
f7dd99ab87 add test for custom_fields_group_widget 2015-12-24 16:05:49 +01:00
7a73c0170c set a composer root version + select image php-7
The composer root version is required to let composer decide on which branch he is, as we have mirrored dependencies (custom field requires person, which requires custom field).

The php 7 build select now php 7 image
2015-12-24 15:16:04 +01:00
1de944f838 Merge branch 'master' into add_gitlab_ci
Conflicts:
	.gitignore
2015-12-24 15:00:00 +01:00
09a69765b9 adding test for customFieldRendering function 2015-12-23 23:46:44 +01:00
3e5a90c36c escaping argument 2015-12-23 23:46:15 +01:00
b595efa0c9 add doc for birthdate_not_after configuration option 2015-12-23 21:48:57 +01:00
38885e8a0d add doc for show_emtpy_values_in_views
ref Chill-project/Chill-CustomFields#18
2015-12-23 21:23:03 +01:00
d23046edff fix link to documentation 2015-12-23 20:43:30 +01:00
b672074823 improve report view 2015-12-18 01:45:25 +01:00
daf7d1f71f improve layout of report + flash message 2015-12-18 01:44:11 +01:00
1577076c93 remove old translation of gender when unknown date of birth 2015-12-18 01:14:01 +01:00
573697d8c7 improve function isEmptyValue + tests 2015-12-18 00:22:09 +01:00