Commit graph

46 commits

Author SHA1 Message Date
Kim Alvefur
d11b41d1dd mod_component: Look for the correct xmlns (thanks NebuK) 2013-01-27 17:11:45 +01:00
Kim Alvefur
4517552d8b s2smanager: Generate session names used for logging the same way everywhere 2013-01-24 00:58:17 +01:00
Kim Alvefur
1e4f3fadcd mod_component: Make listener private (thanks Ge0rG) 2013-01-17 21:57:35 +01:00
Waqas Hussain
d9d38ef125 mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item(). 2012-09-12 22:22:31 +05:00
Waqas Hussain
c204694247 mod_component: For disconnected external components, if a name is specified in config, return it in disco#info replies. 2012-08-01 01:36:13 +05:00
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. 2012-07-26 04:33:17 +02:00
Matthew Wild
e89b006f03 Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages 2012-07-23 17:32:33 +01:00
Matthew Wild
a8a1bb526f mod_component: Allow unauthenticated components to authenticate (thanks Maranda) 2012-04-30 01:20:13 +01:00
Matthew Wild
b56a39255a mod_component: Components start out as component_unauthed until successful authentication (thanks xnyhps) 2012-04-30 01:02:39 +01:00
Matthew Wild
ba8ef0d839 mod_component: Send <?xml on initial stream (thanks xnyhps) 2012-04-30 00:42:02 +01:00
Matthew Wild
844026b0ea mod_component: Remove unused variable 2012-04-28 03:13:59 +01:00
Matthew Wild
9857260297 mod_component: Return true after denying a second component connection for a host (thanks xnyhps) 2012-04-27 22:37:24 +01:00
Matthew Wild
c1e2674fd4 mod_component: Handle component connecting to non-existent host 2012-04-22 16:35:26 +01:00
Matthew Wild
9d47801122 mod_component: Make a shared module, and move the xmppcomponent_listener into it ('port'ing over to portmanager). Ha ha. 2012-04-21 22:50:57 +01:00
Marco Cirillo
351b8347c8 mod_component: removed unused variable reference, added "flagging" to assert if a component is connected or not. 2012-01-06 21:45:33 +00:00
Matthew Wild
ba19cdbf9a mod_component: Clearer log message when bouncing a stanza from a component that is not connected (thanks MK) 2011-06-18 14:04:56 +01:00
Matthew Wild
0ed8dc1f6e mod_component: Small code clarity fix 2011-06-04 00:29:55 +01:00
Waqas Hussain
113cb3c67c mod_component: Give stanza handlers a negative priority, to allow mod_iq to process them first. 2010-12-02 16:15:50 +05:00
Waqas Hussain
0dbe39b420 mod_component: Logging tweaks. 2010-11-12 23:43:30 +05:00
Waqas Hussain
3501f4f0c9 mod_component: Use module:get_option() instead of configmanager. 2010-11-12 23:35:02 +05:00
Waqas Hussain
6bc1c5d24a mod_component: Rearranged the code a little. 2010-11-12 23:32:51 +05:00
Waqas Hussain
42993c2ec2 mod_component: Return true from stanza handler to indicate that we actually did handle the stanza. 2010-11-12 22:39:37 +05:00
Waqas Hussain
d38fc9dce0 prosody: Removed all references to componentmanager from Prosody, except the main componentmanager file. 2010-11-10 20:59:16 +05:00
Waqas Hussain
67804ef1a3 componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property. 2010-11-10 03:39:38 +05:00
Waqas Hussain
cac4ec8aca mod_component: Updated to use events for hooking stanzas instead of the component stanza handler, and the on_destroy callback. 2010-11-10 01:51:03 +05:00
Waqas Hussain
f585f295c7 mod_component: Send back a <conflict/> stream error when multiple sessions attempt to bind. 2010-11-09 20:23:28 +05:00
Waqas Hussain
b7e51a203d Monster whitespace commit (beware the whitespace monster). 2010-10-16 23:00:42 +05:00
Waqas Hussain
1ded409360 mod_component: Updated to use the new events API. 2010-10-16 06:38:38 +05:00
Waqas Hussain
c6a1139e78 net.xmppcomponent_listener, mod_component: Removed useless undocumented option 'component_address'. 2010-09-21 17:37:11 +05:00
Matthew Wild
ee6c70ee52 mod_component: Read validate_from_addresses option from the config 2010-07-04 19:14:27 +01:00
Matthew Wild
46c0b8c7f9 Merge 0.6->0.7 2010-03-22 17:24:55 +00:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Waqas Hussain
feb814d958 mod_component: Cleaned up unused variables. 2010-01-24 05:36:25 +05:00
Matthew Wild
237f683563 mod_component: Fix name of config option in error message (thanks nulani!) 2010-01-23 02:53:44 +00:00
Matthew Wild
139241f580 mod_component: Fix name of config option in error message (thanks nulani!) 2010-01-23 02:53:44 +00:00
Matthew Wild
118883d655 Remove version number from copyright headers 2009-07-10 03:11:45 +01:00
Matthew Wild
386d7fa926 mod_component: Rewrite jabber:client stanzas to jabber:component:accept, thanks JaredH! 2009-06-25 01:38:53 +01:00
Matthew Wild
504822ae14 mod_component: Vastly reduce the code, having split most of it to where it should be, xmppcomponent_listener 2009-05-04 19:36:16 +01:00
Matthew Wild
e241b85a56 mod_*: Fix many unnecessary global accesses in modules (already committed to main repo) 2009-04-29 02:08:12 +01:00
Matthew Wild
0ddf0a3232 mod_component: Deregister component on disconnect 2009-04-11 22:22:24 +01:00
Matthew Wild
b0107266fc mod_component: Update for new net_activate_ports 2009-04-10 10:49:58 +01:00
Matthew Wild
a27b839551 sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream 2009-04-05 20:06:39 +01:00
Matthew Wild
7a764ade59 mod_component: Remove some commented code 2009-03-22 17:54:29 +00:00
Matthew Wild
0d7ecce88f mod_component: Use net_activate_ports to start port listener based on config 2009-03-22 15:02:07 +00:00
Matthew Wild
9eadfb191e mod_component: Set default listening interface to 127.0.0.1 2009-03-22 15:01:23 +00:00
Matthew Wild
a3b7fc26cb Add initial mod_component for XEP-0114 support. Albert, where are you? 2009-03-21 21:47:09 +00:00