From f00951bb09ac74f8113456ba441714870fbd90e4 Mon Sep 17 00:00:00 2001 From: Alec Kojaev Date: Tue, 10 Oct 2023 02:28:04 +0300 Subject: [PATCH] Include proper copyright notices everywhere. --- README.md | 4 ++++ generate-icon.sh | 3 +++ img/icon.svg | 4 ++++ js/settings.js | 3 +++ lib/AppInfo/Application.php | 2 ++ lib/Calibre/CalibreDB.php | 2 ++ lib/Calibre/CalibreItem.php | 2 ++ lib/Calibre/ICalibreDB.php | 2 ++ lib/Calibre/Types/CalibreAuthor.php | 4 ++++ lib/Calibre/Types/CalibreAuthorPrefix.php | 2 ++ lib/Calibre/Types/CalibreBook.php | 2 ++ lib/Calibre/Types/CalibreBookCriteria.php | 2 ++ lib/Calibre/Types/CalibreBookFormat.php | 2 ++ lib/Calibre/Types/CalibreBookId.php | 2 ++ lib/Calibre/Types/CalibreLanguage.php | 2 ++ lib/Calibre/Types/CalibrePublisher.php | 2 ++ lib/Calibre/Types/CalibreSeries.php | 2 ++ lib/Calibre/Types/CalibreTag.php | 2 ++ lib/Controller/OpdsController.php | 2 ++ lib/Controller/SettingsController.php | 2 ++ lib/FeedBuilder/IOpdsFeedBuilder.php | 2 ++ lib/FeedBuilder/OpdsFeedBuilder.php | 2 ++ lib/Opds/OpdsApp.php | 2 ++ lib/Opds/OpdsAttribute.php | 2 ++ lib/Opds/OpdsAuthor.php | 2 ++ lib/Opds/OpdsCategory.php | 2 ++ lib/Opds/OpdsEntry.php | 2 ++ lib/Opds/OpdsLink.php | 2 ++ lib/Opds/OpdsResponse.php | 2 ++ lib/Opds/OpenSearchResponse.php | 2 ++ lib/Service/CalibreService.php | 2 ++ lib/Service/ICalibreService.php | 2 ++ lib/Service/IOpdsFeedService.php | 2 ++ lib/Service/ISettingsService.php | 2 ++ lib/Service/OpdsFeedService.php | 2 ++ lib/Service/SettingsService.php | 2 ++ lib/Settings/PersonalSettings.php | 2 ++ lib/Util/MapIterator.php | 2 ++ lib/Util/MimeTypes.php | 2 ++ templates/settings.personal.php | 7 ++++++- tests/stubs/CalibreStub.php | 2 ++ tests/stubs/L10NStub.php | 2 ++ tests/stubs/LoggerInterfaceStub.php | 2 ++ tests/stubs/SettingsServiceStub.php | 2 ++ tests/stubs/StorageStub.php | 2 ++ tests/stubs/URLGeneratorStub.php | 2 ++ tests/unit/CalibreTest.php | 2 ++ tests/unit/OpdsFeedTest.php | 2 ++ tests/unit/OpdsSearchTest.php | 2 ++ tests/unit/OpdsTest.php | 2 ++ tests/unit/UtilTest.php | 2 ++ 51 files changed, 114 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 36c9e1b..8ffb69c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ + # Nextcloud Calibre2OPDS app The Calibre2OPDS app provides access to user's [Calibre](https://calibre-ebook.com/) library diff --git a/generate-icon.sh b/generate-icon.sh index bfe4f30..ab4a59a 100755 --- a/generate-icon.sh +++ b/generate-icon.sh @@ -1,5 +1,8 @@ #!/bin/sh # +# SPDX-FileCopyrightText: 2023 Alec Kojaev +# SPDX-License-Identifier: CC0-1.0 +# # This requires: # - librsvg2-bin (for `rsvg-convert`); # - netpbm (for `pngtopam` and `pamtowinicon`). diff --git a/img/icon.svg b/img/icon.svg index 1a64385..6e0fcc6 100644 --- a/img/icon.svg +++ b/img/icon.svg @@ -1,5 +1,9 @@ + Icon for Calibre2OPDS

