830 Commits

Author SHA1 Message Date
430177f0c7 some finalisation for admin user 2021-09-24 10:35:34 +02:00
72b1916da8 continue CRUD user 2021-09-24 10:35:34 +02:00
b5c2dd7bd2 fix-admin and crudify user admin 2021-09-24 10:35:34 +02:00
a28c996164 stash commit 2 2021-09-23 14:55:54 +02:00
d5f1de1fbc Merge branch 'master' into person_renderbox_thirdparty_onthefly 2021-09-23 13:56:28 +02:00
fa9b571d6b Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-23 13:46:54 +02:00
efd9380d13 Address use next/previous button if datePane and if context new 2021-09-23 12:32:05 +02:00
0808f5a6f3 Address datePane: convert selectedAddress to pass and view it with addressRenderBox 2021-09-23 11:51:40 +02:00
1c568a75ec Address: pass useDatePane option in showPane addressRenderBox, display dates in showPane 2021-09-23 11:07:17 +02:00
e7676c5c2e display address renderbox on datePane (wip) 2021-09-23 10:34:06 +02:00
a8024ba38f Address datePane: validTo date display and format 2021-09-23 10:34:06 +02:00
d994612987 change buttons apparence for datePane back to editPane 2021-09-23 10:34:06 +02:00
3ee0f4bf20 datePane, back to previous editPane 2021-09-23 10:34:06 +02:00
14fdeac4fd Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-22 20:32:28 +02:00
98f1f19e9a courseLocation: commit context addressId change when remove PersonLocation (fix bad address in editPane) 2021-09-22 20:27:08 +02:00
5d99e261e1 CourseLocation: load initAddressContext() earlier allow AddAddress to getInitialAddress() (fix) 2021-09-22 19:41:17 +02:00
f7ec87e012 Address: hideAddress option mask too loading and alerts 2021-09-22 19:26:33 +02:00
4768785bb5 Address: improve forceRedirect condition, if backUrl is null or undefined 2021-09-22 18:43:44 +02:00
47d0043462 disable suggestPane step 2021-09-22 16:28:35 +02:00
f8d5dcf937 AddAddress: improve loading transition between step0/step1 and step2 2021-09-22 15:16:06 +02:00
851fa663ca Merge branch 'improve_address' into person_renderbox_thirdparty_onthefly 2021-09-22 14:07:09 +02:00
dfc6ed9bf3 Address: remove forceRedirect option: backUrl option not null is considerated as forceRedirect true 2021-09-22 14:00:40 +02:00
dbb9e6a663 Address: success message exception when redirection 2021-09-22 13:57:33 +02:00
d6f6f49090 address renderbox, improve how display address-more informations 2021-09-22 13:57:29 +02:00
7c2422743e Address: remove unused translations specific to household or person context 2021-09-22 13:55:24 +02:00
e336990b16 comment console.log 2021-09-22 13:55:24 +02:00
dee27ee01f Address: extend hideAddress option for twig cases 2021-09-22 13:55:24 +02:00
b06e726ad1 fix required fields in user controller test 2021-09-22 12:28:14 +02:00
c62254caec add scope selection on accompanying course 2021-09-22 12:23:26 +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
f3b755e46e fix warning with getSuccessText 2021-09-20 20:15:38 +02:00
8ba74f8de8 editPane, change button if datePane after 2021-09-20 20:15:38 +02:00
690f649dd1 applyChanges, if DatePane or not 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
717cd03d95 Address: context id received from twig are integer 2021-09-20 20:15:38 +02:00
1e829707be tp: wip.. write postAddressToThirdparty api for AddAddress callback 2021-09-20 20:13:20 +02:00
e7928c222d creating endpoint for scopes 2021-09-20 14:11:33 +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
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