aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
Commit message (Collapse)AuthorAgeFilesLines
* mod_s2s: Use net.connect instead of s2sout.lib for outgoing s2s connectionsKim Alvefur2018-11-102-364/+23
|
* mod_muc_mam: Conditionally advertise MAM feature on rooms (fixes #1407)Kim Alvefur2019-08-101-1/+3
|
* mod_vcard_legacy: Complete roundtrip support for ORG/ORGNAMEKim Alvefur2019-08-021-0/+4
| | | | vcard-temp -> vcard4 worked previously but not the other way around
* mod_vcard_legacy: Add support for JABBERID - impp/uri conversionKim Alvefur2019-01-191-0/+9
|
* mod_s2s: Distinguish between high and low level errors in bouncesKim Alvefur2019-08-011-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 loggingKim Alvefur2019-07-3014-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 providedKim Alvefur2019-03-291-5/+15
| | | | | This should be simpler and more efficient, as well avoid problems caused by using filters.
* Merge 0.11->trunkKim Alvefur2019-07-281-0/+1
|\
| * mod_websocket: Clone stanza before mutating (fixes #1398)Kim Alvefur2019-07-201-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 idKim Alvefur2019-07-281-1/+1
| | | | | | | | Don't need to construct it from components again
* | mod_admin_telnet: Allow specifying a reason when closing sessions (#1400)Kim Alvefur2019-07-281-8/+17
| |
* | mod_pubsub: Eliminate dead codeKim Alvefur2019-07-251-8/+3
| | | | | | | | `data` is a stanza and always truthy
* | mod_admin_telnet: Add xmpp:ping to helpKim Alvefur2019-07-261-0/+3
| |
* | mod_admin_telnet: Add c2s:count() to helpKim Alvefur2019-07-261-0/+1
| |
* | mod_admin_telnet: Make c2s:count() consistent with c2s:show()Kim Alvefur2019-07-261-3/+2
| | | | | | | | Both now operate on the same complete set of c2s sessions
* | mod_admin_telnet: Factor out function for collecting all c2s sessions for ↵Kim Alvefur2019-07-261-2/+6
| | | | | | | | easier reuse
* | mod_admin_telnet: Include both c2s connections and sessions in c2s:show()Kim Alvefur2019-07-261-1/+3
| | | | | | | | This way both incomplete connections and hibernating c2s sessions are shown.
* | mod_mam: Report correct count of results for forward queriesKim Alvefur2019-07-131-1/+1
| | | | | | | | | | #results is only correct for backwards queries, the table is unused for forward queries.
* | mod_mam: Move final log message to end of query procedureKim Alvefur2019-07-111-3/+3
| |
* | mod_mam: Log RSM parametersKim Alvefur2019-07-111-0/+3
| | | | | | | | | | Helps when trying to figure out why some queries fail, ie when paging using an archive id that doesn't exist.
* | mod_mam: Log query failure reasonKim Alvefur2019-07-111-0/+1
| | | | | | | | | | The storage engine will usually make a lot of noise for serious errors, but not always.
* | mod_mam: Log more details in final log messageKim Alvefur2019-07-111-1/+1
| | | | | | | | Saves you from counting messages sent
* | mod_mam: Include query id in final log messageKim Alvefur2019-07-111-1/+1
| | | | | | | | Should make it easier to find related log messages
* | mod_mam: Use stanza id in log message as fallback if no query idKim Alvefur2019-07-111-1/+1
| |
* | mod_mam: Include username that performed queryKim Alvefur2019-07-111-1/+2
| | | | | | | | Not always easy to find from surrounding logs
* | mod_mam: Make log message more compactKim Alvefur2019-07-111-4/+5
| |
* | mod_pubsub: Move a comment to where it makes senseKim Alvefur2019-07-101-1/+1
| | | | | | | | This code has moved but the comment did not follow it.
* | mod_admin_telnet: Move error handling to thread callback (fixes #1391)Kim Alvefur2019-05-101-7/+4
| | | | | | | | Avoids yielding over pcall boundry, fixes xmpp:ping() command on Lua 5.1
* | mod_admin_telnet: Check for simple commands before executing in sandboxKim Alvefur2019-05-101-5/+5
| | | | | | | | | | | | This makes fixing yield over pcall boundry issue easier since it would have jumped to the thread error handler instead of proceeding to checking for simple commands.
* | mod_pep: Only log when creating new pubsub servicesKim Alvefur2019-07-091-1/+1
| | | | | | | | | | | | | | Once upon a time get_pep_service() would get called with random bare JIDs and remote hostnames, which is why it was logged this way. This seems to have been fixed, so it's not as useful anymore. It's still useful to know when it creates a new service object.
* | MUC: Advertise language field as such via XEP-0122Kim Alvefur2019-07-071-0/+1
| | | | | | | | | | | | | | This lets clients know that the field is a language field and should be in RFC 5646 format. Field validation code in util.dataforms left for future commit.
* | mod_pubsub: Expose pubsub#access_model and pubsub#publish_model (fixes #1387)Kim Alvefur2019-07-061-0/+10
| |
* | mod_blocklist: Add comment to clarify some logicKim Alvefur2019-06-201-0/+1
| |
* | Merge 0.11->trunkKim Alvefur2019-06-201-0/+8
|\|
| * mod_blocklist: Trigger resend of presence when unblocking a contact (fixes ↵Kim Alvefur2019-06-201-0/+8
| | | | | | | | #1380)
* | MUC: Reflow event tables to improve readabilityKim Alvefur2019-06-191-4/+20
| | | | | | | | Also makes it easier to read diffs of added fields.
* | mod_pep: Log node name instead of payloadKim Alvefur2019-06-161-1/+1
| | | | | | | | Having the node logged is more useful and less problematic for privacy
* | Merge 0.11->trunkKim Alvefur2019-06-1029-422/+859
|\ \ | |/ |/|
| * mod_admin_telnet: Collect array from Bosh connections when appending to ↵Michel Le Bihan2019-06-031-1/+1
| | | | | | | | | | | | connection list Fixes #1356
| * Merge 0.11->trunkKim Alvefur2019-05-301-39/+16
| |\
| * | mod_storage_sql: Ignore shadowed error variable [luacheck]Kim Alvefur2019-05-281-1/+1
| | |
| * | mod_storage_sql: Fix to use correct arguments to archive id lookupKim Alvefur2019-05-281-2/+2
| | |
| * | mod_storage_sql: Correctly return item-not-found errorKim Alvefur2019-05-281-2/+3
| | | | | | | | | | | | `return ok, err` comes out as `transaction_ok, ok, err`
| * | Merge 0.11->trunkKim Alvefur2019-05-272-3/+14
| |\ \
| * \ \ Merge 0.11->trunkKim Alvefur2019-05-271-1/+1
| |\ \ \
| * | | | mod_csi_simple: Disable optimizations on disconnect (fixes #1358)Kim Alvefur2019-05-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | The connection becomes invalid here, regardless of 3rd party modules that might keep the session alive.
| * | | | mod_storage_internal: Return appropriate error even with empty archiveKim Alvefur2019-05-051-0/+3
| | | | |
| * | | | mod_storage_memory: Return correct error even if no archive data availableKim Alvefur2019-05-051-0/+3
| | | | |
| * | | | mod_muc_mam: Propagate item-not-found to client (fixes #1325)Kim Alvefur2019-05-051-1/+5
| | | | |
| * | | | mod_mam: Propagate item-not-found to client (fixes #1325)Kim Alvefur2019-05-051-1/+5
| | | | |