aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
Commit message (Collapse)AuthorAgeFilesLines
* Stanza router: Message to bare JID fixesWaqas Hussain2009-02-111-18/+31
| | | | | | - headline messages get sent to all non-negative priority available resource - all other messages get sent to the set of highest non-negative priority available resources - only messages of type chat and normal or missing type go into offline storage
* Fixed: Some presence stanzas from local users were not being routed ↵Waqas Hussain2009-02-111-0/+8
| | | | correctly to components (ghosts in mod_muc)
* Fixed directed presence handling to work correctly for componentsWaqas Hussain2009-02-111-4/+5
|
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* GPL->MIT!Matthew Wild2009-01-301-13/+2
|
* stanza_router: That'll teach me to not commit at this time of night. Or not.Matthew Wild2009-01-161-1/+1
|
* Replacing pretty_print() with top_tag() for loggingMatthew Wild2009-01-161-1/+1
|
* Stringprep!Waqas Hussain2009-01-151-5/+23
|
* stanza_router: Fixed error replies for unhandled stanzasWaqas Hussain2009-01-141-9/+9
|
* Send host, and not the recipient's JID to module manager (fixes #53)Waqas Hussain2008-12-311-1/+1
|
* More error replies for offline and non-existing usersWaqas Hussain2008-12-251-3/+4
|
* Directed presenceWaqas Hussain2008-12-251-0/+4
|
* Changed order of checking for component hosts to check the full and bare ↵Waqas Hussain2008-12-251-2/+2
| | | | JIDs before the hostname (at another place)
* Bounce stanza errors on failed s2sWaqas Hussain2008-12-191-1/+1
|
* 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
| |