Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Quite some changes, to: | Matthew Wild | 2008-11-18 | 3 | -9/+31 |
| | | | | | | | | - 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 | ||||
* | Allow us to close client connections, with or without a stream error. ↵ | Matthew Wild | 2008-11-18 | 1 | -2/+12 |
| | | | | 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) | ||||
* | 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 | 1 | -4/+8 |
| | | | | 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 |
| | |||||
* | Removed unused function send_to_session from sessionmanager (send_to_session ↵ | Waqas Hussain | 2008-11-16 | 1 | -5/+0 |
| | | | | replaced by session.send) | ||||
* | Fixed servermanager to use session.send for sending stanzas | Waqas Hussain | 2008-11-16 | 1 | -3/+2 |
| | |||||
* | Fixed sessionmanager to not send session in place of stream features... | Waqas Hussain | 2008-11-16 | 1 | -1/+1 |
| | |||||
* | Fixed sessionmanager to use appropriate method for sending stream features | Waqas Hussain | 2008-11-16 | 1 | -1/+1 |
| | |||||
* | Merge with myself (!) | Matthew Wild | 2008-11-15 | 1 | -3/+3 |
|\ | |||||
| * | If iq child element has no xmlns, use parent's | Matthew Wild | 2008-11-15 | 1 | -3/+3 |
| | | |||||
* | | Code cleanup for resource binding | Waqas Hussain | 2008-11-16 | 1 | -3/+7 |
|/ | |||||
* | Fix routing of outbound iq stanzas | Matthew Wild | 2008-11-15 | 1 | -2/+2 |
| | |||||
* | Return registered host table when registering a component | Matthew Wild | 2008-11-15 | 1 | -0/+1 |
| | |||||
* | Log how many queued stanzas we send | Waqas Hussain | 2008-11-15 | 1 | -1/+1 |
| | |||||
* | Merge from waqas | Matthew Wild | 2008-11-15 | 2 | -2/+2 |
|\ | |||||
| * | Some bugs fixed | Waqas Hussain | 2008-11-15 | 2 | -2/+2 |
| | | |||||
* | | Update hostname for identi.ca | Matthew Wild | 2008-11-14 | 1 | -1/+1 |
| | | |||||
* | | Remove some old unused (and empty) functions from s2smanager | Matthew Wild | 2008-11-14 | 1 | -7/+0 |
| | | |||||
* | | Only reply with errors if the stanza is not an error or a result (don't know ↵ | Matthew Wild | 2008-11-14 | 1 | -4/+10 |
| | | | | | | | | how much bandwidth this just cost me :) ) | ||||
* | | Update rostermanager to use new logger | Matthew Wild | 2008-11-14 | 1 | -4/+2 |
| | | |||||
* | | A treat for Linux users ;) | Matthew Wild | 2008-11-14 | 1 | -1/+1 |
| | | |||||
* | | Fix outgoing s2s from components. Fixes #16 | Matthew Wild | 2008-11-14 | 1 | -1/+1 |
|/ | |||||
* | Now outgoing s2s sessions are associated with their from_host, fixes #15 | Matthew Wild | 2008-11-14 | 1 | -7/+7 |
| | |||||
* | Some more logging fixes | Matthew Wild | 2008-11-14 | 1 | -4/+3 |
| | |||||
* | Yep, s2s definitely works now. This is just a small fix for logging... | Matthew Wild | 2008-11-14 | 1 | -1/+1 |
| | |||||
* | I knew it ;) Fix sending error replies over s2s (though we shouldn't be ↵ | Matthew Wild | 2008-11-14 | 2 | -2/+3 |
| | | | | error'ing on stream:features anyway) | ||||
* | Print out the stanza also | Matthew Wild | 2008-11-14 | 1 | -1/+2 |
| | |||||
* | Fix for detecting when we are routing a stanza to ourself (I'm sure this has ↵ | Matthew Wild | 2008-11-14 | 1 | -0/+4 |
| | | | | something to do with you, waqas...) | ||||
* | Another small fix, for logging in s2smanager | Matthew Wild | 2008-11-14 | 1 | -1/+4 |
| | |||||
* | Another small fix, for logging in s2smanager | Matthew Wild | 2008-11-14 | 1 | -1/+1 |
| | |||||
* | Mmm, s2s fixed :) | Matthew Wild | 2008-11-14 | 1 | -1/+1 |
| | |||||
* | Merge from waqas | Matthew Wild | 2008-11-13 | 2 | -3/+56 |
|\ | |||||
| * | Added error replies for unhandled stanzas | Waqas Hussain | 2008-11-13 | 1 | -2/+7 |
| | | |||||
| * | Added basic offline message support | Waqas Hussain | 2008-11-13 | 2 | -1/+49 |
| | | |||||
* | | Missed importing a function in last commit | Matthew Wild | 2008-11-13 | 1 | -0/+2 |
| | | |||||
* | | Change sending reply stream header to use top_tag() | Matthew Wild | 2008-11-13 | 1 | -1/+1 |
| | | |||||
* | | Some s2s fixes. Now connect() does not block, and stanzas are not lost when ↵ | Matthew Wild | 2008-11-12 | 1 | -16/+25 |
|/ | | | | connection is slow | ||||
* | Merge from waqas | Matthew Wild | 2008-11-09 | 1 | -1/+1 |
|\ | |||||
| * | Fixed typo | Waqas Hussain | 2008-11-10 | 1 | -1/+1 |
| | | |||||
* | | Merge from waqas | Matthew Wild | 2008-11-09 | 1 | -0/+1 |
|\| | |||||
| * | Hack to allow s2s stanzas to work until we do proper namespace handling | Waqas Hussain | 2008-11-10 | 1 | -0/+1 |
| | | |||||
* | | Move some code about so that we don't leave connections hanging if they hit ↵ | Matthew Wild | 2008-11-09 | 1 | -4/+6 |
|/ | | | | the connection timeout | ||||
* | Prevent slow connects for s2s from blocking for so long | Matthew Wild | 2008-11-09 | 1 | -0/+1 |
| | |||||
* | We now fail if modules fail to load at startup. | Waqas Hussain | 2008-11-09 | 1 | -2/+3 |
| | |||||
* | Updated usermanager with DIGEST-MD5 support | Waqas Hussain | 2008-11-09 | 1 | -5/+40 |
| |