csoc-de / Shifts

MIT License
30 stars 7 forks source link

Shifts are not shown in personal calendars of its attendees #30

Closed weits closed 9 months ago

weits commented 2 years ago

When I create a shift and add an worker to it, I would like to not only create an event in shifts calendar but in attendees's personal calendars too. Is it somehow possible?

fkirchesch commented 2 years ago

Hey @weits, do you mean that you want to create Shifts in de Nextcloud Kalendar App and it to be displayed in the shifts-app aswell ? Or do you talk about the created Shifts in my app to be displayed in the attendees personal Nextcloud Calendar ? If you mean the second, then this should already be implemented behind the Calendar Sync button.

Best regards

Fabian

weits commented 2 years ago

Hi, thanks for your answer. I ment the second option. I create shiftplan, then set some shifts to people. In the calendar, I see events for shifts with right names, and right attendees properly added. Every one of the attendees has their own personal calender, but the events are not there. I hope it is clear as my english is not very good ;-)

weits commented 2 years ago

Hi, is there any progress? What is very strange is that when I edit manually the calendar events created by Shiftplan and add/remove participants I still cannot see the event in the participants' personal calendars.

LeaKaftan commented 2 years ago

Hi weits, I have no affiliation what-so-ever with this project besides starting to use it, too, but I think what you might try out is sharing the calendar that is synchronized with the Shifts app with your attendees so that they have access to the calendar, too. As long as you do not share the calendar with them, they are not allowed to see the calendar entries. I think, thoug not sure here, that the calendar is not automatically synchronized with the personal ones, but just with the attached calendar.

weits commented 2 years ago

@LeaKaftan The shifts calendar is shared to shift administrators and shift attendees too. The problem is not that attendees does not see the common event in shifts calendar. They do not see events in their personal calendars.

csoc-kevink commented 1 year ago

Does this bug still exists with version v1.9.1?

berveles commented 1 year ago

After installing the app and assigning the right groups and users, I added a calendar in the app's settings. image image This calendar was created manually by my user However, when synchronizing the calendar using the corresponding button, an error occurs. image There are no markings on the calendar itself.

(Thank you for updating the application to the new version of nextcloud)

csoc-kevink commented 1 year ago

@berveles The app identifies the calendar by the organizer and calendar name. The calendar need to be created by the organizer. If shift users should be able to see this calendar, it needs to be shared with them. When the option "Add calendar events to the shift users calendar" is active, every shift user must visit the calendar app at least one to create the calendar in the backend. Otherwise the shifts app will throw an error because it cannot find the user calendar.