aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | | | net.http.files: Explicitly convert number to string, avoiding implicit coercionKim Alvefur2019-10-121-1/+1
| | | | | | | | | | | |
| | | * | | | | | | | | net.http.server: Explicitly convert number to string, avoiding implicit coercionKim Alvefur2019-10-121-1/+1
| | | | | | | | | | | |
| | | * | | | | | | | | mod_websocket: Guard against upgrading to websocket from a HEAD requestKim Alvefur2019-10-121-1/+1
| | | | | | | | | | | |
| | | * | | | | | | | | net.http.server: Re-fire unhandled HEAD requsts as GET events (fixes #1447)Kim Alvefur2019-10-122-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BC: This overloads the GET event. Previous commit ensures HEAD requests are sent without a body.
| | | * | | | | | | | | net.http.server: Ensure HEAD requests are sent with empty bodyKim Alvefur2019-10-121-0/+16
| | | | | | | | | | | |
| | | * | | | | | | | | doap: Add XEP-0380 since mod_csi_simple takes that into considerationKim Alvefur2019-10-111-0/+8
| | | | | | | | | | | |
| | | * | | | | | | | | doap: Even more XEP detailsKim Alvefur2019-10-111-0/+14
| | | | | | | | | | | |
| | | * | | | | | | | | doap: Add detials for XEP-0280, 0288 and 0292Kim Alvefur2019-10-111-0/+7
| | | | | | | | | | | |
| | | * | | | | | | | | doap: Note about XEP-0237: Roster Versioning being merged into rfc6121Kim Alvefur2019-10-111-0/+1
| | | | | | | | | | | |
| | | * | | | | | | | | doap: Referece SCRAMKim Alvefur2019-10-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added in 0.7.0, first commit 41d42d253a1d
| | | * | | | | | | | | doap: Note about where XEP-0227 is usedKim Alvefur2019-10-101-0/+1
| | | | | | | | | | | |
| | | * | | | | | | | | doap: Fix missing '0' in URL to XEP-0288Kim Alvefur2019-10-101-1/+1
| | | | | | | | | | | |
| | | * | | | | | | | | mod_http: Unhook CORS related event handlersKim Alvefur2019-10-101-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.
| | | * | | | | | | | | util.statistics: Add a total count for rate counters, counting from server ↵Emmanuel Gil Peyrot2019-10-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | start.
| | | * | | | | | | | | doap: Mention support for XEP-0122: Data Forms ValidationKim Alvefur2019-10-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added to util.dataforms in a4c52e304e6f. Used in PubSub (cc32aae5c7da) and MUC (13ccc2f05007).
| | | * | | | | | | | | doap: Fix element name typo (node -> note)Kim Alvefur2019-10-091-3/+3
| | | | | | | | | | | |
| | | * | | | | | | | | mod_s2s: Close with a stream error in case neither SASL or Dialback are ↵Kim Alvefur2019-10-061-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 timeKim Alvefur2019-10-061-1/+3
| | | | | | | | | | | |
| | | * | | | | | | | | net.server_epoll: Guard against nil return from TLS info methodKim Alvefur2019-10-061-2/+2
| | | | | | | | | | | |
| | | * | | | | | | | | doap: Add reference to draft-cridland-xmpp-sessionKim Alvefur2019-10-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This covers the optional element added in 0bbbc9042361
| | | * | | | | | | | | net.server_epoll: Log TLS version and cipher for all completed handshakesKim Alvefur2019-10-061-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The similar logging in mod_c2s and mod_s2s does not cover all connections, like HTTPS or other Direct TLS ports.
| | | * | | | | | | | | util.sasl.scram: Avoid implicit coersion of number to stringKim Alvefur2019-10-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lua can be compiled without coercion, which would cause an error here.
| | | * | | | | | | | | net.server_epoll: Log size of partial writes (debug)Kim Alvefur2019-10-051-0/+1
| | | | | | | | | | | |
| | | * | | | | | | | | core.s2smanager: Fix traceback due to mixup with to/fromKim Alvefur2019-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to swap to and from in 3123a13cf577
| | | * | | | | | | | | mod_csi_simple: Always remove session filters when disabling CSIKim Alvefur2019-10-051-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 itKim Alvefur2019-10-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduces log noice
| | | * | | | | | | | | core.s2smanager: Remove bidi-enabled s2sin from outgoing routing tableKim Alvefur2019-10-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Caused creation of new s2sout instead of proper bidi-enabled s2sin.
| | | * | | | | | | | | net.server_epoll: Return early when attepting to set write lock state to ↵Kim Alvefur2019-10-051-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | current state Reduces needless duplication of work and log messages..
| | | * | | | | | | | | Merge 0.11->trunkMatthew Wild2019-10-031-0/+2
| | | |\ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | util.promise: Add some additional tests to cover callback return valuesMatthew Wild2019-09-301-0/+24
| | | | | | | | | | | | |
| | | * | | | | | | | | | mod_offline: Log a debug message when message is storedKim Alvefur2019-09-291-1/+5
| | | | | | | | | | | | |
| | | * | | | | | | | | | util.sasl.scram: Fix old APIKim Alvefur2019-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function is not directly used by anything in Prosody anymore and should be considered deprecated.
| | | * | | | | | | | | | Merge 0.11-trunkKim Alvefur2019-09-291-0/+1
| | | |\ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | mod_admin_telnet: Use new compact function for waiting on promisesKim Alvefur2019-09-291-7/+1
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | util.async: Add function for waiting on promises and unpacking the resultsKim Alvefur2019-09-291-0/+16
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | mod_register_ibr: Distinguish between failure to create account or save ↵Kim Alvefur2019-09-291-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extra data
| | | * | | | | | | | | | | net.server_epoll: Correct indentationKim Alvefur2019-09-291-2/+2
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | core.modulemanager: Split lists across multiple lines for improved readabilityKim Alvefur2019-09-291-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches will also be easier to read.
| | | * | | | | | | | | | | mod_register_ibr: Reminder to maybe use util.error in the futureKim Alvefur2019-09-291-0/+1
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | mod_register_ibr, mod_register_limits: Add support for custom error type and ↵Emmanuel Gil Peyrot2019-09-292-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defined-condition.
| | | * | | | | | | | | | | net.server_epoll: Ignore unused self argument [luacheck]Kim Alvefur2019-09-291-1/+1
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | net.server_epoll: Fix link function to not replace listenersKim Alvefur2019-09-291-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mod_proxy65 calls link twice, once for each direction. This would overwrite the listeners with one that has the previous listeners as metatable.__index, but none of the others. This takes advantage of 94c584d67533 to improve this.
| | | * | | | | | | | | | | net.server_epoll: Handle read size argument to linkKim Alvefur2019-09-291-1/+2
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | net.server_epoll: Add some timeout related loggingKim Alvefur2019-09-291-0/+3
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | mod_register_ibr: Add FORM_TYPE as required by XEP-0077.Emmanuel Gil Peyrot2019-09-291-0/+2
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | net.server_epoll: Add debug logging for various connection eventsKim Alvefur2019-09-291-0/+6
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | net.server_epoll: Make log tag accessible as a fieldKim Alvefur2019-09-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow referencing connections by id instead of tostring form
| | | * | | | | | | | | | | net.server_epoll: Make it easy to override handler for incoming dataKim Alvefur2019-09-291-2/+7
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | mod_csi_simple: Remove duplicated check for connectionKim Alvefur2019-09-281-3/+3
| | | | | | | | | | | | | |
| | | * | | | | | | | | | | mod_pubsub: Remove the unwanted check for @notify on <purge/>.Emmanuel Gil Peyrot2019-09-281-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.