diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook.php index 635d9d5d0..8c3b2a129 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook.php @@ -223,7 +223,7 @@ class AddressBook extends \RainLoop\Providers\AbstractProvider { $iCount = 0; - if (\class_exists('SabreForRainLoop\DAV\Client') && $this->IsActive() && \is_string($sVcfData)) + if (\class_exists('Sabre\DAV\Client') && $this->IsActive() && \is_string($sVcfData)) { $sVcfData = \trim($sVcfData); if ("\xef\xbb\xbf" === \substr($sVcfData, 0, 3)) @@ -234,7 +234,7 @@ class AddressBook extends \RainLoop\Providers\AbstractProvider $oVCardSplitter = null; try { - $oVCardSplitter = new \SabreForRainLoop\VObject\Splitter\VCard($sVcfData); + $oVCardSplitter = new \Sabre\VObject\Splitter\VCard($sVcfData); } catch (\Throwable $oExc) { @@ -249,13 +249,13 @@ class AddressBook extends \RainLoop\Providers\AbstractProvider while ($oVCard = $oVCardSplitter->getNext()) { - if ($oVCard instanceof \SabreForRainLoop\VObject\Component\VCard) + if ($oVCard instanceof \Sabre\VObject\Component\VCard) { \MailSo\Base\Utils::ResetTimeLimit(); if (empty($oVCard->UID)) { - $oVCard->UID = \SabreForRainLoop\DAV\UUIDUtil::getUUID(); + $oVCard->UID = \Sabre\DAV\UUIDUtil::getUUID(); } $oContact->PopulateByVCard($oVCard->UID, $oVCard->serialize()); diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/Classes/Contact.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/Classes/Contact.php index 3a564f7ba..72fb82175 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/Classes/Contact.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/Classes/Contact.php @@ -163,8 +163,8 @@ class Contact implements \JsonSerializable public function RegenerateContactStr() : void { - $this->IdContactStr = \class_exists('SabreForRainLoop\DAV\Client') ? - \SabreForRainLoop\DAV\UUIDUtil::getUUID() : \MailSo\Base\Utils::Md5Rand(); + $this->IdContactStr = \class_exists('Sabre\DAV\Client') ? + \Sabre\DAV\UUIDUtil::getUUID() : \MailSo\Base\Utils::Md5Rand(); } public function GetEmails() : array @@ -190,7 +190,7 @@ class Contact implements \JsonSerializable { $this->UpdateDependentValues(); - if (!\class_exists('SabreForRainLoop\DAV\Client')) + if (!\class_exists('Sabre\DAV\Client')) { return ''; } @@ -205,7 +205,7 @@ class Contact implements \JsonSerializable { try { - $oVCard = \SabreForRainLoop\VObject\Reader::read($sPreVCard); + $oVCard = \Sabre\VObject\Reader::read($sPreVCard); } catch (\Throwable $oExc) { @@ -224,7 +224,7 @@ class Contact implements \JsonSerializable if (!$oVCard) { - $oVCard = new \SabreForRainLoop\VObject\Component\VCard(); + $oVCard = new \Sabre\VObject\Component\VCard(); } $oVCard->VERSION = '3.0'; @@ -510,7 +510,7 @@ class Contact implements \JsonSerializable $this->Properties = array(); - if (!\class_exists('SabreForRainLoop\DAV\Client')) + if (!\class_exists('Sabre\DAV\Client')) { return false; } @@ -524,7 +524,7 @@ class Contact implements \JsonSerializable try { - $oVCard = \SabreForRainLoop\VObject\Reader::read($sVCard); + $oVCard = \Sabre\VObject\Reader::read($sVCard); } catch (\Throwable $oExc) { @@ -621,7 +621,7 @@ class Contact implements \JsonSerializable $this->addArrayPropertyHelper($aProperties, $oVCard->TEL, PropertyType::PHONE); } - $sUidValue = $oVCard->UID ? (string) $oVCard->UID : \SabreForRainLoop\DAV\UUIDUtil::getUUID(); + $sUidValue = $oVCard->UID ? (string) $oVCard->UID : \Sabre\DAV\UUIDUtil::getUUID(); $aProperties[] = new Property(PropertyType::UID, $sUidValue); if (empty($this->IdContactStr)) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/PdoAddressBook.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/PdoAddressBook.php index 1fba18443..f8f1aed03 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/PdoAddressBook.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/AddressBook/PdoAddressBook.php @@ -214,7 +214,7 @@ class PdoAddressBook return $aResponse; } - private function detectionPropFind(\SabreForRainLoop\DAV\Client $oClient, string $sPath) : ?array + private function detectionPropFind(\Sabre\DAV\Client $oClient, string $sPath) : ?array { $aResponse = null; @@ -239,7 +239,7 @@ class PdoAddressBook return $aResponse; } - private function getContactsPaths(\SabreForRainLoop\DAV\Client $oClient, string $sUser, string $sPassword, string $sProxy = '') : array + private function getContactsPaths(\Sabre\DAV\Client $oClient, string $sUser, string $sPassword, string $sProxy = '') : array { $aContactsPaths = array(); @@ -285,7 +285,7 @@ class PdoAddressBook if (empty($sNextPath)) { $oResourceType = isset($aItem['{DAV:}resourcetype']) ? $aItem['{DAV:}resourcetype'] : null; - /* @var $oResourceType \SabreForRainLoop\DAV\Property\ResourceType */ + /* @var $oResourceType \Sabre\DAV\Property\ResourceType */ if ($oResourceType && $oResourceType->is('{DAV:}collection')) { $sNextPath = $sKey; @@ -408,7 +408,7 @@ class PdoAddressBook if (!empty($sKey) && $aItem && isset($aItem['{DAV:}resourcetype'])) { $oResourceType = $aItem['{DAV:}resourcetype']; - /* @var $oResourceType \SabreForRainLoop\DAV\Property\ResourceType */ + /* @var $oResourceType \Sabre\DAV\Property\ResourceType */ if ($oResourceType && $oResourceType->is('{DAV:}collection')) { @@ -425,7 +425,7 @@ class PdoAddressBook return $aContactsPaths; } - private function checkContactsPath(\SabreForRainLoop\DAV\Client $oClient, string $sPath) : bool + private function checkContactsPath(\Sabre\DAV\Client $oClient, string $sPath) : bool { if (!$oClient) { @@ -456,7 +456,7 @@ class PdoAddressBook if (!empty($sKey) && isset($aItem['{DAV:}resourcetype'])) { $oResourceType = $aItem['{DAV:}resourcetype']; - /* @var $oResourceType \SabreForRainLoop\DAV\Property\ResourceType */ + /* @var $oResourceType \Sabre\DAV\Property\ResourceType */ if ($oResourceType && $oResourceType->is('{DAV:}collection') && $oResourceType->is('{urn:ietf:params:xml:ns:carddav}addressbook')) @@ -475,7 +475,7 @@ class PdoAddressBook return $bGood; } - public function getDavClientFromUrl(string $sUrl, string $sUser, string $sPassword, string $sProxy = '') : \SabreForRainLoop\DAV\Client + public function getDavClientFromUrl(string $sUrl, string $sUser, string $sPassword, string $sProxy = '') : \Sabre\DAV\Client { if (!\preg_match('/^http[s]?:\/\//i', $sUrl)) { @@ -509,7 +509,7 @@ class PdoAddressBook $aSettings['proxy'] = $sProxy; } - $oClient = new \SabreForRainLoop\DAV\Client($aSettings); + $oClient = new \Sabre\DAV\Client($aSettings); $oClient->setVerifyPeer(false); $oClient->__UrlPath__ = $aUrl['path']; @@ -519,9 +519,9 @@ class PdoAddressBook return $oClient; } - public function getDavClient(string $sUrl, string $sUser, string $sPassword, string $sProxy = '') : ?\SabreForRainLoop\DAV\Client + public function getDavClient(string $sUrl, string $sUser, string $sPassword, string $sProxy = '') : ?\Sabre\DAV\Client { - if (!\class_exists('SabreForRainLoop\DAV\Client')) + if (!\class_exists('Sabre\DAV\Client')) { return null; } diff --git a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Backend/AbstractBackend.php b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Backend/AbstractBackend.php similarity index 91% rename from snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Backend/AbstractBackend.php rename to snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Backend/AbstractBackend.php index eab644076..06fdbd9a9 100644 --- a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Backend/AbstractBackend.php +++ b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Backend/AbstractBackend.php @@ -1,18 +1,18 @@ getCalendarObjects($calendarId); - $validator = new \SabreForRainLoop\CalDAV\CalendarQueryValidator(); + $validator = new \Sabre\CalDAV\CalendarQueryValidator(); foreach($objects as $object) { diff --git a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Backend/BackendInterface.php b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Backend/BackendInterface.php similarity index 96% rename from snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Backend/BackendInterface.php rename to snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Backend/BackendInterface.php index ddfe5d8c0..e2a034240 100644 --- a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Backend/BackendInterface.php +++ b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Backend/BackendInterface.php @@ -1,13 +1,13 @@ getValue()); } @@ -255,16 +255,16 @@ class PDO extends AbstractBackend { break; default : // Checking the property map - if (!isset($this->propertyMap[$propertyName])) { + if (isset($this->propertyMap[$propertyName])) { // We don't know about this property. $hasError = true; $result[403][$propertyName] = null; unset($mutations[$propertyName]); - break; - } + } else { - $fieldName = $this->propertyMap[$propertyName]; - $newValues[$fieldName] = $propertyValue; + $fieldName = $this->propertyMap[$propertyName]; + $newValues[$fieldName] = $propertyValue; + } } } @@ -497,7 +497,7 @@ class PDO extends AbstractBackend { } } if (!$componentType) { - throw new \SabreForRainLoop\DAV\Exception\BadRequest('Calendar objects must have a VJOURNAL, VEVENT or VTODO component'); + throw new \Sabre\DAV\Exception\BadRequest('Calendar objects must have a VJOURNAL, VEVENT or VTODO component'); } if ($componentType === 'VEVENT') { $firstOccurence = $component->DTSTART->getDateTime()->getTimeStamp(); @@ -572,7 +572,7 @@ class PDO extends AbstractBackend { * query. * * The list of filters are specified as an array. The exact array is - * documented by \SabreForRainLoop\CalDAV\CalendarQueryParser. + * documented by \Sabre\CalDAV\CalendarQueryParser. * * Note that it is extremely likely that getCalendarObject for every path * returned from this method will be called almost immediately after. You @@ -601,7 +601,7 @@ class PDO extends AbstractBackend { * time-range filter specified on a VEVENT must for instance also handle * recurrence rules correctly. * A good example of how to interprete all these filters can also simply - * be found in \SabreForRainLoop\CalDAV\CalendarQueryFilter. This class is as correct + * be found in \Sabre\CalDAV\CalendarQueryFilter. This class is as correct * as possible, so it gives you a good idea on what type of stuff you need * to think of. * @@ -615,7 +615,7 @@ class PDO extends AbstractBackend { public function calendarQuery($calendarId, array $filters) { $result = array(); - $validator = new \SabreForRainLoop\CalDAV\CalendarQueryValidator(); + $validator = new \Sabre\CalDAV\CalendarQueryValidator(); $componentType = null; $requirePostFilter = true; diff --git a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Backend/SharingSupport.php b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Backend/SharingSupport.php similarity index 94% rename from snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Backend/SharingSupport.php rename to snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Backend/SharingSupport.php index 3bfcc145d..2d1e3662e 100644 --- a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Backend/SharingSupport.php +++ b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Backend/SharingSupport.php @@ -1,6 +1,6 @@ xpath->query('/cal:calendar-query/cal:filter'); if ($filter->length !== 1) { - throw new \SabreForRainLoop\DAV\Exception\BadRequest('Only one filter element is allowed'); + throw new \Sabre\DAV\Exception\BadRequest('Only one filter element is allowed'); } $compFilters = $this->parseCompFilters($filter->item(0)); if (count($compFilters)!==1) { - throw new \SabreForRainLoop\DAV\Exception\BadRequest('There must be exactly 1 top-level comp-filter.'); + throw new \Sabre\DAV\Exception\BadRequest('There must be exactly 1 top-level comp-filter.'); } $this->filters = $compFilters[0]; - $this->requestedProperties = array_keys(\SabreForRainLoop\DAV\XMLUtil::parseProperties($this->dom->firstChild)); + $this->requestedProperties = array_keys(\Sabre\DAV\XMLUtil::parseProperties($this->dom->firstChild)); $expand = $this->xpath->query('/cal:calendar-query/dav:prop/cal:calendar-data/cal:expand'); if ($expand->length>0) { @@ -132,7 +132,7 @@ class CalendarQueryParser { 'VFREEBUSY', 'VALARM', ))) { - throw new \SabreForRainLoop\DAV\Exception\BadRequest('The time-range filter is not defined for the ' . $compFilter['name'] . ' component'); + throw new \Sabre\DAV\Exception\BadRequest('The time-range filter is not defined for the ' . $compFilter['name'] . ' component'); }; $result[] = $compFilter; @@ -253,7 +253,7 @@ class CalendarQueryParser { } if (!is_null($start) && !is_null($end) && $end <= $start) { - throw new \SabreForRainLoop\DAV\Exception\BadRequest('The end-date must be larger than the start-date in the time-range filter'); + throw new \Sabre\DAV\Exception\BadRequest('The end-date must be larger than the start-date in the time-range filter'); } return array( @@ -273,19 +273,19 @@ class CalendarQueryParser { $start = $parentNode->getAttribute('start'); if(!$start) { - throw new \SabreForRainLoop\DAV\Exception\BadRequest('The "start" attribute is required for the CALDAV:expand element'); + throw new \Sabre\DAV\Exception\BadRequest('The "start" attribute is required for the CALDAV:expand element'); } $start = VObject\DateTimeParser::parseDateTime($start); $end = $parentNode->getAttribute('end'); if(!$end) { - throw new \SabreForRainLoop\DAV\Exception\BadRequest('The "end" attribute is required for the CALDAV:expand element'); + throw new \Sabre\DAV\Exception\BadRequest('The "end" attribute is required for the CALDAV:expand element'); } $end = VObject\DateTimeParser::parseDateTime($end); if ($end <= $start) { - throw new \SabreForRainLoop\DAV\Exception\BadRequest('The end-date must be larger than the start-date in the expand element.'); + throw new \Sabre\DAV\Exception\BadRequest('The end-date must be larger than the start-date in the expand element.'); } return array( diff --git a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/CalendarQueryValidator.php b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/CalendarQueryValidator.php similarity index 94% rename from snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/CalendarQueryValidator.php rename to snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/CalendarQueryValidator.php index 4537d3bf5..c9cb46338 100644 --- a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/CalendarQueryValidator.php +++ b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/CalendarQueryValidator.php @@ -1,8 +1,8 @@ name . ' components'); + throw new \Sabre\DAV\Exception\NotImplemented('time-range filters are currently not supported on ' . $component->name . ' components'); case 'COMPLETED' : case 'CREATED' : @@ -383,7 +383,7 @@ class CalendarQueryValidator { default : - throw new \SabreForRainLoop\DAV\Exception\BadRequest('You cannot create a time-range filter on a ' . $component->name . ' component'); + throw new \Sabre\DAV\Exception\BadRequest('You cannot create a time-range filter on a ' . $component->name . ' component'); } diff --git a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/CalendarRootNode.php b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/CalendarRootNode.php similarity index 78% rename from snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/CalendarRootNode.php rename to snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/CalendarRootNode.php index 69e01b1a4..905155a60 100644 --- a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/CalendarRootNode.php +++ b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/CalendarRootNode.php @@ -1,8 +1,8 @@ xmlNamespaces[self::NS_CALDAV] = 'cal'; $server->xmlNamespaces[self::NS_CALENDARSERVER] = 'cs'; - $server->propertyMap['{' . self::NS_CALDAV . '}supported-calendar-component-set'] = 'SabreForRainLoop\\CalDAV\\Property\\SupportedCalendarComponentSet'; - $server->propertyMap['{' . self::NS_CALDAV . '}schedule-calendar-transp'] = 'SabreForRainLoop\\CalDAV\\Property\\ScheduleCalendarTransp'; + $server->propertyMap['{' . self::NS_CALDAV . '}supported-calendar-component-set'] = 'Sabre\\CalDAV\\Property\\SupportedCalendarComponentSet'; + $server->propertyMap['{' . self::NS_CALDAV . '}schedule-calendar-transp'] = 'Sabre\\CalDAV\\Property\\ScheduleCalendarTransp'; - $server->resourceTypeMapping['\\SabreForRainLoop\\CalDAV\\ICalendar'] = '{urn:ietf:params:xml:ns:caldav}calendar'; - $server->resourceTypeMapping['\\SabreForRainLoop\\CalDAV\\Schedule\\IOutbox'] = '{urn:ietf:params:xml:ns:caldav}schedule-outbox'; - $server->resourceTypeMapping['\\SabreForRainLoop\\CalDAV\\Principal\\IProxyRead'] = '{http://calendarserver.org/ns/}calendar-proxy-read'; - $server->resourceTypeMapping['\\SabreForRainLoop\\CalDAV\\Principal\\IProxyWrite'] = '{http://calendarserver.org/ns/}calendar-proxy-write'; - $server->resourceTypeMapping['\\SabreForRainLoop\\CalDAV\\Notifications\\ICollection'] = '{' . self::NS_CALENDARSERVER . '}notification'; + $server->resourceTypeMapping['\\Sabre\\CalDAV\\ICalendar'] = '{urn:ietf:params:xml:ns:caldav}calendar'; + $server->resourceTypeMapping['\\Sabre\\CalDAV\\Schedule\\IOutbox'] = '{urn:ietf:params:xml:ns:caldav}schedule-outbox'; + $server->resourceTypeMapping['\\Sabre\\CalDAV\\Principal\\IProxyRead'] = '{http://calendarserver.org/ns/}calendar-proxy-read'; + $server->resourceTypeMapping['\\Sabre\\CalDAV\\Principal\\IProxyWrite'] = '{http://calendarserver.org/ns/}calendar-proxy-write'; + $server->resourceTypeMapping['\\Sabre\\CalDAV\\Notifications\\ICollection'] = '{' . self::NS_CALENDARSERVER . '}notification'; array_push($server->protectedProperties, @@ -286,7 +286,7 @@ class Plugin extends DAV\ServerPlugin { // for clients matching iCal in the user agent //$ua = $this->server->httpRequest->getHeader('User-Agent'); //if (strpos($ua,'iCal/')!==false) { - // throw new \SabreForRainLoop\DAV\Exception\Forbidden('iCal has major bugs in it\'s RFC3744 support. Therefore we are left with no other choice but disabling this feature.'); + // throw new \Sabre\DAV\Exception\Forbidden('iCal has major bugs in it\'s RFC3744 support. Therefore we are left with no other choice but disabling this feature.'); //} $body = $this->server->httpRequest->getBody(true); diff --git a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Principal/Collection.php b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Principal/Collection.php similarity index 75% rename from snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Principal/Collection.php rename to snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Principal/Collection.php index e4559c878..8de530bcb 100644 --- a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/Principal/Collection.php +++ b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/Principal/Collection.php @@ -1,7 +1,7 @@ server = $server; - $server->resourceTypeMapping['SabreForRainLoop\\CalDAV\\ISharedCalendar'] = '{' . Plugin::NS_CALENDARSERVER . '}shared'; + $server->resourceTypeMapping['Sabre\\CalDAV\\ISharedCalendar'] = '{' . Plugin::NS_CALENDARSERVER . '}shared'; array_push( $this->server->protectedProperties, diff --git a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/UserCalendars.php b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/UserCalendars.php similarity index 95% rename from snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/UserCalendars.php rename to snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/UserCalendars.php index 17f7956f0..e2bc36f36 100644 --- a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CalDAV/UserCalendars.php +++ b/snappymail/v/0.0.0/app/libraries/Sabre/CalDAV/UserCalendars.php @@ -1,23 +1,23 @@ xmlNamespaces[self::NS_CARDDAV] = 'card'; /* Mapping Interfaces to {DAV:}resourcetype values */ - $server->resourceTypeMapping['SabreForRainLoop\\CardDAV\\IAddressBook'] = '{' . self::NS_CARDDAV . '}addressbook'; - $server->resourceTypeMapping['SabreForRainLoop\\CardDAV\\IDirectory'] = '{' . self::NS_CARDDAV . '}directory'; + $server->resourceTypeMapping['Sabre\\CardDAV\\IAddressBook'] = '{' . self::NS_CARDDAV . '}addressbook'; + $server->resourceTypeMapping['Sabre\\CardDAV\\IDirectory'] = '{' . self::NS_CARDDAV . '}directory'; /* Adding properties that may never be changed */ $server->protectedProperties[] = '{' . self::NS_CARDDAV . '}supported-address-data'; @@ -73,7 +73,7 @@ class Plugin extends DAV\ServerPlugin { $server->protectedProperties[] = '{' . self::NS_CARDDAV . '}addressbook-home-set'; $server->protectedProperties[] = '{' . self::NS_CARDDAV . '}supported-collation-set'; - $server->propertyMap['{http://calendarserver.org/ns/}me-card'] = 'SabreForRainLoop\\DAV\\Property\\Href'; + $server->propertyMap['{http://calendarserver.org/ns/}me-card'] = 'Sabre\\DAV\\Property\\Href'; $this->server = $server; @@ -654,7 +654,7 @@ class Plugin extends DAV\ServerPlugin { /** * This method is used to generate HTML output for the - * SabreForRainLoop\DAV\Browser\Plugin. This allows us to generate an interface users + * Sabre\DAV\Browser\Plugin. This allows us to generate an interface users * can use to create new calendars. * * @param DAV\INode $node diff --git a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CardDAV/Property/SupportedAddressData.php b/snappymail/v/0.0.0/app/libraries/Sabre/CardDAV/Property/SupportedAddressData.php similarity index 87% rename from snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CardDAV/Property/SupportedAddressData.php rename to snappymail/v/0.0.0/app/libraries/Sabre/CardDAV/Property/SupportedAddressData.php index 084c06f32..39433234a 100644 --- a/snappymail/v/0.0.0/app/libraries/SabreForRainLoop/CardDAV/Property/SupportedAddressData.php +++ b/snappymail/v/0.0.0/app/libraries/Sabre/CardDAV/Property/SupportedAddressData.php @@ -1,9 +1,9 @@ 'icons/file', - 'SabreForRainLoop\\DAV\\ICollection' => 'icons/collection', - 'SabreForRainLoop\\DAVACL\\IPrincipal' => 'icons/principal', - 'SabreForRainLoop\\CalDAV\\ICalendar' => 'icons/calendar', - 'SabreForRainLoop\\CardDAV\\IAddressBook' => 'icons/addressbook', - 'SabreForRainLoop\\CardDAV\\ICard' => 'icons/card', + 'Sabre\\DAV\\IFile' => 'icons/file', + 'Sabre\\DAV\\ICollection' => 'icons/collection', + 'Sabre\\DAVACL\\IPrincipal' => 'icons/principal', + 'Sabre\\CalDAV\\ICalendar' => 'icons/calendar', + 'Sabre\\CardDAV\\IAddressBook' => 'icons/addressbook', + 'Sabre\\CardDAV\\ICard' => 'icons/card', ); /** @@ -49,7 +49,7 @@ class Plugin extends DAV\ServerPlugin { /** * reference to server class * - * @var SabreForRainLoop\DAV\Server + * @var Sabre\DAV\Server */ protected $server; @@ -374,7 +374,7 @@ class Plugin extends DAV\ServerPlugin { $html.=$output; $html.= " -
Generated by SabreDAV " . $version . " (c)2007-2013 http://code.google.com/p/sabredav/ + Generated by SabreDAV " . $version . " (c)2007-2015 http://sabre.io/