Log

core/stanza_router.lua @ 6342:379faad8ce9f

description author age
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
stanza_router: Warn if the global core_*_stanza() functions are called Kim Alvefur Thu, 26 Jul 2012 04:30:30 +0200
stanza_router: Also don't bounce <iq type='result'> Matthew Wild Sun, 27 May 2012 11:57:56 +0100
stanza_router: Don't bounce type=error stanzas Kim Alvefur Sun, 27 May 2012 04:01:34 +0200
prosody, stanza_router: Load stanza_router earlier. Put routing functions in the global prosody table. Fixes module:send() Kim Alvefur Mon, 14 May 2012 17:58:51 +0200
stanza_router: Fix variable name Matthew Wild Sat, 12 May 2012 03:24:06 +0100
stanza_router: Close stream for unhandled stanzas from unauthenticated connections (we can't reply) Matthew Wild Sat, 12 May 2012 01:47:53 +0100
stanza_router: Remove FIXME comment and close stream with not-authorized for s2s stanzas from unauthed domains Matthew Wild Sat, 12 May 2012 00:33:04 +0100
stanza_router: Catch s2s stanzas to hosts we don't serve earlier, and close with host-unknown (thanks darkrain) Matthew Wild Sat, 12 May 2012 00:31:48 +0100
stanza_router: Fire route/remote per-host Matthew Wild Fri, 04 May 2012 01:49:13 +0100
stanza_router: Allow route/remote handlers to return false to block a stanza Matthew Wild Fri, 04 May 2012 01:46:54 +0100
stanza_router: Replace s2s send logic with firing of a 'route/remote' event Matthew Wild Mon, 23 Jan 2012 16:25:21 +0000
stanza_router: Remove obsolete commented code Matthew Wild Mon, 23 Jan 2012 16:24:06 +0000
stanza_router: Return a <bad-request/> error on invalid IQ type. Waqas Hussain Sat, 29 Jan 2011 04:42:56 +0500
componentmanager, stanza_router: Get rid of componentmanager.handle_stanza(). Waqas Hussain Wed, 10 Nov 2010 02:51:36 +0500
modulemanager, stanza_router: Moved modulemanager.handle_stanza to stanza_router, as a local function handle_unhandled_stanza. modulemanager is no longer a dependency of stanza_router. Waqas Hussain Sat, 16 Oct 2010 08:34:32 +0500
Merge 0.6->0.7 Matthew Wild Tue, 30 Mar 2010 19:45:56 +0100
stanza_router, s2smanager, modulemanager: Fix for handling of the default namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted Matthew Wild Tue, 30 Mar 2010 19:40:16 +0100
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
stanza_router: Don't send error replies for stanzas of type 'error' and 'result' on unbound authenticated connections. [originally fa84451e9b35 in 0.6] Waqas Hussain Mon, 22 Mar 2010 15:05:05 +0000
stanza_router: Allow non-jabber:client elements after auth, before bind. [originally 2c538d4bde13 in 0.6] Waqas Hussain Mon, 22 Mar 2010 15:04:22 +0000
stanza_router: Don't send error replies for stanzas of type 'error' and 'result' on unbound authenticated connections. Waqas Hussain Thu, 04 Mar 2010 02:22:45 +0500
stanza_router: Allow non-jabber:client elements after auth, before bind. Waqas Hussain Thu, 04 Mar 2010 02:20:17 +0500
stanza_router: Added third parameter to core_post_stanza, to control pre-events. Waqas Hussain Fri, 29 Jan 2010 21:04:36 +0500
stanza_router: Log the name of unhandled stanzas (thanks bear) Matthew Wild Mon, 18 Jan 2010 16:31:57 +0000
stanza_router: Make sure /self events are fired when the 'to' attribute is missing. Waqas Hussain Sun, 21 Feb 2010 17:43:05 +0500
stanza_router: Fire /self events for stanzas users send to their own bare JID. Waqas Hussain Sat, 13 Feb 2010 02:55:24 +0500
stanza_router: Added third parameter to core_post_stanza, to control pre-events. Waqas Hussain Fri, 29 Jan 2010 21:04:36 +0500
stanza_router: Log the name of unhandled stanzas (thanks bear) Matthew Wild Mon, 18 Jan 2010 16:31:57 +0000
stanza_router: Don't log full stanzas destined for s2s Matthew Wild Sun, 22 Nov 2009 04:46:48 +0000
stanza_router: Added a compatibility workaround for missing 'id' attribute in <iq/> elements. Waqas Hussain Sat, 17 Oct 2009 23:46:34 +0500
stanza_router: Localize hosts, full_sessions and bare_sessions, and take from the prosody object instead of _G Matthew Wild Sat, 17 Oct 2009 13:33:23 +0100
Merge with 0.5 Waqas Hussain Sun, 04 Oct 2009 22:12:12 +0500
stanza_router: Reply to IQ requests with missing 'id' attribute with a bad-request error. Waqas Hussain Sun, 04 Oct 2009 21:46:35 +0500
stanza_router: Add COMPAT comment for Pidgin workaround Matthew Wild Sun, 04 Oct 2009 16:31:27 +0100
Fixed: Possible duplicate error replies for unhandled stanzas Waqas Hussain Tue, 28 Jul 2009 00:42:56 +0500
Remove version number from copyright headers Matthew Wild Fri, 10 Jul 2009 03:11:45 +0100
stanza_router: Catch and log an error case which I don't think should happen (but sometimes seems to) Matthew Wild Fri, 10 Jul 2009 02:50:57 +0100
stanza_router: Check host.disallow_s2s before routing over s2sout. you can haz no s2s. Matthew Wild Fri, 03 Jul 2009 04:04:27 +0100
stanza_router: Removed unnecessary xmlns check Waqas Hussain Mon, 29 Jun 2009 13:15:46 +0500
stanza_router: Don't fire preprocessing events if stanza is not from full JID Waqas Hussain Mon, 29 Jun 2009 13:15:09 +0500
stanza_router: Fire events also for stanzas to components Matthew Wild Fri, 26 Jun 2009 05:54:03 +0100
stanza_router: Remove unused variables and code Waqas Hussain Thu, 25 Jun 2009 08:20:38 +0500
stanza_router: A little refactoring Waqas Hussain Thu, 25 Jun 2009 08:17:02 +0500
stanza_router: Remove unused variables Waqas Hussain Thu, 25 Jun 2009 08:15:42 +0500
stanza_router: Remove even more old routing code Waqas Hussain Thu, 25 Jun 2009 08:13:21 +0500
stanza_router: Remove some more old routing code Waqas Hussain Thu, 25 Jun 2009 08:11:05 +0500
stanza_router: Call core_post_stanza from core_route_stanza in place of old routing code Waqas Hussain Thu, 25 Jun 2009 08:04:10 +0500
stanza_router: Removed unused function: select_best_resources Waqas Hussain Thu, 25 Jun 2009 07:59:04 +0500
stanza_router: Removed old routing code Waqas Hussain Thu, 25 Jun 2009 07:57:57 +0500
stanza_router: Skip prepping 'to' in many common cases - #optimization Waqas Hussain Sat, 20 Jun 2009 18:18:38 +0500
stanza_router: Skip prepping 'from' on c2s origins - #optimization Waqas Hussain Sat, 20 Jun 2009 18:08:57 +0500
stanza_router: Fixed a corner case where processing could continue after an error reply Waqas Hussain Sat, 20 Jun 2009 17:53:39 +0500
stanza_router: A little refactoring Waqas Hussain Sat, 20 Jun 2009 17:51:00 +0500
stanza_router: Remove unused variables Waqas Hussain Sun, 14 Jun 2009 18:21:19 +0500
stanza_router: Remove all traces of presencemanager Waqas Hussain Sun, 14 Jun 2009 18:02:02 +0500
stanza_router: Use stanza.attr.from's host instead of origin.host when routing stanzas to remote hosts (fixes problem with sending from node@host components) Waqas Hussain Sun, 14 Jun 2009 14:28:20 +0500
stanza_router: Remove unused s2s dialback functions Waqas Hussain Thu, 04 Jun 2009 21:11:33 +0500
stanza_router: workaround for a Pidgin bug which sets 'to' to the SRV result Waqas Hussain Wed, 03 Jun 2009 21:27:32 +0500
stanza_router: Remove the 'to' attribute when it's value is the bare JID of the local user sending the stanza Waqas Hussain Wed, 03 Jun 2009 08:00:07 +0500
stanza_router: Reply with an error on groupchat messages to bare JID Waqas Hussain Mon, 01 Jun 2009 17:53:39 +0500
stanza_router: Don't reply with an error on invalid JIDs in error or result stanzas Waqas Hussain Mon, 01 Jun 2009 15:48:39 +0500
stanza_router: Proper error for clients sending stanzas after auth but before resource binding Waqas Hussain Mon, 01 Jun 2009 15:09:42 +0500
Merge backout with following commits Matthew Wild Mon, 01 Jun 2009 02:06:02 +0100
Backed out changeset 98f0e9eadf3b (better fix on the way) Matthew Wild Mon, 01 Jun 2009 02:05:27 +0100
stanza_router: Don't route before firing events... waqas, is this safe? Matthew Wild Sun, 31 May 2009 22:52:50 +0100
stanza_router: Fire global event if host doesn't have events, fixes #103 Matthew Wild Sun, 31 May 2009 21:35:21 +0100
stanza_router: Fire events for non-jabber:client and pre-auth stanzas Waqas Hussain Sun, 31 May 2009 02:20:30 +0500
stanza_router: Changed to use the prosody.events object directly, rather than through eventmanager2 Waqas Hussain Sun, 31 May 2009 00:43:24 +0500
stanza_router: Fix syntax errors Matthew Wild Fri, 29 May 2009 22:11:44 +0100
stanza_router: Fire per-host stanza events Waqas Hussain Sat, 30 May 2009 02:06:04 +0500
stanza_router: Break off resource selection for messages into a standalone function Matthew Wild Thu, 28 May 2009 20:39:32 +0100
Merge with 0.4 Matthew Wild Thu, 21 May 2009 16:09:15 +0100
stanza_router: Fix for subscriptions to users on components [0.4 branch only] Matthew Wild Thu, 21 May 2009 16:06:50 +0100
stanza_router: Handle outbound presence if inbound handlers don't catch it Waqas Hussain Tue, 19 May 2009 01:07:03 +0500
stanza_router: s/conn/stream/ in log message Matthew Wild Sat, 16 May 2009 20:48:07 +0100
stanza_router: Remove FIXME and replace with meaningful comment Matthew Wild Sat, 16 May 2009 20:19:15 +0100
stanza_router: Added global function core_post_stanza Waqas Hussain Sat, 16 May 2009 03:58:05 +0500
stanza_router: Improved message routing order Waqas Hussain Sat, 16 May 2009 02:19:16 +0500
Dropped support for resource based components Waqas Hussain Sat, 16 May 2009 02:07:27 +0500
stanza_router: Removed global function core_handle_stanza Waqas Hussain Sat, 16 May 2009 01:41:45 +0500
stanza_router: Cleaner namespace handling Waqas Hussain Sat, 16 May 2009 00:33:49 +0500
stanza_router: Refactored core_handle_stanza, and added handling for unsupported top-level stanzas Waqas Hussain Sat, 16 May 2009 00:03:24 +0500
stanza_router: Fire events after all checks Waqas Hussain Fri, 15 May 2009 23:42:35 +0500
stanza_router: Removed some unnecessary code Waqas Hussain Fri, 15 May 2009 08:42:53 +0500
stanza_router: Removed a FIXME Waqas Hussain Fri, 15 May 2009 08:30:48 +0500
stanza_router: Fixed an invalid stanza check Waqas Hussain Fri, 15 May 2009 07:04:41 +0500
stanza_router: Remove unnecessary directed presence handling Waqas Hussain Fri, 15 May 2009 06:34:08 +0500
stanza_router: Prevent further processing of a handled stanza Waqas Hussain Fri, 15 May 2009 06:31:32 +0500
Merge with 0.4 Matthew Wild Wed, 13 May 2009 16:55:20 +0100
stanza_router: Bounce stanzas to/from invalid JIDs with a jid-malformed error Matthew Wild Wed, 13 May 2009 16:54:46 +0100
stanza_router: Pass session.to_host to modulemanager, fixes modules for s2sin_unauthed Matthew Wild Sat, 09 May 2009 19:43:11 +0100
stanzarouter: Make _G.hosts local Matthew Wild Wed, 22 Apr 2009 21:33:44 +0100
Stopped using presencemanager in stanza_router Waqas Hussain Wed, 15 Apr 2009 04:21:20 +0500
core/eventmanager2 - new event manager Waqas Hussain Wed, 15 Apr 2009 02:10:05 +0500
Fixed: Send correct error reply for IQs directed at unavailable resources Waqas Hussain Tue, 07 Apr 2009 02:32:49 +0500
Fixed: Issue with presence error routing Waqas Hussain Tue, 07 Apr 2009 02:24:37 +0500
Fixed: stanza_router: Respond with correct stanza error on malformed stanzas Waqas Hussain Mon, 30 Mar 2009 01:57:51 +0500
core.stanza_router: Allow routing from components Matthew Wild Sat, 21 Mar 2009 21:42:14 +0000
Merge Matthew Wild Fri, 20 Mar 2009 20:17:05 +0000
0.3->0.4 Matthew Wild Fri, 20 Mar 2009 20:16:25 +0000
Don't reject some valid IQs. Thanks to elmex for spotting. Matthew Wild Sat, 14 Mar 2009 16:03:48 +0000
core.stanza_router: Don't bounce errors to iq type=result/error Matthew Wild Mon, 02 Mar 2009 19:45:44 +0000
core.stanza_router: Reply with error to groupchat messages directed at unavailable resources or offline users Matthew Wild Sat, 28 Feb 2009 04:58:14 +0000
stanza_router: Fix handling of iq from c2s to bare JIDs, thanks to jaharkes for spotting Matthew Wild Wed, 11 Feb 2009 19:53:09 +0000
Merge with waqas for MUC/routing fixes Matthew Wild Wed, 11 Feb 2009 18:30:44 +0000
Change the to attribute of messages to the recipients' bare JID when the recipient/resource is offline. Waqas Hussain Wed, 11 Feb 2009 23:26:18 +0500
Stanza router: Message to bare JID fixes Waqas Hussain Wed, 11 Feb 2009 23:16:14 +0500
Fixed: Some presence stanzas from local users were not being routed correctly to components (ghosts in mod_muc) Waqas Hussain Wed, 11 Feb 2009 18:11:41 +0500
Fixed directed presence handling to work correctly for components Waqas Hussain Wed, 11 Feb 2009 18:09:41 +0500
stanza_router: Fix for when clients don't specify priority in initial presence Matthew Wild Mon, 09 Feb 2009 13:48:11 +0000
Update copyright notices for 2009 Matthew Wild Fri, 30 Jan 2009 17:59:26 +0000
0.2->0.3 Matthew Wild Fri, 30 Jan 2009 17:40:25 +0000
GPL->MIT! Matthew Wild Fri, 30 Jan 2009 17:22:56 +0000
stanza_router: That'll teach me to not commit at this time of night. Or not. Matthew Wild Fri, 16 Jan 2009 04:57:23 +0000
Replacing pretty_print() with top_tag() for logging Matthew Wild Fri, 16 Jan 2009 04:37:16 +0000
Stringprep! Waqas Hussain Thu, 15 Jan 2009 04:36:35 +0500
stanza_router: Fixed error replies for unhandled stanzas Waqas Hussain Wed, 14 Jan 2009 22:35:01 +0500
Send host, and not the recipient's JID to module manager (fixes #53) Waqas Hussain Wed, 31 Dec 2008 13:52:41 +0500