4782 Commits

Author SHA1 Message Date
120f7d8026 upgrade voter and acl for activities and implement autoconfiguration for
ChillProvideRole interface
2021-09-20 13:56:44 +02:00
b6c58a5c31 Continue work on ACL rewritting
* fix center resolver dispatcher
* add scope resolver
* tests for authorization helper
2021-09-20 13:56:44 +02:00
74598ee926 apply new role on accompanying period 2021-09-20 13:56:43 +02:00
cf40f38463 rename voter helepers 2021-09-20 13:56:43 +02:00
ebb2f5d243 Add shortcut person <-> current address, and update api for
re-implements searching

* add geographic function ST_CONTAINS
* add a link between the current valid address and person, optimized on
database side;
* update PersonACLAwareRepository for re-using methods elsewhere.
2021-09-20 13:56:43 +02:00
50b7554aea optimize query for current address + documentation 2021-09-20 13:56:43 +02:00
f63d4fcfba optimize query for person 2021-09-20 13:56:43 +02:00
6bc83edfe9 Refactor PersonSearch and create PersonACLAwareRepository
The search api delegates the query to a person acl aware "repository"
(although this does not implements ObjectRepository interface).
2021-09-20 13:56:43 +02:00
f87f03b5c0 Move CenterResolverInterface auto-configuring to bundledefinition
It seems that the service encountered in bundle loaded before does not
works.
2021-09-20 13:56:43 +02:00
addcf72ae6 improve addresses 2021-09-20 13:56:43 +02:00
b4e78a948b remove NOT NULL for User::usernamecanonical 2021-09-20 13:56:43 +02:00
9b38e486df extends User entity + alter admin (WIP) 2021-09-20 13:56:43 +02:00
960bac8c37 create alias for RoleProvider for allowing autowiring 2021-09-20 13:56:43 +02:00
dc09c9424a refactor ACL for easy voter. Apply on TaskVoter 2021-09-20 13:56:43 +02:00
5b70fb2ee5 adapt UI and controller for Person without centers 2021-09-20 13:56:43 +02:00
2450655452 enable autoloading for form in person bundle 2021-09-20 13:56:43 +02:00
41d76542b4 move validation on person into annotations 2021-09-20 13:56:43 +02:00
7faddbe3fe move birthday validator to namespace person + rewrite tests 2021-09-20 13:56:43 +02:00
eec798cfd3 entity person: create a validator to check a person entity is linked
with a center

This validator take a parameter in configuration
2021-09-20 13:56:43 +02:00
03e8624528 entity person: allow center to be not null 2021-09-20 13:56:43 +02:00
Pol Dellaiera
951d686366 refactor: Update WOPI related stuff based on upstream changes. 2021-09-14 15:08:00 +02:00
Pol Dellaiera
fe533bc716 chore: Normalize composer.json file. 2021-09-14 15:07:23 +02:00
Pol Dellaiera
6c47ce53e7 chore: Remove duplicated entry from composer.json. 2021-09-14 15:06:22 +02:00
b80d109d8e fix vue_calendar encore_entry_link_tags 2021-09-14 11:51:36 +02:00
dd0e695ac2 Merge branch 'household_integration' 2021-09-14 11:30:46 +02:00
6a21bcc520 Merge branch 'rdv' 2021-09-14 11:30:05 +02:00
7dc85b8474 vue_household_members_editor: address suggestions in bootstrap accordion style
+ store manage show/hide suggestions toggle (like householdSuggestions)
2021-09-13 19:15:04 +02:00
ee01020ae6 fix multiselect calendarUserSelector badge appearance 2021-09-13 16:38:43 +02:00
dcbac34b96 Merge branch 'aside-activity-merging' into 'master'
Various improvements for aside activity

See merge request Chill-Projet/chill-bundles!148
2021-09-13 14:17:06 +00:00
6fe78b7177 fix data provider 2021-09-13 16:12:25 +02:00
6fa0d229af enable test suite for aside activity 2021-09-13 15:25:10 +02:00
e4cfb4804b various improvements aside acdtivity 2021-09-13 15:20:01 +02:00
6c61b2da30 translations 2021-09-13 15:06:20 +02:00
dc2f094ca2 vue_household_members_editor: suggestions in bootstrap accordion style 2021-09-13 15:04:12 +02:00
4525f01d5f fix loading of paginator factory in CRUDCONtroller 2021-09-13 14:44:30 +02:00
3fe7e131a2 tests written and working 2021-09-13 13:55:17 +02:00
db92531257 dataFixtures fixed and executed + start of test script 2021-09-13 13:55:17 +02:00
5512e25cdf menu entries for admin section of aside activity categories changed but not yet complete 2021-09-13 13:55:17 +02:00
a0df8d8c61 create aside activity added to sections menu 2021-09-13 13:55:17 +02:00
a6826623bc query_builder added to form : only active users displayed in select list 2021-09-13 13:52:18 +02:00
267c3bae6e attempt to add aside activity to sections menu: not working yet 2021-09-13 13:52:17 +02:00
a131510ea8 dataFixtures made but not tested 2021-09-13 13:52:17 +02:00
eca00d155f aside activities query added to filter by current user 2021-09-13 13:52:14 +02:00
6680ba19ce final class changed for entity asideActivity + css fixed for record_action buttons 2021-09-13 13:50:49 +02:00
nobohan
813da1f9e0 rdv: reset calendar after all promises are done 2021-09-13 13:43:39 +02:00
337a6eb974 vue_household_members_editor: toggle suggestion button out of conditionnal record_actions 2021-09-13 13:29:37 +02:00
98729af065 vue_household_members_editor: fix store error with dispatch 2021-09-13 12:46:26 +02:00
5a4cb31ea5 Merge branch 'household_integration' into 'master'
household members integration

See merge request Chill-Projet/chill-bundles!143
2021-09-13 10:03:36 +00:00
nobohan
c82efc4fd5 rdv MR review: change name of routes + others modifications 2021-09-13 11:58:48 +02:00
6ab0007f02 fix: person-render-box need props options 2021-09-13 11:10:02 +02:00