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 |
|
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 |
|
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 |
|