Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Quite some changes, to: | Matthew Wild | 2008-11-18 | 5 | -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 #8 | Matthew Wild | 2008-11-18 | 2 | -3/+34 |
| | |||||
* | Allow us to close client connections, with or without a stream error. ↵ | Matthew Wild | 2008-11-18 | 2 | -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 socket | Matthew Wild | 2008-11-18 | 1 | -1/+5 |
| | |||||
* | Fixed s2s manager's send queue to not store recieved stanza objects (as ↵ | Waqas Hussain | 2008-11-17 | 1 | -0/+1 |
| | | | | these can chnage after the send call) | ||||
* | Send unsubscribe and unsubscribed on roster item delete, and broadcast ↵ | Waqas Hussain | 2008-11-17 | 2 | -6/+21 |
| | | | | available resources' presence in reply to pre-approved subscription request | ||||
* | Adding logging for outbound presence broadcasts (changed it a bit) | Waqas Hussain | 2008-11-17 | 1 | -1/+1 |
| | |||||
* | Adding logging for outbound presence broadcasts | Waqas Hussain | 2008-11-17 | 1 | -0/+1 |
| | |||||
* | Second fix for broadcasting presence of available resources to newly ↵ | Waqas Hussain | 2008-11-17 | 1 | -1/+1 |
| | | | | approved contact | ||||
* | Fix for broadcasting presence of available resources to newly approved contact | Waqas Hussain | 2008-11-17 | 1 | -4/+4 |
| | |||||
* | Moved presence subscription code from stanza_router to presencemanager | Waqas Hussain | 2008-11-17 | 2 | -110/+122 |
| | |||||
* | Merge with waqas | Matthew Wild | 2008-11-16 | 1 | -5/+0 |
|\ | |||||
| * | Removed unused function send_to_session from sessionmanager (send_to_session ↵ | Waqas Hussain | 2008-11-16 | 1 | -5/+0 |
| | | | | | | | | replaced by session.send) | ||||
* | | Fix for putting TLS in stream:features for connections already using TLS. ↵ | Matthew Wild | 2008-11-16 | 1 | -0/+2 |
| | | | | | | | | Thanks to albert for spotting. | ||||
* | | Fix logging in some cases for client disconnects | Matthew Wild | 2008-11-16 | 1 | -1/+1 |
|/ | |||||
* | Fixed mod_tls to use session.send for sending stanzas | Waqas Hussain | 2008-11-16 | 1 | -2/+1 |
| | |||||
* | Fixed servermanager to use session.send for sending stanzas | Waqas Hussain | 2008-11-16 | 1 | -3/+2 |
| | |||||
* | Removed useless [[local send = require ↵ | Waqas Hussain | 2008-11-16 | 2 | -2/+0 |
| | | | | "core.sessionmanager".send_to_session]] from mod_uptime and mod_version | ||||
* | Fixed mod_saslauth to use session.send for sending stanzas | Waqas Hussain | 2008-11-16 | 1 | -2/+1 |
| | |||||
* | Fixed sessionmanager to not send session in place of stream features... | Waqas Hussain | 2008-11-16 | 1 | -1/+1 |
| | |||||
* | Fixed mod_register to use session.send for sending stanzas | Waqas Hussain | 2008-11-16 | 1 | -15/+14 |
| | |||||
* | Fixed mod_private to use session.send for sending stanzas | Waqas Hussain | 2008-11-16 | 1 | -8/+7 |
| | |||||
* | Fixed sessionmanager to use appropriate method for sending stream features | Waqas Hussain | 2008-11-16 | 1 | -1/+1 |
| | |||||
* | Fixed mod_legacyauth to use session.send for sending stanzas | Waqas Hussain | 2008-11-16 | 1 | -4/+3 |
| | |||||
* | Fix mod_vcard to use session.send for sending stanzas | Waqas Hussain | 2008-11-16 | 1 | -6/+5 |
| | |||||
* | Merge with myself (!) | Matthew Wild | 2008-11-15 | 4 | -13/+37 |
|\ | |||||
| * | You can never have too many tests | Matthew Wild | 2008-11-15 | 1 | -0/+24 |
| | | |||||
| * | Warn when subtest function does not exist | Matthew Wild | 2008-11-15 | 1 | -0/+1 |
| | | |||||
| * | If iq child element has no xmlns, use parent's | Matthew Wild | 2008-11-15 | 1 | -3/+3 |
| | | |||||
| * | Fix mod_roster to use session.send for sending stanzas | Matthew Wild | 2008-11-15 | 1 | -10/+9 |
| | | |||||
* | | Merge from waqas | Matthew Wild | 2008-11-15 | 4 | -42/+17 |
|\ \ | |/ |/| | |||||
| * | Code cleanup for resource binding | Waqas Hussain | 2008-11-16 | 3 | -37/+15 |
| | | |||||
| * | Unused variables in mod_tls | Waqas Hussain | 2008-11-16 | 1 | -5/+2 |
| | | |||||
* | | Small fix for mod_version | Matthew Wild | 2008-11-15 | 1 | -1/+1 |
|/ | |||||
* | Providing some human readable error messages and some fixes. | Tobias Markmann | 2008-11-15 | 2 | -50/+38 |
|\ | |||||
| * | Using md5.sum rather than hashes.md5 because we don't want hexadecimal | Waqas Hussain | 2008-11-16 | 1 | -1/+1 |
| | | |||||
| * | mod_saslauth: Code cleanup | Waqas Hussain | 2008-11-16 | 1 | -22/+10 |
| | | |||||
* | | Made SASL module fit the new interface. | Tobias Markmann | 2008-11-15 | 2 | -99/+88 |
|/ | |||||
* | base64 encode the sasl responses | Waqas Hussain | 2008-11-16 | 1 | -3/+3 |
| | |||||
* | Started using realm in password hashing, and added support for error message ↵ | Waqas Hussain | 2008-11-16 | 2 | -7/+7 |
| | | | | replies from sasl | ||||
* | Comment out DIGEST-MD5 until it is fully implemented | Matthew Wild | 2008-11-15 | 1 | -1/+1 |
| | |||||
* | Merge new SASL code from Tobias and Waqas | Matthew Wild | 2008-11-15 | 2 | -48/+233 |
|\ | |||||
| * | Merging with Waqas' code. | Tobias Markmann | 2008-11-15 | 1 | -0/+2 |
| |\ | |||||
| | * | Set username on SASL success | Waqas Hussain | 2008-11-16 | 1 | -0/+2 |
| | | | |||||
| * | | Set username in a SASL object. | Tobias Markmann | 2008-11-15 | 2 | -2/+10 |
| | | | |||||
| * | | Merge with Waqas changes to mod_saslauth. | Tobias Markmann | 2008-11-15 | 1 | -40/+19 |
| |\| | |||||
| | * | mod_saslauth: Added base64 decoding, encoding check, and cleaned the code up. | Waqas Hussain | 2008-11-15 | 1 | -40/+19 |
| | | | |||||
| * | | Made PLAIN method in sasl.lua module follow new interface. | Tobias Markmann | 2008-11-15 | 1 | -18/+19 |
| | | | |||||
| * | | Adding some TODO for some security issue. | Tobias Markmann | 2008-11-15 | 1 | -0/+1 |
| | | | |||||
| * | | Merging my new SASL code with Waqas' adjusted saslauth module. | Tobias Markmann | 2008-11-15 | 14 | -95/+404 |
| |\| |