-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CalDAV: support public sharing #22735
Comments
👍 |
can't wait to use this 👍 |
Nice ! |
is longingly expected 👍 |
please integrate it soon - thx 👍 |
moving to 9.2 |
How would you see the |
I'd go with a token as well. |
good question - I'd vote for using a token as part of the url. |
Maybe some hash over calendar id and some dedicated (new) secret from config.php? |
question is if we need only obscurity or real secret tokens |
Not quite sure if this issue has an effect on the following possibly desired feature: |
Generating the token based on a hash should be fine - we will anyhow only expose calendars which are published. We can expose public calendars in a dav resource of it's own like: https://example.com/remote.php/dav/public-calendars/1234567890 the collection public-calendars will only allow enumeration in debug mode. |
So it should be something like this ? Table public-calendars
Token should be something like |
Before we talk about publishing we need to implement the sharing mechanisms and in a second step we add the publishing. Both sharing and publishing information should go into the existing oc_dav_share table - we might need to add some columns - let's see |
Does this mean that support for notifications/invites has to be brought ? I don't see much sharing mechanism to implements apart from the ones mentioned on top. |
Invites are optional as far as I can tell - regarding notifications I cannot really tell - this is something to find out while integrating this. I suggest to develop this while testing with Apples iCal application - if at hand |
Case closed on the server side |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The dav app should support publishing calendars as described in https://trac.calendarserver.org/browser/CalendarServer/trunk/doc/Extensions/caldav-sharing.txt
cc @DeepDiver1975
First we need to implement caldav sharing as below - after that being done we need to see where publishing is being hooked in
Steps to take to make this happen
Add Sabre\CalDAV\SharingPlugin to v1 and v2 dav routes
OCA\DAV\CalDav\Calendar has to implement interface IShareableCalendar (beware of meothod conflicts)
Add interface SharingSupport to apps/dav/lib/CalDav/CalDasvBackend.php (beware there might be conflicts with existing method used by our own sharing) - mainly the
Add sharing tests of the caldavtester project
Update:
looks like we need to reimplement Sabre\CalDAV\SharingPlugin - support for publish-url is missing
The text was updated successfully, but these errors were encountered: