Log

core/stanza_router.lua @ 1602:1056369a29df

description author age
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
Only reply with errors if the stanza is not an error or a result (don't know how much bandwidth this just cost me :) ) Matthew Wild Fri, 14 Nov 2008 18:46:00 +0000
A treat for Linux users ;) Matthew Wild Fri, 14 Nov 2008 16:03:33 +0000
I knew it ;) Fix sending error replies over s2s (though we shouldn't be error'ing on stream:features anyway) Matthew Wild Fri, 14 Nov 2008 02:33:20 +0000
Added error replies for unhandled stanzas Waqas Hussain Thu, 13 Nov 2008 19:14:31 +0500
Added basic offline message support Waqas Hussain Thu, 13 Nov 2008 12:13:13 +0500
Fixed typo Waqas Hussain Mon, 10 Nov 2008 04:53:42 +0500
Hack to allow s2s stanzas to work until we do proper namespace handling Waqas Hussain Mon, 10 Nov 2008 01:30:52 +0500
Merge from waqas Matthew Wild Sat, 08 Nov 2008 00:17:00 +0000
Redirecting all stanzas not from origin of type s2sin and c2s to core_handle_stanza Waqas Hussain Sat, 08 Nov 2008 05:06:22 +0500
Shortened log output for incoming stanzas and an added check. Waqas Hussain Fri, 07 Nov 2008 02:38:44 +0500
Fix for checking components, but we need to look at this whole block to optimise it, really we do Matthew Wild Sat, 08 Nov 2008 00:10:01 +0000
/me glares at waqas for messing up the repo Matthew Wild Tue, 04 Nov 2008 22:42:06 +0000
Commented a buggy check Waqas Hussain Tue, 04 Nov 2008 17:43:48 +0500
Internal component support Waqas Hussain Tue, 04 Nov 2008 17:25:12 +0500
Part 2 of internal components. Should have mentioned that the previous commit was from waqas, this one from me. Matthew Wild Tue, 04 Nov 2008 18:17:48 +0000
Part one of internal component support Matthew Wild Tue, 04 Nov 2008 18:15:56 +0000
A little whitespace fix Waqas Hussain Tue, 04 Nov 2008 00:41:40 +0500
Priority based message routing, etc Waqas Hussain Sun, 02 Nov 2008 06:53:31 +0500
Added resource priority handling, etc Waqas Hussain Sun, 02 Nov 2008 06:36:42 +0500
Another fix for s2s (well, let's say it was more for modules) Matthew Wild Sat, 01 Nov 2008 21:10:19 +0000
Fix s2s once and for all Matthew Wild Sat, 01 Nov 2008 21:07:14 +0000