aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Quite some changes, to:Matthew Wild2008-11-183-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 Wild2008-11-181-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 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-171-4/+8
| | | | 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
|
* Removed unused function send_to_session from sessionmanager (send_to_session ↵Waqas Hussain2008-11-161-5/+0
| | | | replaced by session.send)
* Fixed servermanager to use session.send for sending stanzasWaqas Hussain2008-11-161-3/+2
|
* Fixed sessionmanager to not send session in place of stream features...Waqas Hussain2008-11-161-1/+1
|
* Fixed sessionmanager to use appropriate method for sending stream featuresWaqas Hussain2008-11-161-1/+1
|
* Merge with myself (!)Matthew Wild2008-11-151-3/+3
|\
| * If iq child element has no xmlns, use parent'sMatthew Wild2008-11-151-3/+3
| |
* | Code cleanup for resource bindingWaqas Hussain2008-11-161-3/+7
|/
* Fix routing of outbound iq stanzasMatthew Wild2008-11-151-2/+2
|
* Return registered host table when registering a componentMatthew Wild2008-11-151-0/+1
|
* Log how many queued stanzas we sendWaqas Hussain2008-11-151-1/+1
|
* Merge from waqasMatthew Wild2008-11-152-2/+2
|\
| * Some bugs fixedWaqas Hussain2008-11-152-2/+2
| |
* | Update hostname for identi.caMatthew Wild2008-11-141-1/+1
| |
* | Remove some old unused (and empty) functions from s2smanagerMatthew Wild2008-11-141-7/+0
| |
* | Only reply with errors if the stanza is not an error or a result (don't know ↵Matthew Wild2008-11-141-4/+10
| | | | | | | | how much bandwidth this just cost me :) )
* | Update rostermanager to use new loggerMatthew Wild2008-11-141-4/+2
| |
* | A treat for Linux users ;)Matthew Wild2008-11-141-1/+1
| |
* | Fix outgoing s2s from components. Fixes #16Matthew Wild2008-11-141-1/+1
|/
* Now outgoing s2s sessions are associated with their from_host, fixes #15Matthew Wild2008-11-141-7/+7
|
* Some more logging fixesMatthew Wild2008-11-141-4/+3
|
* Yep, s2s definitely works now. This is just a small fix for logging...Matthew Wild2008-11-141-1/+1
|
* I knew it ;) Fix sending error replies over s2s (though we shouldn't be ↵Matthew Wild2008-11-142-2/+3
| | | | error'ing on stream:features anyway)
* Print out the stanza alsoMatthew Wild2008-11-141-1/+2
|
* Fix for detecting when we are routing a stanza to ourself (I'm sure this has ↵Matthew Wild2008-11-141-0/+4
| | | | something to do with you, waqas...)
* Another small fix, for logging in s2smanagerMatthew Wild2008-11-141-1/+4
|
* Another small fix, for logging in s2smanagerMatthew Wild2008-11-141-1/+1
|
* Mmm, s2s fixed :)Matthew Wild2008-11-141-1/+1
|
* Merge from waqasMatthew Wild2008-11-132-3/+56
|\
| * Added error replies for unhandled stanzasWaqas Hussain2008-11-131-2/+7
| |
| * Added basic offline message supportWaqas Hussain2008-11-132-1/+49
| |
* | Missed importing a function in last commitMatthew Wild2008-11-131-0/+2
| |
* | Change sending reply stream header to use top_tag()Matthew Wild2008-11-131-1/+1
| |
* | Some s2s fixes. Now connect() does not block, and stanzas are not lost when ↵Matthew Wild2008-11-121-16/+25
|/ | | | connection is slow
* Merge from waqasMatthew Wild2008-11-091-1/+1
|\
| * Fixed typoWaqas Hussain2008-11-101-1/+1
| |
* | Merge from waqasMatthew Wild2008-11-091-0/+1
|\|
| * Hack to allow s2s stanzas to work until we do proper namespace handlingWaqas Hussain2008-11-101-0/+1
| |
* | Move some code about so that we don't leave connections hanging if they hit ↵Matthew Wild2008-11-091-4/+6
|/ | | | the connection timeout
* Prevent slow connects for s2s from blocking for so longMatthew Wild2008-11-091-0/+1
|
* We now fail if modules fail to load at startup.Waqas Hussain2008-11-091-2/+3
|
* Updated usermanager with DIGEST-MD5 supportWaqas Hussain2008-11-091-5/+40
|