1038 Commits

Author SHA1 Message Date
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
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
dc2f094ca2 vue_household_members_editor: suggestions in bootstrap accordion style 2021-09-13 15:04:12 +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
6ab0007f02 fix: person-render-box need props options 2021-09-13 11:10:02 +02:00
672133fb5e repair banner in vue_household_members_editor component 2021-09-13 10:48:38 +02:00
da9d81dc05 vue_accourse: GET form submit for no_household persons 2021-09-10 17:18:43 +02:00
fa938471aa vue_accourse: move no-household warning above table 2021-09-10 16:39:59 +02:00
c89e2662b1 household resume page, improve ux 2021-09-10 15:36:30 +02:00
ff7cb6ca79 adding unlink chill button 2021-09-10 11:40:59 +02:00
753e6c1105 adding a dev page with sass assets album 2021-09-10 11:34:08 +02:00
3a6a0da1dd accourse associated_persons: display alert warning if persons without household 2021-09-06 19:41:09 +02:00
e99a371f3a vue personRenderBox: adding an option to display householdLink 2021-09-06 19:39:52 +02:00
dba3ede9e1 when a person has a household without address: display no_data message, even if option addNoData is false 2021-09-06 18:46:37 +02:00
a94a757ae6 accourse: don't display old participations (fix counter) 2021-09-06 16:50:10 +02:00
cf78c59e76 vue personRenderBox when no returnPath 2021-09-06 16:37:30 +02:00
f4ce634061 not used, see Entity/AddressRenderBox.vue in MainAssets 2021-09-06 16:18:08 +02:00
f9402ec981 adding confirmation modal when person leave accourse 2021-09-06 16:04:38 +02:00
98b0b3beeb applying floatbutton logic on person/thirdparty vue renderbox 2021-09-06 15:49:15 +02:00
1a95b44577 accourse: don't display old participations
(they will be still visible in history)
2021-09-06 15:12:53 +02:00
93c08f7e18 vue_accourse: adding current_household link on associated_persons 2021-09-06 15:05:08 +02:00
1262d8cc16 Merge branch 'improve_address' into household_integration 2021-09-06 12:52:25 +02:00
81f97980fc household members: fold/unfold accordion 2021-09-03 18:53:35 +02:00
8b945dc38b test a new chill help tooltip 2021-09-03 18:30:43 +02:00
d575b48e76 household banner: <a> tag inside <span> if we want flex order 2021-09-03 15:31:00 +02:00
3fefaf1e4d household summary: put member box in a reused include template 2021-09-03 13:59:31 +02:00
9b8b60ed75 twig person/thirdparty renderbox: add a customArea option
with 2 areas to begin:
* before the label
* after the label
2021-09-03 13:07:47 +02:00
f2f39d0922 household: improve ux in form to edit a member 2021-09-03 13:02:35 +02:00
81b7e769e1 lightly increase heading 3-6 weight 2021-09-03 11:21:39 +02:00
21630a37af household banner: badge-member and holder mark in person theme 2021-09-03 10:59:44 +02:00
d8b2d3cd90 rename address-render-box component
(cfr b9602aa72 - file had been moved and renamed,
now we just rename component name into import and template
)
2021-09-02 22:28:32 +02:00
3927fd738c new choose button, improve household renderbox 2021-08-31 16:02:18 +02:00
b69fdd459a fix vue renderbox component name 2021-08-31 15:26:00 +02:00
1a2cb22b5b household, wip 2021-08-31 12:41:19 +02:00