Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | MUC: Emit 333 status code on presence as per XEP-0045 1.30 (fixes #1087) | Jonas Wielicki | 2018-02-23 | 1 | -1/+2 |
| | |||||
* | MUC: Treat missing type and type=normal the same | Kim Alvefur | 2017-10-20 | 1 | -1/+1 |
| | |||||
* | mod_bosh: Return implicit 404 instead of the proper BOSH terminate thing | Kim Alvefur | 2017-12-27 | 1 | -6/+3 |
| | |||||
* | mod_bosh: Limit stream to current host (fixes #371) | Kim Alvefur | 2017-12-13 | 1 | -2/+1 |
| | |||||
* | mod_bosh: Make into a normal module (fixes #402) | Kim Alvefur | 2017-12-13 | 1 | -16/+12 |
| | |||||
* | util.set: Add a __name field to metatable | Kim Alvefur | 2018-02-16 | 1 | -1/+1 |
| | |||||
* | util.array: Add a __name field to metatable | Kim Alvefur | 2018-02-16 | 1 | -1/+1 |
| | |||||
* | util.stanza: Change __type to __name as this is used by Lua 5.3 in some ↵ | Kim Alvefur | 2018-02-16 | 1 | -1/+1 |
| | | | | error reporting functions | ||||
* | MUC: Prevent traceback in case of no history items to serialize (fixes #1083) | Kim Alvefur | 2018-02-15 | 1 | -1/+1 |
| | |||||
* | Merge 0.10->trunk | Kim Alvefur | 2018-02-04 | 3 | -4/+18 |
|\ | |||||
| * | mod_dialback: Ignore unused arguments [luacheck] | Kim Alvefur | 2018-02-04 | 1 | -2/+2 |
| | | |||||
| * | mod_dialback: Expand abbrevation | Kim Alvefur | 2018-02-04 | 1 | -1/+1 |
| | | |||||
| * | mod_dialback: Split long line [luacheck] | Kim Alvefur | 2018-02-04 | 1 | -1/+2 |
| | | |||||
| * | mod_dialback: Use renamed API for hooking non-stanza tags | Kim Alvefur | 2018-02-04 | 1 | -2/+2 |
| | | |||||
| * | mod_saslauth: Ignore unused argument [luacheck] | Kim Alvefur | 2018-02-04 | 1 | -1/+1 |
| | | |||||
| * | mod_saslauth: Use renamed API for hooking non-stanzas | Kim Alvefur | 2018-02-04 | 1 | -1/+1 |
| | | |||||
| * | mod_saslauth: Pass SASL EXTERNAL failure reason on to be used in error bounces | Kim Alvefur | 2018-02-04 | 1 | -1/+2 |
| | | |||||
| * | mod_saslauth: Close connection if no fallback kicks in on SASL EXTERNAL failure | Kim Alvefur | 2018-02-04 | 1 | -1/+3 |
| | | |||||
| * | Backed out changeset 89c42aff8510: The problem in ejabberd has reportedly ↵ | Kim Alvefur | 2018-02-04 | 2 | -2/+12 |
| | | | | | | | | been resolved and this change causes more problems than it solves (fixes #1006) | ||||
| * | mod_component: Advertise disco#info in fallback handling of disco#info query ↵ | Kim Alvefur | 2018-01-06 | 1 | -1/+2 |
| | | | | | | | | (fixes #1062) | ||||
* | | server_epoll: Restore mark on connections which had the onconnect handler ↵ | Kim Alvefur | 2018-02-03 | 1 | -1/+4 |
| | | | | | | | | called so it is only done once | ||||
* | | server_epoll: Rework how socket readyness is detected | Kim Alvefur | 2018-02-02 | 1 | -7/+17 |
| | | |||||
* | | mod_pubsub: Ignore unused parameter [luacheck] | Matthew Wild | 2018-02-02 | 1 | -1/+1 |
| | | |||||
* | | mod_pubsub: Add nodestore to service configuration | Matthew Wild | 2018-02-02 | 1 | -0/+3 |
| | | |||||
* | | mod_pubsub: Some variable renames for clarity | Matthew Wild | 2018-02-02 | 1 | -5/+5 |
| | | |||||
* | | util.pubsub: Support a 'nodestore' for persisting nodes (same API as kv stores) | Matthew Wild | 2018-02-02 | 1 | -1/+41 |
| | | |||||
* | | util.pubsub: Move service methods object creation (just code reorganisation) | Matthew Wild | 2018-02-02 | 1 | -2/+6 |
| | | |||||
* | | util.pubsub: For clarity, split config tables from their metatables | Matthew Wild | 2018-02-01 | 1 | -6/+9 |
| | | |||||
* | | CHANGES: Mention PubSub persistence | Kim Alvefur | 2017-12-30 | 1 | -0/+1 |
| | | |||||
* | | CHANGES: Mention move to Busted for tests | Kim Alvefur | 2017-12-30 | 1 | -0/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-12-29 | 1 | -0/+8 |
|\| | |||||
| * | rostermanager: Explicitly remove old-style 'pending' table from rosters (or ↵ | Kim Alvefur | 2017-12-29 | 1 | -0/+8 |
| | | | | | | | | it stays forever due to map stores) | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-12-28 | 1 | -1/+1 |
|\| | |||||
| * | certmanager: Check for missing certificate before key in configuration ↵ | Kim Alvefur | 2017-12-28 | 1 | -1/+1 |
| | | | | | | | | (should be marginally less confusing) | ||||
* | | mod_bosh: Use module API to fire events | Kim Alvefur | 2017-12-13 | 1 | -2/+2 |
| | | |||||
* | | mod_bosh: Use moduleapi logger | Kim Alvefur | 2017-12-13 | 1 | -1/+1 |
| | | |||||
* | | mod_bosh: Rename variable to avoid name clash [luacheck] | Kim Alvefur | 2017-12-13 | 1 | -3/+3 |
| | | |||||
* | | mod_bosh: Ignore unused argument [luacheck] | Kim Alvefur | 2017-12-13 | 1 | -1/+1 |
| | | |||||
* | | mod_bosh: Remove unused variable [luacheck] | Kim Alvefur | 2017-12-13 | 1 | -1/+0 |
| | | |||||
* | | mod_register_ibr: Allow modules that do pre-registration checks to specify a ↵ | Kim Alvefur | 2017-12-27 | 1 | -1/+1 |
| | | | | | | | | | | | | reason for rejection The current hardcoded text may not always be accurate | ||||
* | | moduleapi: Warn if a module being loaded as a dependency has been disabled | Kim Alvefur | 2017-12-27 | 1 | -0/+3 |
| | | |||||
* | | MUC: Hook the correct event | Kim Alvefur | 2017-12-23 | 1 | -3/+3 |
| | | |||||
* | | mod_register_ibr: Split out throttling and IP limitations into ↵ | Kim Alvefur | 2017-12-09 | 3 | -59/+72 |
| | | | | | | | | mod_register_limits (#723) | ||||
* | | mod_register: Split into mod_register_ibr and mod_user_account_management (#723) | Kim Alvefur | 2017-10-07 | 3 | -298/+328 |
| | | | | | | | | | | - mod_register_ibr handles in-band registration - mod_user_account_management handles password change and user deletion | ||||
* | | mod_s2s: Remove tostring() in logging since this is handled by util.format now | Kim Alvefur | 2017-12-21 | 2 | -11/+11 |
| | | |||||
* | | MUC: Check delay tags when they are received instead of when they are sent | Kim Alvefur | 2017-12-21 | 1 | -1/+1 |
| | |