Kim Alvefur
|
2b8caf8dac
|
plugins: Remove tostring call from logging
Taken care of by loggingmanager now
Mass-rewrite using lua pattern like `tostring%b()`
|
7 years ago |
Matthew Wild
|
9b5c6c4d9d
|
Many things: switch from hacky multi-arg xpcall implementations to a standard util.xpcall
|
7 years ago |
Emmanuel Gil Peyrot
|
df49d59a92
|
mod_component: Fix a wrongly-placed closing parenthesis, fixes #1164.
|
8 years ago |
Kim Alvefur
|
f36218aed8
|
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
|
7fc47fa72f
|
mod_component: Advertise disco#info in fallback handling of disco#info query (fixes #1062)
|
8 years ago |
Kim Alvefur
|
e437968395
|
mod_component: Use typed config API
|
9 years ago |
Kim Alvefur
|
380b4987ad
|
mod_component: Add read timeout handler (same behaviour as c2s and s2s)
|
9 years ago |
Kim Alvefur
|
47a4bdf758
|
mod_component: Trim trailing whitespace
|
9 years ago |
Matthew Wild
|
f04d561382
|
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
|
bbf1653e04
|
Update every link to the documentation to use HTTPS
|
10 years ago |
Matthew Wild
|
3b6bbde55c
|
mod_component: Some cleanup [luacheck]
|
10 years ago |
Matthew Wild
|
4b4e0feb6e
|
mod_component: Fire event when component disconnects
|
10 years ago |
Kim Alvefur
|
a05e313bb2
|
mod_component: Add config option for deciding what happens if a component connects while already connected (fixes #525)
|
10 years ago |
Kim Alvefur
|
5243ae5fee
|
mod_component: Fire an event on successful component authentication (For Goffi)
|
11 years ago |
Matthew Wild
|
58edf57b1f
|
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)
|
12 years ago |
Kim Alvefur
|
038d775543
|
mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all session:open_stream() functions to util.xmppstream
|
12 years ago |
Kim Alvefur
|
b64813dcf2
|
mod_component: Enable TCP keepalives on component streams
|
12 years ago |
Kim Alvefur
|
31f561fc89
|
mod_component: Decrease priority of component auth hook
|
12 years ago |
Florian Zeitz
|
4b618a8727
|
Remove all trailing whitespace
|
13 years ago |
Matthew Wild
|
a8be0a4bbe
|
mod_component: Local imports for some functions, including xpcall
|
13 years ago |
Matthew Wild
|
07891fe7e9
|
mod_component: xpcall() stanza processing, as per other listeners, preventing potentially harmful 'top-level errors'
|
13 years ago |
Kim Alvefur
|
98dea85ed2
|
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
|
c80dfc3c41
|
mod_component: Look for the correct xmlns (thanks NebuK)
|
13 years ago |
Kim Alvefur
|
1b79eabc8a
|
s2smanager: Generate session names used for logging the same way everywhere
|
13 years ago |
Kim Alvefur
|
aa500e0a04
|
mod_component: Make listener private (thanks Ge0rG)
|
13 years ago |
Waqas Hussain
|
025eca8452
|
mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item().
|
14 years ago |
Matthew Wild
|
8189ab0bcd
|
mod_component: Set module status to indicate whether component is connected
|
7 years ago |
Kim Alvefur
|
fe9e33d8c2
|
mod_c2s, mod_s2s, mod_component: Log invalid XML escaped (fixes #734)
See 6ed0d6224d64
|
7 years ago |
Waqas Hussain
|
d4b224bc0a
|
mod_component: For disconnected external components, if a name is specified in config, return it in disco#info replies.
|
14 years ago |
Kim Alvefur
|
790e0bb9b4
|
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
|
e808645b53
|
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
|
1e7a357152
|
mod_component: Allow unauthenticated components to authenticate (thanks Maranda)
|
14 years ago |
Matthew Wild
|
60c1421aa1
|
mod_component: Components start out as component_unauthed until successful authentication (thanks xnyhps)
|
14 years ago |
Matthew Wild
|
3b53149f03
|
mod_component: Send <?xml on initial stream (thanks xnyhps)
|
14 years ago |
Matthew Wild
|
0ef5422e64
|
mod_component: Remove unused variable
|
14 years ago |
Matthew Wild
|
1835139203
|
mod_component: Return true after denying a second component connection for a host (thanks xnyhps)
|
14 years ago |
Matthew Wild
|
67f1c12639
|
mod_component: Handle component connecting to non-existent host
|
14 years ago |
Matthew Wild
|
4ff0a4613d
|
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
|
b70702ed03
|
mod_component: removed unused variable reference, added "flagging" to assert if a component is connected or not.
|
14 years ago |
Matthew Wild
|
0390555139
|
mod_component: Clearer log message when bouncing a stanza from a component that is not connected (thanks MK)
|
15 years ago |
Matthew Wild
|
63203963a5
|
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 |