mod_adhoc: Fix passing data to util.dataforms

mod_version: Use pposix.uname() if available and os_version_command not set

util.pposix: uname(): Fix to push nil,err in case of error

util.pposix: Add pposix.uname(), bump version

util.jid: Fix parsing of JIDs with no nodepart and an @ in the resourcepart (thanks seth)

tests/test_util_jid.lua: Add more tests for JID splitting

util.stanza: stanza:matched_children() -> stanza:matching_tags()

util.stanza: Add stanza:maptags() to apply a function over child tags (return nil to remove tag from stanza)

s2smanager: Fire s2s{in,out}-established when new s2s connections are ready

util.stanza: Optimisation, remove useless if...then in stanza:children() iterator

util.stanza: Add stanza:matched_children(name, xmlns) [name suggestions welcome]

net.httpserver: Join multiple headers with the same name as per RFC (thanks darkhippo)

mod_bosh: Support for reading the client's real IP through HTTP proxies from X-Forwarded-For

util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb)

net.http: Add http.formencode() for www-form-urlencoded from an array of fields (thanks dersd)

componentmanager: Relocate disallow_s2s to its correct position (thanks darkhoptipomatus)

mod_saslauth, mod_auth_cyrus, util.sasl_cyrus: Moved cyrus account provisioning check out of mod_saslauth.

util.sasl_cyrus: Spaces -> tabs.

usermanager: Get rid unused Cyrus SASL related code.

mod_auth_internal_plain: Get rid of all checks for Cyrus SASL.

mod_saslauth: Get rid of the sasl_backend option (use auth modules instead).

mod_saslauth: Get rid of most Cyrus SASL related code (use authentication='cyrus' instead).

componentmanager: Support the 'disallow_s2s' option for components too (thanks darkhopatomopus)

net.server: Don't load configmanager if not running inside Prosody, assume server_select

mod_bosh: Don't adjust rid when creating a session, as this is no longer necessary and causes a log message ('rid too large') to be erroneously printed, fixes #203

sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202

net.server_select, net.server_event: Remove set_mode() call from server.link()... it can cause the last chunk of data to be discarded if shorter than buffersize (thanks to Zash for the debugging)

mod_adhoc: Answer disco#info (This is a MUST in XEP-0050)

mod_adhoc: Code restructuring

util.logger: Remove support for the 'log_sources' option, to remove a dependency on configmanager. I think the equivalent of log_sources can be done with the advanced logging config.

mod_auth_internal_hashed: Fix deleting users

mod_privacy: Fix typo causing <active/> to never be send

mod_console: Add host:* commands to help (thanks Zash)

tests/test_util_jid.lua: Better formatting, comments, and stop giving 5 arguments to a 4-argument function (thanks Asterix :) )

mod_bosh: Fix to properly ignore repeated requests

mod_bosh: Small change to use variable instead of hard-coded xmlns

mod_bosh: Much improve session:close() for BOSH sessions, so it now matches in usage normal session:close()

mod_bosh: Add error callback for xmlhandlers, to handle the case of invalid or unusable XML in the request payload

MUC: Fixed: Unavilable presence was not being broadcasted for banned users in some cases (thanks Zash).

MUC: Return correct error to non-members attempting to enter a members-only room.

util.xmppstream: Removed some useless property assignments.

util.sasl_cyrus: Make multi-step SASL mechanisms work correctly.

util.sasl: Simplified some code a bit.

util.sasl, util.sasl_cyrus: Removed a ton of unused variables.

eventmanager: REMOVE!!!

mod_bosh: Remove dependency on eventmanager

loggingmanager: Remove (redundant!) dependency on eventmanager

sessionmanager: Remove dependency on eventmanager

s2smanager: Remove dependency on eventmanager

componentmanager: Remove dependency on eventmanager

hostmanager: Remove dependency on eventmanager

modulemanager: Remove dependency on eventmanager

s2smanager: brackets, just to be sure :)

s2smanager: Only bounce real stanzas on s2s failure, not dialback and friends (thanks elghinn)

util.datetime: Added implementation for function parse().

storage/mod_ejabberd: Reorganized some code.

util.sasl_cyrus: Cleanup.

util.sasl: Removed method:forbidden() and its side effects.

util.sasl_cyrus: Removed method:forbidden().

mod_auth_*: Fixed copyright headers.

(0) -3000 -1000 -300 -100 -60 +60 +100 +300 tip

mercurial