85 Commits

Author SHA1 Message Date
1839d829bc fix errors in https://framagit.org/Chill-project/Chill-Person/-/issues/21 2021-02-04 22:39:06 +01:00
c76e401021 fix https://framagit.org/Chill-project/Chill-Person/-/issues/22 bug 2021-02-03 18:50:34 +01:00
eae13ac3d8 Replace deprecated extends Controller by AbstractController 2021-02-01 18:17:33 +01:00
Jean-Francois Monfort
3989c4faff Fix logger error 2021-01-14 10:42:45 +01:00
d53e6b57a4 make timeline & paginator service private 2020-07-28 13:11:12 +02:00
97d3afba9b fix sf4 deprecated: remove sensio_framework messages 2020-07-23 15:21:14 +02:00
320598e905 add homeless to person addresses 2020-05-01 15:51:30 +02:00
d87b188c4f fix some stuff in CRUD 2020-03-13 12:42:58 +01:00
e59f58f461 [closing motive] add an hierarchy + admin section for closing motives 2020-03-12 12:19:15 +01:00
5154039182 [alt names] add alt names on person creation form 2020-02-03 12:47:55 +01:00
342449aadc Add person alt names in list & view 2020-01-30 16:40:19 +01:00
19cc54a674 Add a link between accompanying period and user
It is now allowed to indicates who make/made the accompanying period.

This feature may be hidden by a specific configuration option. Default
to visible.
2019-07-01 15:21:34 +02:00
3c6d39dc56 update address validation 2019-04-02 11:58:53 +02:00
Mat
943cd9f31e fix validation context and upgrade sf3
cfr commit 193460a9a649953c9222cccca7b64f14251de65e
2018-10-19 10:56:07 +02:00
Mat
6324eceb1b privacyEvent: remove element parameter 2018-10-16 14:47:19 +02:00
Mat
5f36a62379 privacyEvent, add event in accompanyingPeriod 2018-10-16 12:36:19 +02:00
Mat
4c8f170025 privacyEvent, add event in timeline 2018-10-16 12:03:54 +02:00
Mat
f5baeaa06c init PrivacyEvent logger service 2018-10-16 10:01:12 +02:00
f2ed32e458 allow to load person interactively
- return results as json in PersonSearch
- update PickPersonType to load peoples with ChoiceLoader
2018-08-27 13:18:41 +02:00
2f7a8f1ebc add more generic message when invalid form during person update 2018-08-20 21:34:53 +02:00
nobohan
e96da0c641 add email and mobile number to person: last modif and translations 2018-05-21 09:56:46 +02:00
983ed7a50d delegate person matching detection to service SimilarPersonMatcher 2018-05-14 17:58:00 +02:00
674430d692 Fix error in new ValidatorInterface signature (during person creation) 2018-05-03 09:41:17 +02:00
193460a9a6 fix validation context and upgrade sf3 2018-04-20 14:42:21 +02:00
nobohan
62ad928a66 fix error due to removing of deprecated getName method 2018-04-13 16:49:30 +02:00
nobohan
657a4f3fa1 fix deprecations: use fqcn 2018-04-09 10:50:48 +02:00
nobohan
73f5295f40 fix deprecations: pass Request in the Action function instead of using getRequest method 2018-04-06 08:27:13 +02:00
nobohan
f7631af1fd fix deprecation: no more passing of type instances 2018-04-05 11:45:28 +02:00
nobohan
678386ffd6 fix deprecations: replace many strings by fqcn 2018-04-04 15:02:16 +02:00
0031597e88 add pagination to timeline 2017-08-19 23:08:41 +02:00
47e194b1ed improve layout 2017-08-19 21:46:09 +02: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
ce7c149c35 fix bugs in accompanying periods
ref #11
2016-05-17 10:02:45 +02:00
Marc Ducobu
e283c32984 Adding validation on address validFrom date (unique by person) 2016-04-22 16:28:00 +02:00
ff5bda12b6 add new / create address + tests 2016-03-13 22:14:40 +01:00
91ed954be8 allow to update existing address 2016-03-10 21:44:53 +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
b45b529dba person creation: fix bug + improve multi_center
The center is hidden in page "check if the person exists in the db"
2015-12-16 12:19:29 +01:00
9f079c1769 remove debug informations 2015-12-10 15:17:47 +01:00
9fe0ae1889 improve person creation to fix error handling 2015-12-10 14:55:49 +01:00
Marc Ducobu
9526f1a3c9 Debug flash message danger -> error 2015-10-30 15:21:00 +01:00
Marc Ducobu
c2c1d81041 debug flash message error -> danger 2015-10-30 13:53:07 +01:00
ad8fe8c147 throw an error on 404 2015-10-12 21:43:57 +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
f967285e34 Raw integration of accompanying person (with respect of 'cahier de cahrge) 2015-08-24 14:41:24 +02:00
Marc Ducobu
377b7ec44b CSV export use CHILL_PERSON_SEE role 2015-08-18 11:09:51 +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