Commit Graph

49 Commits (96ec63e3c3bbd7e5f6056a5eeeaaa292b4b4da8d)

Author SHA1 Message Date
Matthew Wild 98ce253063 mod_component: Local imports for some functions, including xpcall 13 years ago
Matthew Wild fb9838c64b mod_component: xpcall() stanza processing, as per other listeners, preventing potentially harmful 'top-level errors' 13 years ago
Kim Alvefur 27dc3a5b9a mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals 13 years ago
Kim Alvefur d11b41d1dd mod_component: Look for the correct xmlns (thanks NebuK) 13 years ago
Kim Alvefur 4517552d8b s2smanager: Generate session names used for logging the same way everywhere 13 years ago
Kim Alvefur 1e4f3fadcd mod_component: Make listener private (thanks Ge0rG) 13 years ago
Waqas Hussain d9d38ef125 mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item(). 13 years ago
Waqas Hussain c204694247 mod_component: For disconnected external components, if a name is specified in config, return it in disco#info replies. 14 years ago
Kim Alvefur 9114e88ee0 mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table. 14 years ago
Matthew Wild e89b006f03 Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages 14 years ago
Matthew Wild a8a1bb526f mod_component: Allow unauthenticated components to authenticate (thanks Maranda) 14 years ago
Matthew Wild b56a39255a mod_component: Components start out as component_unauthed until successful authentication (thanks xnyhps) 14 years ago
Matthew Wild ba8ef0d839 mod_component: Send <?xml on initial stream (thanks xnyhps) 14 years ago
Matthew Wild 844026b0ea mod_component: Remove unused variable 14 years ago
Matthew Wild 9857260297 mod_component: Return true after denying a second component connection for a host (thanks xnyhps) 14 years ago
Matthew Wild c1e2674fd4 mod_component: Handle component connecting to non-existent host 14 years ago
Matthew Wild 9d47801122 mod_component: Make a shared module, and move the xmppcomponent_listener into it ('port'ing over to portmanager). Ha ha. 14 years ago
Marco Cirillo 351b8347c8 mod_component: removed unused variable reference, added "flagging" to assert if a component is connected or not. 14 years ago
Matthew Wild ba19cdbf9a mod_component: Clearer log message when bouncing a stanza from a component that is not connected (thanks MK) 15 years ago
Matthew Wild 0ed8dc1f6e mod_component: Small code clarity fix 15 years ago
Waqas Hussain e1b178ba6d mod_component: Give stanza handlers a negative priority, to allow mod_iq to process them first. 15 years ago
Waqas Hussain 113cb3c67c mod_component: Give stanza handlers a negative priority, to allow mod_iq to process them first. 15 years ago
Waqas Hussain 0dbe39b420 mod_component: Logging tweaks. 15 years ago
Waqas Hussain 3501f4f0c9 mod_component: Use module:get_option() instead of configmanager. 15 years ago
Waqas Hussain 6bc1c5d24a mod_component: Rearranged the code a little. 15 years ago
Waqas Hussain 42993c2ec2 mod_component: Return true from stanza handler to indicate that we actually did handle the stanza. 15 years ago
Waqas Hussain d38fc9dce0 prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file. 15 years ago
Waqas Hussain 67804ef1a3 componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property. 15 years ago
Waqas Hussain cac4ec8aca mod_component: Updated to use events for hooking stanzas instead of the component stanza handler, and the on_destroy callback. 15 years ago
Waqas Hussain f585f295c7 mod_component: Send back a <conflict/> stream error when multiple sessions attempt to bind. 15 years ago
Waqas Hussain b7e51a203d Monster whitespace commit (beware the whitespace monster). 15 years ago
Waqas Hussain 1ded409360 mod_component: Updated to use the new events API. 15 years ago
Waqas Hussain c6a1139e78 net.xmppcomponent_listener, mod_component: Removed useless undocumented option 'component_address'. 15 years ago
Matthew Wild ee6c70ee52 mod_component: Read validate_from_addresses option from the config 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Waqas Hussain feb814d958 mod_component: Cleaned up unused variables. 16 years ago
Matthew Wild 237f683563 mod_component: Fix name of config option in error message (thanks nulani!) 16 years ago
Matthew Wild 139241f580 mod_component: Fix name of config option in error message (thanks nulani!) 16 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild 386d7fa926 mod_component: Rewrite jabber:client stanzas to jabber:component:accept, thanks JaredH! 17 years ago
Matthew Wild e241b85a56 mod_*: Fix many unnecessary global accesses in modules (already committed to main repo) 17 years ago
Matthew Wild ca9a9eb85e mod_*: Fix a load of global accesses 17 years ago
Matthew Wild 504822ae14 mod_component: Vastly reduce the code, having split most of it to where it should be, xmppcomponent_listener 17 years ago
Matthew Wild 0ddf0a3232 mod_component: Deregister component on disconnect 17 years ago
Matthew Wild b0107266fc mod_component: Update for new net_activate_ports 17 years ago
Matthew Wild a27b839551 sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream 17 years ago
Matthew Wild 7a764ade59 mod_component: Remove some commented code 17 years ago
Matthew Wild 0d7ecce88f mod_component: Use net_activate_ports to start port listener based on config 17 years ago
Matthew Wild 9eadfb191e mod_component: Set default listening interface to 127.0.0.1 17 years ago
Matthew Wild a3b7fc26cb Add initial mod_component for XEP-0114 support. Albert, where are you? 17 years ago