diff --git a/LICENSES/Unlicense.txt b/LICENSES/Unlicense.txt new file mode 100644 index 000000000..cde4ac698 --- /dev/null +++ b/LICENSES/Unlicense.txt @@ -0,0 +1,10 @@ +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/REUSE.toml b/REUSE.toml index 721bafd70..d6458a94b 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -224,3 +224,15 @@ path = "www/common/onlyoffice/x2t/**" precedence = "aggregate" SPDX-FileCopyrightText = "Ascensio System Limited 2010-2022" SPDX-License-Identifier = "AGPL-3.0-or-later" + +[[annotations]] +path = "src/tweetnacl/**" +precedence = "aggregate" +SPDX-FileCopyrightText = "Unknown" +SPDX-License-Identifier = "Unlicense" + +[[annotations]] +path = "www/common/worker.bundle.min.js" +precedence = "aggregate" +SPDX-FileCopyrightText = "2025 XWiki CryptPad Team and contributors" +SPDX-License-Identifier = "AGPL-3.0-or-later" \ No newline at end of file diff --git a/move-merge-src.js b/move-merge-src.js index 2a5683584..74ec6e2a7 100644 --- a/move-merge-src.js +++ b/move-merge-src.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2025 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // Move file from "src" to "www" // This script can be used to copy src files into their old location in order to // merge code more easily. diff --git a/rollup.config.mjs b/rollup.config.mjs index b8719eb7a..3980292e7 100644 --- a/rollup.config.mjs +++ b/rollup.config.mjs @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + import {nodeResolve} from "@rollup/plugin-node-resolve" import commonjs from '@rollup/plugin-commonjs'; //import builtins from 'rollup-plugin-node-builtins'; diff --git a/scripts/api/testapi.js b/scripts/api/testapi.js index 6b2b9cd2b..d86cf2cfe 100644 --- a/scripts/api/testapi.js +++ b/scripts/api/testapi.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + const Messages = require('../../src/messages'); const AppConfig = require('../../customize/application_config'); //const App = require('./_build/worker.bundle'); diff --git a/src/messages.js b/src/messages.js index b4edd4a3c..9fa89ea01 100644 --- a/src/messages.js +++ b/src/messages.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2025 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + (() => { const factory = (Messages) => { Messages = Messages || {}; diff --git a/src/worker/components/account.ts b/src/worker/components/account.ts index 19938be19..64829bbf0 100644 --- a/src/worker/components/account.ts +++ b/src/worker/components/account.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 { Account } from '../types' diff --git a/src/worker/components/drive.ts b/src/worker/components/drive.ts index f8d304221..6a97e94d6 100644 --- a/src/worker/components/drive.ts +++ b/src/worker/components/drive.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 { Drive } from '../types' diff --git a/src/worker/modules/test.ts b/src/worker/modules/test.ts index de541b3b6..7079175a1 100644 --- a/src/worker/modules/test.ts +++ b/src/worker/modules/test.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 { Module, ModuleObject } from '../types' diff --git a/src/worker/store.ts b/src/worker/store.ts index 1ca4ce566..8ab95321a 100644 --- a/src/worker/store.ts +++ b/src/worker/store.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 { Module } from './types'; //import { TestModule, TestModuleObject } from './modules/test'; diff --git a/src/worker/types.ts b/src/worker/types.ts index 03c07de39..a6d54687c 100644 --- a/src/worker/types.ts +++ b/src/worker/types.ts @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2025 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // Default CryptPad worker module, extended with // specific methods for each module export type Callback = (...args: any[]) => void diff --git a/www/common/store-interface.js b/www/common/store-interface.js index 52ab2c7ab..4988e9fa0 100644 --- a/www/common/store-interface.js +++ b/www/common/store-interface.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2025 XWiki CryptPad Team and contributors +// +// SPDX-License-Identifier: AGPL-3.0-or-later + (() => { const factory = function () { let USE_MIN = true;