Pol Dellaiera
a19a5803e8
Update baseline - add new errors.
2021-11-09 13:49:08 +01:00
Pol Dellaiera
bf155f6967
Update PHPStan configuration.
...
Update paths - simplify.
2021-11-09 13:48:15 +01:00
Pol Dellaiera
6a9e133256
Add phpstan/extension-installer
.
2021-11-09 13:39:24 +01:00
Pol Dellaiera
fb4b586cf0
Update baseline - add new errors.
2021-11-09 13:37:01 +01:00
Pol Dellaiera
6b60c46ad3
Update baseline - remove ignored errors.
2021-11-09 13:36:09 +01:00
Pol Dellaiera
774b5b69d9
Enable phpstan/phpstan-strict-rules
.
2021-11-09 13:35:44 +01:00
2382e7f44b
Merge branch 'feat/add-phpstan-configuration-and-baseline' into 'master'
...
Add PHPStan project with level 1.
This PR: Add basic configuration files with basic baseline.
See merge request Chill-Projet/chill-bundles!191
2021-11-09 11:31:21 +00:00
Pol Dellaiera
e2ab3bfc6e
Add PHPStan project with level 1.
2021-11-09 11:31:20 +00:00
b2d6c82cbe
update changelog with last release
2021-11-09 09:39:05 +01:00
9247cd3546
fix saving person
2021-11-08 15:31:19 +01:00
ec6828f128
Merge branch 'features/person-normalization-resolver-center-dynamically' into 'master'
...
Use centerResolverDispatcher to normalize a person's center
# Description of changes
There is a normalizer for a person, which include a property "center":
```json
{
"type": "person",
"id": 4362539,
"text": "Diakite BAH",
"firstName": "Diakite",
"lastName": "BAH",
"center": {
"id": 475,
"type": "center",
"name": "Nord Vendée"
},
"phonenumber": "",
"mobilenumber": "",
"altNames": [ ],
"gender": "woman",
"gender_numeric": 1,
// ...
}
```
Previously, the center was the center attached to the person in the database.
But since September, version 2.0 allow to resolve the center dynamically, for instance with the usage of address. This resolution is done through `CenterResolverDispatcher`.
This `CenterResolverDispatcher` is now used into person normalization.
As a consequence, the center may now be:
* null;
* a center;
* an array of center;
Thoses case are taken into account into `PersonRenderBox` in Vue.
# Issues related
Any issue related.
# Tests
Any new tests.
See merge request Chill-Projet/chill-bundles!205
2021-11-08 12:22:11 +00:00
7399d0aa9e
Use centerResolverDispatcher to normalize a person's center
2021-11-08 12:22:11 +00:00
19b469259d
Merge branch 'bugfix/acl-add-roles-misc-places' into 'master'
...
Add voter to various places
See merge request Chill-Projet/chill-bundles!207
2021-11-08 12:21:15 +00:00
5c037ca18f
Merge branch 'master' into 'bugfix/acl-add-roles-misc-places' [ci-skip]
...
# Conflicts:
# CHANGELOG.md
2021-11-08 12:20:26 +00:00
nobohan
c979de962e
fix conflict in CHANGELOG
2021-11-08 12:41:11 +01:00
nobohan
061197e52e
upd CHANGELOG
2021-11-08 12:21:06 +01:00
e786c40679
Merge branch 'issue124_ACCent_ménage_editForm' into 'master'
...
Household edit: end date field deleted
# Description of changes
End date field removed from household edit form.
# Issues related
* internal: https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/265
* ACCent: https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/124
# Tests
No tests
See merge request Chill-Projet/chill-bundles!202
2021-11-08 11:03:38 +00:00
e4f8ada236
Household edit: end date field deleted
2021-11-08 11:03:37 +00:00
21e419b338
Merge branch 'issue126_household_list' into 'master'
...
household list of accompanying periods + upgrade DBAL version to 3.1
# Description of changes
* Household: List of accompanying periods shows all periods linked to current household members for which viewing access is granted to current user.
* Upgrade DBAL to 3.1
# Issues related
* inernal: https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/274
* ACCent: https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/126
# Tests
Not yet written
See merge request Chill-Projet/chill-bundles!204
2021-11-08 10:57:14 +00:00
7fabe0214e
household list of accompanying periods + upgrade DBAL version to 3.1
2021-11-08 10:57:14 +00:00
nobohan
fa05a6856a
person: add civility: entity, migration, form, twig, config
2021-11-08 11:41:45 +01:00
nobohan
1dbf29beea
person: avoid js error when personAcceptEmail is null
2021-11-08 11:04:20 +01:00
nobohan
bddcdd7de2
person: add preferrred_choices for countries and languages
2021-11-08 10:42:12 +01:00
092ea4d57f
Merge branch 'bugfix/activity-fix-role-inheritance' into 'master'
...
Bugfix/activity fix role inheritance
# Description of changes
* fix the inheritance of the role "ACTIVITY_FULL"
* add missing ACL in menu
# Issues related
* https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/163
# Tests
Any new tests
See merge request Chill-Projet/chill-bundles!206
2021-11-05 14:13:00 +00:00
f16f45f3f3
Bugfix/activity fix role inheritance
2021-11-05 14:13:00 +00:00
5ce2fe3295
Merge branch 'feature/suivi-157-affiche-alt-names-list-with-periods' into 'master'
...
Show alt names in person search results
# Description of changes
* Ajoute l'adresse actuelle de la personne dans les résultats de recherche;
* affiche les altNames dansl es réslttats de recherche
# Issues related
* https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/157
# Tests
Some tests, which were related to the old way on person address was computed, where removed.
See merge request Chill-Projet/chill-bundles!195
2021-11-05 12:52:31 +00:00
5111a0ff6a
Show alt names in person search results
2021-11-05 12:52:31 +00:00
74df496e38
Merge branch 'issue47_ACCent_householdAddress_ordering' into 'master'
...
Ordering household addresses
# Description of changes
Ordering by id added so that last created address displays first.
# Issues related
* internal: https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/275
* ACCent: https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/47
# Tests
No tests written.
See merge request Chill-Projet/chill-bundles!203
2021-11-05 12:34:35 +00:00
fd2d74c9f5
Ordering household addresses
2021-11-05 12:34:35 +00:00
b615f0c79f
Merge branch 'issue73_ACCent_displayOf_problématiques' into 'master'
...
Display of social issues with parent issue and with badge
# Description of changes
For social work action: social issues are displayed with their parent issue.
Banner was fixed so that it contains all the context info.
# Issues related
* internal: https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/277
* ACCent: https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/73
# Tests
No tests.
See merge request Chill-Projet/chill-bundles!201
2021-11-05 12:33:10 +00:00
97859e9c1f
Display of social issues with parent issue and with badge
2021-11-05 12:33:10 +00:00
6642b87168
Merge branch 'bugfixes/tasks-list' into 'master'
...
Bugfixes/tasks list
# Description of changes
<!--
describe here the change of your MR. It can be either a text, or a bullet list
for changes
-->
* different title for task list and my title
* fixes link to tasks in alert
# Issues related
<!--
list the issues related to this MR.
It may be client issues, or dev issues
-->
no issues related
# Tests
The tests for listing task does apply
See merge request Chill-Projet/chill-bundles!200
2021-11-05 12:31:41 +00:00
35d807cab0
Bugfixes/tasks list
2021-11-05 12:31:41 +00:00
e1677cd2b6
Merge branch 'feature/household-accept-members-without-position' into 'master'
...
An household can have members without position
See merge request Chill-Projet/chill-bundles!189
2021-11-05 09:26:16 +00:00
df0cb8596b
update changelog [ci-skip]
2021-11-04 23:43:24 +01:00
250bd29ab3
add voter for documents
2021-11-04 23:40:30 +01:00
nobohan
8de78c7584
person: add prefered_choices for language (WIP)
2021-11-04 16:20:08 +01:00
nobohan
84ab4f8d1f
person: add the possibility of form data is null on CommentType
2021-11-04 15:56:15 +01:00
261810374f
Merge branch 'issue83_ACCent_addDocument_toAction' into 'master'
...
cascade persist added to Activity::documents
See merge request Chill-Projet/chill-bundles!197
2021-11-04 11:44:57 +00:00
8f541c8418
Merge branch 'master' into 'issue83_ACCent_addDocument_toAction'
...
# Conflicts:
# CHANGELOG.md
2021-11-04 11:40:56 +00:00
b69cee84b6
Update CHANGELOG.md
2021-11-04 09:12:06 +00:00
b7e0753dbf
changelog fixed
2021-11-04 10:09:08 +01:00
9c57d21e5a
Merge branch 'issue153_ACCent_activity_admin' into 'master'
...
Issue153_accent_activity_admin
See merge request Chill-Projet/chill-bundles!193
2021-11-04 08:57:13 +00:00
c03b925bd9
Merge branch 'master' into 'issue153_ACCent_activity_admin'
...
# Conflicts:
# CHANGELOG.md
# src/Bundle/ChillCalendarBundle/Menu/UserMenuBuilder.php
2021-11-04 08:52:32 +00:00
6fdbefa4c8
changelog updated and comments removed
2021-11-04 09:50:25 +01:00
13b43ace39
update of changelog.md
2021-11-04 09:45:35 +01:00
12c3bfa578
Merge branch 'improve_localisation_271'
2021-11-03 16:18:53 +01:00
nobohan
52778a7051
upd CHANGELOG
2021-11-03 16:17:33 +01:00
nobohan
a768563cd0
location: display the error message in case of wrong phone number or email
2021-11-03 16:16:51 +01:00
nobohan
4011fc6e77
location: client side validation
2021-11-03 16:16:51 +01:00