85 Commits

Author SHA1 Message Date
c6373a075d refactor pickTemplate and adapt existing usage 2022-02-01 15:49:23 +01:00
6aa1e136b4 fix bug when suggested person is thirdparty 2022-01-27 18:14:32 +01:00
8720cc730e implementation of person-text 2022-01-27 16:19:19 +01:00
7e932e838f Squashed commit of the following:
commit 9e767fa3e0788d87437c235e51fcdc4f26f75d98
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Mon Jan 17 15:28:02 2022 +0100

    traductions

commit db6513474377b702cc2258be3e2ba720d007bc11
Author: nobohan <juminet@gmail.com>
Date:   Mon Jan 17 12:17:22 2022 +0100

    add person: increase z-index of toast and wait for validation before closing modal

commit 7af4c3434ef39b27eb51881611338b50a379acc8
Merge: a09c8ee8a 46c6d0e29
Author: Julien Fastré <julien.fastre@champs-libres.coop>
Date:   Sun Jan 16 22:51:45 2022 +0100

    Merge remote-tracking branch 'origin/master' into issue357_front_end_validation

commit a09c8ee8af962021b9d6a402863c8c5671c0e621
Author: nobohan <juminet@gmail.com>
Date:   Wed Jan 12 15:47:11 2022 +0100

    upd CHANGELOG

commit a312a9463d861659f70909bed7d8aa67fef444f2
Author: nobohan <juminet@gmail.com>
Date:   Wed Jan 12 15:29:32 2022 +0100

    address: display error message if some fields are empty (street & streetnumber)

commit 0035128138ddd3d877befae3e489329634555f79
Author: nobohan <juminet@gmail.com>
Date:   Wed Jan 12 14:47:43 2022 +0100

    address: display error message if some fields are empty

commit 49cb15467297bd24c5eb9a0dd7e366ccd7744679
Author: nobohan <juminet@gmail.com>
Date:   Tue Jan 11 20:58:00 2022 +0100

    address: add field validation (WIP)

commit 1a7ec9e39631e00d59fcb3204a157e1583679cda
Author: nobohan <juminet@gmail.com>
Date:   Tue Jan 11 17:16:43 2022 +0100

    Activity: fix vuejs warning

commit fa0b9271c2b4963564fdc1e0eda09a12758caa4b
Author: nobohan <juminet@gmail.com>
Date:   Tue Jan 11 16:13:23 2022 +0100

    location: treat 422 error when POSTing new location

commit c7b9a1a3fe8891f80699faa2dd277064dce7b0b6
Author: nobohan <juminet@gmail.com>
Date:   Tue Jan 11 16:00:29 2022 +0100

    location: fix error when creating a new location: a new location could not be added to the availableLocations due to refactoring

commit f1c61a2387df7507c79c55e7defe46fbb052df6c
Author: nobohan <juminet@gmail.com>
Date:   Tue Jan 11 15:20:33 2022 +0100

    person: treat 422 error in AddPerson for thirdparty

commit 8f6a70b240c286c18e1a102953f243e57b4af97a
Author: nobohan <juminet@gmail.com>
Date:   Tue Jan 11 11:30:05 2022 +0100

    person: add validation for required fields in on-the-fly person

commit 40e4bf953fa8e9a04a34e0330562bd25324c5589
Author: nobohan <juminet@gmail.com>
Date:   Tue Jan 11 09:34:15 2022 +0100

    vuejs: better violations message in 422 error handling

commit 378f3a16fc34228334cd44b9e7ca618bc7eb72aa
Author: nobohan <juminet@gmail.com>
Date:   Mon Jan 10 18:11:02 2022 +0100

    person: on-the-fly person: first implementation of makeFetch for posting person
2022-01-17 15:28:49 +01:00
juminet
699dcc85de Issue344 vue multiselect i18n 2022-01-10 12:04:57 +00:00
d588c36308 Merge branch '327_pinned_comment' into issue321_layout_improvements_actionForm 2021-12-16 21:41:22 +01:00
de790d11a8 activity/location: refactor
Refactor the way for loading locations:

