Lines Matching refs:this

36  * this plugin is supposed to grab the information from that event, and notify
37 * the attendees of this.
39 * There's 3 possible transports for this:
45 * attachment. Local delivery is harder, because we both need to add this same
82 * Using this name other plugins will be able to access other plugins
101 $this->server = $server;
102 $server->on('method:POST', [$this, 'httpPost']);
103 $server->on('propFind', [$this, 'propFind']);
104 $server->on('calendarObjectChange', [$this, 'calendarObjectChange']);
105 $server->on('beforeUnbind', [$this, 'beforeUnbind']);
106 $server->on('schedule', [$this, 'scheduleLocalDelivery']);
131 * Use this method to tell the server this plugin defines additional
143 $node = $this->server->tree->getNodeForPath($uri);
165 // Checking if this is a text/calendar content type
175 $node = $this->server->tree->getNodeForPath($path);
182 $this->server->transactionType = 'post-caldav-outbox';
183 $this->outboxRequest($node, $request, $response);
194 * We use this event to add calendar-auto-schedule-specific properties.
204 $caldavPlugin = $this->server->getPlugin('caldav');
228 // We don't support customizing this property yet, so in the
234 $result = $this->server->getPropertiesForPath($calendarHomePath, [
272 * @param mixed $isNew Whether this was a new item or we're updating one
277 if (!$this->scheduleReply($this->server->httpRequest)) {
281 $calendarNode = $this->server->tree->getNodeForPath($calendarPath);
283 $addresses = $this->getAddressesForPrincipal(
288 $node = $this->server->tree->getNodeForPath($request->getPath());
294 $this->processICalendarChange($oldObj, $vCal, $addresses, [], $modified);
306 $this->server->emit('schedule', [$iTipMessage]);
322 * We use this event to make sure that when this happens, attendees get
330 // FIXME: We shouldn't trigger this functionality when we're issuing a
332 if ($this->server->httpRequest->getMethod() === 'MOVE') return;
334 $node = $this->server->tree->getNodeForPath($path);
340 if (!$this->scheduleReply($this->server->httpRequest)) {
344 $addresses = $this->getAddressesForPrincipal(
352 $this->deliver($message);
368 $aclPlugin = $this->server->getPlugin('acl');
384 // Unfortunately we may not have sufficient privileges to find this, so
385 // we are temporarily turning off ACL to let this come through.
387 // Once we support PHP 5.5, this should be wrapped in a try..finally
388 // block so we can ensure that this privilege gets added again after.
389 $this->server->removeListener('propFind', [$aclPlugin, 'propFind']);
391 $result = $this->server->getProperties(
403 $this->server->on('propFind', [$aclPlugin, 'propFind'], 20);
439 $home = $this->server->tree->getNodeForPath($homePath);
440 $inbox = $this->server->tree->getNodeForPath($inboxPath);
450 $objectNode = $this->server->tree->getNodeForPath($objectPath);
473 // Note that we are bypassing ACL on purpose by calling this directly.
474 // We may need to look a bit deeper into this later. Supporting ACL
477 $calendar = $this->server->tree->getNodeForPath($calendarPath);
481 // attendees of this attendees status. Therefore we're shooting off
484 $this->processICalendarChange(
512 * modified by this process.
528 $this->deliver($message);
566 $properties = $this->server->getProperties(
571 // If we can't find this information, we'll stop processing
610 // this is.
632 $acl = $this->server->getPlugin('acl');
637 $this->handleFreeBusyRequest($outboxNode, $vObject, $request, $response);
641 throw new NotImplemented('We only support VFREEBUSY (REQUEST) on this endpoint');
670 $props = $this->server->getProperties($owner, [$uas]);
673 throw new Forbidden('The organizer in the request did not match any of the addresses for the owner of this inbox');
695 $results[] = $this->getFreeBusyForEmail($attendee, $startRange, $endRange, $vObject);
701 foreach ($this->server->xml->namespaceMap as $namespace => $prefix) {
760 $aclPlugin = $this->server->getPlugin('acl');
790 foreach ($this->server->tree->getNodeForPath($homeSet)->getChildren() as $node) {
880 * Providing this information is optional, and is mainly displayed by the
891 'name' => $this->getPluginName(),