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

no view for existing resources #16

Closed
mokkin opened this issue Oct 29, 2021 · 9 comments
Closed

no view for existing resources #16

mokkin opened this issue Oct 29, 2021 · 9 comments

Comments

@mokkin
Copy link
Contributor

mokkin commented Oct 29, 2021

I managed it finally to activate the app, create building, story and some rooms. I can even search and add those resources in the participants dialogue while adding an appointment.
Unfortunately the resources are not displayed in the calendar menu nor are they visible via CalDAV by third party software such as Thunderbird or an appointment booking system.

grafik

@ChristophWurst
Copy link
Member

The left sidebar in Calendar only shows calendars. A calendar is not a resource.

For Thunderbird I can't tell if they actually support this. A quick internet search gives me the impression Thunderbird/Lightning is simply unable to work with any CalDAV resources. This is not a back-end issue.

@mokkin
Copy link
Contributor Author

mokkin commented Nov 8, 2021

Just for understanding: Can you tell how can a user view the resources then in Calendar if they are not displayed like a calendar?

@ChristophWurst
Copy link
Member

What do you mean? How do you display a resource? Do you want to see its availability? More infos about the resource? Anything else?

@ChristophWurst
Copy link
Member

I think you're referring to a feature like this nextcloud/calendar#3185

@ChristophWurst
Copy link
Member

FYI I've tested Nextcloud CalDAV resources with Thunderbird. They work if you know their email address. Free/busy overview shows when the resource is already taken. It's not possible to find resources, though. I assume this is a limitation of Thunderbird's resource implementation.

@manu-p
Copy link

manu-p commented Nov 25, 2021

Hi, maybe one way to solve this point is:

  1. create a NC Contacts group named Resources
  2. create entries in this group, such as for instance "Meeting Room 1" with the email address you've used when creating this room resource with calendar_resource_management
  3. in T-Bird, install, setup and use the "Provider pour CalDAV & CardDAV" extension
  4. after a while (until NC Contacts are synchronized with your T-Bird) you should find the Resources group (here named Category) in the Contacts...

@ChristophWurst
Copy link
Member

That's an interesting idea!

@e-jim
Copy link

e-jim commented Jan 10, 2023

Just for reference, we achieved to share the calendar (similarly to @mokkin 's request) by manually adding a caldav share in database.
Not sure if it's a good idea regarding future update or whether Sabre likes it, but in test environment it seemed to work.

Here is what we did:

SELECT * from oc_calendars WHERE oc_calendars.principaluri LIKE "%resource%";

to find the id of the resource calendar we want to share

INSERT INTO oc_dav_shares(principaluri, type, access, resourceid) VALUES ("principals/groups/MyGroup", "calendar", 3, ID);

Replace:

  • "principals/groups/MyGroup" by the group or user (principals/user) you want to share it with
  • 3 by 2 if you want the share to be write-enabled instead of read-only (I also tested access 4, which is used for public URI and allows re-sharing - not sure it
  • ID by the id of the resource you found in the first step

Use a your own risks ;-)

@tatrapikao
Copy link

how on earth ist his closed?

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

5 participants