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;