aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
Commit message (Collapse)AuthorAgeFilesLines
* core.stanza_router: Verify that xmlns exists for firing stanza/iq/xmlns/name ↵Kim Alvefur2017-10-171-1/+2
| | | | events (fixes #1022) (thanks SamWhited)
* core: Split some very long lines [luacheck]Kim Alvefur2017-03-041-4/+8
|
* stanza_router: Fix typoKim Alvefur2017-01-021-1/+1
|
* core.stanza_router: Remove hack for allowing resource binding IQ before ↵Kim Alvefur2016-12-131-10/+0
| | | | resource binding
* core.stanza_router: Separate iq type check from child count checkKim Alvefur2016-11-251-2/+5
|
* core.stanza_router: Require 'id' attribute on iq stanzas (fixes #785)Kim Alvefur2016-11-251-0/+3
|
* stanza_router: Make 'unhandled stanza' errors more informativeMatthew Wild2016-08-311-1/+6
|
* core.stanza_router: Remove compatibility with Jabiru not including id ↵Kim Alvefur2016-05-301-1/+0
| | | | attribute (originally added in 9b352c8a32e6)
* portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, ↵Matthew Wild2015-05-061-1/+3
| | | | usermanager, util.xml: Add luacheck annotations
* Merge 0.9->0.10Kim Alvefur2015-01-261-1/+1
|\
| * stanza_router: Fix routing of 'error' IQs with multiple childs (thanks Pawel)Kim Alvefur2015-01-061-1/+1
| |
* | core.stanza_router, mod_s2s: Move handling of S2S features to mod_s2s from ↵Kim Alvefur2014-09-091-1/+1
| | | | | | | | stanza_router
* | Merge 0.9->0.10Kim Alvefur2014-09-091-21/+24
|\|
| * core.stanza_router: Stricter validation of stanzasKim Alvefur2014-09-091-21/+24
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-2/+2
|/
* stanza_router: Warn if the global core_*_stanza() functions are calledKim Alvefur2012-07-261-0/+12
|
* stanza_router: Also don't bounce <iq type='result'>Matthew Wild2012-05-271-1/+1
|
* stanza_router: Don't bounce type=error stanzasKim Alvefur2012-05-271-0/+2
|
* prosody, stanza_router: Load stanza_router earlier. Put routing functions in ↵Kim Alvefur2012-05-141-0/+3
| | | | the global prosody table. Fixes module:send()
* stanza_router: Fix variable nameMatthew Wild2012-05-121-2/+2
|
* stanza_router: Close stream for unhandled stanzas from unauthenticated ↵Matthew Wild2012-05-121-2/+2
| | | | connections (we can't reply)
* stanza_router: Remove FIXME comment and close stream with not-authorized for ↵Matthew Wild2012-05-121-1/+2
| | | | s2s stanzas from unauthed domains
* stanza_router: Catch s2s stanzas to hosts we don't serve earlier, and close ↵Matthew Wild2012-05-121-0/+4
| | | | with host-unknown (thanks darkrain)
* stanza_router: Fire route/remote per-hostMatthew Wild2012-05-041-3/+4
|
* stanza_router: Allow route/remote handlers to return false to block a stanzaMatthew Wild2012-05-041-1/+1
|
* stanza_router: Replace s2s send logic with firing of a 'route/remote' eventMatthew Wild2012-01-231-16/+7
|
* stanza_router: Remove obsolete commented codeMatthew Wild2012-01-231-5/+0
|
* stanza_router: Return a <bad-request/> error on invalid IQ type.Waqas Hussain2011-01-291-2/+3
|
* componentmanager, stanza_router: Get rid of componentmanager.handle_stanza().Waqas Hussain2010-11-101-6/+0
|
* modulemanager, stanza_router: Moved modulemanager.handle_stanza to ↵Waqas Hussain2010-10-161-3/+24
| | | | stanza_router, as a local function handle_unhandled_stanza. modulemanager is no longer a dependency of stanza_router.
* Merge 0.6->0.7Matthew Wild2010-03-301-7/+4
|\
| * stanza_router, s2smanager, modulemanager: Fix for handling of the default ↵Matthew Wild2010-03-301-7/+4
| | | | | | | | namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted
* | Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * stanza_router: Don't send error replies for stanzas of type 'error' and ↵Waqas Hussain2010-03-041-1/+3
| | | | | | | | 'result' on unbound authenticated connections.
| * stanza_router: Allow non-jabber:client elements after auth, before bind.Waqas Hussain2010-03-041-1/+1
| |
| * stanza_router: Added third parameter to core_post_stanza, to control pre-events.Waqas Hussain2010-01-291-3/+3
| |
| * stanza_router: Log the name of unhandled stanzas (thanks bear)Matthew Wild2010-01-181-1/+1
| |
* | stanza_router: Don't send error replies for stanzas of type 'error' and ↵Waqas Hussain2010-03-221-1/+3
| | | | | | | | 'result' on unbound authenticated connections. [originally fa84451e9b35 in 0.6]
* | stanza_router: Allow non-jabber:client elements after auth, before bind. ↵Waqas Hussain2010-03-221-1/+1
| | | | | | | | [originally 2c538d4bde13 in 0.6]
* | stanza_router: Make sure /self events are fired when the 'to' attribute is ↵Waqas Hussain2010-02-211-0/+1
| | | | | | | | missing.
* | stanza_router: Fire /self events for stanzas users send to their own bare JID.Waqas Hussain2010-02-131-1/+3
| |
* | stanza_router: Added third parameter to core_post_stanza, to control pre-events.Waqas Hussain2010-01-291-3/+3
| |
* | stanza_router: Log the name of unhandled stanzas (thanks bear)Matthew Wild2010-01-181-1/+1
| |
* | stanza_router: Don't log full stanzas destined for s2sMatthew Wild2009-11-221-1/+1
|/
* stanza_router: Added a compatibility workaround for missing 'id' attribute ↵Waqas Hussain2009-10-171-5/+2
| | | | in <iq/> elements.
* stanza_router: Localize hosts, full_sessions and bare_sessions, and take ↵Matthew Wild2009-10-171-1/+4
| | | | from the prosody object instead of _G
* Merge with 0.5Waqas Hussain2009-10-041-1/+5
|\
| * stanza_router: Reply to IQ requests with missing 'id' attribute with a ↵Waqas Hussain2009-10-041-1/+5
| | | | | | | | bad-request error.
* | stanza_router: Add COMPAT comment for Pidgin workaroundMatthew Wild2009-10-041-1/+1
|/