aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* session:disconnect() -> session:close() for consistency with other Lua APIsMatthew Wild2008-11-184-8/+6
|
* Remove useless check for unavailable presence (which never exists)Matthew Wild2008-11-181-1/+1
|
* Quite some changes, to:Matthew Wild2008-11-185-25/+44
| | | | | | | | - Small logging fix for s2smanager - Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11) - init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this) - Move sending of unavailable presence to where it should be, sessionmanager.destroy_session - Fix sending of stream errors to wrong connection
* s2s sessions can now be disconnected, with or without a stream error. Fixes #8Matthew Wild2008-11-182-3/+34
|
* Allow us to close client connections, with or without a stream error. ↵Matthew Wild2008-11-182-2/+46
| | | | 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 socketMatthew Wild2008-11-181-1/+5
|
* Fixed s2s manager's send queue to not store recieved stanza objects (as ↵Waqas Hussain2008-11-171-0/+1
| | | | these can chnage after the send call)
* Send unsubscribe and unsubscribed on roster item delete, and broadcast ↵Waqas Hussain2008-11-172-6/+21
| | | | available resources' presence in reply to pre-approved subscription request
* Adding logging for outbound presence broadcasts (changed it a bit)Waqas Hussain2008-11-171-1/+1
|
* Adding logging for outbound presence broadcastsWaqas Hussain2008-11-171-0/+1
|
* Second fix for broadcasting presence of available resources to newly ↵Waqas Hussain2008-11-171-1/+1
| | | | approved contact
* Fix for broadcasting presence of available resources to newly approved contactWaqas Hussain2008-11-171-4/+4
|
* Moved presence subscription code from stanza_router to presencemanagerWaqas Hussain2008-11-172-110/+122
|
* Merge with waqasMatthew Wild2008-11-161-5/+0
|\
| * Removed unused function send_to_session from sessionmanager (send_to_session ↵Waqas Hussain2008-11-161-5/+0
| | | | | | | | replaced by session.send)
* | Fix for putting TLS in stream:features for connections already using TLS. ↵Matthew Wild2008-11-161-0/+2
| | | | | | | | Thanks to albert for spotting.
* | Fix logging in some cases for client disconnectsMatthew Wild2008-11-161-1/+1
|/
* Fixed mod_tls to use session.send for sending stanzasWaqas Hussain2008-11-161-2/+1
|
* Fixed servermanager to use session.send for sending stanzasWaqas Hussain2008-11-161-3/+2
|
* Removed useless [[local send = require ↵Waqas Hussain2008-11-162-2/+0
| | | | "core.sessionmanager".send_to_session]] from mod_uptime and mod_version
* Fixed mod_saslauth to use session.send for sending stanzasWaqas Hussain2008-11-161-2/+1
|
* Fixed sessionmanager to not send session in place of stream features...Waqas Hussain2008-11-161-1/+1
|
* Fixed mod_register to use session.send for sending stanzasWaqas Hussain2008-11-161-15/+14
|
* Fixed mod_private to use session.send for sending stanzasWaqas Hussain2008-11-161-8/+7
|
* Fixed sessionmanager to use appropriate method for sending stream featuresWaqas Hussain2008-11-161-1/+1
|
* Fixed mod_legacyauth to use session.send for sending stanzasWaqas Hussain2008-11-161-4/+3
|
* Fix mod_vcard to use session.send for sending stanzasWaqas Hussain2008-11-161-6/+5
|
* Merge with myself (!)Matthew Wild2008-11-154-13/+37
|\
| * You can never have too many testsMatthew Wild2008-11-151-0/+24
| |
| * Warn when subtest function does not existMatthew Wild2008-11-151-0/+1
| |
| * If iq child element has no xmlns, use parent'sMatthew Wild2008-11-151-3/+3
| |
| * Fix mod_roster to use session.send for sending stanzasMatthew Wild2008-11-151-10/+9
| |
* | Merge from waqasMatthew Wild2008-11-154-42/+17
|\ \ | |/ |/|
| * Code cleanup for resource bindingWaqas Hussain2008-11-163-37/+15
| |
| * Unused variables in mod_tlsWaqas Hussain2008-11-161-5/+2
| |
* | Small fix for mod_versionMatthew Wild2008-11-151-1/+1
|/
* Providing some human readable error messages and some fixes.Tobias Markmann2008-11-152-50/+38
|\
| * Using md5.sum rather than hashes.md5 because we don't want hexadecimalWaqas Hussain2008-11-161-1/+1
| |
| * mod_saslauth: Code cleanupWaqas Hussain2008-11-161-22/+10
| |
* | Made SASL module fit the new interface.Tobias Markmann2008-11-152-99/+88
|/
* base64 encode the sasl responsesWaqas Hussain2008-11-161-3/+3
|
* Started using realm in password hashing, and added support for error message ↵Waqas Hussain2008-11-162-7/+7
| | | | replies from sasl
* Comment out DIGEST-MD5 until it is fully implementedMatthew Wild2008-11-151-1/+1
|
* Merge new SASL code from Tobias and WaqasMatthew Wild2008-11-152-48/+233
|\
| * Merging with Waqas' code.Tobias Markmann2008-11-151-0/+2
| |\
| | * Set username on SASL successWaqas Hussain2008-11-161-0/+2
| | |
| * | Set username in a SASL object.Tobias Markmann2008-11-152-2/+10
| | |
| * | Merge with Waqas changes to mod_saslauth.Tobias Markmann2008-11-151-40/+19
| |\|
| | * mod_saslauth: Added base64 decoding, encoding check, and cleaned the code up.Waqas Hussain2008-11-151-40/+19
| | |
| * | Made PLAIN method in sasl.lua module follow new interface.Tobias Markmann2008-11-151-18/+19
| | |