Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/dav/appinfo/v1/publicwebdav.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
$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();
}
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/CalDavBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -1584,7 +1584,7 @@ public function restoreCalendarObject(array $objectData): void {
* 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.
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/CalendarImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function getPermissions() {
* 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
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function getValue() {
}

/**
* 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.
*
Expand Down
4 changes: 2 additions & 2 deletions apps/dav/lib/CalDAV/Schedule/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function scheduleLocalDelivery(ITip\Message $iTipMessage):void {

// 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');
Expand Down Expand Up @@ -567,7 +567,7 @@ private function isAvailableAtTime(string $email, \DateTimeInterface $start, \Da
}

// 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;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/CardDAV/CardDavBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ public function deleteAddressBook($addressBookId) {
* * 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
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/ChecksumList.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function __construct(string $checksum) {
}

/**
* 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.
*
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/ShareTypeList.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static function xmlDeserialize(Reader $reader) {
}

/**
* The xmlSerialize metod is called during xml writing.
* The xmlSerialize method is called during xml writing.
*
* @param Writer $writer
* @return void
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/ShareeList.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct(array $shares) {
}

/**
* The xmlSerialize metod is called during xml writing.
* The xmlSerialize method is called during xml writing.
*
* @param Writer $writer
* @return void
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/Connector/Sabre/TagList.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static function xmlDeserialize(Reader $reader) {
}

/**
* 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.
*
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/DAV/Sharing/Xml/Invite.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function getValue() {
}

/**
* 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.
*
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/DAV/SystemPrincipalBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function getPrincipalByPath($path) {
}

/**
* 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
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/Direct/DirectHome.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function getChild($name): DirectFile {

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');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ public function testGetName():void {
$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());

Expand All @@ -57,7 +57,7 @@ public function testSetName():void {
}

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());

Expand Down
2 changes: 1 addition & 1 deletion apps/dav/tests/unit/Connector/Sabre/FileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function ($path) use ($storage) {
* @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();
Expand Down