89 Commits

Author SHA1 Message Date
e59f58f461 [closing motive] add an hierarchy + admin section for closing motives 2020-03-12 12:19:15 +01:00
4d5900d902 Fix bug in accompanying period export element 2019-03-20 12:32:03 +01:00
f7ac607ff0 add filtering on accompanying period + fix problems in gender filter 2019-01-11 16:49:24 +01:00
f5de2d8049 fix tests
some classes have changed, fix it
2017-08-29 17:00:32 +02:00
c01a2c9178 new architecture for test + autoload version 2.8.22 2017-07-04 16:29:34 +02:00
4144a336ad fix gitlab ci 2017-06-22 22:01:37 +02:00
cc91ade6fe adding a date for the address
The address are computed to be valid at a given date.

The date input appears only if fields concerning address are checked.
2017-01-31 13:48:25 +01:00
25cad2f11d add ListPerson
Add / complete list of person.

Some SQL function are added to allow to get the last address at a given date.
2017-01-31 12:18:07 +01:00
045119d61f improve exports, filters, aggregators 2017-01-17 00:33:44 +01:00
cf3f23e6f2 add a birthdate filter 2017-01-13 21:36:06 +01:00
136f78d4a9 add an age aggregator for person 2017-01-12 18:49:24 +01:00
803f24bf50 add tests for nationality aggregator 2017-01-09 20:54:45 +01:00
381105239d adapt to new abstract test class 2017-01-09 20:19:31 +01:00
297454610f add test for gender aggregator 2017-01-09 20:19:12 +01:00
dcdd187eb9 fix path 2016-12-26 23:25:05 +01:00
e245ee24c4 fixing path for testHelper 2016-12-26 22:33:04 +01:00
991e5f5bd2 more tests for exports 2016-12-26 21:20:01 +01:00
e5c7a4a342 adding test for ListPerson export 2016-12-20 18:00:31 +01:00
bd78722a6b fix test for inserting addresses 2016-11-13 21:41:51 +01:00
ce7c149c35 fix bugs in accompanying periods
ref #11
2016-05-17 10:02:45 +02:00
bc8832b732 add a 'PickAPersonType'
ref Chill-project/Chill-Event#5
fix #9
2016-03-24 01:42:29 +01:00
ff5bda12b6 add new / create address + tests 2016-03-13 22:14:40 +01:00
d419be2af1 set some fields visibility as configurable
Some fields can now be hidden through configuration
2016-02-05 23:05:53 +01:00
d70be5ea85 add person detection improvement: inversion firstName<->lastName 2016-01-18 22:30:57 +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
07ed6a9751 change config to switch to symfony 2.8 2015-12-14 22:21:49 +01:00
04c56f667a register birthdateValidator
in birthdate validator, improve the message
2015-12-10 14:55:12 +01:00
71eb972c4c create validator and tests 2015-12-09 21:33:57 +01:00
Marc Ducobu
d1a313078b Removing travis files 2015-10-30 15:23:39 +01:00
903c115aa2 adding gitlab-ci
Squashed commit of the following:

commit 5a7195e4beb496c641b9bdb13ade5cf864d59eff
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 19 22:15:15 2015 +0200

    correct files paths

commit 346ac3eaaf9e1da1915d08d525c7a488d75099af
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 19 22:13:12 2015 +0200

    correct paths

commit 8720941f9b0e8e381f24108b0f3357d89f2e9b44
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Oct 19 22:07:30 2015 +0200

    add gitlab-ci to project
2015-10-19 22:36:35 +02:00
4e00af3e48 moving the memory_limit to phpunit.xml config file 2015-10-12 21:30:31 +02:00
31aa50b4ea merging add_ui_permission into master
refs #573

Squashed commit of the following:

commit 33635722c231a3a80518e0dc027911766a95cbfa
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Sun Sep 20 21:42:37 2015 +0200

    translation of roles

