Is your feature request related to a problem? Please describe.
Background
There are cases where multiple buildings share a common address. I guess this is especially common for school, colleges and campuses in general.
The FernUni hagen has a real world example of this: On "Universitätsstraße 33, 58084 Hagen" there is the building "Kultur- und Sozialwissenschaften" and the building "Seminargebäude".
Problem
Currently only room-building-address is exposed which
- might not contain the building name
- maybe the building is encoded in the
room-building-room-number or room-building-story'
- might contain it in different ways
- e.g.
Universitätsstraße 33, 58084 Hagen, (Seminargebäude)
- e.g.
Seminargebäude, Universitätsstraße 33, 58084 Hagen
Resource providers like https://github.com/nextcloud/calendar_resource_management and https://github.com/nextcloud/RoomVox have currently no common property to declare the room building unambiguously.
Describe the solution you'd like
Use a common field for for the building name e.g. {http://nextcloud.com/ns}room-building-name
Describe alternatives you've considered
Have heuristics to guess the building name from room-building-address, room-building-room-number etc.
Additional context
Open question, on which level to standardize {http://nextcloud.com/ns}room-building-name:
- Only directly in
|
function mapDavToRoomPrincipalProperties(dav: Record<string, unknown>): RoomPrincipalProperties { |
- Only directly in https://github.com/nextcloud/cdav-library/blob/0e1a08573ed05340fe6c0b592976fe3feeb983f1/src/models/principal.js#L64
- https://github.com/nextcloud/server/blob/942af7238a02731fcee3de148131d7d92dfa52c6/lib/public/Calendar/Room/IRoomMetadata.php#L19
Related cleanup
Is your feature request related to a problem? Please describe.
Background
There are cases where multiple buildings share a common address. I guess this is especially common for school, colleges and campuses in general.
The FernUni hagen has a real world example of this: On "Universitätsstraße 33, 58084 Hagen" there is the building "Kultur- und Sozialwissenschaften" and the building "Seminargebäude".
Problem
Currently only
room-building-addressis exposed whichroom-building-room-numberorroom-building-story'Universitätsstraße 33, 58084 Hagen, (Seminargebäude)Seminargebäude, Universitätsstraße 33, 58084 HagenResource providers like https://github.com/nextcloud/calendar_resource_management and https://github.com/nextcloud/RoomVox have currently no common property to declare the room building unambiguously.
Describe the solution you'd like
Use a common field for for the building name e.g.
{http://nextcloud.com/ns}room-building-nameDescribe alternatives you've considered
Have heuristics to guess the building name from
room-building-address,room-building-room-numberetc.Additional context
Open question, on which level to standardize
{http://nextcloud.com/ns}room-building-name:calendar/src/models/principal/principal.ts
Line 18 in fb819ae
Related cleanup
deriveBuildingNamecoderoomBuildingAddressif no building name is given