SPDX headers.

This commit is contained in:
John Livingston
2024-05-23 12:18:17 +02:00
parent d5c327565c
commit e8382f163b
48 changed files with 192 additions and 19 deletions

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2008-2013 Matthew Wild
SPDX-FileCopyrightText: 2008-2013 Waqas Hussain
SPDX-FileCopyrightText: 2014 Kim Alvefur
SPDX-License-Identifier: MIT
-->
---
labels:
- Stage-Alpha

View File

@ -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;

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_bot_peertubelivechat
This module is a custom module for the Peertube livechat plugin, that handle bots authentication.

View File

@ -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 <https://www.john-livingston.fr/>
--
-- SPDX-License-Identifier: MIT
-- SPDX-License-Identifier: AGPL-3.0-only
local new_sasl = require "util.sasl".new;
local path = require "util.paths";

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_http_peertubelivechat_manage_rooms
This module is a custom module that allows Peertube server to list chat rooms, and update some meta data.

View File

@ -1,3 +1,7 @@
-- SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
--
-- 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;

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_http_peertubelivechat_manage_users
This module is a custom module that allows Peertube server to manage users for some virtualhosts.

View File

@ -1,3 +1,7 @@
-- SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
--
-- SPDX-License-Identifier: AGPL-3.0-only
local json = require "util.json";
local jid_split = require"util.jid".split;
local usermanager = require "core.usermanager";

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_http_peertubelivechat_test
This module is a custom module that allows Peertube to test communication with Prosody.

View File

@ -1,3 +1,7 @@
-- SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
--
-- SPDX-License-Identifier: AGPL-3.0-only
local json = require "util.json";
local async = require "util.async";
local http = require "net.http";

View File

@ -1,3 +1,7 @@
<!--
SPDX-FileCopyrightText: Prosody Modules <https://hg.prosody.im/prosody-modules>
SPDX-License-Identifier: MIT
-->
---
labels:
- 'Stage-Alpha'

View File

@ -1,3 +1,6 @@
-- SPDX-FileCopyrightText: Prosody Modules <https://hg.prosody.im/prosody-modules>
-- SPDX-License-Identifier: MIT
module:set_global();
local jid_bare, jid_host = require "util.jid".bare, require "util.jid".host;

View File

@ -1,3 +1,7 @@
<!--
SPDX-FileCopyrightText: 2021 Kim Alvefur
SPDX-License-Identifier: MIT
-->
---
summary: Seed MUC configuration from JSON REST API
---

View File

@ -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.

View File

@ -1,3 +1,7 @@
<!--
SPDX-FileCopyrightText: 2015-2021 Kim Alvefur
SPDX-License-Identifier: MIT
-->
# Introduction
This module implements [XEP-0425: Message Moderation].

View File

@ -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
--

View File

@ -1,3 +1,7 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_muc_slow_mode
This module is a custom module that allows slow mode for MUC rooms.

View File

@ -1,6 +1,7 @@
-- mod_muc_slow_mode
--
-- Copyright (C) 2024 John Livingston
-- SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
-- SPDX-License-Identifier: AGPL-3.0-only
--
-- This file is AGPL-v3 licensed.
-- Please see the Peertube livechat plugin copyright information.

View File

@ -1,3 +1,7 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_pubsub_peertubelivechat
This module is a custom module that provide some pubsub services associated to a MUC room.

View File

@ -1,3 +1,6 @@
-- SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
-- 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:

View File

@ -1,3 +1,7 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_random_vcard_peertubelivechat
This module is a custom module that allows Prosody to generate random vCards avatars for anonymous users.

View File

@ -1,3 +1,6 @@
-- SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
-- SPDX-License-Identifier: AGPL-3.0-only
local st = require "util.stanza";
local path = require "util.paths";
local b64 = require "util.encodings".base64.encode;

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_s2s_peertubelivechat
This module is part of peertube-plugin-livechat, and is under the same LICENSE.

View File

@ -1,3 +1,7 @@
-- SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
--
-- SPDX-License-Identifier: AGPL-3.0-only
module:set_global();
local path = require "util.paths";

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_vcard_peertubelivechat
This module is a custom module that allows Prosody to load vCards from Peertube.

View File

@ -1,3 +1,7 @@
-- SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
--
-- SPDX-License-Identifier: AGPL-3.0-only
local st = require "util.stanza";
local http = require "net.http";
local gettime = require 'socket'.gettime;

View File

@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 John Livingston <https://www.john-livingston.fr/>
SPDX-License-Identifier: AGPL-3.0-only
-->
# mod_websocket_s2s_peertubelivechat
This module is part of peertube-plugin-livechat, and is under the same LICENSE.

View File

@ -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 <https://www.john-livingston.fr/>
--
-- SPDX-License-Identifier: MIT
-- SPDX-License-Identifier: AGPL-3.0-only
module:set_global();