nextcloud / nextcloud/server

Accept or decline calendar shares through notifications

Open
#19,568 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: caldav feature: dav
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Notifications should be triggered by updateShares and actions should happen through ocs routes (so that it may be possible to accept shares directly from NC file clients).

Requires adding a field in oc_dav_shares to handle accepted status.

There should be a default_accept setting similar to the one in the file_sharing app to skip approval, or we can just reuse it.

Note: There's also the topic of handling sharing directly though CalDAV that's related to this (see https://tools.ietf.org/html/draft-pot-caldav-sharing-01, https://github.com/apple/ccs-calendarserver/blob/master/doc/Extensions/caldav-sharing.txt and https://github.com/nextcloud/server/issues/5050) but that's another topic.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing updateShares and the existing OCS routes, then inspect the oc_dav_shares schema and the file_sharing app's default_accept setting. The work is done when notification-triggered calendar share actions can be accepted or declined through OCS routes and the accepted status is persisted.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.