diff --git a/apps/dav/lib/AppInfo/PluginManager.php b/apps/dav/lib/AppInfo/PluginManager.php index 37d0356755873..99160e6a5fd78 100644 --- a/apps/dav/lib/AppInfo/PluginManager.php +++ b/apps/dav/lib/AppInfo/PluginManager.php @@ -63,7 +63,7 @@ class PluginManager { private $populated = false; /** - * Contstruct a PluginManager + * Construct a PluginManager * * @param ServerContainer $container server container for resolving plugin classes * @param IAppManager $appManager app manager to loading apps and their info diff --git a/apps/dav/lib/CalDAV/EventReader.php b/apps/dav/lib/CalDAV/EventReader.php index 3414a8a84d880..3e9271c80e6e4 100644 --- a/apps/dav/lib/CalDAV/EventReader.php +++ b/apps/dav/lib/CalDAV/EventReader.php @@ -50,7 +50,7 @@ class EventReader { ]; /** - * Initilizes the Event Reader + * Initializes the Event Reader * * There is several ways to set up the iterator. * @@ -415,7 +415,7 @@ public function recurringConcludesOn(): ?DateTime { // retrieve rrule conclusion date $rrule = $this->rruleIterator->concludes(); // evaluate if rrule conclusion is null - // if this is null that means the recurrence is infinate + // if this is null that means the recurrence is infinite if ($rrule === null) { return null; } @@ -465,7 +465,7 @@ public function recurringDaysOfWeek(): array { public function recurringDaysOfWeekNamed(): array { // evaluate if RRULE exists and extract day(s) of the week $days = $this->rruleIterator !== null ? $this->rruleIterator->daysOfWeek() : []; - // convert numberic month to month name + // convert numeric month to month name foreach ($days as $key => $value) { $days[$key] = $this->dayNamesMap[$value]; } @@ -531,7 +531,7 @@ public function recurringWeeksOfMonth(): array { public function recurringWeeksOfMonthNamed(): array { // evaluate if RRULE exists and extract relative position(s) $positions = $this->rruleIterator?->isRelative() ? $this->rruleIterator->relativePosition() : []; - // convert numberic relative position to relative label + // convert numeric relative position to relative label foreach ($positions as $key => $value) { $positions[$key] = $this->relativePositionNamesMap[$value]; } @@ -582,7 +582,7 @@ public function recurringMonthsOfYear(): array { public function recurringMonthsOfYearNamed(): array { // evaluate if RRULE exists and extract month(s) of the year $months = $this->rruleIterator !== null ? $this->rruleIterator->monthsOfYear() : []; - // convert numberic month to month name + // convert numeric month to month name foreach ($months as $key => $value) { $months[$key] = $this->monthNamesMap[$value]; } @@ -618,7 +618,7 @@ public function recurringRelativePosition(): array { public function recurringRelativePositionNamed(): array { // evaluate if RRULE exists and extract relative position(s) $positions = $this->rruleIterator?->isRelative() ? $this->rruleIterator->relativePosition() : []; - // convert numberic relative position to relative label + // convert numeric relative position to relative label foreach ($positions as $key => $value) { $positions[$key] = $this->relativePositionNamesMap[$value]; } diff --git a/apps/dav/lib/CalDAV/EventReaderRRule.php b/apps/dav/lib/CalDAV/EventReaderRRule.php index d2b4968c47940..66b94b5f7ab8f 100644 --- a/apps/dav/lib/CalDAV/EventReaderRRule.php +++ b/apps/dav/lib/CalDAV/EventReaderRRule.php @@ -36,7 +36,7 @@ public function concludes(): ?DateTime { while ($this->counter <= ($this->count - 2)) { $this->next(); } - // temporarly store last reccurance date + // temporary store last reccurance date $lastReccuranceDate = $this->currentDate; // restore current recurrence date and counter $this->currentDate = $currentReccuranceDate; diff --git a/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php b/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php index 651b0fa6101d1..7853be6a3266d 100644 --- a/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php +++ b/apps/dav/lib/CalDAV/Publishing/Xml/Publisher.php @@ -41,7 +41,7 @@ public function getValue() { * The parent of the current element is responsible for writing a * containing element. * - * This allows serializers to be re-used for different element names. + * This allows serializers to be reused for different element names. * * If you are opening new elements, you must also close them again. * diff --git a/apps/dav/lib/CalDAV/Schedule/IMipService.php b/apps/dav/lib/CalDAV/Schedule/IMipService.php index 1283336d23c98..ac3f670a18a1b 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipService.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipService.php @@ -620,7 +620,7 @@ public function generateWhenStringRecurringMonthly(EventReader $er): string { // generate localized when string // TRANSLATORS // Indicates when a calendar event will happen, shown on invitation emails - // Output produced in order, output varies depending on if the event is absolute or releative: + // Output produced in order, output varies depending on if the event is absolute or relative: // Absolute: Every Month on the 1, 8 for the entire day // Relative: Every Month on the First Sunday, Saturday for the entire day // Absolute: Every Month on the 1, 8 for the entire day until December 31, 2024 @@ -693,7 +693,7 @@ public function generateWhenStringRecurringYearly(EventReader $er): string { // generate localized when string // TRANSLATORS // Indicates when a calendar event will happen, shown on invitation emails - // Output produced in order, output varies depending on if the event is absolute or releative: + // Output produced in order, output varies depending on if the event is absolute or relative: // Absolute: Every Year in July on the 1st for the entire day // Relative: Every Year in July on the First Sunday, Saturday for the entire day // Absolute: Every Year in July on the 1st for the entire day until July 31, 2026 diff --git a/apps/dav/lib/CalDAV/Status/StatusService.php b/apps/dav/lib/CalDAV/Status/StatusService.php index 74481394b5b5a..0f34bff0c71a2 100644 --- a/apps/dav/lib/CalDAV/Status/StatusService.php +++ b/apps/dav/lib/CalDAV/Status/StatusService.php @@ -132,7 +132,7 @@ public function processCalendarStatus(string $userId): void { return; } - // Only update the status if it's neccesary otherwise we mess up the timestamp + // Only update the status if it's necessary otherwise we mess up the timestamp if ($currentStatus === null || $currentStatus->getMessageId() !== IUserStatus::MESSAGE_CALENDAR_BUSY) { // One event that fulfills all status conditions is enough // 1. Not an OOO event diff --git a/apps/dav/lib/Comments/CommentNode.php b/apps/dav/lib/Comments/CommentNode.php index 5f957ec656b7b..5ec28ef722108 100644 --- a/apps/dav/lib/Comments/CommentNode.php +++ b/apps/dav/lib/Comments/CommentNode.php @@ -75,7 +75,7 @@ public static function getPropertyNames() { '{http://owncloud.org/ns}latestChildDateTime', '{http://owncloud.org/ns}objectType', '{http://owncloud.org/ns}objectId', - // re-used property names are defined as constants + // reused property names are defined as constants self::PROPERTY_NAME_MESSAGE, self::PROPERTY_NAME_ACTOR_DISPLAYNAME, self::PROPERTY_NAME_UNREAD, diff --git a/apps/dav/lib/Connector/Sabre/ChecksumList.php b/apps/dav/lib/Connector/Sabre/ChecksumList.php index 9d25d370afa55..19886f78fbccd 100644 --- a/apps/dav/lib/Connector/Sabre/ChecksumList.php +++ b/apps/dav/lib/Connector/Sabre/ChecksumList.php @@ -39,7 +39,7 @@ public function __construct(string $checksum) { * The parent of the current element is responsible for writing a * containing element. * - * This allows serializers to be re-used for different element names. + * This allows serializers to be reused for different element names. * * If you are opening new elements, you must also close them again. * diff --git a/apps/dav/lib/Connector/Sabre/Directory.php b/apps/dav/lib/Connector/Sabre/Directory.php index 20c1fade100cf..b7e0ff54d43ea 100644 --- a/apps/dav/lib/Connector/Sabre/Directory.php +++ b/apps/dav/lib/Connector/Sabre/Directory.php @@ -372,7 +372,7 @@ public function getQuotaInfo() { /** * Moves a node into this collection. * - * It is up to the implementors to: + * It is up to the implementers to: * 1. Create the new resource. * 2. Remove the old resource. * 3. Transfer any properties or other data. diff --git a/apps/dav/lib/Connector/Sabre/File.php b/apps/dav/lib/Connector/Sabre/File.php index be396d5c14945..f59595fe3647c 100644 --- a/apps/dav/lib/Connector/Sabre/File.php +++ b/apps/dav/lib/Connector/Sabre/File.php @@ -417,7 +417,7 @@ private function getPartFileBasePath($path) { return substr($path, 0, strlen($path) - strlen($filename)) . $hashedFilename; } else { // will place the .part file in the users root directory - // therefor we need to make the name (semi) unique - hash does not need to be secure but fast. + // therefore we need to make the name (semi) unique - hash does not need to be secure but fast. return hash('xxh128', $path); } } diff --git a/apps/dav/lib/Connector/Sabre/Node.php b/apps/dav/lib/Connector/Sabre/Node.php index 5bbe1990117a8..eca9240207f4a 100644 --- a/apps/dav/lib/Connector/Sabre/Node.php +++ b/apps/dav/lib/Connector/Sabre/Node.php @@ -334,7 +334,7 @@ public function getDavPermissions(): string { } /** - * Returns the DAV Permissions with share and mount infromation stripped. + * Returns the DAV Permissions with share and mount information stripped. */ public function getPublicDavPermissions(): string { return str_replace(['S', 'M'], '', $this->getDavPermissions()); diff --git a/apps/dav/lib/Connector/Sabre/TagList.php b/apps/dav/lib/Connector/Sabre/TagList.php index bd239370e3648..1a39403b90f0d 100644 --- a/apps/dav/lib/Connector/Sabre/TagList.php +++ b/apps/dav/lib/Connector/Sabre/TagList.php @@ -89,7 +89,7 @@ public static function xmlDeserialize(Reader $reader) { * The parent of the current element is responsible for writing a * containing element. * - * This allows serializers to be re-used for different element names. + * This allows serializers to be reused for different element names. * * If you are opening new elements, you must also close them again. * diff --git a/apps/dav/lib/DAV/Sharing/Xml/Invite.php b/apps/dav/lib/DAV/Sharing/Xml/Invite.php index 588e92844183d..bbfdcc31e4fdd 100644 --- a/apps/dav/lib/DAV/Sharing/Xml/Invite.php +++ b/apps/dav/lib/DAV/Sharing/Xml/Invite.php @@ -87,7 +87,7 @@ public function getValue() { * The parent of the current element is responsible for writing a * containing element. * - * This allows serializers to be re-used for different element names. + * This allows serializers to be reused for different element names. * * If you are opening new elements, you must also close them again. * diff --git a/apps/dav/src/components/AbsenceForm.spec.js b/apps/dav/src/components/AbsenceForm.spec.js index 23ddd74d576c0..439e60b5692c5 100644 --- a/apps/dav/src/components/AbsenceForm.spec.js +++ b/apps/dav/src/components/AbsenceForm.spec.js @@ -29,12 +29,12 @@ afterEach(() => { }) function getInputs(wrapper) { - const lables = wrapper.findAll('label') + const labels = wrapper.findAll('label') - const firstDayLabel = lables.find((l) => l.text() === 'First day') + const firstDayLabel = labels.find((l) => l.text() === 'First day') const firstDayInput = wrapper.get(`#${firstDayLabel.attributes('for')}`) - const lastDayLabel = lables.find((l) => l.text() === 'Last day (inclusive)') + const lastDayLabel = labels.find((l) => l.text() === 'Last day (inclusive)') const lastDayInput = wrapper.get(`#${lastDayLabel.attributes('for')}`) return { firstDayInput, lastDayInput } diff --git a/core/Command/Background/JobWorker.php b/core/Command/Background/JobWorker.php index ad30e3e9f7bf2..c543565ff3cf2 100644 --- a/core/Command/Background/JobWorker.php +++ b/core/Command/Background/JobWorker.php @@ -143,7 +143,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $job->start($this->jobList); $timeSpent = microtime(true) - $jobStartTime; $jobMemoryPeak = memory_get_peak_usage(); - // TODO Job failure will never be catched here because exceptions are catched within $job->start method + // TODO Job failure will never be caught here because exceptions are caught within $job->start method // The error will only be visible in server logs. // It should be a temporary state until a proper job runner is implemented. $this->jobRuns->finished($jobRunId, (int)($timeSpent * 1000), (int)($jobMemoryPeak / 1024)); diff --git a/core/css/apps.scss b/core/css/apps.scss index 671faddf7244d..09cc5036908d1 100644 --- a/core/css/apps.scss +++ b/core/css/apps.scss @@ -384,7 +384,7 @@ kbd { } } - /* popover fix the flex positionning of the li parent */ + /* popover fix the flex positioning of the li parent */ > .app-navigation-entry-menu { top: var(--default-clickable-area); } @@ -571,7 +571,7 @@ kbd { height: 38px; &:hover, &:focus { - /* overlapp borders */ + /* overlap borders */ z-index: 1; } } @@ -779,7 +779,7 @@ $min-content-width: variables.$breakpoint-mobile - variables.$navigation-width - /* APP-SIDEBAR ------------------------------------------------------------ */ /* Sidebar: a sidebar to be used within #content - #app-content will be shrinked properly + #app-content will be shrunk properly */ #app-sidebar { width: 27vw; diff --git a/core/css/header.scss b/core/css/header.scss index 255d51bf9e81b..8e5e3f6f86dc9 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -185,7 +185,7 @@ padding-inline-end: 5px; overflow: hidden; text-overflow: ellipsis; - // Take full width to push the header-shared-by bellow (if any) + // Take full width to push the header-shared-by below (if any) flex: 1 1 100%; // container for the public template header information diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 4ab2fea6cc354..bac6b5a2f4831 100644 --- a/core/src/OC/dialogs.js +++ b/core/src/OC/dialogs.js @@ -208,7 +208,7 @@ const Dialogs = { * @param {boolean} [_modal] do not use * @param {string} [type] Type of file picker : Choose, copy, move, copy and move * @param {string} [path] path to the folder that the the file can be picket from - * @param {object} [options] additonal options that need to be set + * @param {object} [options] additional options that need to be set * @param {Function} [options.filter] filter function for advanced filtering * @param {boolean} [options.allowDirectoryChooser] Allow to select directories * @deprecated since 27.1.0 use the filepicker from `@nextcloud/dialogs` instead @@ -240,7 +240,7 @@ const Dialogs = { } /** - * Coverting a Node into a legacy file info to support the OC.dialogs.filepicker filter function + * Converting a Node into a legacy file info to support the OC.dialogs.filepicker filter function * * @param node The node to convert */ diff --git a/core/src/session-heartbeat.ts b/core/src/session-heartbeat.ts index 926fcb9b9d745..978963f83740e 100644 --- a/core/src/session-heartbeat.ts +++ b/core/src/session-heartbeat.ts @@ -166,7 +166,7 @@ function registerAutoLogout() { const timeout = Date.now() - (sessionLifetime ?? 86400) * 1000 if (lastActive < timeout) { clearTimeout(intervalId) - logger.info('Inactivity timout reached, logging out') + logger.info('Inactivity timeout reached, logging out') const logoutUrl = generateUrl('/logout') + '?requesttoken=' + encodeURIComponent(getRequestToken()) window.location.href = logoutUrl } diff --git a/core/src/types/navigation.d.ts b/core/src/types/navigation.d.ts index 33110f63df738..9f9435aced388 100644 --- a/core/src/types/navigation.d.ts +++ b/core/src/types/navigation.d.ts @@ -23,7 +23,7 @@ export interface INavigationEntry { name: string /** Whether this is the default app */ default?: boolean - /** App that registered this navigation entry (not necessarly the same as the id) */ + /** App that registered this navigation entry (not necessarily the same as the id) */ app?: string /** If this app has unread notification */ unread: number