This commit adds support for adding circles as attendees to a calendar event.
The relationship between the imported group and members will be compliant with
the iCal specification.
A circle with the title "testcircle" will be added as an attendee with iCal
attributes "CUTYPE=GROUP` and uri "mailto:circle+CIRCLEID@CIRCLE_INSTANCE".
Members of the circle will be imported as standard attendees. Each member gets
assigned to the circle group entry by assigning them to the group uri using the
iCal member property: "MEMBER='mailto:circle+CIRCLEID@CIRCLE_INSTANCE'".
Searching for circles is only enabled if the circles app is activated.
Circles added to the list of attendees get imported only once and are not
synced yet. While adding a circle, a notice about this is shown to the user.
Only members of local circles which are local users get imported.
Rendering groups in the frontend is done in a separate PR
https://github.com/nextcloud/calendar/pull/5396
Signed-off-by: Jonas Heinrich <heinrich@synyx.de>
The old, bundled widget has to stay until we exclusively support the
corresponding server versions.
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>