aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/lib/CalDAV/Schedule
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/lib/CalDAV/Schedule')
-rw-r--r--vendor/sabre/dav/lib/CalDAV/Schedule/IMipPlugin.php3
-rw-r--r--vendor/sabre/dav/lib/CalDAV/Schedule/Inbox.php5
-rw-r--r--vendor/sabre/dav/lib/CalDAV/Schedule/Plugin.php36
-rw-r--r--vendor/sabre/dav/lib/CalDAV/Schedule/SchedulingObject.php3
4 files changed, 43 insertions, 4 deletions
diff --git a/vendor/sabre/dav/lib/CalDAV/Schedule/IMipPlugin.php b/vendor/sabre/dav/lib/CalDAV/Schedule/IMipPlugin.php
index e050ac273..d71b3c0f8 100644
--- a/vendor/sabre/dav/lib/CalDAV/Schedule/IMipPlugin.php
+++ b/vendor/sabre/dav/lib/CalDAV/Schedule/IMipPlugin.php
@@ -81,6 +81,8 @@ class IMipPlugin extends DAV\ServerPlugin
/**
* Event handler for the 'schedule' event.
+ *
+ * @param ITip\Message $iTipMessage
*/
public function schedule(ITip\Message $iTipMessage)
{
@@ -130,7 +132,6 @@ class IMipPlugin extends DAV\ServerPlugin
$headers = [
'Reply-To: '.$sender,
'From: '.$iTipMessage->senderName.' <'.$this->senderEmail.'>',
- 'MIME-Version: 1.0',
'Content-Type: text/calendar; charset=UTF-8; method='.$iTipMessage->method,
];
if (DAV\Server::$exposeVersion) {
diff --git a/vendor/sabre/dav/lib/CalDAV/Schedule/Inbox.php b/vendor/sabre/dav/lib/CalDAV/Schedule/Inbox.php
index 462069096..d92f1dd4c 100644
--- a/vendor/sabre/dav/lib/CalDAV/Schedule/Inbox.php
+++ b/vendor/sabre/dav/lib/CalDAV/Schedule/Inbox.php
@@ -38,7 +38,8 @@ class Inbox extends DAV\Collection implements IInbox
/**
* Constructor.
*
- * @param string $principalUri
+ * @param Backend\SchedulingSupport $caldavBackend
+ * @param string $principalUri
*/
public function __construct(Backend\SchedulingSupport $caldavBackend, $principalUri)
{
@@ -175,6 +176,8 @@ class Inbox extends DAV\Collection implements IInbox
* The list of filters are specified as an array. The exact array is
* documented by \Sabre\CalDAV\CalendarQueryParser.
*
+ * @param array $filters
+ *
* @return array
*/
public function calendarQuery(array $filters)
diff --git a/vendor/sabre/dav/lib/CalDAV/Schedule/Plugin.php b/vendor/sabre/dav/lib/CalDAV/Schedule/Plugin.php
index 6f8f68432..d2c9b68e9 100644
--- a/vendor/sabre/dav/lib/CalDAV/Schedule/Plugin.php
+++ b/vendor/sabre/dav/lib/CalDAV/Schedule/Plugin.php
@@ -94,6 +94,8 @@ class Plugin extends ServerPlugin
/**
* Initializes the plugin.
+ *
+ * @param Server $server
*/
public function initialize(Server $server)
{
@@ -156,6 +158,9 @@ class Plugin extends ServerPlugin
/**
* This method handles POST request for the outbox.
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return bool
*/
public function httpPost(RequestInterface $request, ResponseInterface $response)
@@ -190,6 +195,9 @@ class Plugin extends ServerPlugin
* This method handler is invoked during fetching of properties.
*
* We use this event to add calendar-auto-schedule-specific properties.
+ *
+ * @param PropFind $propFind
+ * @param INode $node
*/
public function propFind(PropFind $propFind, INode $node)
{
@@ -289,7 +297,8 @@ class Plugin extends ServerPlugin
/**
* This method is called during property updates.
*
- * @param string $path
+ * @param string $path
+ * @param PropPatch $propPatch
*/
public function propPatch($path, PropPatch $propPatch)
{
@@ -344,6 +353,8 @@ class Plugin extends ServerPlugin
/**
* This method is responsible for delivering the ITip message.
+ *
+ * @param ITip\Message $iTipMessage
*/
public function deliver(ITip\Message $iTipMessage)
{
@@ -402,6 +413,8 @@ class Plugin extends ServerPlugin
*
* This handler attempts to look at local accounts to deliver the
* scheduling object.
+ *
+ * @param ITip\Message $iTipMessage
*/
public function scheduleLocalDelivery(ITip\Message $iTipMessage)
{
@@ -544,6 +557,9 @@ class Plugin extends ServerPlugin
* that are supported on a particular node.
*
* We need to add a number of privileges for scheduling purposes.
+ *
+ * @param INode $node
+ * @param array $supportedPrivilegeSet
*/
public function getSupportedPrivilegeSet(INode $node, array &$supportedPrivilegeSet)
{
@@ -605,6 +621,8 @@ class Plugin extends ServerPlugin
* This method may update $newObject to add any status changes.
*
* @param VCalendar|string $oldObject
+ * @param VCalendar $newObject
+ * @param array $addresses
* @param array $ignore any addresses to not send messages to
* @param bool $modified a marker to indicate that the original object
* modified by this process
@@ -682,6 +700,10 @@ class Plugin extends ServerPlugin
* The latter is from an expired early draft of the CalDAV scheduling
* extensions, but iCal depends on a feature from that spec, so we
* implement it.
+ *
+ * @param IOutbox $outboxNode
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
*/
public function outboxRequest(IOutbox $outboxNode, RequestInterface $request, ResponseInterface $response)
{
@@ -736,6 +758,11 @@ class Plugin extends ServerPlugin
* This method is responsible for parsing a free-busy query request and
* returning it's result.
*
+ * @param IOutbox $outbox
+ * @param VObject\Component $vObject
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return string
*/
protected function handleFreeBusyRequest(IOutbox $outbox, VObject\Component $vObject, RequestInterface $request, ResponseInterface $response)
@@ -825,7 +852,10 @@ class Plugin extends ServerPlugin
* * 2.0;description
* * 3.7;description
*
- * @param string $email address
+ * @param string $email address
+ * @param \DateTimeInterface $start
+ * @param \DateTimeInterface $end
+ * @param VObject\Component $request
*
* @return array
*/
@@ -968,6 +998,8 @@ class Plugin extends ServerPlugin
* This method checks the 'Schedule-Reply' header
* and returns false if it's 'F', otherwise true.
*
+ * @param RequestInterface $request
+ *
* @return bool
*/
private function scheduleReply(RequestInterface $request)
diff --git a/vendor/sabre/dav/lib/CalDAV/Schedule/SchedulingObject.php b/vendor/sabre/dav/lib/CalDAV/Schedule/SchedulingObject.php
index b40f28a94..d34c92327 100644
--- a/vendor/sabre/dav/lib/CalDAV/Schedule/SchedulingObject.php
+++ b/vendor/sabre/dav/lib/CalDAV/Schedule/SchedulingObject.php
@@ -29,6 +29,9 @@ class SchedulingObject extends \Sabre\CalDAV\CalendarObject implements IScheduli
* * size - (optional) The size of the data in bytes.
* * lastmodified - (optional) format as a unix timestamp.
* * acl - (optional) Use this to override the default ACL for the node.
+ *
+ * @param Backend\SchedulingSupport $caldavBackend
+ * @param array $objectData
*/
public function __construct(Backend\SchedulingSupport $caldavBackend, array $objectData)
{