From ebb078310393a3c04096caf0fb1982ff668cd035 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Sun, 19 Sep 2021 12:55:33 +0200 Subject: [PATCH] add reuse compliance #5 --- .drone.yml | 2 ++ .reuse/dep5 | 28 +++++++++++++++++---- Dockerfile | 4 +++ LICENSES/LicenseRef-WTF.txt | 1 + LICENSES/OFL-1.1-RFN.txt | 43 ++++++++++++++++++++++++++++++++ README.md | 7 ++++++ babel.config.js | 4 +++ etc/nginx/conf.d/default.conf | 4 +++ public/apple-touch-icon.png | 3 --- public/config.js.dev | 3 +++ public/config.js.int | 3 +++ public/favicon-96x96.png | 3 --- public/favicon.ico | Bin 1150 -> 0 bytes public/index.html | 6 +++++ src/App.vue | 7 +++++- src/assets/global.scss | 2 ++ src/assets/variables.scss | 6 +++++ src/components/AutoComplete.vue | 7 +++++- src/components/ProfileList.vue | 7 +++++- src/main.js | 3 +++ src/mixins/request.mixin.js | 4 +++ src/router/index.js | 3 +++ src/views/Index.vue | 7 +++++- src/views/Search.vue | 7 +++++- src/views/partials/Footer.vue | 6 +++++ src/views/profile/Edit.vue | 7 +++++- src/views/profile/View.vue | 7 +++++- 27 files changed, 166 insertions(+), 18 deletions(-) create mode 100644 LICENSES/LicenseRef-WTF.txt create mode 100644 LICENSES/OFL-1.1-RFN.txt delete mode 100644 public/apple-touch-icon.png delete mode 100644 public/favicon-96x96.png delete mode 100644 public/favicon.ico diff --git a/.drone.yml b/.drone.yml index 2cb7cbf..670e327 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,8 @@ type: docker name: default steps: +- name: reuse + image: fsfe/reuse:latest - name: docker-publish image: plugins/docker settings: diff --git a/.reuse/dep5 b/.reuse/dep5 index 16c06ba..2847c45 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -3,8 +3,26 @@ Upstream-Name: ki-frontend Upstream-Contact: Scammo Source: https://git.wtf-eg.de/kompetenzinventar/ki-frontend -# Sample paragraph, commented out: -# -# Files: src/* -# Copyright: $YEAR $NAME <$CONTACT> -# License: ... +Files: package.json package-lock.json +Copyright: WTF Kooperative eG +License: AGPL-3.0-or-later + +Files: .browserslistrc .dockerignore .eslintrc.js .gitignore +Copyright: WTF Kooperative eG +License: AGPL-3.0-or-later + +Files: public/img/wtf_logo.svg src/assets/img/wtf_logo_white.svg +Copyright: WTF Kooperative eG +License: LicenseRef-WTF + +Files: src/assets/language_level.json src/assets/skill_level.json +Copyright: WTF Kooperative eG +License: AGPL-3.0-or-later + +Files: public/img/bootstrap-icons-1.5.0/* +Copyright: Copyright (c) 2019-2020 The Bootstrap Authors +License: MIT + +Files: public/fonts/Lato* +Copyright: 2010-2015, Łukasz Dziedzic (dziedzic@typoland.com) +License: OFL-1.1-RFN diff --git a/Dockerfile b/Dockerfile index 7ba9a5e..62199ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: WTF Kooperative eG +# +# SPDX-License-Identifier: AGPL-3.0-or-later + FROM node:14-alpine as builder COPY . ./ diff --git a/LICENSES/LicenseRef-WTF.txt b/LICENSES/LicenseRef-WTF.txt new file mode 100644 index 0000000..200df4a --- /dev/null +++ b/LICENSES/LicenseRef-WTF.txt @@ -0,0 +1 @@ +Alle Rechte vorbehalten diff --git a/LICENSES/OFL-1.1-RFN.txt b/LICENSES/OFL-1.1-RFN.txt new file mode 100644 index 0000000..6fe84ee --- /dev/null +++ b/LICENSES/OFL-1.1-RFN.txt @@ -0,0 +1,43 @@ +SIL OPEN FONT LICENSE + +Version 1.1 - 26 February 2007 + +PREAMBLE + +The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others. + +The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives. + +DEFINITIONS + +"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the copyright statement(s). + +"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, or substituting — in part or in whole — any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment. + +"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS + +Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission. + +5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. + +TERMINATION + +This license becomes null and void if any of the above conditions are not met. + +DISCLAIMER + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/README.md b/README.md index a91b106..2580adf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ + + # ki-frontend [![Build Status](https://drone.wtf-eg.de/api/badges/kompetenzinventar/ki-frontend/status.svg)](https://drone.wtf-eg.de/kompetenzinventar/ki-frontend) +[![REUSE status](https://api.reuse.software/badge/git.wtf-eg.de/kompetenzinventar/ki-frontend)](https://api.reuse.software/info/git.wtf-eg.de/kompetenzinventar/ki-frontend) ## Über diff --git a/babel.config.js b/babel.config.js index e955840..78befaf 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: WTF Kooperative eG +// +// SPDX-License-Identifier: AGPL-3.0-or-later + module.exports = { presets: [ '@vue/cli-plugin-babel/preset' diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index 0c3122d..8b91bec 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: WTF Kooperative eG +# +# SPDX-License-Identifier: AGPL-3.0-or-later + server { listen 80; listen [::]:80; diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png deleted file mode 100644 index 5b05aaf..0000000 --- a/public/apple-touch-icon.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:78047c1b779820271298de92cbeaae9fc9be8e7305cc1d04050046dcbeab57bc -size 22506 diff --git a/public/config.js.dev b/public/config.js.dev index 583034c..31f295d 100644 --- a/public/config.js.dev +++ b/public/config.js.dev @@ -1,4 +1,7 @@ +// SPDX-FileCopyrightText: WTF Kooperative eG +// // SPDX-License-Identifier: AGPL-3.0-or-later + window.ki = { apiUrl: 'http://localhost:5000' } diff --git a/public/config.js.int b/public/config.js.int index 30f1e84..1f864fb 100644 --- a/public/config.js.int +++ b/public/config.js.int @@ -1,4 +1,7 @@ +// SPDX-FileCopyrightText: WTF Kooperative eG +// // SPDX-License-Identifier: AGPL-3.0-or-later + window.ki = { apiUrl: 'http://localhost:13338' } diff --git a/public/favicon-96x96.png b/public/favicon-96x96.png deleted file mode 100644 index 187af2e..0000000 --- a/public/favicon-96x96.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c943b50d7fc442cf26577f30ca7d71faae3d368cf94d5283cad0395fc724a51b -size 10248 diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index 37ced2eb4b3b098e43ab62e26dbc423c411f1280..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1150 zcmbVMSxA&o6h5;wsg0?XHYnoqP)%5fCelATyjlhIx(2%F2r8=;%mpZf+LVX_RLXNF)+sHa0dkyoiX18`ag- zF;!Jn*PWc4_#%;rsW}7pfnXpO2n3vce0(S+CB?e2vGHzsdATAmFwi|LEKJxGt&yXcYx=>3!ny20M>Wl$20LM#hD) zv9a2%tu1b0VPOP520_FR4-Xf0c6Q2FR#uFV9SsZ&6d-2ntgI}vtz|+EC^t7(GBGis z+u7OSR##WQVGm_TN5|{U&CMU%+uOf~hK4kWiHWv(d3hGIe`rff3l$X=xsQ&H>JcOJ z!ME_-HXhTGfQ<92skc-4i3H<5)yI=Og>`xU^E)J<>h5=X=#aDTU+Dc`zwy)C^R(GRVI^3 z6A}`Lo#)}N*?uvgZm}Q&d#>OzPkDOdFBJx)YSATH8oX|o}O;D zPfkvz*w|Q6adGhzwOXx3?u@9}JKRGTRwvYuz`xqw-ma^usaeEX6{yhzKR-V~e0)3! zg+h^BE|=xx0Kmfaf$0H~xh_Jo@e{SL2bMQ4RIy(9;qyqGir?xnLZB)WG*^ar-gi0%LY diff --git a/public/index.html b/public/index.html index a0bb7df..311fd69 100644 --- a/public/index.html +++ b/public/index.html @@ -1,3 +1,9 @@ + + diff --git a/src/App.vue b/src/App.vue index 1be75b1..a46ea33 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,4 +1,9 @@ - + +