Skip to content
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

Make birthday calendar shareable #1307

Open
UserXH726 opened this issue Mar 15, 2019 · 11 comments
Open

Make birthday calendar shareable #1307

UserXH726 opened this issue Mar 15, 2019 · 11 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature request feature: caldav

Comments

@UserXH726
Copy link

UserXH726 commented Mar 15, 2019

I'm not sure this is a missing feature or a bug...

I want to share the automatically generated birthday calendar without sharing the address book. But there is no option???

Steps to reproduce

  1. Create a birthday value in a contact in Contacts App
  2. An automatically created birthday calendar will appear in the calendar app.
  3. Try to share the calendar the known way you share normal calendars.

Nextcloud

NC 15.0.5
Calendar 1.6.4
Contacts 3.0.5


Edited by @georgehrke:
This should also include publishing


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@UserXH726 UserXH726 changed the title No option to share the automatically generated birthday calendar without sharing the address book Option to share the automatically generated birthday calendar without sharing the address book Mar 15, 2019
@MorrisJobke
Copy link
Member

cc @georgehrke

@stale

This comment was marked as resolved.

@georgehrke
Copy link
Member

as far as i know the calendar is already shareable but it just misses a sharing button in the calendar.

@georgehrke georgehrke transferred this issue from nextcloud/server Jun 7, 2019
@jangop
Copy link

jangop commented Aug 20, 2019

as far as i know the calendar is already shareable but it just misses a sharing button in the calendar.

If by “is already shareable” you mean that the automatically generated birthday calendar can already be accessed without authentication, could you explain how?

@georgehrke
Copy link
Member

georgehrke commented Aug 20, 2019

In theory it should be possible by sending a special CalDAV request ...

curl 'http://nextcloud.local/remote.php/dav/calendars/<username>/<calendaruri>' -H 'Depth: 0' --data-binary '<x4:publish-calendar xmlns:x4="http://calendarserver.org/ns/"/>' 

(You obviously need to include authentication headers ;))

@jangop
Copy link

jangop commented Aug 20, 2019

Don't authentication headers contradict the ”without authentication“ part?

@georgehrke
Copy link
Member

You have to send that request to publish the calendar, afterwards you will be able to access it via it's publicURI

@georgehrke georgehrke changed the title Option to share the automatically generated birthday calendar without sharing the address book Make birthday calendar shareable Sep 2, 2019
@georgehrke georgehrke added 1. to develop Accepted and waiting to be taken care of enhancement New feature request labels Sep 2, 2019
@georgehrke georgehrke added this to the 2.1.0 milestone Sep 2, 2019
@georgehrke georgehrke modified the milestones: 2.1.0, 2.2.0 Apr 7, 2020
@georgehrke
Copy link
Member

This will require changes in the server, because birthday calendars are not shareable by default at the moment. We are past feature freeze for 19, so this will have to wait for 20.

@georgehrke
Copy link
Member

I added this to our overview ticket: nextcloud/server#20096

@ChristophWurst ChristophWurst modified the milestones: 2.2.0, 2.3.0 Mar 24, 2021
@ChristophWurst ChristophWurst modified the milestones: v2.3.0, v2.4.0 Jun 24, 2021
@ChristophWurst ChristophWurst modified the milestones: v2.4.0, v2.4.1 Nov 25, 2021
@tcitworld tcitworld removed this from the v2.4.1 milestone Dec 17, 2021
@tdoerschel
Copy link

Hi,
I am not sure if this is related to here, so please tell me if I should open a new issue:
We use a shared address book (owned by a generic account).
Only the Birthday Calendar of the generic account shows the contact's birthdays.

-> the birthday calendar does not included contacts from shared address books.
That would be ok IF I could share the "generic account's" birthday calendar. But I cannot.

As far as I can see there is no way to display Birthdays from a shared address book.
I believe it was working in the past somehow, but I missed the point when or how it stopped working.
(Just happened that today is 2 out of 6 peoples birthday :-)

@bemyak
Copy link

bemyak commented Sep 12, 2024

I've tried sharing the contact_birthdays calendar as was suggested by @georgehrke, but it always gives me:

<?xml version="1.0" encoding="utf-8"?>
<d:error 
  xmlns:d="DAV:" 
  xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\Forbidden</s:exception>
  <s:message>Access denied</s:message>
</d:error>

I don't get the same error with other calendars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature request feature: caldav
Projects
None yet
Development

No branches or pull requests

9 participants