Skip to content

Commit e6cceaa

Browse files
docs(reuse): Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 parent de8989d commit e6cceaa

23 files changed

+126
-6
lines changed

.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* SPDX-FileCopyrightText: 2024 Kate Döen <kate.doeen@nextcloud.com>
3+
* SPDX-License-Identifier: AGPL-3.0-or-later
4+
*/
5+
16
module.exports = {
27
extends: [
38
'@nextcloud',

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2023 Kate Döen <kate.doeen@nextcloud.com>
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
13
.idea/
24

35
node_modules/

.nextcloudignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 Kate Döen <kate.doeen@nextcloud.com>
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
13
.git
24
.github
35
.gitignore

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2023 Kate Döen <kate.doeen@nextcloud.com>
3+
SPDX-License-Identifier: CC0-1.0
4+
-->
15
# Unreleased
26
- Support Nextcloud 31
37

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The Nextcloud marks
2+
Nextcloud and the Nextcloud logo is a registered trademark of Nextcloud GmbH in Germany and/or other countries.
3+
These guidelines cover the following marks pertaining both to the product names and the logo: “Nextcloud”
4+
and the blue/white cloud logo with or without the word Nextcloud; the service “Nextcloud Enterprise”;
5+
and our products: “Nextcloud Files”; “Nextcloud Groupware” and “Nextcloud Talk”.
6+
This set of marks is collectively referred to as the “Nextcloud marks.”
7+
8+
Use of Nextcloud logos and other marks is only permitted under the guidelines provided by the Nextcloud GmbH.
9+
A copy can be found at https://nextcloud.com/trademarks/

LICENSES/MIT.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
MIT License
2+
3+
Copyright (c) <year> <copyright holders>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
6+
associated documentation files (the "Software"), to deal in the Software without restriction, including
7+
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
9+
following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all copies or substantial
12+
portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
15+
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
16+
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
18+
USE OR OTHER DEALINGS IN THE SOFTWARE.

REUSE.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
3+
version = 1
4+
SPDX-PackageName = "ocs_api_viewer"
5+
SPDX-PackageSupplier = "Nextcloud <info@nextcloud.com>"
6+
SPDX-PackageDownloadLocation = "https://github.com/nextcloud/ocs_api_viewer"
7+
8+
[[annotations]]
9+
path = ["composer.json", "composer.lock", "package-lock.json", "package.json"]
10+
precedence = "aggregate"
11+
SPDX-FileCopyrightText = "2023 Nextcloud GmbH and Nextcloud contributors"
12+
SPDX-License-Identifier = "AGPL-3.0-or-later"
13+
14+
[[annotations]]
15+
path = ["img/app-color.svg", "img/app.svg"]
16+
precedence = "aggregate"
17+
SPDX-FileCopyrightText = "2016-2024 Nextcloud GmbH"
18+
SPDX-License-Identifier = "LicenseRef-NextcloudTrademarks"

docs/screenshot.png.license

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SPDX-FileCopyrightText: Kate Döen <kate.doeen@nextcloud.com>
2+
SPDX-License-Identifier: AGPL-3.0-or-later

krankerl.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-FileCopyrightText: 2024 Kate Döen <kate.doeen@nextcloud.com>
2+
# SPDX-License-Identifier: AGPL-3.0-or-later
13
[package]
24
before_cmds = [
35
"npm install --deps",

src/ApiNavigationList.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
- SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
- SPDX-License-Identifier: AGPL-3.0-or-later
4+
-->
15
<template>
26
<NcAppNavigationList :aria-labelledby="arialabel">
37
<NcAppNavigationItem v-for="app in apps"

src/App.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
- SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
- SPDX-FileCopyrightText: 2023 Kate Döen <kate.doeen@nextcloud.com>
4+
- SPDX-License-Identifier: AGPL-3.0-or-later
5+
-->
16
<template>
27
<!--
38
SPDX-FileCopyrightText: Kate Döen <kate.doeen@nextcloud.com>

src/AppIcon.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
- SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
- SPDX-License-Identifier: AGPL-3.0-or-later
4+
-->
15
<template>
26
<svg :width="size"
37
:height="size"

src/LeftSidebar.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
- SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
- SPDX-License-Identifier: AGPL-3.0-or-later
4+
-->
15
<template>
26
<NcAppNavigation>
37
<NcAppNavigationCaption heading-id="nextcloud-api-heading"

src/MainView.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
- SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
- SPDX-License-Identifier: AGPL-3.0-or-later
4+
-->
15
<template>
26
<router-view />
37
</template>

src/SwaggerUI.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
- SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
- SPDX-License-Identifier: AGPL-3.0-or-later
4+
-->
15
<template>
26
<div id="swagger-ui" />
37
</template>

src/Welcome.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!--
2+
- SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
- SPDX-License-Identifier: AGPL-3.0-or-later
4+
-->
15
<template>
26
<div class="ocs_api-welcome">
37
<AppIcon class="ocs_api-icon" :href="imagePath('ocs_api_viewer', 'app.svg')" />

src/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
2-
* SPDX-FileCopyrightText: Kate Döen <kate.doeen@nextcloud.com>
2+
* SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
* SPDX-FileCopyrightText: 2023 Kate Döen <kate.doeen@nextcloud.com>
34
* SPDX-License-Identifier: AGPL-3.0-or-later
45
*/
56

src/router.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
* SPDX-License-Identifier: AGPL-3.0-or-later
4+
*/
5+
16
import Vue from 'vue'
27
import Router from 'vue-router'
38
import { generateUrl } from '@nextcloud/router'

src/store.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
* SPDX-License-Identifier: AGPL-3.0-or-later
4+
*/
5+
16
import { defineStore, PiniaVuePlugin, setActivePinia, createPinia } from 'pinia'
27
import axios from '@nextcloud/axios'
38
import { showError } from '@nextcloud/dialogs'

src/swagger-dark.scss

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
/** from swagger-themes : https://github.com/ilyamixaltik/swagger-themes
2-
*
3-
* one-dark theme adapted to nextcloud
4-
*
5-
*/
1+
/**
2+
* SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
* SPDX-FileCopyrightText: 2024 Ilya Mixaltik <mixaltik16@gmail.com>
4+
* SPDX-License-Identifier: MIT
5+
*
6+
* from swagger-themes : https://github.com/ilyamixaltik/swagger-themes
7+
*
8+
* one-dark theme adapted to nextcloud
9+
*/
10+
611
@mixin main-swagger {
712
/* primary colors */
813

src/swagger-theme-dark.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* SPDX-FileCopyrightText: 2024 Sebastien Marinier <seb@smarinier.net>
3+
* SPDX-License-Identifier: AGPL-3.0-or-later
4+
*/
15

26
@use 'swagger-dark' as sw;
37

tests/psalm-baseline.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
- SPDX-FileCopyrightText: 2023 Joas Schilling <coding@schilljs.com>
4+
- SPDX-License-Identifier: AGPL-3.0-or-later
5+
-->
26
<files psalm-version="4.x-dev@">
37
<file src="lib/Controller/PageController.php">
48
<UndefinedClass occurrences="3">

tests/stubs/oc_security_csp_contentsecuritypolicynoncemanager.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<?php
22

3+
/**
4+
* SPDX-FileCopyrightText: 2023 Joas Schilling <coding@schilljs.com>
5+
* SPDX-License-Identifier: AGPL-3.0-or-later
6+
*/
7+
38
namespace OC\Security\CSP;
49

510
class ContentSecurityPolicyNonceManager {

0 commit comments

Comments
 (0)