aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
Commit message (Collapse)AuthorAgeFilesLines
* Add support for dialback piggy-backing. Fixes #37. Thanks to CShadowRun for ↵Matthew Wild2008-12-131-8/+9
| | | | helping me test :)
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Fixed: Stopped tryint to send error replies on unauthed connectionsWaqas Hussain2008-12-061-16/+17
|
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Moved incoming c2s presence handling from stanza_router to presencemanagerWaqas Hussain2008-11-291-70/+2
|
* Bumper commit for the new modulemanager API \o/ Updates all the modules, ↵Matthew Wild2008-11-271-8/+2
| | | | though some more changes may be in store.
* Now possible to specify nil origin to core_route_stanza. Origin will be ↵Matthew Wild2008-11-211-0/+4
| | | | chosen as the host of the 'from' attribute on the stanza. Returns false on no such host.
* Remove or comment useless prints, or change them to log()Matthew Wild2008-11-201-2/+0
|
* Don't error reply to stanzas direct over the s2s stream they came fromMatthew Wild2008-11-201-1/+1
|
* Extra checks before sending error replies to incoming stanzasMatthew Wild2008-11-191-4/+4
|
* Moved presence subscription code from stanza_router to presencemanagerWaqas Hussain2008-11-171-110/+6
|
* Fix routing of outbound iq stanzasMatthew Wild2008-11-151-2/+2
|
* 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 :) )
* A treat for Linux users ;)Matthew Wild2008-11-141-1/+1
|
* I knew it ;) Fix sending error replies over s2s (though we shouldn't be ↵Matthew Wild2008-11-141-1/+2
| | | | error'ing on stream:features anyway)
* Added error replies for unhandled stanzasWaqas Hussain2008-11-131-2/+7
|
* Added basic offline message supportWaqas Hussain2008-11-131-1/+17
|
* Fixed typoWaqas Hussain2008-11-101-1/+1
|
* Hack to allow s2s stanzas to work until we do proper namespace handlingWaqas Hussain2008-11-101-0/+1
|
* Redirecting all stanzas not from origin of type s2sin and c2s to ↵Waqas Hussain2008-11-081-19/+21
| | | | core_handle_stanza
* Shortened log output for incoming stanzas and an added check.Waqas Hussain2008-11-071-2/+2
|
* Part 2 of internal components. Should have mentioned that the previous ↵Matthew Wild2008-11-041-2/+10
| | | | commit was from waqas, this one from me.
* Part one of internal component supportMatthew Wild2008-11-041-11/+34
|
* A little whitespace fixWaqas Hussain2008-11-041-3/+3
|
* Priority based message routing, etcWaqas Hussain2008-11-021-10/+18
|
* Added resource priority handling, etcWaqas Hussain2008-11-021-5/+34
|
* Another fix for s2s (well, let's say it was more for modules)Matthew Wild2008-11-011-1/+1
|
* Fix s2s once and for allMatthew Wild2008-11-011-56/+6
| | | | | | | - Moved dialback to the new mod_dialback (mostly). - Modules can now supply a list of origins to handle to add_handler - Modules can now handle and process any stanza, overriding the core - Modules handle non-jabber:client/jabber:server xmlns'd stanzas
* General fixes for s2s, to make it more robust (I hope), sending data to ↵Matthew Wild2008-11-011-4/+4
| | | | remote hosts sane (s2ssession.send() works as expected), recycle outgoing dialback connections, etc.
* Was a bit hasty to remove send_s2s() from stanza_router. We still use it, ↵Matthew Wild2008-10-301-1/+1
| | | | and there is no problem with it.
* sends2s -> s2s_session.send(), s2s_session.send() -> s2s_session.sends2s()Matthew Wild2008-10-301-22/+9
| | | | Should fix outward routing problems.
* Merge presence/subscription support from waqasMatthew Wild2008-10-261-39/+143
|\
| * Bug fixes and checks for presence subscriptions, etcWaqas Hussain2008-10-261-21/+40
| |
| * Outbound presence subscriptionWaqas Hussain2008-10-251-2/+40
| |
| * Routing code reorganizationWaqas Hussain2008-10-251-59/+73
| |
| * Inbound subscription requestWaqas Hussain2008-10-251-1/+10
| |
| * Inbound unsubscribeWaqas Hussain2008-10-251-1/+3
| |
| * Inbound subscription cancellationWaqas Hussain2008-10-251-2/+3
| |
| * Inbound subscription approvalWaqas Hussain2008-10-251-7/+19
| |
| * Minor fixes, commentsWaqas Hussain2008-10-251-10/+19
| |
* | Log when an incoming dialback verification request is an invalid key for our ↵Matthew Wild2008-10-251-1/+4
|/ | | | domain
* Fix nil concat for good this time (\!)Matthew Wild2008-10-241-2/+2
|
* Fix nil concat when non-existant user is probed (another)Matthew Wild2008-10-241-1/+1
|
* Fix nil concat when non-existant user is probedMatthew Wild2008-10-241-1/+1
|
* Merge from waqasMatthew Wild2008-10-241-22/+40
|\
| * Moved some code and removed unnecessary checks.Waqas Hussain2008-10-241-13/+13
| |
| * Presence fixes (again)Waqas Hussain2008-10-241-21/+39
| | | | | | | | | | | | - Presence to other resources sent correctly - Resource of the recipient ignored for all presence except available and unavailable - Set things up for presence subscriptions
* | Merging more s2sMatthew Wild2008-10-241-10/+69
|\ \
| * | s2s works! \o/ \o/Matthew Wild2008-10-241-15/+10
| | |
| * | working incoming s2s \o/Matthew Wild2008-10-241-18/+53
| | |