t('Calibre OPDS library')); ?>

diff --git a/tests/stubs/CalibreStub.php b/tests/stubs/CalibreStub.php index c2bae7f..5ecb4e2 100644 --- a/tests/stubs/CalibreStub.php +++ b/tests/stubs/CalibreStub.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later namespace Stubs; diff --git a/tests/stubs/L10NStub.php b/tests/stubs/L10NStub.php index 0841eeb..cd3f743 100644 --- a/tests/stubs/L10NStub.php +++ b/tests/stubs/L10NStub.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later namespace Stubs; diff --git a/tests/stubs/LoggerInterfaceStub.php b/tests/stubs/LoggerInterfaceStub.php index 8869394..db49853 100644 --- a/tests/stubs/LoggerInterfaceStub.php +++ b/tests/stubs/LoggerInterfaceStub.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later namespace Stubs; diff --git a/tests/stubs/SettingsServiceStub.php b/tests/stubs/SettingsServiceStub.php index 00b9bae..302714c 100644 --- a/tests/stubs/SettingsServiceStub.php +++ b/tests/stubs/SettingsServiceStub.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later namespace Stubs; diff --git a/tests/stubs/StorageStub.php b/tests/stubs/StorageStub.php index 8691276..c8473cc 100644 --- a/tests/stubs/StorageStub.php +++ b/tests/stubs/StorageStub.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later namespace Stubs; diff --git a/tests/stubs/URLGeneratorStub.php b/tests/stubs/URLGeneratorStub.php index a04fbe7..08d8d72 100644 --- a/tests/stubs/URLGeneratorStub.php +++ b/tests/stubs/URLGeneratorStub.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later namespace Stubs; diff --git a/tests/unit/CalibreTest.php b/tests/unit/CalibreTest.php index ab52d25..2b87ffa 100644 --- a/tests/unit/CalibreTest.php +++ b/tests/unit/CalibreTest.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later use OCA\Calibre2OPDS\Calibre\CalibreDB; use OCA\Calibre2OPDS\Calibre\CalibreItem; diff --git a/tests/unit/OpdsFeedTest.php b/tests/unit/OpdsFeedTest.php index 10abf86..c45ef90 100644 --- a/tests/unit/OpdsFeedTest.php +++ b/tests/unit/OpdsFeedTest.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later use OCA\Calibre2OPDS\Calibre\ICalibreDB; use OCA\Calibre2OPDS\Calibre\Types\CalibreAuthor; diff --git a/tests/unit/OpdsSearchTest.php b/tests/unit/OpdsSearchTest.php index 10ec786..b41c847 100644 --- a/tests/unit/OpdsSearchTest.php +++ b/tests/unit/OpdsSearchTest.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later use OCA\Calibre2OPDS\Opds\OpenSearchResponse; use PHPUnit\Framework\TestCase; diff --git a/tests/unit/OpdsTest.php b/tests/unit/OpdsTest.php index 42eacdd..eaabee7 100644 --- a/tests/unit/OpdsTest.php +++ b/tests/unit/OpdsTest.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later use OCA\Calibre2OPDS\Opds\OpdsApp; use OCA\Calibre2OPDS\Opds\OpdsAttribute; diff --git a/tests/unit/UtilTest.php b/tests/unit/UtilTest.php index 00c7f30..33f249d 100644 --- a/tests/unit/UtilTest.php +++ b/tests/unit/UtilTest.php @@ -1,6 +1,8 @@ +// SPDX-License-Identifier: AGPL-3.0-or-later use OCA\Calibre2OPDS\Util\MapIterator; use OCA\Calibre2OPDS\Util\MimeTypes;