commit 18d96fe59f836564ace5e6045fa87ac81da6b27b
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Sun Sep 20 11:54:46 2015 +0200

    remove admin menu for person bundle

commit 2acd79930e28fda315d97df2c0ff8aae33ab489a
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Sep 18 21:05:00 2015 +0200

    add logger to project

commit 724d2fc8685fced0cf9da77e9e9730c5c57337ed
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Sep 14 00:50:01 2015 +0200

    switch to role declaration in code

commit 10f6219b277445b0dfeb51fa0b7566a28fdd41bf
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Aug 31 23:51:47 2015 +0200

    declare role in parameter chill.available_roles
2015-09-20 21:44:08 +02:00
Marc Ducobu
4aeba2019d Refactoring Tests/Controller/AccompanyingPeriodControllerTest.php : indentation and adding doc 2015-08-24 15:54:13 +02:00
Marc Ducobu
f967285e34 Raw integration of accompanying person (with respect of 'cahier de cahrge) 2015-08-24 14:41:24 +02:00
Marc Ducobu
9decbf119a Improving csv export test 2015-08-18 11:57:53 +02:00
Marc Ducobu
fce3de4046 PersonControllerViewTest : refactoring (doc, indentation) 2015-08-18 09:32:57 +02:00
Marc Ducobu
91e133aec6 Removing view test from PersonControllerUpdateTest.php 2015-08-18 09:31:05 +02:00
Marc Ducobu
91bd7a4529 PersonControllerUpdateTest : refactoring (doc + more tests + indentation) 2015-08-18 09:19:15 +02:00
Marc Ducobu
8bc893fe90 Removing DefaultControllerTest (no test & no controller) 2015-08-17 17:41:37 +02:00
Marc Ducobu
5584666165 Debug 2015-08-14 19:20:16 +02:00
Marc Ducobu
31e734f2c7 Renaming genre into gender & dateOfBirth into birthdate 2015-08-11 17:47:11 +02:00
513d9aefbc Implement user right refs #263
Merge of branch add_acl

Squashed commit of the following:

commit a3265a71014fc74bcc456aa9436494fc4ed434ea
Merge: 2522634 b231b14
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 30 09:58:23 2015 +0200

    Merge remote-tracking branch 'origin/master' into add_acl

    in order to future merging of add_acl into master

    Conflicts:
    	Tests/Controller/PersonControllerCreateTest.php

commit 252263400b1fb54091a0cd36d9ab84812c3a9942
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Jun 29 23:00:25 2015 +0200

    check acl on timeline page

commit 5f08806585ce4ce1d58c6c507b191221b924d861
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 22:24:18 2015 +0200

    remove dead code

commit 860d62d9c0d9db2186eee725e7ef553ddf1f98f3
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 22:19:02 2015 +0200

    add access condition for link to person view in person view

commit e7b295000dd420309288e83920f6656679d36173
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 22:13:04 2015 +0200

    add ACL on person view

commit 7b1f90a2a28c1aec5ee0eb78206c75a9f1e09c60
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 21:47:49 2015 +0200

    add autorization for filtering person results in search

commit c6669164e2e36b555bed0745d5c7c12b53468b97
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 21:47:26 2015 +0200

    add fixtures for roles defined by person bundle

commit 8f30f5222efe531fb77a2e22b6af8069c5814d00
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 20:13:17 2015 +0200

    [transfer purpose][ci-skip]

commit e8ca4ce4842e619342a90d4343b725c2946f7d70
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 17:31:27 2015 +0200

    should fix reference problem

commit 8c32524a0fd61d504e9640705b97d10bd9b2b993
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 19 17:29:48 2015 +0200

    fix test about inheritance

commit d93cef2c596aba7fc977cc8db354241d6a77e6e2
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Jun 18 21:38:59 2015 +0200

    add role hierarchy + test

commit 5066cc5318d67f20e3cff9f91f6d2b6a94d5f9c1
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Jun 18 01:28:40 2015 +0200

    add tests for person voter

commit cf3359b11b16972db3c55102a3c8b2aae2c27789
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Thu Jun 18 01:07:30 2015 +0200

    fix "pass by reference" error

commit 94942eb34330813a10124ba58ec814ca685930c5
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Wed Jun 17 22:04:49 2015 +0200

    fix syntax error ($this->$is not correct)

commit 82d25df6b0e21b4032f4fc82dee203ccd1a067dd
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Wed Jun 17 21:51:41 2015 +0200

    add first test for person voter

commit 84e0d05be07477175db1ef95f3716a3c420291ce
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Wed Jun 17 21:50:06 2015 +0200

    define person voter as a service + CHILL_PERSON_SEE

commit bd55e505a179b0df4133903f766d9a8feb469900
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 16 20:57:25 2015 +0200

    add test for creating person with user multi center

commit d29147c8e70b2ae8313d973fe4b3d45d3f064d9b
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Jun 15 09:11:56 2015 +0200

    fix tests - add center to persons

    since a center is associated with center, people used in tests must be associated with a center.
    => associate a center to people used in tests

commit cfac1ea68aaf615b5f8e9e67388f5407e5095d72
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Jun 15 09:06:24 2015 +0200

    remove errors on deprecation

commit e1df87df87e831f3827721313603bcf41b3da891
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 12 22:31:03 2015 +0200

    fix migration error

commit 733fa96a2d874b84d2a0ece6664e4a64eed10b4d
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Wed Jun 10 21:17:15 2015 +0200

    add center type on creation forms

    tests are not adapted yet [ci skip]

commit c0d1d1b1c8fd58d9c15bf59d66de28a848df6d35
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 9 23:11:07 2015 +0200

    fix bug in migration

commit 693abfb7253dfe955beb63de3aebc05a15363cdb
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Tue Jun 9 22:41:21 2015 +0200

    add checks on migration

    check that there are data or not in database and, if there are data,
    create default center if required.

    If not required, the default center is the first in the list.

commit 8127ea8d49e094c81ce65e838416953bc8d47678
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Jun 8 00:33:39 2015 +0200

    add first impl of PersonVoter (not tested) [ci skip]

commit 2ea674dbcf8848603f0fefa109abf2412722013f
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Jun 8 00:32:46 2015 +0200

    add center to person

commit 0b1e3f137ace9eeb959b80cdbdfa3636c75af715
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Sat Jun 6 11:02:49 2015 +0200

    add phpunit bridge to handle deprecation msg

commit 70a4fd16181badad8ac9b87fd24e1000c7b1a734
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 12:42:01 2015 +0200

    remove deprecdation warning in phpunit

commit b3b8d1deefbdc72505606df7ca217771277e3555
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 11:41:36 2015 +0200

    fix deprecation of pattern in routing

    pattern => path in routing.yml

commit eea1252d8517ee582c958dc6045f05c1438dd9d1
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Fri Jun 5 10:56:02 2015 +0200

    switch to symfony 2.7 [ci-skip]
2015-06-30 14:41:31 +02:00
Marc Ducobu
b231b14605 adding test for bug #478 - refs #478 2015-04-08 17:56:57 +02:00
Marc Ducobu
5207a8fa12 Removing @todo - refs #410 2015-03-06 20:38:51 +01:00
Marc Ducobu
5634a19174 Improve person accompanyingPeriod validation - close #410 2015-03-06 20:36:21 +01:00
Marc Ducobu
c80326d0ed Refactoring : rm empty line 2015-03-06 13:13:20 +01:00
Marc Ducobu
6e59b8e724 Refactoriing 2015-03-06 13:10:04 +01:00
Marc Ducobu
b85f3e396c Refactoring : removing useless line return 2015-03-05 19:19:22 +01:00
Marc Ducobu
0051a73a26 Good test doc + more effective test 2015-03-05 19:18:24 +01:00
Marc Ducobu
821454493b Refactoring : adding doc + date in DateTime constructor 2015-03-05 19:09:32 +01:00