Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_s2s: Only nameprep stream to/from addresses if they are present | Kim Alvefur | 2019-11-02 | 1 | -1/+3 |
| | | | | Prevents traceback from nameprep(nil) | ||||
* | mod_dialback: Fix potential traceback in case of missing addressing | Kim Alvefur | 2019-11-02 | 1 | -0/+1 |
| | | | | | | Not tested. Assuming nothing good comes from continuing the program flow after this. The connection should get closed and the event gets aborted by a traceback anyways. | ||||
* | mod_c2s: Validate that a 'to' attribute exists at all | Kim Alvefur | 2019-11-02 | 1 | -0/+5 |
| | | | | Prevents traceback from nameprep(nil) | ||||
* | mod_bosh: Abort early if request is missing hostname | Kim Alvefur | 2019-11-02 | 1 | -0/+9 |
| | | | | Prevents traceback from passing nil to nameprep() | ||||
* | mod_dialback: Abort early if request is missing addressing attributes | Kim Alvefur | 2019-11-02 | 1 | -0/+5 |
| | | | | Prevents traceback from passing nil to nameprep() | ||||
* | MUC: Make nickname field in registration form required | Kim Alvefur | 2019-11-02 | 1 | -1/+1 |
| | | | | | | Prevents traceback from resourceprep(nil) muc#register_roomnick is also required in XEP-0045 | ||||
* | mod_register_ibr: Enforce strict JID validation | Kim Alvefur | 2019-11-01 | 1 | -1/+1 |
| | |||||
* | MUC: Strictly validate room JID on creation | Kim Alvefur | 2019-11-01 | 1 | -0/+8 |
| | | | | This should prevent any MUCs with invalid JID (according to current normalization routine) | ||||
* | mod_register_limits: Use util.error for managing rejection reasons | Kim Alvefur | 2019-11-01 | 1 | -9/+28 |
| | |||||
* | mod_register_ibr: Allow registartion rejection reason as util.error object | Kim Alvefur | 2019-11-01 | 1 | -2/+9 |
| | |||||
* | MUC: Enforce strict resourceprep on nicknames (bye bye robot face) | Kim Alvefur | 2019-09-23 | 1 | -0/+16 |
| | |||||
* | util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error ↵ | Matthew Wild | 2019-10-27 | 1 | -0/+4 |
| | | | | (fixes #1455) | ||||
* | MUC: Advertise history related fields as integers via XEP-0122 | Kim Alvefur | 2019-10-20 | 1 | -2/+4 |
| | | | | This takes advantage of data type validation and conversion done in util.dataforms. | ||||
* | MUC: Add controls for whose presence is broadcast (closes #1335) | Lance Stout | 2019-10-20 | 3 | -5/+112 |
| | | | | Committed by Zash | ||||
* | Merge 0.11->trunk | Kim Alvefur | 2019-10-20 | 1 | -2/+0 |
|\ | |||||
| * | MUC: Don't advertise registration feature on host JID (fixes #1451) | Kim Alvefur | 2019-10-20 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | There is currently no mention in XEP-0045 of how or where to advertise support for registration. Advertising on the host JID may be confusable with service-wide registration, as implemented in ejabberd. A common and sensible pattern in XMPP is that a feature is advertised on the JID where the service is available. | ||||
* | | MUC: Validate registration dataform more carefully | Kim Alvefur | 2019-10-20 | 1 | -1/+13 |
| | | |||||
* | | mod_saslauth: Demote "no SASL mechanisms" error back to warning | Kim Alvefur | 2019-10-15 | 1 | -4/+4 |
| | | | | | | | | | | This gets printed before TLS if c2s_require_encryption = false, in which case it is just annoying. | ||||
* | | mod_saslauth: Improve logging of why no SASL mechanisms were offered | Kim Alvefur | 2019-10-15 | 1 | -6/+18 |
| | | |||||
* | | mod_saslauth: Use the power of Set Theory to mange sets of SASL mechanisms | Kim Alvefur | 2019-10-15 | 1 | -6/+24 |
| | | | | | | | | This makes sets of excluded mechanisms easily available for use later. | ||||
* | | mod_saslauth: Log (debug) messages about channel binding | Kim Alvefur | 2019-10-15 | 1 | -0/+5 |
| | | |||||
* | | mod_saslauth: Remove useless debug log line | Kim Alvefur | 2019-10-13 | 1 | -1/+0 |
| | | | | | | | | | | | | Fairly useless to only log half of SASL messages. Use mod_stanza_debug instead to get the full exchange. | ||||
* | | mod_saslauth: Remove commented-out debug log line | Kim Alvefur | 2019-10-13 | 1 | -1/+0 |
| | | |||||
* | | mod_websocket: Guard against upgrading to websocket from a HEAD request | Kim Alvefur | 2019-10-12 | 1 | -1/+1 |
| | | |||||
* | | mod_http: Unhook CORS related event handlers | Kim Alvefur | 2019-10-10 | 1 | -3/+10 |
| | | | | | | | | | | | | | | Prevents CORS related handlers from being left over on reload. BC: `mod_http.apps[app_name][event_name]` is now a table instead of the main handler function. | ||||
* | | mod_s2s: Close with a stream error in case neither SASL or Dialback are ↵ | Kim Alvefur | 2019-10-06 | 1 | -1/+4 |
| | | | | | | | | | | | | | | available This both tells the remote server and users who sent any queued stanzas why it failed. | ||||
* | | mod_admin_telnet: xmpp:ping: Log ping time | Kim Alvefur | 2019-10-06 | 1 | -1/+3 |
| | | |||||
* | | mod_csi_simple: Always remove session filters when disabling CSI | Kim Alvefur | 2019-10-05 | 1 | -3/+3 |
| | | | | | | | | | | | | Only guard the actual pausing of outgoing data on the method existing. This prevents the filters from lingering in case something happened to the connection. Removing already removed filters should be a safe noop. | ||||
* | | mod_csi_simple: Try not to flush buffer while already flushing it | Kim Alvefur | 2019-10-05 | 1 | -0/+5 |
| | | | | | | | | Reduces log noice | ||||
* | | Merge 0.11->trunk | Matthew Wild | 2019-10-03 | 1 | -0/+2 |
|\| | |||||
| * | mod_mam: Add flag to session when it performs a MAM query | Matthew Wild | 2019-10-03 | 1 | -0/+2 |
| | | |||||
* | | mod_offline: Log a debug message when message is stored | Kim Alvefur | 2019-09-29 | 1 | -1/+5 |
| | | |||||
* | | Merge 0.11-trunk | Kim Alvefur | 2019-09-29 | 1 | -0/+1 |
|\| | |||||
| * | MUC: Strip tags with MUC-related namespaces from private messages (fixes #1427) | Kim Alvefur | 2019-09-29 | 1 | -0/+1 |
| | | | | | | | | Prevents duplication since it adds another <{muc#user}x> here | ||||
* | | mod_admin_telnet: Use new compact function for waiting on promises | Kim Alvefur | 2019-09-29 | 1 | -7/+1 |
| | | |||||
* | | mod_register_ibr: Distinguish between failure to create account or save ↵ | Kim Alvefur | 2019-09-29 | 1 | -6/+5 |
| | | | | | | | | extra data | ||||
* | | mod_register_ibr: Reminder to maybe use util.error in the future | Kim Alvefur | 2019-09-29 | 1 | -0/+1 |
| | | |||||
* | | mod_register_ibr, mod_register_limits: Add support for custom error type and ↵ | Emmanuel Gil Peyrot | 2019-09-29 | 2 | -1/+7 |
| | | | | | | | | defined-condition. | ||||
* | | mod_register_ibr: Add FORM_TYPE as required by XEP-0077. | Emmanuel Gil Peyrot | 2019-09-29 | 1 | -0/+2 |
| | | |||||
* | | mod_csi_simple: Remove duplicated check for connection | Kim Alvefur | 2019-09-28 | 1 | -3/+3 |
| | | |||||
* | | mod_pubsub: Remove the unwanted check for @notify on <purge/>. | Emmanuel Gil Peyrot | 2019-09-28 | 1 | -3/+2 |
| | | | | | | | | | | | | This most likely was copied from the handling of <retract/>, where it actually is required by the spec (XEP-0060 §7.2.2.1), but this attribute doesn’t exist for purge. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-09-21 | 1 | -4/+10 |
|\| | |||||
| * | mod_vcard_legacy: Don't owerwrite empty photo elements (fixes #1432) | Kim Alvefur | 2019-09-21 | 1 | -3/+9 |
| | | |||||
| * | mod_vcard_legacy: Advertise lack of avatar correctly (fixes #1431) (thanks ↵ | Kim Alvefur | 2019-09-21 | 1 | -2/+2 |
| | | | | | | | | lovetox) | ||||
* | | mod_http: Add support for configuring CORS Access-Control-Allow-Credentials | Matthew Wild | 2019-09-11 | 1 | -2/+6 |
| | | |||||
* | | mod_admin_telnet: Identify native bidi sessions | Kim Alvefur | 2019-09-08 | 1 | -1/+3 |
| | | |||||
* | | mod_s2s_bidi: Enables bi-directional streams via XEP-0288 | Kim Alvefur | 2019-09-08 | 1 | -0/+38 |
| | | |||||
* | | mod_s2s: Remove warning about hostname mismatch | Kim Alvefur | 2019-09-07 | 1 | -5/+0 |
| | | | | | | | | | | | | It triggers on bidi-related routing where this to/from is flipped. Removing since I don't think we have ever seen this potential bug. | ||||
* | | mod_s2s: Insert s2sin into outgoing routing table when bidirectional | Kim Alvefur | 2019-09-07 | 1 | -0/+4 |
| | | |||||
* | | mod_s2s: Add function to send replies on s2sout connections that support ↵ | Kim Alvefur | 2019-09-07 | 1 | -0/+7 |
| | | | | | | | | incoming traffic |