Don't attempt to auth connection unless stanzas are being sent across it

Log sent s2s stanzas

Incorrect function set as callback

Don't error if streamopened/streamclosed callback is not specified for a session

Extra checks before sending error replies to incoming stanzas

Fix sending of unavailable presence on disconnect

Don't forget to escape XML in attributes. Thanks to the Postgres Q&A room on conference.jabber.org :)

We have SRV resolving \o/

Small fix for servermanager

Fix to prevent send retry when connection is already closed

*ahem* Yes, move along please... though really, quite a classic. :)

session:disconnect() -> session:close() for consistency with other Lua APIs

Remove useless check for unavailable presence (which never exists)

Quite some changes, to:

s2s sessions can now be disconnected, with or without a stream error. Fixes #8

Allow us to close client connections, with or without a stream error. Partially fixes #8, we still need the same for s2s (though it should be almost a straight copy of the code, I'm too tired atm)

Flush write queue before closing socket

Fixed s2s manager's send queue to not store recieved stanza objects (as these can chnage after the send call)

Send unsubscribe and unsubscribed on roster item delete, and broadcast available resources' presence in reply to pre-approved subscription request

Adding logging for outbound presence broadcasts (changed it a bit)

Adding logging for outbound presence broadcasts

Second fix for broadcasting presence of available resources to newly approved contact

Fix for broadcasting presence of available resources to newly approved contact

Moved presence subscription code from stanza_router to presencemanager

Merge with waqas

Fix for putting TLS in stream:features for connections already using TLS. Thanks to albert for spotting.

Fix logging in some cases for client disconnects

Removed unused function send_to_session from sessionmanager (send_to_session replaced by session.send)

Fixed mod_tls to use session.send for sending stanzas

Fixed servermanager to use session.send for sending stanzas

Removed useless [[local send = require "core.sessionmanager".send_to_session]] from mod_uptime and mod_version

Fixed mod_saslauth to use session.send for sending stanzas

Fixed sessionmanager to not send session in place of stream features...

Fixed mod_register to use session.send for sending stanzas

Fixed mod_private to use session.send for sending stanzas

Fixed sessionmanager to use appropriate method for sending stream features

Fixed mod_legacyauth to use session.send for sending stanzas

Fix mod_vcard to use session.send for sending stanzas

Merge with myself (!)

Merge from waqas

Code cleanup for resource binding

Unused variables in mod_tls

You can never have too many tests

Warn when subtest function does not exist

If iq child element has no xmlns, use parent's

Fix mod_roster to use session.send for sending stanzas

Small fix for mod_version

Providing some human readable error messages and some fixes.

Using md5.sum rather than hashes.md5 because we don't want hexadecimal

mod_saslauth: Code cleanup

Made SASL module fit the new interface.

base64 encode the sasl responses

Started using realm in password hashing, and added support for error message replies from sasl

Comment out DIGEST-MD5 until it is fully implemented

Merge new SASL code from Tobias and Waqas

Merging with Waqas' code.

Set username in a SASL object.

Set username on SASL success

Merge with Waqas changes to mod_saslauth.

Made PLAIN method in sasl.lua module follow new interface.

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

mercurial