Commit graph

73 commits

Author SHA1 Message Date
Kim Alvefur
4c6c255113 Merge 0.10->trunk 2017-09-14 02:48:34 +02:00
Kim Alvefur
989c0783cb Merge 0.9->0.10 2017-09-14 02:47:40 +02:00
Kim Alvefur
5dee36d838 mod_component, mod_s2s: Iterate over child tags instead of child nodes (can include text) in stream error (same as 176b7f4e4ac9) 2017-09-14 01:27:36 +02:00
Kim Alvefur
d99378074d mod_component: Use typed config API 2017-04-26 16:54:58 +02:00
Kim Alvefur
9b9d6a9ba9 Merge 0.10->trunk 2017-05-17 01:06:20 +02:00
Kim Alvefur
594cd28906 Merge 0.10->trunk 2017-02-10 21:34:16 +01:00
Kim Alvefur
a586901308 mod_component: Add read timeout handler (same behaviour as c2s and s2s) 2017-02-10 21:25:12 +01:00
Kim Alvefur
c5c11c2e2e Merge 0.10->trunk 2017-01-28 21:39:14 +01:00
Kim Alvefur
b661ee3aca mod_component: Trim trailing whitespace 2017-01-28 21:38:47 +01:00
Matthew Wild
f4690a6063 Merge 0.10->trunk 2016-09-12 22:31:25 +01:00
Matthew Wild
cd10e4439e mod_component: Fire 'component-disconnected' event on host, to maintain consistency - sessions with no host never authenticated. Fixes #737 2016-09-12 22:30:37 +01:00
Emmanuel Gil Peyrot
c6048a7cb4 Update every link to the documentation to use HTTPS 2016-04-16 21:08:05 +01:00
Matthew Wild
f739ed2c46 mod_component: Some cleanup [luacheck] 2016-03-18 14:03:14 +00:00
Matthew Wild
4b907ce3ff mod_component: Fire event when component disconnects 2016-03-18 13:58:55 +00:00
Kim Alvefur
b7e3bf93ea mod_component: Add config option for deciding what happens if a component connects while already connected (fixes #525) 2015-10-21 01:56:07 +02:00
Kim Alvefur
b49513cdeb Merge 0.9->0.10 2015-08-10 22:16:05 +02:00
Kim Alvefur
e92c2042d1 mod_component: Fire an event on successful component authentication (For Goffi) 2015-08-10 22:13:02 +02:00
Matthew Wild
899b6d53ae net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent) 2014-08-29 11:54:34 +01:00
Kim Alvefur
c80b30a71c Merge 0.9->0.10 2014-09-02 22:33:11 +02:00
Kim Alvefur
e06966ee43 mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all session:open_stream() functions to util.xmppstream 2014-04-10 13:13:07 +02:00
Kim Alvefur
ece61cbae1 Merge 0.9->0.10 2013-12-18 18:36:54 +01:00
Kim Alvefur
a3dab92bb3 mod_component: Enable TCP keepalives on component streams 2013-12-18 18:35:35 +01:00
Kim Alvefur
72d7753441 mod_component: Decrease priority of component auth hook 2013-12-18 18:34:22 +01:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Matthew Wild
98ce253063 mod_component: Local imports for some functions, including xpcall 2013-07-08 23:59:51 +01:00
Matthew Wild
fb9838c64b mod_component: xpcall() stanza processing, as per other listeners, preventing potentially harmful 'top-level errors' 2013-07-08 21:38:08 +01:00
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 2013-03-23 01:27:16 +01:00
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