Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net.server_epoll: Bail on callback error | Kim Alvefur | 2018-12-08 | 1 | -0/+1 |
| | | | | | An error calling a callback would be considered a truthy return value, which is not right. | ||||
* | net.server_epoll: Call onconnect right after accept()ing a new client | Kim Alvefur | 2018-12-08 | 1 | -0/+2 |
| | |||||
* | luacheckrc: No longer ignore access to undefined fields on table lib | Kim Alvefur | 2018-12-08 | 1 | -1/+1 |
| | |||||
* | util.format: Serialize values for the %q format | Kim Alvefur | 2018-10-12 | 2 | -1/+6 |
| | | | | Improves eg debug logs | ||||
* | lint: Remove use of the 143 error code | Kim Alvefur | 2018-12-08 | 4 | -5/+4 |
| | | | | Does not appear to be invoked by anything | ||||
* | various: Don't rely on _G.unpack existing | Kim Alvefur | 2018-12-08 | 8 | -2/+8 |
| | |||||
* | lint: No longer ignore access to the deprecated global 'unpack' | Kim Alvefur | 2018-12-08 | 1 | -1/+1 |
| | | | | _G.unpack is deprecated in Lua 5.2 | ||||
* | luacheckrc: Set Lua standard to 5.3 with 5.2 compat enabled | Kim Alvefur | 2018-12-08 | 1 | -0/+1 |
| | |||||
* | util.iterators: Use pack from table.pack | Kim Alvefur | 2018-12-08 | 1 | -3/+3 |
| | |||||
* | util.format: Use pack from util.table | Kim Alvefur | 2018-12-08 | 1 | -2/+3 |
| | |||||
* | moduleapi: Use pack from util.table | Kim Alvefur | 2018-12-08 | 1 | -1/+1 |
| | |||||
* | MUC: Add test case for #667 | Kim Alvefur | 2018-12-06 | 1 | -0/+79 |
| | |||||
* | MUC/subject: Don't consider messages with <body> or <subject> (fixes #667) | Kim Alvefur | 2018-12-04 | 1 | -0/+6 |
| | |||||
* | makefile: Allow configuring path to busted (to match GNUMakefile) | Matthew Wild | 2018-12-04 | 1 | -1/+2 |
| | |||||
* | makefile: Add lint target (to match GNUMakefile) | Matthew Wild | 2018-12-04 | 1 | -0/+7 |
| | |||||
* | util.pposix: Don't define POSIX_C_SOURCE on FreeBSD to ensure visibility of ↵ | Matthew Wild | 2018-12-04 | 1 | -0/+4 |
| | | | | initgroups() | ||||
* | util.time: Bump POSIX_C_SOURCE to ensure visibility of CLOCK_MONOTONIC on ↵ | Matthew Wild | 2018-12-04 | 1 | -1/+1 |
| | | | | FreeBSD (fixes #1253) | ||||
* | configure: Refactor header search to make it more portable | Matthew Wild | 2018-12-03 | 1 | -7/+10 |
| | |||||
* | configure: Also look for lua.h in a directory with the same suffix as the ↵ | Matthew Wild | 2018-12-03 | 1 | -11/+24 |
| | | | | interpreter (FreeBSD-friendly) | ||||
* | mod_presence: Handle older boolean subscription request data (thanks Martin) | Kim Alvefur | 2018-12-02 | 1 | -3/+7 |
| | |||||
* | mod_presence: Remove unnecessary stanza clone call | Kim Alvefur | 2018-12-02 | 1 | -1/+1 |
| | |||||
* | Merge 0.11->trunk | Kim Alvefur | 2018-12-02 | 3 | -36/+37 |
|\ | |||||
| * | util.stanza: Deserialize stanza without mutating input (fixes #711) | Kim Alvefur | 2018-12-01 | 1 | -27/+17 |
| | | |||||
| * | util.stanza: Improve tests | Kim Alvefur | 2018-12-02 | 1 | -9/+19 |
| | | |||||
| * | mod_vcard_legacy: Limit injection of XEP-0153 to normal presence (fixes #1252) | Kim Alvefur | 2018-12-01 | 1 | -0/+1 |
| | | |||||
* | | rostermanager, mod_presence: Store stanza for incoming subscription requests ↵ | Matthew Wild | 2018-12-01 | 2 | -6/+8 |
| | | | | | | | | (fixes #689) (thanks Zash, Ge0rG) | ||||
* | | spec/keep_full_sub_req: Make the second connect a differenct device ↵ | Kim Alvefur | 2018-12-01 | 1 | -6/+10 |
| | | | | | | | | | | | | (workaround for scansion issue) scansion threw an error when a client connected again | ||||
* | | spec/keep_full_sub_req: Verify that the presence subscription stays the same ↵ | Kim Alvefur | 2018-12-01 | 1 | -0/+17 |
| | | | | | | | | after a reconnect | ||||
* | | spec/keep_full_sub_req: Add missing type attribute | Kim Alvefur | 2018-12-01 | 1 | -1/+1 |
| | | |||||
* | | tests: Add scansion test for #689 about keeping the full subscription ↵ | Kim Alvefur | 2018-11-30 | 1 | -0/+37 |
| | | | | | | | | request stanza | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2018-11-30 | 1 | -2/+16 |
|\| | |||||
| * | server_epoll: Add comments describing config options | Kim Alvefur | 2018-11-30 | 1 | -0/+15 |
| | | |||||
| * | net.server_epoll: Remove unused config option | Kim Alvefur | 2018-11-30 | 1 | -1/+0 |
| | | |||||
| * | server_epoll: Increase write timeout | Kim Alvefur | 2018-11-30 | 1 | -1/+1 |
| | | | | | | | | 7 may be too low for some slow machines and/or networks | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2018-11-30 | 2 | -1/+58 |
|\| | |||||
| * | util-src/makefile: Update with util.poll and util.compat (fixes #1251) | Kim Alvefur | 2018-11-30 | 1 | -1/+2 |
| | | |||||
| * | net.websocket.frames: Add some brief tests | Kim Alvefur | 2018-11-29 | 1 | -0/+56 |
| | | | | | | | | These are mostly just recordings of minimal input roundtripped back into tables. | ||||
| * | Added tag 0.11.1 for changeset 91856829f18b | Matthew Wild | 2018-11-28 | 0 | -0/+0 |
| | | |||||
* | | net.websocket.frames: Prefer Lua 5.2 built-in bit module over LuaJIT version | Kim Alvefur | 2018-11-29 | 1 | -1/+1 |
| | | | | | | | | | | | | When running on Lua 5.2 this makes sense since bit32 is usually already loaded. It's sensible to prefer this going forward in case of incompatibilities between the two variants. | ||||
* | | configure: Recognise 5.4 as a valid Lua version | Kim Alvefur | 2018-11-29 | 1 | -2/+6 |
| | | |||||
* | | configure: Split list of possible suffixes into a line per Lua version | Kim Alvefur | 2018-11-29 | 1 | -1/+3 |
| | | |||||
* | | util.format: Tweak how nil values are handled | Kim Alvefur | 2018-11-28 | 2 | -5/+6 |
| | | | | | | | | Because [<nil>] seems exsessive | ||||
* | | Merge 0.11->trunk | Kim Alvefur | 2018-11-27 | 1 | -1/+1 |
|\| | |||||
| * | mod_csi: Fix copypaste mistake [luacheck]0.11.1 | Kim Alvefur | 2018-11-27 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.11->trunk | Kim Alvefur | 2018-11-27 | 2 | -2/+3 |
|\| | |||||
| * | mod_csi: Set session.state to simplify CSI modules | Kim Alvefur | 2018-11-27 | 2 | -2/+1 |
| | | | | | | | | Moved here from mod_csi_simple | ||||
| * | mod_csi_simple: Fix autocompletion mistake | Kim Alvefur | 2018-11-27 | 1 | -1/+1 |
| | | |||||
| * | mod_csi_simple: Bypass importance event in active mode (fixes #1249) | Kim Alvefur | 2018-11-27 | 1 | -1/+3 |
| | | |||||
| * | mod_csi_simple: Don't set <delay> stamps on <iq> stanzas (fixes #1248) | Kim Alvefur | 2018-11-27 | 1 | -1/+1 |
| | | |||||
* | | MUC: Move check for explicit room join earlier in room creation flow | Kim Alvefur | 2018-11-27 | 2 | -8/+1 |
| | |