Commit Graph

93 Commits (master)

Author SHA1 Message Date
Kim Alvefur e52cc0126d mod_component: Don't return error reply for errors, fixes #1897 10 months ago
Kim Alvefur 71ad48095d plugins: Use integer config API with interval specification where sensible 2 years ago
Kim Alvefur a8b0c56f65 plugins: Use get_option_enum where appropriate 5 years ago
Kim Alvefur 98922d54b1 plugins: Prefix module imports with prosody namespace 3 years ago
Matthew Wild a2cabe6418 mod_component: Require 'from' attribute on stanzas by default 3 years ago
Matthew Wild 4c4e764e23 mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default stanza size limits 5 years ago
Kim Alvefur ef6cb64b9e mod_c2s,etc: Identify stanza object with appropriate function 4 years ago
Kim Alvefur 27a97b963d mod_component: Distinguish missing stream @to from unknown local component (thanks Daniel_W) 5 years ago
Kim Alvefur aeaad491d4 mod_component: Return extended error condition when not connected 6 years ago
Kim Alvefur 2f67c339a3 mod_component: Reply with a different error when not connected 6 years ago
Kim Alvefur 608d6dd756 mod_component: Specify an error source for Component unavailable errors 6 years ago
Kim Alvefur 40b1e3e0ed plugins: Remove tostring call from logging 7 years ago
Matthew Wild f5f6460b2e Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall 7 years ago
Emmanuel Gil Peyrot ba5f71d08b mod_component: Fix a wrongly-placed closing parenthesis, fixes #1164. 8 years ago
Kim Alvefur 5dee36d838 mod_component, mod_s2s: Iterate over child tags instead of child nodes (can include text) in stream error (same as 176b7f4e4ac9) 8 years ago
Kim Alvefur 38060a5ccf mod_component: Advertise disco#info in fallback handling of disco#info query (fixes #1062) 8 years ago
Kim Alvefur d99378074d mod_component: Use typed config API 9 years ago
Kim Alvefur a586901308 mod_component: Add read timeout handler (same behaviour as c2s and s2s) 9 years ago
Kim Alvefur b661ee3aca mod_component: Trim trailing whitespace 9 years ago
Matthew Wild cd10e4439e mod_component: Fire 'component-disconnected' event on host, to maintain consistency - sessions with no host never authenticated. Fixes #737 9 years ago
Emmanuel Gil Peyrot c6048a7cb4 Update every link to the documentation to use HTTPS 10 years ago
Matthew Wild f739ed2c46 mod_component: Some cleanup [luacheck] 10 years ago
Matthew Wild 4b907ce3ff mod_component: Fire event when component disconnects 10 years ago
Kim Alvefur b7e3bf93ea mod_component: Add config option for deciding what happens if a component connects while already connected (fixes #525) 10 years ago
Kim Alvefur e92c2042d1 mod_component: Fire an event on successful component authentication (For Goffi) 11 years ago
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) 11 years ago
Kim Alvefur e06966ee43 mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all session:open_stream() functions to util.xmppstream 12 years ago
Kim Alvefur a3dab92bb3 mod_component: Enable TCP keepalives on component streams 12 years ago
Kim Alvefur 72d7753441 mod_component: Decrease priority of component auth hook 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
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
Matthew Wild c6efcf09be mod_component: Set module status to indicate whether component is connected 7 years ago
Kim Alvefur cf984835d1 mod_c2s, mod_s2s, mod_component: Log invalid XML escaped (fixes #734) 7 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