From e8382f163b477f324919bac234afc94da6cc1ede Mon Sep 17 00:00:00 2001 From: John Livingston Date: Thu, 23 May 2024 12:18:17 +0200 Subject: [PATCH] SPDX headers. --- .reuse/dep5 | 8 ++++++++ LICENSES/MIT.txt | 9 +++++++++ assets/images/avatars/legacy/1.svg.license | 3 +++ assets/images/avatars/legacy/10.svg.license | 3 +++ assets/images/avatars/legacy/2.svg.license | 3 +++ assets/images/avatars/legacy/3.svg.license | 3 +++ assets/images/avatars/legacy/4.svg.license | 3 +++ assets/images/avatars/legacy/5.svg.license | 3 +++ assets/images/avatars/legacy/6.svg.license | 3 +++ assets/images/avatars/legacy/7.svg.license | 3 +++ assets/images/avatars/legacy/8.svg.license | 3 +++ assets/images/avatars/legacy/9.svg.license | 3 +++ assets/images/bye.svg.license | 3 +++ assets/images/help.svg.license | 3 +++ assets/images/logo.svg.license | 3 +++ assets/images/moderator.svg.license | 3 +++ assets/images/new-window.svg.license | 3 +++ assets/images/talking-new-window.svg.license | 3 +++ assets/images/talking.svg.license | 3 +++ assets/images/url.svg.license | 3 +++ prosody-modules/mod_auth_http/README.markdown | 6 ++++++ prosody-modules/mod_auth_http/mod_auth_http.lua | 2 +- .../mod_auth_peertubelivechat_bot/README.md | 6 ++++++ .../mod_auth_peertubelivechat_bot.lua | 13 ++++++------- .../README.md | 6 ++++++ .../mod_http_peertubelivechat_manage_rooms.lua | 4 ++++ .../README.md | 6 ++++++ .../mod_http_peertubelivechat_manage_users.lua | 4 ++++ .../mod_http_peertubelivechat_test/README.md | 6 ++++++ .../mod_http_peertubelivechat_test.lua | 4 ++++ prosody-modules/mod_muc_ban_ip/README.markdown | 4 ++++ prosody-modules/mod_muc_ban_ip/mod_muc_ban_ip.lua | 3 +++ .../mod_muc_http_defaults/README.markdown | 4 ++++ .../mod_muc_http_defaults/mod_muc_http_defaults.lua | 8 ++++---- prosody-modules/mod_muc_moderation/README.markdown | 4 ++++ .../mod_muc_moderation/mod_muc_moderation.lua | 4 ++-- prosody-modules/mod_muc_slow_mode/README.md | 4 ++++ .../mod_muc_slow_mode/mod_muc_slow_mode.lua | 3 ++- .../mod_pubsub_peertubelivechat/README.md | 4 ++++ .../mod_pubsub_peertubelivechat.lua | 3 +++ .../mod_random_vcard_peertubelivechat/README.md | 4 ++++ .../mod_random_vcard_peertubelivechat.lua | 3 +++ prosody-modules/mod_s2s_peertubelivechat/README.md | 6 ++++++ .../mod_s2s_peertubelivechat.lua | 4 ++++ .../mod_vcard_peertubelivechat/README.md | 6 ++++++ .../mod_vcard_peertubelivechat.lua | 4 ++++ .../mod_websocket_s2s_peertubelivechat/README.md | 6 ++++++ .../mod_websocket_s2s_peertubelivechat.lua | 9 +++++---- 48 files changed, 192 insertions(+), 19 deletions(-) create mode 100644 LICENSES/MIT.txt create mode 100644 assets/images/avatars/legacy/1.svg.license create mode 100644 assets/images/avatars/legacy/10.svg.license create mode 100644 assets/images/avatars/legacy/2.svg.license create mode 100644 assets/images/avatars/legacy/3.svg.license create mode 100644 assets/images/avatars/legacy/4.svg.license create mode 100644 assets/images/avatars/legacy/5.svg.license create mode 100644 assets/images/avatars/legacy/6.svg.license create mode 100644 assets/images/avatars/legacy/7.svg.license create mode 100644 assets/images/avatars/legacy/8.svg.license create mode 100644 assets/images/avatars/legacy/9.svg.license create mode 100644 assets/images/bye.svg.license create mode 100644 assets/images/help.svg.license create mode 100644 assets/images/logo.svg.license create mode 100644 assets/images/moderator.svg.license create mode 100644 assets/images/new-window.svg.license create mode 100644 assets/images/talking-new-window.svg.license create mode 100644 assets/images/talking.svg.license create mode 100644 assets/images/url.svg.license diff --git a/.reuse/dep5 b/.reuse/dep5 index 862a1fdb..79848f0d 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -8,3 +8,11 @@ Source: https://github.com/JohnXLivingston/peertube-plugin-livechat/ # Files: src/* # Copyright: $YEAR $NAME <$CONTACT> # License: ... + +Files: languages/* +Copyright: 2024 John Livingston +License: AGPL-3.0-only + +Files: support/documentation/po/* +Copyright: 2024 John Livingston +License: AGPL-3.0-only diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt new file mode 100644 index 00000000..2071b23b --- /dev/null +++ b/LICENSES/MIT.txt @@ -0,0 +1,9 @@ +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/assets/images/avatars/legacy/1.svg.license b/assets/images/avatars/legacy/1.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/1.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/avatars/legacy/10.svg.license b/assets/images/avatars/legacy/10.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/10.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/avatars/legacy/2.svg.license b/assets/images/avatars/legacy/2.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/2.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/avatars/legacy/3.svg.license b/assets/images/avatars/legacy/3.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/3.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/avatars/legacy/4.svg.license b/assets/images/avatars/legacy/4.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/4.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/avatars/legacy/5.svg.license b/assets/images/avatars/legacy/5.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/5.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/avatars/legacy/6.svg.license b/assets/images/avatars/legacy/6.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/6.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/avatars/legacy/7.svg.license b/assets/images/avatars/legacy/7.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/7.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/avatars/legacy/8.svg.license b/assets/images/avatars/legacy/8.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/8.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/avatars/legacy/9.svg.license b/assets/images/avatars/legacy/9.svg.license new file mode 100644 index 00000000..2e74cb47 --- /dev/null +++ b/assets/images/avatars/legacy/9.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 2023 David Revoy + +SPDX-License-Identifier: CC-BY-4.0 diff --git a/assets/images/bye.svg.license b/assets/images/bye.svg.license new file mode 100644 index 00000000..b253ad42 --- /dev/null +++ b/assets/images/bye.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 John Livingston + +SPDX-License-Identifier: AGPL-3.0-only diff --git a/assets/images/help.svg.license b/assets/images/help.svg.license new file mode 100644 index 00000000..b253ad42 --- /dev/null +++ b/assets/images/help.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 John Livingston + +SPDX-License-Identifier: AGPL-3.0-only diff --git a/assets/images/logo.svg.license b/assets/images/logo.svg.license new file mode 100644 index 00000000..b253ad42 --- /dev/null +++ b/assets/images/logo.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 John Livingston + +SPDX-License-Identifier: AGPL-3.0-only diff --git a/assets/images/moderator.svg.license b/assets/images/moderator.svg.license new file mode 100644 index 00000000..b253ad42 --- /dev/null +++ b/assets/images/moderator.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 John Livingston + +SPDX-License-Identifier: AGPL-3.0-only diff --git a/assets/images/new-window.svg.license b/assets/images/new-window.svg.license new file mode 100644 index 00000000..b253ad42 --- /dev/null +++ b/assets/images/new-window.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 John Livingston + +SPDX-License-Identifier: AGPL-3.0-only diff --git a/assets/images/talking-new-window.svg.license b/assets/images/talking-new-window.svg.license new file mode 100644 index 00000000..b253ad42 --- /dev/null +++ b/assets/images/talking-new-window.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 John Livingston + +SPDX-License-Identifier: AGPL-3.0-only diff --git a/assets/images/talking.svg.license b/assets/images/talking.svg.license new file mode 100644 index 00000000..b253ad42 --- /dev/null +++ b/assets/images/talking.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 John Livingston + +SPDX-License-Identifier: AGPL-3.0-only diff --git a/assets/images/url.svg.license b/assets/images/url.svg.license new file mode 100644 index 00000000..b253ad42 --- /dev/null +++ b/assets/images/url.svg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2024 John Livingston + +SPDX-License-Identifier: AGPL-3.0-only diff --git a/prosody-modules/mod_auth_http/README.markdown b/prosody-modules/mod_auth_http/README.markdown index a4b9efe4..f9a11f64 100644 --- a/prosody-modules/mod_auth_http/README.markdown +++ b/prosody-modules/mod_auth_http/README.markdown @@ -1,3 +1,9 @@ + --- labels: - Stage-Alpha diff --git a/prosody-modules/mod_auth_http/mod_auth_http.lua b/prosody-modules/mod_auth_http/mod_auth_http.lua index d94fe143..7d746f87 100644 --- a/prosody-modules/mod_auth_http/mod_auth_http.lua +++ b/prosody-modules/mod_auth_http/mod_auth_http.lua @@ -5,7 +5,7 @@ -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. --- +-- SPDX-License-Identifier: MIT local new_sasl = require "util.sasl".new; local base64 = require "util.encodings".base64.encode; diff --git a/prosody-modules/mod_auth_peertubelivechat_bot/README.md b/prosody-modules/mod_auth_peertubelivechat_bot/README.md index 767d8a51..2d680a18 100644 --- a/prosody-modules/mod_auth_peertubelivechat_bot/README.md +++ b/prosody-modules/mod_auth_peertubelivechat_bot/README.md @@ -1,3 +1,9 @@ + + # mod_bot_peertubelivechat This module is a custom module for the Peertube livechat plugin, that handle bots authentication. diff --git a/prosody-modules/mod_auth_peertubelivechat_bot/mod_auth_peertubelivechat_bot.lua b/prosody-modules/mod_auth_peertubelivechat_bot/mod_auth_peertubelivechat_bot.lua index a2d39036..05edf448 100644 --- a/prosody-modules/mod_auth_peertubelivechat_bot/mod_auth_peertubelivechat_bot.lua +++ b/prosody-modules/mod_auth_peertubelivechat_bot/mod_auth_peertubelivechat_bot.lua @@ -1,11 +1,10 @@ --- Prosody IM --- Copyright (C) 2008-2013 Matthew Wild --- Copyright (C) 2008-2013 Waqas Hussain --- Copyright (C) 2014 Kim Alvefur --- --- This project is MIT/X11 licensed. Please see the --- COPYING file in the source package for more information. +-- SPDX-FileCopyrightText: 2008-2013 Matthew Wild +-- SPDX-FileCopyrightText: 2008-2013 Waqas Hussain +-- SPDX-FileCopyrightText: 2014 Kim Alvefur +-- SPDX-FileCopyrightText: 2024 John Livingston -- +-- SPDX-License-Identifier: MIT +-- SPDX-License-Identifier: AGPL-3.0-only local new_sasl = require "util.sasl".new; local path = require "util.paths"; diff --git a/prosody-modules/mod_http_peertubelivechat_manage_rooms/README.md b/prosody-modules/mod_http_peertubelivechat_manage_rooms/README.md index e14aaefd..32bbfd84 100644 --- a/prosody-modules/mod_http_peertubelivechat_manage_rooms/README.md +++ b/prosody-modules/mod_http_peertubelivechat_manage_rooms/README.md @@ -1,3 +1,9 @@ + + # mod_http_peertubelivechat_manage_rooms This module is a custom module that allows Peertube server to list chat rooms, and update some meta data. diff --git a/prosody-modules/mod_http_peertubelivechat_manage_rooms/mod_http_peertubelivechat_manage_rooms.lua b/prosody-modules/mod_http_peertubelivechat_manage_rooms/mod_http_peertubelivechat_manage_rooms.lua index 6302c418..48d074c8 100644 --- a/prosody-modules/mod_http_peertubelivechat_manage_rooms/mod_http_peertubelivechat_manage_rooms.lua +++ b/prosody-modules/mod_http_peertubelivechat_manage_rooms/mod_http_peertubelivechat_manage_rooms.lua @@ -1,3 +1,7 @@ +-- SPDX-FileCopyrightText: 2024 John Livingston +-- +-- SPDX-License-Identifier: AGPL-3.0-only + local json = require "util.json"; local jid_split = require"util.jid".split; local jid_prep = require"util.jid".prep; diff --git a/prosody-modules/mod_http_peertubelivechat_manage_users/README.md b/prosody-modules/mod_http_peertubelivechat_manage_users/README.md index da2c039c..c62f86ef 100644 --- a/prosody-modules/mod_http_peertubelivechat_manage_users/README.md +++ b/prosody-modules/mod_http_peertubelivechat_manage_users/README.md @@ -1,3 +1,9 @@ + + # mod_http_peertubelivechat_manage_users This module is a custom module that allows Peertube server to manage users for some virtualhosts. diff --git a/prosody-modules/mod_http_peertubelivechat_manage_users/mod_http_peertubelivechat_manage_users.lua b/prosody-modules/mod_http_peertubelivechat_manage_users/mod_http_peertubelivechat_manage_users.lua index 817cf26b..183e0829 100644 --- a/prosody-modules/mod_http_peertubelivechat_manage_users/mod_http_peertubelivechat_manage_users.lua +++ b/prosody-modules/mod_http_peertubelivechat_manage_users/mod_http_peertubelivechat_manage_users.lua @@ -1,3 +1,7 @@ +-- SPDX-FileCopyrightText: 2024 John Livingston +-- +-- SPDX-License-Identifier: AGPL-3.0-only + local json = require "util.json"; local jid_split = require"util.jid".split; local usermanager = require "core.usermanager"; diff --git a/prosody-modules/mod_http_peertubelivechat_test/README.md b/prosody-modules/mod_http_peertubelivechat_test/README.md index 64903e49..efa3a55d 100644 --- a/prosody-modules/mod_http_peertubelivechat_test/README.md +++ b/prosody-modules/mod_http_peertubelivechat_test/README.md @@ -1,3 +1,9 @@ + + # mod_http_peertubelivechat_test This module is a custom module that allows Peertube to test communication with Prosody. diff --git a/prosody-modules/mod_http_peertubelivechat_test/mod_http_peertubelivechat_test.lua b/prosody-modules/mod_http_peertubelivechat_test/mod_http_peertubelivechat_test.lua index dd4d0576..c7dd9c51 100644 --- a/prosody-modules/mod_http_peertubelivechat_test/mod_http_peertubelivechat_test.lua +++ b/prosody-modules/mod_http_peertubelivechat_test/mod_http_peertubelivechat_test.lua @@ -1,3 +1,7 @@ +-- SPDX-FileCopyrightText: 2024 John Livingston +-- +-- SPDX-License-Identifier: AGPL-3.0-only + local json = require "util.json"; local async = require "util.async"; local http = require "net.http"; diff --git a/prosody-modules/mod_muc_ban_ip/README.markdown b/prosody-modules/mod_muc_ban_ip/README.markdown index d43956c8..8d4f8b3b 100644 --- a/prosody-modules/mod_muc_ban_ip/README.markdown +++ b/prosody-modules/mod_muc_ban_ip/README.markdown @@ -1,3 +1,7 @@ + --- labels: - 'Stage-Alpha' diff --git a/prosody-modules/mod_muc_ban_ip/mod_muc_ban_ip.lua b/prosody-modules/mod_muc_ban_ip/mod_muc_ban_ip.lua index 9dba11e1..24cde17c 100644 --- a/prosody-modules/mod_muc_ban_ip/mod_muc_ban_ip.lua +++ b/prosody-modules/mod_muc_ban_ip/mod_muc_ban_ip.lua @@ -1,3 +1,6 @@ +-- SPDX-FileCopyrightText: Prosody Modules +-- SPDX-License-Identifier: MIT + module:set_global(); local jid_bare, jid_host = require "util.jid".bare, require "util.jid".host; diff --git a/prosody-modules/mod_muc_http_defaults/README.markdown b/prosody-modules/mod_muc_http_defaults/README.markdown index 66e2cf28..5db83a18 100644 --- a/prosody-modules/mod_muc_http_defaults/README.markdown +++ b/prosody-modules/mod_muc_http_defaults/README.markdown @@ -1,3 +1,7 @@ + --- summary: Seed MUC configuration from JSON REST API --- diff --git a/prosody-modules/mod_muc_http_defaults/mod_muc_http_defaults.lua b/prosody-modules/mod_muc_http_defaults/mod_muc_http_defaults.lua index ad9c4ca7..9bc25fe2 100644 --- a/prosody-modules/mod_muc_http_defaults/mod_muc_http_defaults.lua +++ b/prosody-modules/mod_muc_http_defaults/mod_muc_http_defaults.lua @@ -1,8 +1,8 @@ --- Copyright (C) 2021 Kim Alvefur --- Copyright (C) 2024 John Livingston +-- SPDX-FileCopyrightText: 2021 Kim Alvefur +-- SPDX-FileCopyrightText: 2024 John Livingston -- --- This file is MIT licensed. Please see the --- COPYING file in the source package for more information. +-- SPDX-License-Identifier: MIT +-- SPDX-License-Identifier: AGPL-3.0-only -- -- This version contains a modification to take into account new config option "slow_mode_duration". -- This option is introduced in the Peertube livechat plugin, by mod_muc_slow_mode. diff --git a/prosody-modules/mod_muc_moderation/README.markdown b/prosody-modules/mod_muc_moderation/README.markdown index 9a0d5ea9..6c914443 100644 --- a/prosody-modules/mod_muc_moderation/README.markdown +++ b/prosody-modules/mod_muc_moderation/README.markdown @@ -1,3 +1,7 @@ + # Introduction This module implements [XEP-0425: Message Moderation]. diff --git a/prosody-modules/mod_muc_moderation/mod_muc_moderation.lua b/prosody-modules/mod_muc_moderation/mod_muc_moderation.lua index cb204326..318175be 100644 --- a/prosody-modules/mod_muc_moderation/mod_muc_moderation.lua +++ b/prosody-modules/mod_muc_moderation/mod_muc_moderation.lua @@ -1,8 +1,8 @@ -- mod_muc_moderation -- --- Copyright (C) 2015-2021 Kim Alvefur +-- SPDX-FileCopyrightText: 2015-2021 Kim Alvefur -- --- This file is MIT licensed. +-- SPDX-License-Identifier: MIT -- -- Implements: XEP-0425: Message Moderation -- diff --git a/prosody-modules/mod_muc_slow_mode/README.md b/prosody-modules/mod_muc_slow_mode/README.md index 7ccc6a01..772d4a11 100644 --- a/prosody-modules/mod_muc_slow_mode/README.md +++ b/prosody-modules/mod_muc_slow_mode/README.md @@ -1,3 +1,7 @@ + # mod_muc_slow_mode This module is a custom module that allows slow mode for MUC rooms. diff --git a/prosody-modules/mod_muc_slow_mode/mod_muc_slow_mode.lua b/prosody-modules/mod_muc_slow_mode/mod_muc_slow_mode.lua index 8b4febfc..5ba8eb66 100644 --- a/prosody-modules/mod_muc_slow_mode/mod_muc_slow_mode.lua +++ b/prosody-modules/mod_muc_slow_mode/mod_muc_slow_mode.lua @@ -1,6 +1,7 @@ -- mod_muc_slow_mode -- --- Copyright (C) 2024 John Livingston +-- SPDX-FileCopyrightText: 2024 John Livingston +-- SPDX-License-Identifier: AGPL-3.0-only -- -- This file is AGPL-v3 licensed. -- Please see the Peertube livechat plugin copyright information. diff --git a/prosody-modules/mod_pubsub_peertubelivechat/README.md b/prosody-modules/mod_pubsub_peertubelivechat/README.md index 63a64ae6..b0525942 100644 --- a/prosody-modules/mod_pubsub_peertubelivechat/README.md +++ b/prosody-modules/mod_pubsub_peertubelivechat/README.md @@ -1,3 +1,7 @@ + # mod_pubsub_peertubelivechat This module is a custom module that provide some pubsub services associated to a MUC room. diff --git a/prosody-modules/mod_pubsub_peertubelivechat/mod_pubsub_peertubelivechat.lua b/prosody-modules/mod_pubsub_peertubelivechat/mod_pubsub_peertubelivechat.lua index ee723e14..5dd041f3 100644 --- a/prosody-modules/mod_pubsub_peertubelivechat/mod_pubsub_peertubelivechat.lua +++ b/prosody-modules/mod_pubsub_peertubelivechat/mod_pubsub_peertubelivechat.lua @@ -1,3 +1,6 @@ +-- SPDX-FileCopyrightText: 2024 John Livingston +-- SPDX-License-Identifier: AGPL-3.0-only + -- This module create sort of a MEP equivalent to PEP, but for MUC chatrooms. -- This idea is described in https://xmpp.org/extensions/xep-0316.html -- but here there are some differences: diff --git a/prosody-modules/mod_random_vcard_peertubelivechat/README.md b/prosody-modules/mod_random_vcard_peertubelivechat/README.md index 05a3f178..f0979ec0 100644 --- a/prosody-modules/mod_random_vcard_peertubelivechat/README.md +++ b/prosody-modules/mod_random_vcard_peertubelivechat/README.md @@ -1,3 +1,7 @@ + # mod_random_vcard_peertubelivechat This module is a custom module that allows Prosody to generate random vCards avatars for anonymous users. diff --git a/prosody-modules/mod_random_vcard_peertubelivechat/mod_random_vcard_peertubelivechat.lua b/prosody-modules/mod_random_vcard_peertubelivechat/mod_random_vcard_peertubelivechat.lua index 36718851..e3e845d8 100644 --- a/prosody-modules/mod_random_vcard_peertubelivechat/mod_random_vcard_peertubelivechat.lua +++ b/prosody-modules/mod_random_vcard_peertubelivechat/mod_random_vcard_peertubelivechat.lua @@ -1,3 +1,6 @@ +-- SPDX-FileCopyrightText: 2024 John Livingston +-- SPDX-License-Identifier: AGPL-3.0-only + local st = require "util.stanza"; local path = require "util.paths"; local b64 = require "util.encodings".base64.encode; diff --git a/prosody-modules/mod_s2s_peertubelivechat/README.md b/prosody-modules/mod_s2s_peertubelivechat/README.md index f8e7b807..28f26378 100644 --- a/prosody-modules/mod_s2s_peertubelivechat/README.md +++ b/prosody-modules/mod_s2s_peertubelivechat/README.md @@ -1,3 +1,9 @@ + + # mod_s2s_peertubelivechat This module is part of peertube-plugin-livechat, and is under the same LICENSE. diff --git a/prosody-modules/mod_s2s_peertubelivechat/mod_s2s_peertubelivechat.lua b/prosody-modules/mod_s2s_peertubelivechat/mod_s2s_peertubelivechat.lua index 73847cad..00d581d9 100644 --- a/prosody-modules/mod_s2s_peertubelivechat/mod_s2s_peertubelivechat.lua +++ b/prosody-modules/mod_s2s_peertubelivechat/mod_s2s_peertubelivechat.lua @@ -1,3 +1,7 @@ +-- SPDX-FileCopyrightText: 2024 John Livingston +-- +-- SPDX-License-Identifier: AGPL-3.0-only + module:set_global(); local path = require "util.paths"; diff --git a/prosody-modules/mod_vcard_peertubelivechat/README.md b/prosody-modules/mod_vcard_peertubelivechat/README.md index 74e370cf..301f3844 100644 --- a/prosody-modules/mod_vcard_peertubelivechat/README.md +++ b/prosody-modules/mod_vcard_peertubelivechat/README.md @@ -1,3 +1,9 @@ + + # mod_vcard_peertubelivechat This module is a custom module that allows Prosody to load vCards from Peertube. diff --git a/prosody-modules/mod_vcard_peertubelivechat/mod_vcard_peertubelivechat.lua b/prosody-modules/mod_vcard_peertubelivechat/mod_vcard_peertubelivechat.lua index 7918a277..7a5c4f40 100644 --- a/prosody-modules/mod_vcard_peertubelivechat/mod_vcard_peertubelivechat.lua +++ b/prosody-modules/mod_vcard_peertubelivechat/mod_vcard_peertubelivechat.lua @@ -1,3 +1,7 @@ +-- SPDX-FileCopyrightText: 2024 John Livingston +-- +-- SPDX-License-Identifier: AGPL-3.0-only + local st = require "util.stanza"; local http = require "net.http"; local gettime = require 'socket'.gettime; diff --git a/prosody-modules/mod_websocket_s2s_peertubelivechat/README.md b/prosody-modules/mod_websocket_s2s_peertubelivechat/README.md index aaa5e859..c18d9504 100644 --- a/prosody-modules/mod_websocket_s2s_peertubelivechat/README.md +++ b/prosody-modules/mod_websocket_s2s_peertubelivechat/README.md @@ -1,3 +1,9 @@ + + # mod_websocket_s2s_peertubelivechat This module is part of peertube-plugin-livechat, and is under the same LICENSE. diff --git a/prosody-modules/mod_websocket_s2s_peertubelivechat/mod_websocket_s2s_peertubelivechat.lua b/prosody-modules/mod_websocket_s2s_peertubelivechat/mod_websocket_s2s_peertubelivechat.lua index 8b4b4fe8..6970ce7e 100644 --- a/prosody-modules/mod_websocket_s2s_peertubelivechat/mod_websocket_s2s_peertubelivechat.lua +++ b/prosody-modules/mod_websocket_s2s_peertubelivechat/mod_websocket_s2s_peertubelivechat.lua @@ -1,7 +1,8 @@ --- Prosody IM --- Copyright (C) 2012-2014 Florian Zeitz --- Copyright (C) 2023 John Livingston --- Copied from original Prosody mod_websocket module (MIT/X11 licensed). Provided with Peertube Livechat plugin (AGPL-v3). +-- SPDX-FileCopyrightText: 2012-2014 Florian Zeitz +-- SPDX-FileCopyrightText: 2023-2024 John Livingston +-- +-- SPDX-License-Identifier: MIT +-- SPDX-License-Identifier: AGPL-3.0-only module:set_global();