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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions apps/admin_audit/lib/Actions/Action.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\AdminAudit\Actions;

use OCA\AdminAudit\IAuditLogger;
Expand Down
2 changes: 1 addition & 1 deletion apps/admin_audit/lib/Actions/Files.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\AdminAudit\Actions;

use OC\Files\Node\NonExistingFile;
Expand Down Expand Up @@ -74,7 +75,6 @@ public function afterRename(NodeRenamedEvent $event): void {
);
}


/**
* Logs creation of files
*/
Expand Down
1 change: 1 addition & 0 deletions apps/admin_audit/lib/Actions/Sharing.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\AdminAudit\Actions;

/**
Expand Down
1 change: 1 addition & 0 deletions apps/admin_audit/lib/Actions/TagManagement.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\AdminAudit\Actions;

use OCP\SystemTag\ISystemTag;
Expand Down
1 change: 1 addition & 0 deletions apps/admin_audit/lib/Actions/Trashbin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\AdminAudit\Actions;

class Trashbin extends Action {
Expand Down
1 change: 1 addition & 0 deletions apps/admin_audit/lib/Actions/Versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\AdminAudit\Actions;

class Versions extends Action {
Expand Down
1 change: 1 addition & 0 deletions apps/admin_audit/lib/BackgroundJobs/Rotate.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\AdminAudit\BackgroundJobs;

use OCP\AppFramework\Utility\ITimeFactory;
Expand Down
1 change: 1 addition & 0 deletions apps/admin_audit/lib/IAuditLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\AdminAudit;

use Psr\Log\LoggerInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\AdminAudit\Tests\Actions;

use OCA\AdminAudit\IAuditLogger;
Expand Down
1 change: 1 addition & 0 deletions apps/appstore/lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Appstore\AppInfo;

use OCA\Appstore\Search\AppSearch;
Expand Down
1 change: 1 addition & 0 deletions apps/appstore/lib/Search/AppSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Appstore\Search;

use OCA\Appstore\AppInfo\Application;
Expand Down
1 change: 1 addition & 0 deletions apps/appstore/tests/Controller/ApiControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Appstore\Tests\Controller;

use OC\App\AppManager;
Expand Down
1 change: 1 addition & 0 deletions apps/appstore/tests/Controller/PageControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Appstore\Tests\Controller;

use OC\App\AppStore\Bundles\BundleFetcher;
Expand Down
1 change: 1 addition & 0 deletions apps/cloud_federation_api/lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\CloudFederationAPI\AppInfo;

use OCA\CloudFederationAPI\Capabilities;
Expand Down
1 change: 1 addition & 0 deletions apps/cloud_federation_api/lib/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\CloudFederationAPI;

use OCP\Federation\ICloudFederationProviderManager;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ private function mapUid($uid) {
return $uid;
}


/**
* confirm that the value related to $key entry from the payload is in format userid@hostname
* and compare hostname with the origin of the signed request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
$table->addColumn('user_id', Types::STRING, [
'notnull' => true,
'length' => 64,

]);
// https://saturncloud.io/blog/what-is-the-maximum-length-of-a-url-in-different-browsers/#maximum-url-length-in-different-browsers
// We use the least common denominator, the minimum length supported by browsers
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Activity/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Activity;

use OCP\Activity\IFilter;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Activity/Listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/

namespace OCA\Comments\Activity;

use OCP\Activity\IManager;
Expand Down
2 changes: 1 addition & 1 deletion apps/comments/lib/Activity/Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Activity;

use OCP\Activity\Exceptions\UnknownActivityException;
Expand Down Expand Up @@ -62,7 +63,6 @@ public function parse($language, IEvent $event, ?IEvent $previousEvent = null):
return $this->parseLongVersion($event, $l);
}
throw new UnknownActivityException();

}

/**
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Activity/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Activity;

use OCP\Activity\ActivitySettings;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\AppInfo;

use OCA\Comments\Capabilities;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments;

use OCP\Capabilities\ICapability;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Collaboration/CommentersSorter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Collaboration;

use OCP\Collaboration\AutoComplete\ISorter;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Controller/NotificationsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Controller;

use OCP\AppFramework\Controller;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Listener;

use OCP\Comments\CommentsEntityEvent;
Expand Down
1 change: 0 additions & 1 deletion apps/comments/lib/Listener/CommentsEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/


namespace OCA\Comments\Listener;

use OCA\Comments\Activity\Listener as ActivityListener;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Listener/LoadAdditionalScripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Listener;

use OCA\Comments\AppInfo\Application;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Listener/LoadSidebarScripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Listener;

use OCA\Comments\AppInfo\Application;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/MaxAutoCompleteResultsInitialState.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments;

use OCP\AppFramework\Services\InitialStateProvider;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Notification/Listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/

namespace OCA\Comments\Notification;

use OCP\Comments\CommentsEvent;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/Notification/Notifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/

namespace OCA\Comments\Notification;

use OCP\Comments\IComment;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/lib/OpenMetrics/CommentsCountMetric.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\OpenMetrics;

use Generator;
Expand Down
2 changes: 1 addition & 1 deletion apps/comments/lib/Search/CommentsSearchProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Search;

use OCP\Comments\IComment;
Expand Down Expand Up @@ -109,7 +110,6 @@ public function search(IUser $user, ISearchQuery $query): SearchResult {
$numComments = 50 - count($result);
}


return SearchResult::complete(
$this->l10n->t('Comments'),
$result,
Expand Down
1 change: 1 addition & 0 deletions apps/comments/tests/Unit/Activity/ListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Tests\Unit\Activity;

use OCA\Comments\Activity\Listener;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/tests/Unit/AppInfo/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/

namespace OCA\Comments\Tests\Unit\AppInfo;

use OCA\Comments\Activity\Filter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Tests\Unit\Collaboration;

use OCA\Comments\Collaboration\CommentersSorter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/

namespace OCA\Comments\Tests\Unit\Controller;

use OCA\Comments\Controller\NotificationsController;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/tests/Unit/EventHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Tests\Unit\Notification;

use OCA\Comments\Activity\Listener as ActivityListener;
Expand Down
1 change: 1 addition & 0 deletions apps/comments/tests/Unit/Notification/ListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/

namespace OCA\Comments\Tests\Unit\Notification;

use OCA\Comments\Notification\Listener;
Expand Down
6 changes: 1 addition & 5 deletions apps/comments/tests/Unit/Notification/NotifierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\Comments\Tests\Unit\Notification;

use OCA\Comments\Notification\Notifier;
Expand Down Expand Up @@ -296,7 +297,6 @@ public function testPrepareSuccessDeletedUser(): void {
$this->notifier->prepare($this->notification, $this->lc);
}


public function testPrepareDifferentApp(): void {
$this->expectException(UnknownNotificationException::class);

Expand Down Expand Up @@ -333,7 +333,6 @@ public function testPrepareDifferentApp(): void {
$this->notifier->prepare($this->notification, $this->lc);
}


public function testPrepareNotFound(): void {
$this->expectException(UnknownNotificationException::class);

Expand Down Expand Up @@ -371,7 +370,6 @@ public function testPrepareNotFound(): void {
$this->notifier->prepare($this->notification, $this->lc);
}


public function testPrepareDifferentSubject(): void {
$this->expectException(UnknownNotificationException::class);

Expand Down Expand Up @@ -428,7 +426,6 @@ public function testPrepareDifferentSubject(): void {
$this->notifier->prepare($this->notification, $this->lc);
}


public function testPrepareNotFiles(): void {
$this->expectException(UnknownNotificationException::class);

Expand Down Expand Up @@ -486,7 +483,6 @@ public function testPrepareNotFiles(): void {
$this->notifier->prepare($this->notification, $this->lc);
}


public function testPrepareUnresolvableFileID(): void {
$this->expectException(AlreadyProcessedException::class);

Expand Down
1 change: 1 addition & 0 deletions apps/contactsinteraction/lib/AddressBook.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/

namespace OCA\ContactsInteraction;

use Exception;
Expand Down
Loading
Loading