server icon indicating copy to clipboard operation
server copied to clipboard

Add possibility to disable calendar notifications on a per account basis

Open ogasser opened this issue 2 years ago • 16 comments

After upgrading to Nextcloud 28 I get a notification in the Nextcloud Web interface for all calendar events with notifications. As I use Thunderbird instead of the Web interface for interacting with the Nextcloud calendars, I find this quite annoying. It would be great if the possibility to disable calendar event notifications could be added to the personal notification settings:

image

ogasser avatar Jan 09 '24 12:01 ogasser

I agree. Also me and other people in the forum (https://help.nextcloud.com/t/ungewollte-benachrichtigung-fur-termine/178137) are very unhappy, that we now get pushed every calender event notification via the nextcloud app (to our android phones). We now see calender event notifications twice (once in the calender app and once via the nextcloud app). This did never happen in the last 10 years with NC27 or older.

Can we please make the user able to calibrate/change this? It started with the Update to NC 28.x

PS: WAF is really getting down right now because of the multiple notifications ;)

Linkinsoldier avatar Jan 19 '24 22:01 Linkinsoldier

This was added intentionally: https://github.com/nextcloud/server/issues/39862. You can opt-out of the feature.

ChristophWurst avatar Feb 06 '24 09:02 ChristophWurst

@ChristophWurst how exactly can we opt-out of the feature?

ogasser avatar Feb 06 '24 11:02 ogasser

php occ config:app:set dav sendEventRemindersPush --value=no

https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/occ_command.html

ChristophWurst avatar Feb 06 '24 11:02 ChristophWurst

Thanks, that works! :+1:

I still think it would be good to expose this as a per-user setting accessible through the web interface. @jancborchardt thoughts?

ogasser avatar Feb 06 '24 12:02 ogasser

I applied the setting, but I still get calendar notifications in the browser. Any idea why @ChristophWurst ?

ogasser avatar Feb 09 '24 08:02 ogasser

I hope this can be disables per web settings in the feature. I don't have access to occ and therefore can not disable it ...!

Also: the notifications only come only in less then 10% of my appointments (and then i get many of them), so for me it would not work if i'd wanted to use it the way it is (supposedly) designed.

Linkinsoldier avatar Feb 09 '24 20:02 Linkinsoldier

There is a space missing for the copy-pasters: php occ config:app:set dav sendEventRemindersPush --value=no

RealMabuse avatar Feb 23 '24 15:02 RealMabuse

@ChristophWurst Pleeeeaaaase make this accessible as a per-user setting through the web interface as many of us do not have occ access. It is annoying. Thanks

Martin511 avatar Mar 05 '24 08:03 Martin511

I don't have time to look into this myself but I'm happy to guide anyone who would like to contribute a fix.

ChristophWurst avatar Mar 05 '24 19:03 ChristophWurst

I would be very happy if the settings could be made for each individual calendar. As soon as I have access to other calendars, the notifications will also be sent to me, even though the view is disabled.

andre5tz avatar May 02 '24 06:05 andre5tz

This is already implemented unless I'm missing something:

https://github.com/nextcloud/server/blob/1a6440c353d3c797140215e4ab885544f1ac3741/apps/dav/src/views/CalDavSettings.vue#L67-L73

It's a toggle visible under Administration settings->Groupware->Calendar

To clarify: It's equivalent to the occ command noted above. And just like it, it is global. So in terms of adding a per-account toggle, this feature request still may make sense.

EDIT: Changed issue title to better reflect the proposed enhancement

joshtrichards avatar Jun 09 '24 15:06 joshtrichards

well i guess the problem is, that the Groupware page seems to be only available to those who can also access occ (i guess). I would have expected the setting to be in the notifications settings.

I can not load the groupeware side (and therefore can not change the setting): Image

Linkinsoldier avatar Jan 11 '25 22:01 Linkinsoldier

@Linkinsoldier thanks for the analysis. The settings section is for admins, and it won't show if there are no frontend apps that need a caldav backend. You can find more details at https://github.com/nextcloud/server/blob/42c021fda262685125f71e2492336fdc503d5b68/apps/dav/lib/Settings/CalDAVSettings.php#L49-L55.

ChristophWurst avatar Jan 13 '25 07:01 ChristophWurst

I dont get it. The Calender itself has the option to either send this notifications or not. there is the option to switch this off via: php occ config:app:set dav sendEventRemindersPush --value=no

and i understood the post above to mean, that there is no necessarity to add this option in the notifications settings, because it is already in the Groupware settings. I only stated, that the groupware options are not available to all user (same as the php occ config). I therefor would suggest to have an option in notification settings to make it available for the user.

Linkinsoldier avatar Jan 16 '25 18:01 Linkinsoldier

@Linkinsoldier Look at the title of the Issue. That's what this enhancement Issue is about. It's still open = so not implemented on a per-user basis.

Admins, however, can manage it globally via both occ and the admin web UI.

joshtrichards avatar Jan 16 '25 19:01 joshtrichards