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

Get public birthday calendar as ICS #1184

Closed
mkriegl opened this issue Mar 22, 2019 · 5 comments
Closed

Get public birthday calendar as ICS #1184

mkriegl opened this issue Mar 22, 2019 · 5 comments

Comments

@mkriegl
Copy link

mkriegl commented Mar 22, 2019

I am using a few calendars with a smart home dashboard. Therefore I made those calendars public and used the ICS download link at each published calendar https://<URL>/remote.php/dav/public-calendars/<some_cryptic_information>?export.
As the birthday calandar is listed at the subscribed calendars it is not possible to get or generate a public link. The only link I get is that one where I have to log in https://<URL>/remote.php/dav/calendars/<user>/contact_birthdays/
Could you please provide this functionality? I am also fine with a workaround to get a downloadable ics birthday calendar link without the need of the login data.

Thanks in advance .. Max


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

@mkriegl
Copy link
Author

mkriegl commented Mar 22, 2019

I did a hack and solved it by myself:

lists the shared calendars: SELECT * FROM oc_dav_shares;
add a new entry: INSERT INTO oc_dav_shares (id,principaluri,type,access,resourceid,publicuri) VALUES (<new_entry_numer>,'<principaluri_from_oc_calendars>','calendar',4,<id_from_oc_calendars>,'new_but_different_publicuri');
calendar can then be downloaded via: https://<URL>/remote.php/dav/calendars/<USER>/<publicuri>?export
it is more easy, when there is already a shared calendar in the table

@georgehrke
Copy link
Member

Duplicate of nextcloud/server#14717

@jangop
Copy link

jangop commented Aug 20, 2019

Duplicate of nextcloud/server#14717

I do not think that this is a duplicate of #1307 (which nextcloud/server#14717 links to) because in that issue there is no mention of the birthday calendar being required to be public.

@georgehrke
Copy link
Member

Sharing includes publishing here :)
But let me add that to the description of #1307.

@jangop
Copy link

jangop commented Aug 20, 2019

Alright, thanks for the clarification. In that case, I'll add a question over there. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants