Fix typos in apps/dav subdirectory

Found via `codespell -q 3 -S l10n -L jus ./apps/dav`

Signed-off-by: luz paz <luzpaz@github.com>
This commit is contained in:
luz paz 2022-07-26 17:21:57 -04:00
parent 9746229558
commit d4637ef4d8
18 changed files with 21 additions and 21 deletions

View File

@ -98,7 +98,7 @@ $server = $serverFactory->createServer($baseuri, $requestUri, $authPlugin, funct
$fileInfo = $ownerView->getFileInfo($path);
$linkCheckPlugin->setFileInfo($fileInfo);
// If not readble (files_drop) enable the filesdrop plugin
// If not readable (files_drop) enable the filesdrop plugin
if (!$isReadable) {
$filesDropPlugin->enable();
}

View File

@ -1584,7 +1584,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
* Note that especially time-range-filters may be difficult to parse. A
* 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
* A good example of how to interpret all these filters can also simply
* 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.

View File

@ -138,7 +138,7 @@ class CalendarImpl implements ICreateFromString {
* Create a new calendar event for this calendar
* by way of an ICS string
*
* @param string $name the file name - needs to contan the .ics ending
* @param string $name the file name - needs to contain the .ics ending
* @param string $calendarData a string containing a valid VEVENT ics
*
* @throws CalendarException

View File

@ -55,7 +55,7 @@ class Publisher implements XmlSerializable {
}
/**
* The xmlSerialize metod is called during xml writing.
* The xmlSerialize method is called during xml writing.
*
* Use the $writer argument to write its own xml serialization.
*

View File

@ -179,7 +179,7 @@ class Plugin extends \Sabre\CalDAV\Schedule\Plugin {
// If parent::scheduleLocalDelivery set scheduleStatus to 1.2,
// it means that it was successfully delivered locally.
// Meaning that the ACL plugin is loaded and that a principial
// Meaning that the ACL plugin is loaded and that a principal
// exists for the given recipient id, no need to double check
/** @var \Sabre\DAVACL\Plugin $aclPlugin */
$aclPlugin = $this->server->getPlugin('acl');
@ -567,7 +567,7 @@ EOF;
}
// If more than one Free-Busy property was returned, it means that an event
// starts or ends inside this time-range, so it's not availabe and we return false
// starts or ends inside this time-range, so it's not available and we return false
if (count($freeBusyProperties) > 1) {
return false;
}

View File

@ -486,7 +486,7 @@ class CardDavBackend implements BackendInterface, SyncSupport {
* * size - The size of the card in bytes.
*
* If these last two properties are provided, less time will be spent
* calculating them. If they are specified, you can also ommit carddata.
* calculating them. If they are specified, you can also omit carddata.
* This may speed up certain requests, especially with large cards.
*
* @param mixed $addressbookId

View File

@ -42,7 +42,7 @@ class ChecksumList implements XmlSerializable {
}
/**
* The xmlSerialize metod is called during xml writing.
* The xmlSerialize method is called during xml writing.
*
* Use the $writer argument to write its own xml serialization.
*

View File

@ -79,7 +79,7 @@ class ShareTypeList implements Element {
}
/**
* The xmlSerialize metod is called during xml writing.
* The xmlSerialize method is called during xml writing.
*
* @param Writer $writer
* @return void

View File

@ -45,7 +45,7 @@ class ShareeList implements XmlSerializable {
}
/**
* The xmlSerialize metod is called during xml writing.
* The xmlSerialize method is called during xml writing.
*
* @param Writer $writer
* @return void

View File

@ -95,7 +95,7 @@ class TagList implements Element {
}
/**
* The xmlSerialize metod is called during xml writing.
* The xmlSerialize method is called during xml writing.
*
* Use the $writer argument to write its own xml serialization.
*

View File

@ -100,7 +100,7 @@ class Invite implements XmlSerializable {
}
/**
* The xmlSerialize metod is called during xml writing.
* The xmlSerialize method is called during xml writing.
*
* Use the $writer argument to write its own xml serialization.
*

View File

@ -87,7 +87,7 @@ class SystemPrincipalBackend extends AbstractBackend {
}
/**
* Updates one ore more webdav properties on a principal.
* Updates one or more webdav properties on a principal.
*
* The list of mutations is stored in a Sabre\DAV\PropPatch object.
* To do the actual updates, you must tell this object which properties

View File

@ -91,7 +91,7 @@ class DirectHome implements ICollection {
return new DirectFile($direct, $this->rootFolder, $this->eventDispatcher);
} catch (DoesNotExistException $e) {
// Since the token space is so huge only throttle on non exsisting token
// Since the token space is so huge only throttle on non-existing token
$this->throttler->registerAttempt('directlink', $this->request->getRemoteAddress());
$this->throttler->sleepDelay($this->request->getRemoteAddress(), 'directlink');

View File

@ -183,7 +183,7 @@
<value>$root:principals/</value>
</substitution>
<!-- the core recored type collections-->
<!-- the core record type collections-->
<substitution>
<key>$uidstype:</key>
<value>__uids__</value>

View File

@ -183,7 +183,7 @@
<value>$root:principals/</value>
</substitution>
<!-- the core recored type collections-->
<!-- the core record type collections-->
<substitution>
<key>$uidstype:</key>
<value>__uids__</value>

View File

@ -183,7 +183,7 @@
<value>$root:principals/</value>
</substitution>
<!-- the core recored type collections-->
<!-- the core record type collections-->
<substitution>
<key>$uidstype:</key>
<value>__uids__</value>

View File

@ -40,13 +40,13 @@ class ExternalCalendarTest extends TestCase {
$this->assertEquals('app-generated--example-app-id--calendar-uri-in-backend',
$this->abstractExternalCalendar->getName());
// Check that the method is final and can't be overriden by other classes
// Check that the method is final and can't be overridden by other classes
$reflectionMethod = new \ReflectionMethod(ExternalCalendar::class, 'getName');
$this->assertTrue($reflectionMethod->isFinal());
}
public function testSetName():void {
// Check that the method is final and can't be overriden by other classes
// Check that the method is final and can't be overridden by other classes
$reflectionMethod = new \ReflectionMethod(ExternalCalendar::class, 'setName');
$this->assertTrue($reflectionMethod->isFinal());
@ -57,7 +57,7 @@ class ExternalCalendarTest extends TestCase {
}
public function createDirectory():void {
// Check that the method is final and can't be overriden by other classes
// Check that the method is final and can't be overridden by other classes
$reflectionMethod = new \ReflectionMethod(ExternalCalendar::class, 'createDirectory');
$this->assertTrue($reflectionMethod->isFinal());

View File

@ -316,7 +316,7 @@ class FileTest extends TestCase {
* @param string $viewRoot root to use for the view
* @param null|Request $request the HTTP request
*
* @return null|string of the PUT operaiton which is usually the etag
* @return null|string of the PUT operation which is usually the etag
*/
private function doPut($path, $viewRoot = null, Request $request = null) {
$view = \OC\Files\Filesystem::getView();