Log

core/stanza_router.lua @ 3159:b01a699ddf64

description author age
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
More error replies for offline and non-existing users Waqas Hussain Thu, 25 Dec 2008 05:16:11 +0500
Directed presence Waqas Hussain Thu, 25 Dec 2008 04:58:15 +0500
Changed order of checking for component hosts to check the full and bare JIDs before the hostname (at another place) Waqas Hussain Thu, 25 Dec 2008 04:27:19 +0500
Bounce stanza errors on failed s2s Waqas Hussain Fri, 19 Dec 2008 01:57:13 +0500
Add support for dialback piggy-backing. Fixes #37. Thanks to CShadowRun for helping me test :) Matthew Wild Sat, 13 Dec 2008 17:43:52 +0000
0.1 -> 0.2 Matthew Wild Wed, 10 Dec 2008 15:44:03 +0000
Fixed: Stopped tryint to send error replies on unauthed connections Waqas Hussain Sat, 06 Dec 2008 07:24:15 +0500
Insert copyright/license headers Matthew Wild Wed, 03 Dec 2008 14:39:07 +0000
Moved incoming c2s presence handling from stanza_router to presencemanager Waqas Hussain Sat, 29 Nov 2008 08:25:34 +0500
Bumper commit for the new modulemanager API \o/ Updates all the modules, though some more changes may be in store. Matthew Wild Thu, 27 Nov 2008 03:12:12 +0000
Now possible to specify nil origin to core_route_stanza. Origin will be chosen as the host of the 'from' attribute on the stanza. Returns false on no such host. Matthew Wild Fri, 21 Nov 2008 05:59:03 +0000
Remove or comment useless prints, or change them to log() Matthew Wild Thu, 20 Nov 2008 03:00:43 +0000
Don't error reply to stanzas direct over the s2s stream they came from Matthew Wild Thu, 20 Nov 2008 02:05:26 +0000
Extra checks before sending error replies to incoming stanzas Matthew Wild Wed, 19 Nov 2008 05:09:05 +0000
Moved presence subscription code from stanza_router to presencemanager Waqas Hussain Mon, 17 Nov 2008 10:15:04 +0500
Fix routing of outbound iq stanzas Matthew Wild Sat, 15 Nov 2008 19:13:28 +0000