Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plugins: Use get_option_enum where appropriate | Kim Alvefur | 2021-01-16 | 1 | -1/+1 |
| | |||||
* | plugins: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-24 | 1 | -7/+7 |
| | |||||
* | mod_component: Require 'from' attribute on stanzas by default | Matthew Wild | 2022-08-28 | 1 | -16/+13 |
| | | | | | | | | | | The old behaviour of falling back to the component domain when it is missing has been merged into the logic for the existing "validate_from_addresses" option (which is strict by default). ejabberd already rejects component stanzas with no 'from' (as the XEP requires), and this has led to compatibility issues for components that were seemingly working fine with Prosody. | ||||
* | mod_c2s,etc: Identify stanza object with appropriate function | Kim Alvefur | 2021-10-24 | 1 | -3/+3 |
| | | | | | Better than duck typing, in case anyone ever passes a non-stanza table with a 'name' field. | ||||
* | Merge 0.11->trunk | Matthew Wild | 2021-05-13 | 1 | -1/+2 |
|\ | |||||
| * | mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default ↵ | Matthew Wild | 2021-05-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | stanza size limits c2s/bosh/ws streams will default to 256KB, s2s and components to 512KB. These values are aligned with ejabberd's default settings, which should reduce issues related to inconsistent size limits between servers on the XMPP network. The previous default (10MB) is excessive for any production server, and allows significant memory usage by even unauthenticated sessions. | ||||
* | | mod_component: Distinguish missing stream @to from unknown local component ↵ | Kim Alvefur | 2020-12-18 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | (thanks Daniel_W) Spectrum2 did not include a stream @to attribute due to a configuration error. "nil does not match ..." is not very clear in pointing this out and is somewhat confusing, tho it did help pinpoint what went wrong. It's also not great leak to programming language internals like "nil" out into user-facing strings like this. | ||||
* | | mod_component: Return extended error condition when not connected | Kim Alvefur | 2020-04-13 | 1 | -1/+2 |
| | | | | | | | | This might be something to write a XEP about. | ||||
* | | mod_component: Reply with a different error when not connected | Kim Alvefur | 2020-04-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | The wait, service-unavailable is overloaded by XEP-0045 to mean that the room has reached the maximum number of users. See #1495. Bouncing errors for components is tricky since there is no way to tell that it comes from the server hosting the component, not from the other end of the component connection. | ||||
* | | mod_component: Specify an error source for Component unavailable errors | Kim Alvefur | 2020-04-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | It is somewhat ambiguous where an error really comes from in the case of an external component. Setting by to the bare host at least distinguishes it from JIDs with a node- or resourcepart. | ||||
* | | plugins: Remove tostring call from logging | Kim Alvefur | 2019-07-30 | 1 | -7/+7 |
| | | | | | | | | | | | | Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()` | ||||
* | | mod_component: Set module status to indicate whether component is connected | Matthew Wild | 2019-03-19 | 1 | -0/+2 |
| | | |||||
* | | mod_c2s, mod_s2s, mod_component: Log invalid XML escaped (fixes #734) | Kim Alvefur | 2019-01-15 | 1 | -1/+1 |
|/ | | | | See 6ed0d6224d64 | ||||
* | Many things: switch from hacky multi-arg xpcall implementations to a ↵ | Matthew Wild | 2018-10-26 | 1 | -2/+3 |
| | | | | standard util.xpcall | ||||
* | Merge 0.10->trunk | Kim Alvefur | 2018-06-08 | 1 | -3/+4 |
|\ | |||||
| * | mod_component: Fix a wrongly-placed closing parenthesis, fixes #1164. | Emmanuel Gil Peyrot | 2018-06-08 | 1 | -3/+4 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2018-02-04 | 1 | -1/+2 |
|\| | |||||
| * | mod_component: Advertise disco#info in fallback handling of disco#info query ↵ | Kim Alvefur | 2018-01-06 | 1 | -1/+2 |
| | | | | | | | | (fixes #1062) | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-09-14 | 1 | -10/+8 |
|\| | |||||
| * | Merge 0.9->0.10 | Kim Alvefur | 2017-09-14 | 1 | -10/+8 |
| |\ | |||||
| | * | mod_component, mod_s2s: Iterate over child tags instead of child nodes (can ↵ | Kim Alvefur | 2017-09-14 | 1 | -10/+8 |
| | | | | | | | | | | | | include text) in stream error (same as 176b7f4e4ac9) | ||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-05-17 | 1 | -1/+1 |
|\| | | |||||
| * | | mod_component: Use typed config API | Kim Alvefur | 2017-04-26 | 1 | -1/+1 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-02-10 | 1 | -0/+18 |
|\| | | |||||
| * | | mod_component: Add read timeout handler (same behaviour as c2s and s2s) | Kim Alvefur | 2017-02-10 | 1 | -0/+18 |
| | | | |||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2017-01-28 | 1 | -15/+15 |
|\| | | |||||
| * | | mod_component: Trim trailing whitespace | Kim Alvefur | 2017-01-28 | 1 | -15/+15 |
| | | | |||||
* | | | Merge 0.10->trunk | Matthew Wild | 2016-09-12 | 1 | -1/+3 |
|\| | | |||||
| * | | mod_component: Fire 'component-disconnected' event on host, to maintain ↵ | Matthew Wild | 2016-09-12 | 1 | -1/+3 |
| | | | | | | | | | | | | consistency - sessions with no host never authenticated. Fixes #737 | ||||
* | | | Update every link to the documentation to use HTTPS | Emmanuel Gil Peyrot | 2016-04-16 | 1 | -1/+1 |
|/ / | |||||
* | | mod_component: Some cleanup [luacheck] | Matthew Wild | 2016-03-18 | 1 | -4/+3 |
| | | |||||
* | | mod_component: Fire event when component disconnects | Matthew Wild | 2016-03-18 | 1 | -0/+1 |
| | | |||||
* | | mod_component: Add config option for deciding what happens if a component ↵ | Kim Alvefur | 2015-10-21 | 1 | -3/+11 |
| | | | | | | | | connects while already connected (fixes #525) | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2015-08-10 | 1 | -15/+16 |
|\| | |||||
| * | mod_component: Fire an event on successful component authentication (For Goffi) | Kim Alvefur | 2015-08-10 | 1 | -0/+1 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2014-09-02 | 1 | -0/+4 |
|\| | |||||
| * | net.http, net.http.server, mod_c2s, mod_s2s, mod_component, ↵ | Matthew Wild | 2014-08-29 | 1 | -0/+4 |
| | | | | | | | | mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent) | ||||
* | | mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all ↵ | Kim Alvefur | 2014-04-10 | 1 | -3/+1 |
| | | | | | | | | session:open_stream() functions to util.xmppstream | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2013-12-18 | 1 | -1/+7 |
|\| | |||||
| * | mod_component: Enable TCP keepalives on component streams | Kim Alvefur | 2013-12-18 | 1 | -0/+6 |
| | | |||||
| * | mod_component: Decrease priority of component auth hook | Kim Alvefur | 2013-12-18 | 1 | -1/+1 |
| | | |||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -16/+16 |
|/ | |||||
* | mod_component: Local imports for some functions, including xpcall | Matthew Wild | 2013-07-08 | 1 | -0/+1 |
| | |||||
* | mod_component: xpcall() stanza processing, as per other listeners, ↵ | Matthew Wild | 2013-07-08 | 1 | -1/+6 |
| | | | | preventing potentially harmful 'top-level errors' | ||||
* | mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, ↵ | Kim Alvefur | 2013-03-23 | 1 | -1/+1 |
| | | | | mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals | ||||
* | mod_component: Look for the correct xmlns (thanks NebuK) | Kim Alvefur | 2013-01-27 | 1 | -1/+1 |
| | |||||
* | s2smanager: Generate session names used for logging the same way everywhere | Kim Alvefur | 2013-01-24 | 1 | -1/+1 |
| | |||||
* | mod_component: Make listener private (thanks Ge0rG) | Kim Alvefur | 2013-01-17 | 1 | -0/+1 |
| | |||||
* | mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use ↵ | Waqas Hussain | 2012-09-12 | 1 | -1/+1 |
| | | | | module:provides() instead of module:add_item(). | ||||
* | mod_component: For disconnected external components, if a name is specified ↵ | Waqas Hussain | 2012-08-01 | 1 | -0/+12 |
| | | | | in config, return it in disco#info replies. |