Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | mod_mam: Log a debug message if archive expiry has been disabled | Kim Alvefur | 2018-03-07 | 1 | -0/+1 | |
| | | | ||||||
| * | | Backed out changeset 97a094fdf101, interferes with 6ddddfe05a74 | Kim Alvefur | 2018-03-07 | 1 | -3/+1 | |
| | | | ||||||
* | | | mod_presence: Ignore unused argument but make note of its use elsewhere ↵ | Kim Alvefur | 2018-03-09 | 1 | -0/+2 | |
| | | | | | | | | | | | | [luacheck] | |||||
* | | | mod_presence: Remove unused local [luacheck] | Kim Alvefur | 2018-03-09 | 1 | -1/+0 | |
| | | | ||||||
* | | | luacheckrc: Restore module semantics, but only for plugins (ignores some ↵ | Kim Alvefur | 2018-03-09 | 1 | -0/+1 | |
| | | | | | | | | | | | | globals) | |||||
* | | | MUC: Write down which functions are exposed and thus available to other modules | Kim Alvefur | 2018-03-09 | 1 | -0/+10 | |
| | | | ||||||
* | | | MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097) | Jonas Wielicki | 2018-03-08 | 1 | -0/+1 | |
| | | | ||||||
* | | | util.import: Explicitly export the global import function [luacheck] | Kim Alvefur | 2018-03-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | .luacheckrc: Add awareness of the module:http_url API added by mod_http | Kim Alvefur | 2018-03-07 | 1 | -0/+3 | |
| | | | ||||||
* | | | luacheckrc: Remove allowance legacy module() related globals | Kim Alvefur | 2018-03-07 | 1 | -4/+0 | |
| | | | ||||||
* | | | luacheckrc: Reflow globals settings | Kim Alvefur | 2018-03-07 | 1 | -3/+9 | |
| | | | ||||||
* | | | MUC/lock: Fix locking timeout to account for the direction of time | Kim Alvefur | 2018-03-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | MUC/lock: Remove redundant fallback value | Kim Alvefur | 2018-03-07 | 1 | -1/+1 | |
| | | | ||||||
* | | | util_pubsub_spec: Move util.pubsub import into a setup block | Kim Alvefur | 2018-03-07 | 1 | -1/+5 | |
| | | | ||||||
* | | | mod_adhoc: Remove unused local [luacheck] | Kim Alvefur | 2018-03-06 | 1 | -1/+1 | |
| | | | ||||||
* | | | spec: Trim trailing whitespace | Kim Alvefur | 2018-03-06 | 2 | -2/+2 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2018-03-06 | 2 | -1/+4 | |
|\| | | ||||||
| * | | prosodyctl: Use correct separator in chown call (fixes #1093) | Kim Alvefur | 2018-03-02 | 1 | -1/+1 | |
| | | | ||||||
| * | | hostmanager: Add a logging close method in case something tries to close the ↵ | Kim Alvefur | 2018-02-24 | 1 | -0/+3 | |
| | | | | | | | | | | | | origin of local-originated stanzas (see #1084) | |||||
* | | | util_pubsub_spec: Beginnings of tests for util.pubsub | Kim Alvefur | 2018-03-03 | 1 | -0/+27 | |
| | | | ||||||
* | | | luacheckrc: Declare known global functions in config file | Kim Alvefur | 2018-03-01 | 1 | -0/+12 | |
| | | | ||||||
* | | | util.logger: Import globals (fixes on Lua 5.2) | Kim Alvefur | 2018-02-28 | 1 | -0/+2 | |
| | | | ||||||
* | | | vairious: Add annotation when an empty environment is set [luacheck] | Kim Alvefur | 2018-02-28 | 46 | -0/+46 | |
| | | | ||||||
* | | | Makefile: Also package /net/resolvers | Michel Le Bihan | 2018-02-28 | 1 | -1/+2 | |
| | | | | | | | | | | | | Fixes #1094 | |||||
* | | | util.logger: New method 'add_simple_sink', logger.add_simple_sink(print) works | Matthew Wild | 2018-02-27 | 1 | -0/+11 | |
| | | | ||||||
* | | | server_epoll: Onconnect should happen before first attempt to write to socket | Kim Alvefur | 2018-02-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | net.http: Refactor to use new net.connect API, brings support for async DNS | Matthew Wild | 2018-02-26 | 1 | -70/+81 | |
| | | | ||||||
* | | | net.connect: Fix to store correct parameter | Matthew Wild | 2018-02-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | net.connect: Improve error message | Matthew Wild | 2018-02-26 | 1 | -1/+1 | |
| | | | ||||||
* | | | net.connect: Handle immediate failures of server.addclient | Matthew Wild | 2018-02-26 | 1 | -1/+6 | |
| | | | ||||||
* | | | net.connect: Handle case when resolver runs out of targets | Matthew Wild | 2018-02-26 | 1 | -0/+8 | |
| | | | ||||||
* | | | net.connect: Track last connection error | Matthew Wild | 2018-02-26 | 1 | -1/+2 | |
| | | | ||||||
* | | | mod_s2s: Don't use string concatenation when passing values to logging | Kim Alvefur | 2018-02-25 | 1 | -1/+1 | |
| | | | ||||||
* | | | util.ringbuffer: Add method for discarding buffered data without returning ↵ | Kim Alvefur | 2018-02-24 | 1 | -0/+23 | |
| | | | | | | | | | | | | it to lua | |||||
* | | | util.ringbuffer: Add various comments | Kim Alvefur | 2018-02-24 | 1 | -0/+19 | |
| | | | ||||||
* | | | net.server_epoll: Spelling writeable -> writable | Kim Alvefur | 2018-02-24 | 1 | -6/+6 | |
| | | | ||||||
* | | | net.server_epoll: Remove special casing for having sent an empty write ↵ | Kim Alvefur | 2018-02-24 | 1 | -7/+5 | |
| | | | | | | | | | | | | buffer because the wantwrite flag must be unset regardless | |||||
* | | | net.server_epoll: Call onconnect listener on first successful read or write | Kim Alvefur | 2018-02-24 | 1 | -29/+14 | |
| | | | ||||||
* | | | Merge 0.10->trunk | Kim Alvefur | 2018-02-24 | 2 | -3/+26 | |
|\| | | ||||||
| * | | mod_mam: Implement option to enable MAM implicitly when client support is ↵ | Kim Alvefur | 2018-02-21 | 2 | -3/+26 | |
| | | | | | | | | | | | | detected (#867) | |||||
* | | | mod_storage_sql: Catch and report value deserialization errors | Kim Alvefur | 2018-02-24 | 1 | -8/+19 | |
| | | | ||||||
* | | | net.connect: Default to *a pattern if none provided | Matthew Wild | 2018-02-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | net.http: Rename handler to conn, for consistency with all our other code | Matthew Wild | 2018-02-23 | 1 | -3/+3 | |
| | | | ||||||
* | | | net.http: Remove use of 'conn' (raw socket object returned by addclient) | Matthew Wild | 2018-02-23 | 1 | -9/+10 | |
| | | | ||||||
* | | | moduleapi: Remove unused and undocumented :has_feature and :has_identity | Kim Alvefur | 2018-02-23 | 2 | -16/+0 | |
| | | | ||||||
* | | | doc: Add template / API specification for net.server (thanks Daurnimator) | Kim Alvefur | 2018-02-23 | 1 | -0/+243 | |
| | | | ||||||
* | | | net.connect: New API for outgoing connections, based on 'service resolvers' | Matthew Wild | 2018-02-23 | 3 | -0/+163 | |
| | | | ||||||
* | | | net.server_event: Not every instantly-readable connection is an error, ↵ | Matthew Wild | 2018-02-23 | 1 | -2/+6 | |
| | | | | | | | | | | | | continue if possible | |||||
* | | | net.server_event: Better outgoing connection error handling | Matthew Wild | 2018-02-23 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | Same as 67311cda0625. Check for readability. If a socket is readable after initial connection, it likely means an error, so we call the readcallback for that connection to handle it (and ultimately close). | |||||
* | | | net.server_select: Better detection of errors for outgoing connections | Matthew Wild | 2018-02-23 | 1 | -6/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On connection failure, a socket is marked readable and writable. So to detect initial connection failures (connection refused, etc.) we now watch for sockets becoming readable during initial connection, and also read from readable sockets before writing to writable sockets. This should fix 'onconnect' being called for outgoing connections that actually failed. |