* fix showing the default location
* fix when there is not thirdparty default location
* separate api queries instead of inlines;
* use the store instead of the mounted
* refactored for a possible re-use in calendar
2021-12-14 23:20:47 +01:00
6e079fa771 Fix bug remove associated party in activity form 2021-12-13 19:24:03 +01:00
nobohan
82c027fe2a add the current location of the user as API point + add it in the activity location list 2021-12-13 11:04:10 +01:00
c049a0b78b Badge-thirdparty 2021-12-12 14:51:42 +00:00
683d055088 Adding an unrelated to issue to an accompanyingCourseWork 2021-12-12 13:55:22 +00:00
e99b14b870 [activity] fix loading of social action in edit mode 2021-11-29 23:01:17 +01:00
7b0c7988df [activity] handle case when there is no action associated to selected
issues
2021-11-29 22:43:14 +01:00
55b9242690 [bugfix][activity form] check the presence of location / social issues /
persons fields
2021-11-29 21:57:29 +01:00
5d9ceb5757 295 resume retouches 2021-11-29 13:48:18 +00:00
juminet
b300858bdd activity: avoid existing entities being added in Users, ThirdParties, Persons 2021-11-29 12:27:54 +00:00
nobohan
5aa5cb3e08 location: use fetchResults for getLocations and getLocationTypes 2021-11-25 17:22:25 +01:00
nobohan
f002d48efd location: fix error when there is no defaultFor defined for locationType entities 2021-11-25 16:53:02 +01:00
nobohan
e73179688a activity: format location label for parcours location 2021-11-25 15:39:30 +01:00
nobohan
d13d42b9bf activity: group locations by type in the selector 2021-11-25 15:39:30 +01:00
nobohan
0bd0487801 activity: fix the on-the-fly POSTing of the location entity 2021-11-25 15:39:30 +01:00
nobohan
c7f2717676 activity: new activity: show address in parcours location 2021-11-25 15:39:30 +01:00
nobohan
a2f6f2b5cb activity: post new location on-the-fly 2021-11-25 15:39:30 +01:00
nobohan
1b579f7930 activity: label location 2021-11-25 15:39:30 +01:00
nobohan
c1a2112d48 activity: add location from concerned person and 3rd parties in the location selector 2021-11-25 15:39:30 +01:00
nobohan
1519fcd4dd activity: add location of the accompanying course 2021-11-25 15:39:30 +01:00
nobohan
92e59e211d activity: suggest location based on accompanying period (WIP) 2021-11-25 15:39:30 +01:00
6028167513 allow the case when the referrer is null 2021-11-22 16:33:36 +01:00
f3792b2ed6 Merge remote-tracking branch 'origin/master' into issue294_suggestPersonInActivity 2021-11-22 14:06:27 +01:00
69384a84d1 Merge remote-tracking branch 'origin/master' into issue133_user_current_location 2021-11-22 13:43:22 +01:00
nobohan
d89a948fa1 activity: generalise concernedGroups component for use with calendar 2021-11-19 13:28:35 +01:00
nobohan
aa53df8bb0 activity: avoid adding persons|Users|Thirdparty if not allowed 2021-11-19 13:28:35 +01:00
nobohan
631ffa02f7 calendar: add suggestion for concernedGroups 2021-11-19 13:28:35 +01:00
nobohan
aae7d2fb2a activity: naming of addSuggestedEntities 2021-11-19 13:28:35 +01:00
nobohan
b3cd7c5cdb activity: suggest requestor, user and ressources for adding persons|user|3rdparty 2021-11-19 13:28:35 +01:00
193d0fb94a vue_activity: style for suggestions, add and remove items 2021-11-18 16:02:40 +01:00
nobohan
63e5220084 activity: add user current location as default for a new activity 2021-11-17 15:21:53 +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
nobohan
bfb219746a location: client-side form validation 2021-11-03 16:16:51 +01:00
nobohan
4e72bdead5 location: code refactoring: move saveNewLocation + order of fields 2021-11-03 16:16:51 +01:00
6565e3f8e3 fix invisible selected item in multiselect 2021-10-15 15:37:16 +02:00
6876c23adb adapting vue_calendar to use Location 2021-10-15 15:28:33 +02:00
3e4cb41f7a vue_activity Location i18n translations 2021-10-15 12:49:15 +02:00
ada9efc75d filter list of locations on backend side (GET location endpoint) 2021-10-15 12:01:57 +02:00
d0dd99db9a fix Location POST endpoint and saveNewLocation event method in vue_activity Location 2021-10-15 11:25:18 +02:00
e6845326d7 vue_activity location: add NewLocation fields, submit activity form with hidden field (+) 2021-10-15 09:09:47 +02:00
4d4662a634 adding endpoint for LocationType. fetch types and add form fields. 2021-10-13 19:31:48 +02:00
b418d13190 make somes changes on model: to manage isVisible field option + others 2021-10-13 15:47:48 +02:00
48f3c440a2 adding an API GET Location endpoint, fetch locations and list them in vue multiselect 2021-10-13 14:22:53 +02:00