aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | prosodyctl: The 'test' function now also prints which plugins are enabledJoão Duarte2019-06-071-0/+2
| | | |
| | * | prosodyctl: Created a custom function, 'test', that prints back a welcoming ↵João Duarte2019-06-071-0/+4
| | | | | | | | | | | | | | | | message
* | | | net.resolvers.service: Fix DNS fallbackKim Alvefur2019-08-171-1/+5
| | | |
* | | | 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
| | | |
* | | | util.stanza: Use :text_tag internally everywhereKim Alvefur2019-08-021-3/+3
| | | | | | | | | | | | | | | | May allow future changes in a single place.
* | | | 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
* | | | net.adns: Remove unused local [luacheck]Kim Alvefur2019-07-301-1/+1
| | | |
* | | | net.websocket: Fix log call to pass data via format string instead of ↵Kim Alvefur2019-07-301-1/+1
| | | | | | | | | | | | | | | | concatenation
* | | | net.*: Remove tostring call from loggingKim Alvefur2019-07-304-9/+9
| | | | | | | | | | | | | | | | Taken care of by loggingmanager now
* | | | 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()`
* | | | util.session: Remove tostring call from loggingKim Alvefur2019-07-301-2/+2
| | | | | | | | | | | | | | | | Taken care of by loggingmanager now
* | | | util.sql: Remove tostring call from loggingKim Alvefur2019-07-301-4/+4
| | | | | | | | | | | | | | | | Taken care of by loggingmanager now
* | | | util.startup: Remove tostring call from loggingKim Alvefur2019-07-301-2/+2
| | | | | | | | | | | | | | | | Taken care of by loggingmanager now
* | | | core.portmanager: Remove unused local [luacheck]Kim Alvefur2019-07-301-1/+1
| | | |
* | | | core.portmanager: Remove tostring call from loggingKim Alvefur2019-07-301-1/+1
| | | | | | | | | | | | | | | | Taken care of by loggingmanager now
* | | | core.sessionmanager: Remove tostring call from loggingKim Alvefur2019-07-301-3/+3
| | | | | | | | | | | | | | | | Taken care of by loggingmanager now
* | | | core.stanza_router: Remove tostring call from loggingKim Alvefur2019-07-301-1/+1
| | | | | | | | | | | | | | | | Taken care of by loggingmanager now
* | | | core.s2smanager: Rewrite log line to use formatting instead of concatenationKim Alvefur2019-07-301-5/+3
| | | | | | | | | | | | | | | | | | | | Makes it more in line with logging elsewhere. Potentially avoids or at least delays creation of new string.
* | | | core.s2smanager: Remove use of tostring in loggingKim Alvefur2019-07-291-2/+2
| | | | | | | | | | | | | | | | This is now performed by loggingmanager
* | | | util.error: Add testsKim Alvefur2019-07-291-0/+68
| | | |
* | | | util.array: Add testsKim Alvefur2019-07-291-0/+154
| | | |
* | | | 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.
* | | | server_epoll: Add native support for per socket bandwith limitsKim Alvefur2016-12-181-0/+17
| | | |
* | | | 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.
* | | | util.poll: Add missing return statements in fallback modeKim Alvefur2019-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | These allowed modifying or deleting select() state for unregistered FDs. During normal usage this should never happen. Modifying one that isn't set might cause weirdness but deleting an already deleted FD isn't a problem.
* | | | 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
| | | |
* | | | util.xmppstream: Inherit xml:lang from stream to stanzas (fixes #1401)Kim Alvefur2019-07-281-0/+6
| | | |
* | | | net.server_epoll: Remove unused local [luacheck]Kim Alvefur2019-07-261-1/+0
| | | |
* | | | mod_pubsub: Eliminate dead codeKim Alvefur2019-07-251-8/+3
| | | | | | | | | | | | | | | | `data` is a stanza and always truthy
* | | | net.server_epoll: Overhaul logging with one log sink per connectionKim Alvefur2019-07-261-23/+41
| | | |
* | | | net.server_epoll: Deprecate libevent emulation layerKim Alvefur2019-07-241-0/+1
| | | |
* | | | 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.
* | | | net.server_epoll: Return errors from creating socketsKim Alvefur2019-07-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Prevents error from attempting to index nil conn on such failure. Silences luacheck warning about the 'err' variable being unused
* | | | net.server_epoll: Add experimental option to close connections in case of ↵Kim Alvefur2019-05-251-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | listener error Sometimes such errors leave sessions in an inconsistent state, so it might be better to close them early.
* | | | net.server_epoll: Return listener error messageKim Alvefur2019-05-251-1/+1
| | | |
* | | | 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