Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | | mod_s2s: Handle authentication of s2sin and s2sout the same way | Kim Alvefur | 2019-09-07 | 1 | -7/+5 |
| | | |||||
* | | mod_offline: Add some debug logging to reduce confusion | Kim Alvefur | 2019-09-08 | 1 | -1/+5 |
| | | | | | | | | Where did these messages come from??? | ||||
* | | mod_s2s: Remove obsolete cleanup code | Kim Alvefur | 2019-09-07 | 1 | -7/+0 |
| | | | | | | | | These were added by s2sout.lib | ||||
* | | mod_admin_telnet: Identify bidi-capable s2sout sessions (fixes #1403) | Kim Alvefur | 2019-09-07 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-08-31 | 1 | -2/+2 |
|\| | |||||
| * | MUC: Fix delay@from to be room JID (fixes #1416)0.11.3 | Kim Alvefur | 2019-08-31 | 1 | -2/+2 |
| | | |||||
* | | Remove COMPAT with temporary luasec fork | Kim Alvefur | 2019-08-25 | 3 | -7/+0 |
| | | | | | | | | | | The changes in the temporary fork were merged into mainline luasec ca 2013 and included in the 0.5 release in 2014. | ||||
* | | MUC: Simplify nickname refresh loop | Kim Alvefur | 2019-08-25 | 1 | -2/+1 |
| | | | | | | | | Affiliation data is passed as a loop variable so no need to retrieve it | ||||
* | | mod_storage_internal: Include last text message | Kim Alvefur | 2019-08-23 | 1 | -1/+4 |
| | | | | | | | | | | | | A protocol built on this API now allows showing a list of unread conversations with a counter, ordered by either oldest or newest message, along with the text body itself. | ||||
* | | mod_storage_*: Also include timestmap of first message in :summary API | Kim Alvefur | 2019-08-23 | 3 | -3/+15 |
| | | | | | | | | | | For completeness along with most recent timestamp. Might be nice to be able to order by oldest unread message. | ||||
* | | mod_storage_*: Include timestamp of latest message in :summary API | Kim Alvefur | 2019-08-23 | 3 | -3/+12 |
| | | | | | | | | | | | | | | Clients may want to show a list of conversations ordered by how timestamp of most recent message. The counts allow a badge with unread message counter. | ||||
* | | mod_storage_*: Tweak :summary API to allow future expansion with more fields | Kim Alvefur | 2019-08-23 | 3 | -9/+15 |
| | | | | | | | | Eg might want to include last message, timestamp, chat state or other info. | ||||
* | | mod_auth_internal_hashed: Precompute SCRAM authentication profile name ↵ | Kim Alvefur | 2019-08-22 | 1 | -1/+2 |
| | | | | | | | | (thanks MattJ) | ||||
* | | mod_auth_internal_hashed: Add support for optionally using SCRAM-SHA-256 ↵ | Kim Alvefur | 2019-01-13 | 1 | -6/+7 |
| | | | | | | | | | | | | | | instead of SHA-1 This will currently require a hard reset of all passwords back to plain. This will be least painful on new deployments. | ||||
* | | mod_vcard_legacy: Use PEP nickname if vcard4 data is unavailable | Kim Alvefur | 2019-08-22 | 1 | -0/+8 |
| | | | | | | | | | | | | | | Last remaining nice feature from mod_profile. Allows setting eg nickname and avatar as completely public while restricting private details in vcard4 to only contacts. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-08-21 | 1 | -0/+1 |
|\| | |||||
| * | MUC: Advertise XEP-0410 support | Kim Alvefur | 2019-07-30 | 1 | -0/+1 |
| | | | | | | | | Unsure if the feature was in the XEP at the time of 7c1cdf5f9f83 | ||||
* | | mod_s2s: Use net.connect instead of s2sout.lib for outgoing s2s connections | Kim Alvefur | 2018-11-10 | 2 | -364/+23 |
| | | |||||
* | | mod_muc_mam: Conditionally advertise MAM feature on rooms (fixes #1407) | Kim Alvefur | 2019-08-10 | 1 | -1/+3 |
| | | |||||
* | | mod_vcard_legacy: Complete roundtrip support for ORG/ORGNAME | Kim Alvefur | 2019-08-02 | 1 | -0/+4 |
| | | | | | | | | vcard-temp -> vcard4 worked previously but not the other way around | ||||
* | | mod_vcard_legacy: Add support for JABBERID - impp/uri conversion | Kim Alvefur | 2019-01-19 | 1 | -0/+9 |
| | | |||||
* | | mod_s2s: Distinguish between high and low level errors in bounces | Kim Alvefur | 2019-08-01 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | `remote-server-not-found` is reported for problems occurring without a reply `<stream>` having been opened, e.g. DNS records were not found or no TCP stream could be established to a functioning XMPP entity. `remote-server-timeout` is reported for problems that occurring after a stream has been opened, such as configuration problems, inability to perform TLS or unsuccessful certificate validation. Related: #770 | ||||
* | | plugins: Remove tostring call from logging | Kim Alvefur | 2019-07-30 | 14 | -39/+37 |
| | | | | | | | | | | | | Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()` | ||||
* | | mod_limits: Use rate limiting in net.server if provided | Kim Alvefur | 2019-03-29 | 1 | -5/+15 |
| | | | | | | | | | | This should be simpler and more efficient, as well avoid problems caused by using filters. | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2019-07-28 | 1 | -0/+1 |
|\| | |||||
| * | mod_websocket: Clone stanza before mutating (fixes #1398) | Kim Alvefur | 2019-07-20 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Checking for `stanza.attr.xmlns == nil` to determine if the stanza object is an actual stanza (`<message>`, `<presence>` or `<iq>` in the `jabber:client` or `jabbber:server` namespace) or some other stream element. Since this mutation is not reverted, it may leak to other places and cause them to mistreat stanzas as stream elements. Especially in cases like MUC where a single stanza is broadcast to many recipients. | ||||
* | | mod_admin_telnet: Use already generated session id | Kim Alvefur | 2019-07-28 | 1 | -1/+1 |
| | | | | | | | | Don't need to construct it from components again | ||||
* | | mod_admin_telnet: Allow specifying a reason when closing sessions (#1400) | Kim Alvefur | 2019-07-28 | 1 | -8/+17 |
| | | |||||
* | | mod_pubsub: Eliminate dead code | Kim Alvefur | 2019-07-25 | 1 | -8/+3 |
| | | | | | | | | `data` is a stanza and always truthy | ||||
* | | mod_admin_telnet: Add xmpp:ping to help | Kim Alvefur | 2019-07-26 | 1 | -0/+3 |
| | | |||||
* | | mod_admin_telnet: Add c2s:count() to help | Kim Alvefur | 2019-07-26 | 1 | -0/+1 |
| | | |||||
* | | mod_admin_telnet: Make c2s:count() consistent with c2s:show() | Kim Alvefur | 2019-07-26 | 1 | -3/+2 |
| | | | | | | | | Both now operate on the same complete set of c2s sessions |