--- a/core/actions.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/core/actions.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local actions = {};
--- a/core/eventmanager.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/core/eventmanager.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local t_insert = table.insert;
local ipairs = ipairs;
--- a/core/hostmanager.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/core/hostmanager.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local hosts = hosts;
local configmanager = require "core.configmanager";
--- a/core/loggingmanager.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/core/loggingmanager.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local format, rep = string.format, string.rep;
local pcall = pcall;
--- a/core/objectmanager.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/core/objectmanager.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local new_multitable = require "util.multitable".new;
local t_insert = table.insert;
--- a/fallbacks/bit.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/fallbacks/bit.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local type = type;
local tonumber = tonumber;
--- a/net/adns.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/net/adns.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local server = require "net.server";
local dns = require "net.dns";
--- a/net/http.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/net/http.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local socket = require "socket"
local mime = require "mime"
--- a/net/httpclient_listener.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/net/httpclient_listener.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local log = require "util.logger".init("httpclient_listener");
local connlisteners_register = require "net.connlisteners".register;
--- a/net/httpserver.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/net/httpserver.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local socket = require "socket"
local server = require "net.server"
--- a/net/httpserver_listener.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/net/httpserver_listener.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local connlisteners_register = require "net.connlisteners".register;
--- a/net/server.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/net/server.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
--[[
server.lua by blastbeat
--- a/plugins/mod_actions_http.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_actions_http.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local httpserver = require "net.httpserver";
local t_concat, t_insert = table.concat, table.insert;
--- a/plugins/mod_announce.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_announce.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local st, jid, set = require "util.stanza", require "util.jid", require "util.set";
local is_admin = require "core.usermanager".is_admin;
--- a/plugins/mod_bosh.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_bosh.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
module.host = "*" -- Global module
--- a/plugins/mod_groups.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_groups.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local groups = { default = {} };
local members = { [false] = {} };
--- a/plugins/mod_httpserver.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_httpserver.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local httpserver = require "net.httpserver";
--- a/plugins/mod_iq.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_iq.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local st = require "util.stanza";
local jid_split = require "util.jid".split;
--- a/plugins/mod_message.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_message.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local full_sessions = full_sessions;
local bare_sessions = bare_sessions;
--- a/plugins/mod_muc.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_muc.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
if module:get_host_type() ~= "component" then
error("MUC should be loaded as a component, please see http://prosody.im/doc/components", 0);
--- a/plugins/mod_offline.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_offline.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local datamanager = require "util.datamanager";
local st = require "util.stanza";
--- a/plugins/mod_pep.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_pep.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local jid_bare = require "util.jid".bare;
local jid_split = require "util.jid".split;
--- a/plugins/mod_posix.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_posix.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local want_pposix_version = "0.3.0";
--- a/plugins/mod_privacy.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_privacy.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local st = require "util.stanza";
local datamanager = require "util.datamanager";
--- a/plugins/mod_watchregistrations.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/plugins/mod_watchregistrations.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local host = module:get_host();
--- a/tests/test_util_stanza.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/tests/test_util_stanza.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
function preserialize(preserialize, st)
local stanza = st.stanza("message", { a = "a" });
--- a/tests/util/logger.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/tests/util/logger.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local format = string.format;
local print = print;
local debug = debug;
--- a/util/array.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/util/array.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local array = {};
local array_mt = { __index = array, __tostring = function (array) return array:concat(", "); end };
--- a/util/dataforms.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/util/dataforms.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local setmetatable = setmetatable;
local pairs, ipairs = pairs, ipairs;
local tostring, type = tostring, type;
--- a/util/events.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/util/events.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local ipairs = ipairs;
local pairs = pairs;
--- a/util/hmac.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/util/hmac.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local hashes = require "util.hashes"
local xor = require "bit".bxor
--- a/util/iterators.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/util/iterators.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
--[[ Iterators ]]--
-- Reverse an iterator
--- a/util/pluginloader.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/util/pluginloader.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local plugin_dir = CFG_PLUGINDIR or "./plugins/";
--- a/util/prosodyctl.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/util/prosodyctl.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local config = require "core.configmanager";
local encodings = require "util.encodings";
--- a/util/pubsub.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/util/pubsub.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local ipairs, pairs, setmetatable, type =
ipairs, pairs, setmetatable, type;
--- a/util/set.lua Fri Jul 10 02:50:57 2009 +0100
+++ b/util/set.lua Fri Jul 10 03:08:38 2009 +0100
@@ -1,3 +1,11 @@
+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local ipairs, pairs, setmetatable, next, tostring =
ipairs, pairs, setmetatable, next, tostring;
local t_concat = table.concat;