sessionmanager: Removed a redundant check

sessionmanager: Fixed an old FIXME: A problem caused by an error on an authenticated but unbound session

sessionmanager: Add/remove sessions from full_sessions and bare_sessions when binding/unbinding sessions

sessionmanager: Added reference to globals full_sessions and bare_sessions

sessionmanager: Removed reference to global 'sessions'

Added globals bare_sessions and full_sessions, which map bare and full JIDs to sessions.

Removed unused global 'session'

mod_tls: Add <required/> to stream feature when TLS is required

mod_legacyauth: Hide stream feature when secure auth is enabled, and session isn't secure

mod_saslauth: Don't offer bind/session when they aren't authenticated yet :) [thanks albert, again...]

mod_saslauth, mod_legacyauth: Deny logins to unsecure sessions when require_encryption config option is true

xmppclient_listener: A connection is also secure when it uses legacy SSL

net.server: A connection is not secure if we delay the TLS handshake

sessionmanager, mod_tls: Mark a session as secure when TLS is active

stanza_router: Break off resource selection for messages into a standalone function

mod_presence: Lower some log levels to their correct values

mod_presence: Use logger supplied by modulemanager

mod_presence: Leave alone the from attribute of session.presence. Big thanks to albert for figuring out the steps to reproduce this bug, and for giving us a ([very] slight) performance increase!

Add log message when DNS lookup is cancelled

net.adns: Fix for calling handler when cancelling DNS lookup

mod_watchregistrations: admin -> admins

prosodyctl: Add error message for no-pidfile

s2smanager: Timeout DNS requests after 60 seconds (or dns_timeout in config)

net.adns: Add support for cancelling a non-blocking lookup, optionally calling the handler

net.dns: Add support for cancelling a coroutine-based request

mod_watchregistrations: New plugin to send a message to admins when a new user registers

mod_roster: Add some comments for the error cases to improve readability

s2smanager: Only send reply </stream:stream> when connection is still open

(0) -1000 -300 -100 -50 -28 +28 +50 +100 +300 +1000 tip

mercurial