From 3b9af09f1569a67c2a1bbf3ec1781719a6b4aa23 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 14 May 2025 14:31:49 +0200 Subject: [PATCH] Reuse compliance --- LICENSES/Unlicense.txt | 10 ---------- customize.dist/src/less2/include/badges.less | 6 ++++++ src/worker/modules/badge.ts | 4 ++++ 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 LICENSES/Unlicense.txt diff --git a/LICENSES/Unlicense.txt b/LICENSES/Unlicense.txt deleted file mode 100644 index cde4ac698..000000000 --- a/LICENSES/Unlicense.txt +++ /dev/null @@ -1,10 +0,0 @@ -This is free and unencumbered software released into the public domain. - -Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. - -In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. - -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 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. - -For more information, please refer to diff --git a/customize.dist/src/less2/include/badges.less b/customize.dist/src/less2/include/badges.less index 7264840b3..6e73d4dbe 100644 --- a/customize.dist/src/less2/include/badges.less +++ b/customize.dist/src/less2/include/badges.less @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2025 XWiki CryptPad Team and contributors + * + * SPDX-License-Identifier: AGPL-3.0-or-later + */ + @import (reference) "./colortheme-all.less"; @import (reference) "./variables.less"; .badges_vars( diff --git a/src/worker/modules/badge.ts b/src/worker/modules/badge.ts index 59c2d43dd..0b3c844ab 100644 --- a/src/worker/modules/badge.ts +++ b/src/worker/modules/badge.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2025 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import nacl from 'tweetnacl/nacl-fast'; import nThen from 'nthen'; import { Module, ModuleObject, Callback } from '../types'