Skip to content

Commit

Permalink
Update OCP
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI committed Nov 9, 2024
1 parent e4f2368 commit 2a4efda
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OCP/Calendar/ICalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public function search(string $pattern, array $searchProperties = [], array $opt
public function getPermissions(): int;

/**
* Whether the calendar is deleted
* Indicates whether the calendar is in the trash bin
*
* @since 26.0.0
*/
public function isDeleted(): bool;
Expand Down
25 changes: 25 additions & 0 deletions OCP/Calendar/ICalendarIsShared.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

declare(strict_types=1);

/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Calendar;

/**
* ICalendar Interface Extension
*
* @since 31.0.0
*/
interface ICalendarIsShared {

/**
* Indicates whether the calendar is shared with the current user
*
* @since 31.0.0
*/
public function isShared(): bool;

}
25 changes: 25 additions & 0 deletions OCP/Calendar/ICalendarIsWritable.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php

declare(strict_types=1);

/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Calendar;

/**
* ICalendar Interface Extension
*
* @since 31.0.0
*/
interface ICalendarIsWritable {

/**
* Indicates whether the calendar can be modified
*
* @since 31.0.0
*/
public function isWritable(): bool;

}
7 changes: 7 additions & 0 deletions OCP/Calendar/IManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,13 @@ public function searchForPrincipal(ICalendarQuery $query): array;
*/
public function newQuery(string $principalUri) : ICalendarQuery;

/**
* Handle a iMip REQUEST message
*
* @since 31.0.0
*/
public function handleIMipRequest(string $principalUri, string $sender, string $recipient, string $calendarData): bool;

/**
* Handle a iMip REPLY message
*
Expand Down

0 comments on commit 2a4efda

Please sign in to comment.