aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't error if streamopened/streamclosed callback is not specified for a sessionMatthew Wild2008-11-191-5/+9
|
* Extra checks before sending error replies to incoming stanzasMatthew Wild2008-11-191-4/+4
|
* Fix sending of unavailable presence on disconnectMatthew Wild2008-11-191-2/+4
|
* Don't forget to escape XML in attributes. Thanks to the Postgres Q&A ↵Matthew Wild2008-11-191-2/+2
| | | | room on conference.jabber.org :)
* We have SRV resolving \o/Matthew Wild2008-11-184-6/+1188
|
* Small fix for servermanagerMatthew Wild2008-11-181-1/+1
|
* Fix to prevent send retry when connection is already closedMatthew Wild2008-11-181-6/+9
|
* *ahem* Yes, move along please... though really, quite a classic. :)Matthew Wild2008-11-181-1/+1
|
* 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