-
Notifications
You must be signed in to change notification settings - Fork 96
remove valarms from objects in read-only shared calendars #668
base: master
Are you sure you want to change the base?
Conversation
@georgehrke it works! I have test it on ios and lightning and cant find any bug. I hope it will be push asap to the stable calendars app. |
how do I know if the patch already work with the current version (OC 8.0.2)? |
You can help by testing it ;) Please excuse my brevity and typos.
|
This seems not to work for me.
Outcome: |
The Valarm is not supposed to be removed when downloading, but if you add User B to lightning you should not see the alarm in Lightning |
how is thunderbird or any other client supposed to know it has to ignore the event? |
Thunderbird doesn't ignore the event, but the caldav interface doesn't deliver the alarm information if the shared calendar is read-only |
sry, I seem to stand on the tube. |
When an object is accessed via caldav (not via web interface) and the calendar is read-only, this patch removes the reminders-information
remove user a's calendar from thunderbird, add user b's calendar to thunderbird and check the event if there is any reminder shown in lightning |
ok, I tested it on 2 different thunderbird users as well as on my android phone (business calendar Pro) and it seems to work as expected. Now I would only request that the decision to show/remove the reminders is based on an individually based flag and not on read/write access. |
see discussion in owncloud/calendar#547, |
👍 works as expected |
@georgehrke This is working for me just fine for the last 5 months. |
Still haven't found time to test whether or not the don't show / 'show busy only' still works via caldav. If I'm sure that this works, we can merge this. |
I tried to integrate the patch into owncloud 8.0.4 but it does not seem to suppress the reminders.
The clients are:
Kind regards, Update: I didn't do anything wrong except for one thing: User A and User B were both administrators. That's why User B got the reminder even if he had only read only access. After downgrading User B to a normal user and recreating the calendar in Outlook and Thunderbird the reminders were gone. :) |
I have installed the patch on my Owncloud (v8.0.4) installation with the Owncloud calendar App (v0.6.6) on a QNAP NAS and at the first glance it worked fine. But then I realized that the synchronization with DAVdroid (v0.8.4.1) on my Android device produces double entries in the Android calender for the owner of the calender. In the web interface of Owncloud there is only one event but the Android calendar shows two events with identical properties. The synchronisation with Thunderbird Ligthning works fine and shows only one event. Any ideas what could be the problem? Thanks Mike |
@fichif I cannot confirm this, but I am using CalDav-Sync. |
@ tobiasKaminsky
When I look at the resulting backend.php then the patch is applied. I have attached a screen shot how the event looks in the calendar after importing the calendar with DavDroid. And in fact when I use the CalDav-Sync Adapter (v1.8.1) I get only one event in the calendar. |
With 8.1.1 I have a problem: |
@georgehrke With 8.1.3 I get: {"reqId":"ufkoa4NkaZ2ft25Z6Ql4","remoteAddr":"80.","app":"PHP","message":"Class 'OC_VObject' not found at /var/www/owncloud/apps/calendar/lib/sabre/backend.php#444","level":3,"time":"2015-10-22T05:32:49+00:00","method":"REPORT","url":"/owncloud/remote.php/caldav/calendars/tobi/defaultcalendar_shared_by_user1/"} Also the events of my normal user are not synced to android. |
@georgehrke Is there a progress on this? With 8.1.3 it is not working any longer for me. |
ping @georgehrke |
We updated sabre/dav with ownCloud 8.2 and this patch is not compatible. I haven't yet investigated how much work it would be to make this patch work with ownCloud 8.2. There is one more issue: There will be a major change about everything DAV in ownCloud 9. We will ship a dedicated dav app and the calendar app will be replaced with the calendar rework, which only provides a GUI for the caldav interface of the dav app. Therefore this patch would break yet again with ownCloud 9. Additionally the dav app will not use ownCloud's sharing but the official caldav sharing standard. The standard contains a note about your issue, but it's still to be discussed. |
Thank you for your detailled explanation. |
please help testing
need to pay special attention on sharing private events