Log

core/stanza_router.lua @ 5434:9dd36e20c1e3

description author age
stanza_router: Warn if the global core_*_stanza() functions are called Kim Alvefur 2012-07-26
stanza_router: Also don't bounce <iq type='result'> Matthew Wild 2012-05-27
stanza_router: Don't bounce type=error stanzas Kim Alvefur 2012-05-27
prosody, stanza_router: Load stanza_router earlier. Put routing functions in the global prosody table. Fixes module:send() Kim Alvefur 2012-05-14
stanza_router: Fix variable name Matthew Wild 2012-05-12
stanza_router: Close stream for unhandled stanzas from unauthenticated connections (we can't reply) Matthew Wild 2012-05-12
stanza_router: Remove FIXME comment and close stream with not-authorized for s2s stanzas from unauthed domains Matthew Wild 2012-05-11
stanza_router: Catch s2s stanzas to hosts we don't serve earlier, and close with host-unknown (thanks darkrain) Matthew Wild 2012-05-11
stanza_router: Fire route/remote per-host Matthew Wild 2012-05-04
stanza_router: Allow route/remote handlers to return false to block a stanza Matthew Wild 2012-05-04
stanza_router: Replace s2s send logic with firing of a 'route/remote' event Matthew Wild 2012-01-23
stanza_router: Remove obsolete commented code Matthew Wild 2012-01-23
stanza_router: Return a <bad-request/> error on invalid IQ type. Waqas Hussain 2011-01-28
componentmanager, stanza_router: Get rid of componentmanager.handle_stanza(). Waqas Hussain 2010-11-09
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 2010-10-16
Merge 0.6->0.7 Matthew Wild 2010-03-30
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 2010-03-30
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
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 2010-03-22
stanza_router: Allow non-jabber:client elements after auth, before bind. [originally 2c538d4bde13 in 0.6] Waqas Hussain 2010-03-22
stanza_router: Don't send error replies for stanzas of type 'error' and 'result' on unbound authenticated connections. Waqas Hussain 2010-03-03
stanza_router: Allow non-jabber:client elements after auth, before bind. Waqas Hussain 2010-03-03
stanza_router: Added third parameter to core_post_stanza, to control pre-events. Waqas Hussain 2010-01-29
stanza_router: Log the name of unhandled stanzas (thanks bear) Matthew Wild 2010-01-18
stanza_router: Make sure /self events are fired when the 'to' attribute is missing. Waqas Hussain 2010-02-21
stanza_router: Fire /self events for stanzas users send to their own bare JID. Waqas Hussain 2010-02-12
stanza_router: Added third parameter to core_post_stanza, to control pre-events. Waqas Hussain 2010-01-29
stanza_router: Log the name of unhandled stanzas (thanks bear) Matthew Wild 2010-01-18
stanza_router: Don't log full stanzas destined for s2s Matthew Wild 2009-11-22
stanza_router: Added a compatibility workaround for missing 'id' attribute in <iq/> elements. Waqas Hussain 2009-10-17
stanza_router: Localize hosts, full_sessions and bare_sessions, and take from the prosody object instead of _G Matthew Wild 2009-10-17
Merge with 0.5 Waqas Hussain 2009-10-04
stanza_router: Reply to IQ requests with missing 'id' attribute with a bad-request error. Waqas Hussain 2009-10-04
stanza_router: Add COMPAT comment for Pidgin workaround Matthew Wild 2009-10-04
Fixed: Possible duplicate error replies for unhandled stanzas Waqas Hussain 2009-07-27
Remove version number from copyright headers Matthew Wild 2009-07-10
stanza_router: Catch and log an error case which I don't think should happen (but sometimes seems to) Matthew Wild 2009-07-10
stanza_router: Check host.disallow_s2s before routing over s2sout. you can haz no s2s. Matthew Wild 2009-07-03
stanza_router: Removed unnecessary xmlns check Waqas Hussain 2009-06-29
stanza_router: Don't fire preprocessing events if stanza is not from full JID Waqas Hussain 2009-06-29
stanza_router: Fire events also for stanzas to components Matthew Wild 2009-06-26
stanza_router: Remove unused variables and code Waqas Hussain 2009-06-25
stanza_router: A little refactoring Waqas Hussain 2009-06-25
stanza_router: Remove unused variables Waqas Hussain 2009-06-25
stanza_router: Remove even more old routing code Waqas Hussain 2009-06-25
stanza_router: Remove some more old routing code Waqas Hussain 2009-06-25
stanza_router: Call core_post_stanza from core_route_stanza in place of old routing code Waqas Hussain 2009-06-25
stanza_router: Removed unused function: select_best_resources Waqas Hussain 2009-06-25
stanza_router: Removed old routing code Waqas Hussain 2009-06-25
stanza_router: Skip prepping 'to' in many common cases - #optimization Waqas Hussain 2009-06-20
stanza_router: Skip prepping 'from' on c2s origins - #optimization Waqas Hussain 2009-06-20
stanza_router: Fixed a corner case where processing could continue after an error reply Waqas Hussain 2009-06-20
stanza_router: A little refactoring Waqas Hussain 2009-06-20
stanza_router: Remove unused variables Waqas Hussain 2009-06-14
stanza_router: Remove all traces of presencemanager Waqas Hussain 2009-06-14
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 2009-06-14
stanza_router: Remove unused s2s dialback functions Waqas Hussain 2009-06-04
stanza_router: workaround for a Pidgin bug which sets 'to' to the SRV result Waqas Hussain 2009-06-03
stanza_router: Remove the 'to' attribute when it's value is the bare JID of the local user sending the stanza Waqas Hussain 2009-06-03
stanza_router: Reply with an error on groupchat messages to bare JID Waqas Hussain 2009-06-01
stanza_router: Don't reply with an error on invalid JIDs in error or result stanzas Waqas Hussain 2009-06-01
stanza_router: Proper error for clients sending stanzas after auth but before resource binding Waqas Hussain 2009-06-01
Merge backout with following commits Matthew Wild 2009-06-01
Backed out changeset 98f0e9eadf3b (better fix on the way) Matthew Wild 2009-06-01
stanza_router: Don't route before firing events... waqas, is this safe? Matthew Wild 2009-05-31
stanza_router: Fire global event if host doesn't have events, fixes #103 Matthew Wild 2009-05-31
stanza_router: Fire events for non-jabber:client and pre-auth stanzas Waqas Hussain 2009-05-30
stanza_router: Changed to use the prosody.events object directly, rather than through eventmanager2 Waqas Hussain 2009-05-30
stanza_router: Fix syntax errors Matthew Wild 2009-05-29
stanza_router: Fire per-host stanza events Waqas Hussain 2009-05-29
stanza_router: Break off resource selection for messages into a standalone function Matthew Wild 2009-05-28
Merge with 0.4 Matthew Wild 2009-05-21
stanza_router: Fix for subscriptions to users on components [0.4 branch only] Matthew Wild 2009-05-21
stanza_router: Handle outbound presence if inbound handlers don't catch it Waqas Hussain 2009-05-18
stanza_router: s/conn/stream/ in log message Matthew Wild 2009-05-16
stanza_router: Remove FIXME and replace with meaningful comment Matthew Wild 2009-05-16
stanza_router: Added global function core_post_stanza Waqas Hussain 2009-05-15
stanza_router: Improved message routing order Waqas Hussain 2009-05-15
Dropped support for resource based components Waqas Hussain 2009-05-15
stanza_router: Removed global function core_handle_stanza Waqas Hussain 2009-05-15
stanza_router: Cleaner namespace handling Waqas Hussain 2009-05-15
stanza_router: Refactored core_handle_stanza, and added handling for unsupported top-level stanzas Waqas Hussain 2009-05-15
stanza_router: Fire events after all checks Waqas Hussain 2009-05-15
stanza_router: Removed some unnecessary code Waqas Hussain 2009-05-15
stanza_router: Removed a FIXME Waqas Hussain 2009-05-15
stanza_router: Fixed an invalid stanza check Waqas Hussain 2009-05-15
stanza_router: Remove unnecessary directed presence handling Waqas Hussain 2009-05-15
stanza_router: Prevent further processing of a handled stanza Waqas Hussain 2009-05-15
Merge with 0.4 Matthew Wild 2009-05-13
stanza_router: Bounce stanzas to/from invalid JIDs with a jid-malformed error Matthew Wild 2009-05-13
stanza_router: Pass session.to_host to modulemanager, fixes modules for s2sin_unauthed Matthew Wild 2009-05-09
stanzarouter: Make _G.hosts local Matthew Wild 2009-04-22
Stopped using presencemanager in stanza_router Waqas Hussain 2009-04-14
core/eventmanager2 - new event manager Waqas Hussain 2009-04-14
Fixed: Send correct error reply for IQs directed at unavailable resources Waqas Hussain 2009-04-06
Fixed: Issue with presence error routing Waqas Hussain 2009-04-06
Fixed: stanza_router: Respond with correct stanza error on malformed stanzas Waqas Hussain 2009-03-29
core.stanza_router: Allow routing from components Matthew Wild 2009-03-21
Merge Matthew Wild 2009-03-20
0.3->0.4 Matthew Wild 2009-03-20
Don't reject some valid IQs. Thanks to elmex for spotting. Matthew Wild 2009-03-14
core.stanza_router: Don't bounce errors to iq type=result/error Matthew Wild 2009-03-02
core.stanza_router: Reply with error to groupchat messages directed at unavailable resources or offline users Matthew Wild 2009-02-28
stanza_router: Fix handling of iq from c2s to bare JIDs, thanks to jaharkes for spotting Matthew Wild 2009-02-11
Merge with waqas for MUC/routing fixes Matthew Wild 2009-02-11
Change the to attribute of messages to the recipients' bare JID when the recipient/resource is offline. Waqas Hussain 2009-02-11
Stanza router: Message to bare JID fixes Waqas Hussain 2009-02-11
Fixed: Some presence stanzas from local users were not being routed correctly to components (ghosts in mod_muc) Waqas Hussain 2009-02-11
Fixed directed presence handling to work correctly for components Waqas Hussain 2009-02-11
stanza_router: Fix for when clients don't specify priority in initial presence Matthew Wild 2009-02-09
Update copyright notices for 2009 Matthew Wild 2009-01-30
0.2->0.3 Matthew Wild 2009-01-30
GPL->MIT! Matthew Wild 2009-01-30
stanza_router: That'll teach me to not commit at this time of night. Or not. Matthew Wild 2009-01-16
Replacing pretty_print() with top_tag() for logging Matthew Wild 2009-01-16
Stringprep! Waqas Hussain 2009-01-14
stanza_router: Fixed error replies for unhandled stanzas Waqas Hussain 2009-01-14
Send host, and not the recipient's JID to module manager (fixes #53) Waqas Hussain 2008-12-31
More error replies for offline and non-existing users Waqas Hussain 2008-12-25
Directed presence Waqas Hussain 2008-12-24
Changed order of checking for component hosts to check the full and bare JIDs before the hostname (at another place) Waqas Hussain 2008-12-24
Bounce stanza errors on failed s2s Waqas Hussain 2008-12-18
Add support for dialback piggy-backing. Fixes #37. Thanks to CShadowRun for helping me test :) Matthew Wild 2008-12-13
0.1 -> 0.2 Matthew Wild 2008-12-10
Fixed: Stopped tryint to send error replies on unauthed connections Waqas Hussain 2008-12-06
Insert copyright/license headers Matthew Wild 2008-12-03
Moved incoming c2s presence handling from stanza_router to presencemanager Waqas Hussain 2008-11-29
Bumper commit for the new modulemanager API \o/ Updates all the modules, though some more changes may be in store. Matthew Wild 2008-11-27
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 2008-11-21
Remove or comment useless prints, or change them to log() Matthew Wild 2008-11-20
Don't error reply to stanzas direct over the s2s stream they came from Matthew Wild 2008-11-20
Extra checks before sending error replies to incoming stanzas Matthew Wild 2008-11-19
Moved presence subscription code from stanza_router to presencemanager Waqas Hussain 2008-11-17
Fix routing of outbound iq stanzas Matthew Wild 2008-11-15
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 2008-11-14
A treat for Linux users ;) Matthew Wild 2008-11-14
I knew it ;) Fix sending error replies over s2s (though we shouldn't be error'ing on stream:features anyway) Matthew Wild 2008-11-14
Added error replies for unhandled stanzas Waqas Hussain 2008-11-13
Added basic offline message support Waqas Hussain 2008-11-13
Fixed typo Waqas Hussain 2008-11-09
Hack to allow s2s stanzas to work until we do proper namespace handling Waqas Hussain 2008-11-09
Merge from waqas Matthew Wild 2008-11-08
Redirecting all stanzas not from origin of type s2sin and c2s to core_handle_stanza Waqas Hussain 2008-11-08
Shortened log output for incoming stanzas and an added check. Waqas Hussain 2008-11-06
Fix for checking components, but we need to look at this whole block to optimise it, really we do Matthew Wild 2008-11-08
/me glares at waqas for messing up the repo Matthew Wild 2008-11-04
Commented a buggy check Waqas Hussain 2008-11-04
Internal component support Waqas Hussain 2008-11-04
Part 2 of internal components. Should have mentioned that the previous commit was from waqas, this one from me. Matthew Wild 2008-11-04
Part one of internal component support Matthew Wild 2008-11-04
A little whitespace fix Waqas Hussain 2008-11-03
Priority based message routing, etc Waqas Hussain 2008-11-02
Added resource priority handling, etc Waqas Hussain 2008-11-02
Another fix for s2s (well, let's say it was more for modules) Matthew Wild 2008-11-01
Fix s2s once and for all Matthew Wild 2008-11-01
General fixes for s2s, to make it more robust (I hope), sending data to remote hosts sane (s2ssession.send() works as expected), recycle outgoing dialback connections, etc. Matthew Wild 2008-11-01
Was a bit hasty to remove send_s2s() from stanza_router. We still use it, and there is no problem with it. Matthew Wild 2008-10-30
sends2s -> s2s_session.send(), s2s_session.send() -> s2s_session.sends2s() Matthew Wild 2008-10-30
Merge presence/subscription support from waqas Matthew Wild 2008-10-26
Bug fixes and checks for presence subscriptions, etc Waqas Hussain 2008-10-25
Outbound presence subscription Waqas Hussain 2008-10-25
Routing code reorganization Waqas Hussain 2008-10-25
Inbound subscription request Waqas Hussain 2008-10-24
Inbound unsubscribe Waqas Hussain 2008-10-24
Inbound subscription cancellation Waqas Hussain 2008-10-24
Inbound subscription approval Waqas Hussain 2008-10-24
Minor fixes, comments Waqas Hussain 2008-10-24
Log when an incoming dialback verification request is an invalid key for our domain Matthew Wild 2008-10-25
Fix nil concat for good this time (\!) Matthew Wild 2008-10-24
Fix nil concat when non-existant user is probed (another) Matthew Wild 2008-10-24
Fix nil concat when non-existant user is probed Matthew Wild 2008-10-24
Merge from waqas Matthew Wild 2008-10-24
Moved some code and removed unnecessary checks. Waqas Hussain 2008-10-23
Presence fixes (again) Waqas Hussain 2008-10-23
Merging more s2s Matthew Wild 2008-10-24
Partial s2s commit Matthew Wild 2008-10-24
s2s works! \o/ \o/ s2s Matthew Wild 2008-10-24
working incoming s2s \o/ s2s Matthew Wild 2008-10-24
working outgoing s2s \o/ s2s Matthew Wild 2008-10-24
dialback keys now verified s2s Matthew Wild 2008-10-24
No need to comment out s2s in this branch s2s Matthew Wild 2008-10-23
Backed out changeset 98e9fea75e5b Matthew Wild 2008-10-23
Backed out changeset 37b3e9ed8918 (again) Matthew Wild 2008-10-23
Backed out changeset a0fc73d5f48c Matthew Wild 2008-10-23
Backed out changeset 8f17ba74823c Matthew Wild 2008-10-23
Reverting stanza_router to non-conflicted version Matthew Wild 2008-10-23
Making the best attempt out of a bad merge from waqas Matthew Wild 2008-10-23
Added TODO Waqas Hussain 2008-10-23
Merged from Matthew Waqas Hussain 2008-10-23
Presence fixes Waqas Hussain 2008-10-23
Set things up for presence subscriptions. Waqas Hussain 2008-10-23
Initial s2s stuff s2s Matthew Wild 2008-10-23
No s2s yet :) Matthew Wild 2008-10-23
Added a comment, removed all the old code Matthew Wild 2008-10-23
Relocate presence broadcast to core_handle_stanza() Matthew Wild 2008-10-23
Working presence, presence probes and other fixes Waqas Hussain 2008-10-22
Added: presence broadcast Waqas Hussain 2008-10-14
Removed an unnecessary line Waqas Hussain 2008-10-14
Fixed routing for IQs to bare JIDs, and added a simple IQ validity check Waqas Hussain 2008-10-08
Fized: Added check to ensure that resource binding is done after auth. Waqas Hussain 2008-10-08
Added to a comment Waqas Hussain 2008-10-08
Code cleanup Waqas Hussain 2008-10-08
Added: Local stanza routing Waqas Hussain 2008-10-07
Beginnings of real stanza routing Matthew Wild 2008-10-05
Working TLS! tls Matthew Wild 2008-10-05
Remove now useless debug output Matthew Wild 2008-09-30
Huge commit to: Matthew Wild 2008-09-30