Log

core/stanza_router.lua @ 10882:1999bb052d49

description author age
stanza_router: only fire pre-stanza if firing other preevents (e.g. for c2s sessions) Matthew Wild Wed, 05 Feb 2020 22:53:59 +0000
stanza_router: Add once-per-routed-stanza event, pre-stanza Matthew Wild Wed, 05 Feb 2020 17:40:50 +0000
core.stanza_router: Silence warning about unused err_message [luacheck] Kim Alvefur Fri, 20 Dec 2019 22:33:24 +0100
core.stanza_router: Extract host part of JIDs directly [luacheck] Kim Alvefur Fri, 20 Dec 2019 22:31:27 +0100
Backed out changeset 64ddcbc9a328 as it would prevent communicating with valid remote JIDs that aren't valid under STRINGPREP / Unicode 3.2 Kim Alvefur Wed, 30 Oct 2019 17:33:52 +0100
core.stanza_router: Do strict jidprep on c2s Kim Alvefur Mon, 09 Sep 2019 22:32:01 +0200
core.stanza_router: Handle s2s in more direction-agnostic way Kim Alvefur Sat, 07 Sep 2019 17:34:56 +0200
core.stanza_router: Remove tostring call from logging Kim Alvefur Tue, 30 Jul 2019 02:18:59 +0200
stanza_router: Remove deprecation warning for core routing functions from global scope (deprecated in 0.9) Kim Alvefur Sun, 21 Oct 2018 14:45:22 +0200
Merge 0.10->trunk Matthew Wild Mon, 30 Jul 2018 15:13:54 +0100
core.stanza_router: Reduce logging of common routing (#776) Kim Alvefur Sun, 22 Jul 2018 19:44:58 +0200
core.stanza_router: Reduce logging of common routing (#776) Kim Alvefur Sun, 22 Jul 2018 19:44:58 +0200
stanza_router: Limit scope of deprecated warning function since it is not used anywhere else [luacheck] Kim Alvefur Fri, 23 Mar 2018 13:15:19 +0100
core.stanza_router: Verify that xmlns exists for firing stanza/iq/xmlns/name events (fixes #1022) (thanks SamWhited) Kim Alvefur Tue, 17 Oct 2017 07:09:00 +0200
core: Split some very long lines [luacheck] Kim Alvefur Sat, 04 Mar 2017 17:49:48 +0100
stanza_router: Fix typo Kim Alvefur Mon, 02 Jan 2017 01:59:03 +0100
core.stanza_router: Remove hack for allowing resource binding IQ before resource binding Kim Alvefur Tue, 13 Dec 2016 18:16:20 +0100
core.stanza_router: Separate iq type check from child count check Kim Alvefur Fri, 25 Nov 2016 05:08:09 +0100
core.stanza_router: Require 'id' attribute on iq stanzas (fixes #785) Kim Alvefur Fri, 25 Nov 2016 05:06:13 +0100
stanza_router: Make 'unhandled stanza' errors more informative Matthew Wild Wed, 31 Aug 2016 16:40:26 +0100
core.stanza_router: Remove compatibility with Jabiru not including id attribute (originally added in 9b352c8a32e6) Kim Alvefur Mon, 30 May 2016 13:29:43 +0200
portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations Matthew Wild Wed, 06 May 2015 19:20:07 +0100
Merge 0.9->0.10 Kim Alvefur Mon, 26 Jan 2015 15:25:16 +0100
stanza_router: Fix routing of 'error' IQs with multiple childs (thanks Pawel) Kim Alvefur Tue, 06 Jan 2015 17:39:47 +0100
core.stanza_router, mod_s2s: Move handling of S2S features to mod_s2s from stanza_router Kim Alvefur Tue, 09 Sep 2014 15:05:46 +0200
Merge 0.9->0.10 Kim Alvefur Tue, 09 Sep 2014 14:42:33 +0200
core.stanza_router: Stricter validation of stanzas Kim Alvefur Tue, 09 Sep 2014 14:42:10 +0200
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