1481 Commits

Author SHA1 Message Date
c382008b4d fix tests (wip) 2021-09-22 12:23:15 +02:00
f5348daddf Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-22 11:41:41 +02:00
e13b7bf195 fix countrySelection multiselect with fetch async countries
edit context: display country for existing address
new context: repair editPane, load countries

note: adding id for country and postcode in address endpoint json
2021-09-22 11:39:03 +02:00
7d2e82d69b Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-20 20:16:39 +02:00
3f3dd83132 fix error in afterLastPaneAction 2021-09-20 20:15:38 +02:00
75a240a2d6 parent callback will cast afterLastPaneAction, that manage redirection or context changes 2021-09-20 20:15:38 +02:00
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
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
501ffe7829 Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-18 21:48:42 +02:00
a842229d5e improve addAddress 2021-09-18 21:47:04 +02:00
4b87e16f6d Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-18 17:05:13 +02:00
2788170f03 slot buttons up from actionButtons to addAddress 2021-09-18 17:02:45 +02:00
8204107ceb Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-17 13:26:28 +02:00
3f3b7af42b AddAddress: adjust Open and Close methods for each step 2021-09-17 13:25:18 +02:00
331dd286e7 AddAddress: adding a new stickyActions option 2021-09-17 13:25:18 +02:00
6a60758c0d AddAddress: openPanesInModal, uniq option to enable/disable all step123 in Modal 2021-09-17 13:25:18 +02:00
782f0bc332 twig _insert_vue_address, rename mode create 2021-09-17 13:25:18 +02:00
3c5f0ce15e Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-16 22:25:55 +02:00
7ab57eba9a AddAddress: adding useDate.validFrom/validTo options 2021-09-16 22:21:47 +02:00
ce40814aa9 Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-16 21:17:29 +02:00
f66df3b77c fix include parameters missing comma 2021-09-16 20:36:11 +02:00
0bb0b24c21 Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-16 19:58:03 +02:00
8dbdc28df1 vue_accourse: AddAddress final submit, managed by callback and not an event 2021-09-16 19:56:15 +02:00
9ff58fe0c3 Address: replace variable entity.type by entity.name 2021-09-16 19:56:15 +02:00
da32afeb3f addAddress: improve boolean variables 2021-09-16 19:56:15 +02:00
a5ceb551eb twig pass arguments to vue_address with dataset attributes 2021-09-16 19:56:15 +02:00
9725970c56 tp: adapt _insert_vue_address include parameters 2021-09-15 18:31:58 +02:00
546a2e4fa1 Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-15 18:20:18 +02:00
c2f75654dd move _insert_vue_address include template in main, make it more generic
because it is used with person and household,
but prepare to extend for thirdparty
2021-09-15 18:17:06 +02:00
df28494f16 Merge branch 'household_integration' into person_renderbox_thirdparty_onthefly 2021-09-15 12:19:18 +02:00
4046a7ca9b before resume dashboards: disable accompanyingCourse resume persons, requestor, and resources 2021-09-15 12:14:03 +02:00
2e5c2de363 Documents can be added/viewed/edited for an accompanyingCourse + menu entry added 2021-09-14 15:44:06 +02:00
4448547fcd Merge branch 'master' into person_renderbox_thirdparty_onthefly 2021-09-14 14:11:33 +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
6c61b2da30 translations 2021-09-13 15:06:20 +02:00