diff --git a/.eslintrc.js b/.eslintrc.js index 9175db9..35c4afd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,3 +1,8 @@ +/** + * SPDX-FileCopyrightText: 2024 Kate Döen + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + module.exports = { extends: [ '@nextcloud', diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 0000000..b682855 --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,24 @@ +# This workflow is provided via the organization template repository +# +# https://github.com/nextcloud/.github +# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization + +# SPDX-FileCopyrightText: 2022 Free Software Foundation Europe e.V. +# +# SPDX-License-Identifier: CC0-1.0 + +name: REUSE Compliance Check + +on: [pull_request] + +jobs: + reuse-compliance-check: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + persist-credentials: false + + - name: REUSE Compliance Check + uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0 diff --git a/.gitignore b/.gitignore index de945a7..cdd6899 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2023 Kate Döen +# SPDX-License-Identifier: AGPL-3.0-or-later .idea/ node_modules/ diff --git a/.nextcloudignore b/.nextcloudignore index 88c9235..97b520d 100644 --- a/.nextcloudignore +++ b/.nextcloudignore @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 Kate Döen +# SPDX-License-Identifier: AGPL-3.0-or-later .git .github .gitignore diff --git a/CHANGELOG.md b/CHANGELOG.md index 27362fd..27958c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ + # Unreleased - Support Nextcloud 31 diff --git a/LICENSES/LicenseRef-NextcloudTrademarks.txt b/LICENSES/LicenseRef-NextcloudTrademarks.txt new file mode 100644 index 0000000..464a30b --- /dev/null +++ b/LICENSES/LicenseRef-NextcloudTrademarks.txt @@ -0,0 +1,9 @@ +The Nextcloud marks +Nextcloud and the Nextcloud logo is a registered trademark of Nextcloud GmbH in Germany and/or other countries. +These guidelines cover the following marks pertaining both to the product names and the logo: “Nextcloud” +and the blue/white cloud logo with or without the word Nextcloud; the service “Nextcloud Enterprise”; +and our products: “Nextcloud Files”; “Nextcloud Groupware” and “Nextcloud Talk”. +This set of marks is collectively referred to as the “Nextcloud marks.” + +Use of Nextcloud logos and other marks is only permitted under the guidelines provided by the Nextcloud GmbH. +A copy can be found at https://nextcloud.com/trademarks/ diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 0000000..fc2cf8e --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,18 @@ +MIT License + +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and +associated documentation files (the "Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO +EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 719570e..7ef0477 100644 --- a/README.md +++ b/README.md @@ -5,5 +5,7 @@ SPDX-License-Identifier: CC0-1.0 # OCS API Viewer +[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud/ocs_api_viewer)](https://api.reuse.software/info/github.com/nextcloud/ocs_api_viewer) + This app can be used to view the OCS API specifications for any of the installed apps on your Nextcloud server. Internally it relies on OpenAPI specifications that are distributed with the apps, so only apps that ship with an `openapi.json` file are supported. diff --git a/REUSE.toml b/REUSE.toml new file mode 100644 index 0000000..332653c --- /dev/null +++ b/REUSE.toml @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later +version = 1 +SPDX-PackageName = "ocs_api_viewer" +SPDX-PackageSupplier = "Nextcloud " +SPDX-PackageDownloadLocation = "https://github.com/nextcloud/ocs_api_viewer" + +[[annotations]] +path = ["composer.json", "composer.lock", "package-lock.json", "package.json"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2023 Nextcloud GmbH and Nextcloud contributors" +SPDX-License-Identifier = "AGPL-3.0-or-later" + +[[annotations]] +path = ["img/app-color.svg", "img/app.svg"] +precedence = "aggregate" +SPDX-FileCopyrightText = "2016-2024 Nextcloud GmbH" +SPDX-License-Identifier = "LicenseRef-NextcloudTrademarks" diff --git a/docs/screenshot.png.license b/docs/screenshot.png.license new file mode 100644 index 0000000..5a8caae --- /dev/null +++ b/docs/screenshot.png.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Kate Döen +SPDX-License-Identifier: AGPL-3.0-or-later diff --git a/krankerl.toml b/krankerl.toml index 7c317fa..15102d4 100644 --- a/krankerl.toml +++ b/krankerl.toml @@ -1,3 +1,5 @@ +# SPDX-FileCopyrightText: 2024 Kate Döen +# SPDX-License-Identifier: AGPL-3.0-or-later [package] before_cmds = [ "npm install --deps", diff --git a/src/ApiNavigationList.vue b/src/ApiNavigationList.vue index 376ac18..2d897de 100644 --- a/src/ApiNavigationList.vue +++ b/src/ApiNavigationList.vue @@ -1,3 +1,7 @@ +