aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* net.server_epoll: Bail on callback errorKim Alvefur2018-12-081-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 clientKim Alvefur2018-12-081-0/+2
|
* luacheckrc: No longer ignore access to undefined fields on table libKim Alvefur2018-12-081-1/+1
|
* util.format: Serialize values for the %q formatKim Alvefur2018-10-122-1/+6
| | | | Improves eg debug logs
* lint: Remove use of the 143 error codeKim Alvefur2018-12-084-5/+4
| | | | Does not appear to be invoked by anything
* various: Don't rely on _G.unpack existingKim Alvefur2018-12-088-2/+8
|
* lint: No longer ignore access to the deprecated global 'unpack'Kim Alvefur2018-12-081-1/+1
| | | | _G.unpack is deprecated in Lua 5.2
* luacheckrc: Set Lua standard to 5.3 with 5.2 compat enabledKim Alvefur2018-12-081-0/+1
|
* util.iterators: Use pack from table.packKim Alvefur2018-12-081-3/+3
|
* util.format: Use pack from util.tableKim Alvefur2018-12-081-2/+3
|
* moduleapi: Use pack from util.tableKim Alvefur2018-12-081-1/+1
|
* MUC: Add test case for #667Kim Alvefur2018-12-061-0/+79
|
* MUC/subject: Don't consider messages with <body> or <subject> (fixes #667)Kim Alvefur2018-12-041-0/+6
|
* makefile: Allow configuring path to busted (to match GNUMakefile)Matthew Wild2018-12-041-1/+2
|
* makefile: Add lint target (to match GNUMakefile)Matthew Wild2018-12-041-0/+7
|
* util.pposix: Don't define POSIX_C_SOURCE on FreeBSD to ensure visibility of ↵Matthew Wild2018-12-041-0/+4
| | | | initgroups()
* util.time: Bump POSIX_C_SOURCE to ensure visibility of CLOCK_MONOTONIC on ↵Matthew Wild2018-12-041-1/+1
| | | | FreeBSD (fixes #1253)
* configure: Refactor header search to make it more portableMatthew Wild2018-12-031-7/+10
|
* configure: Also look for lua.h in a directory with the same suffix as the ↵Matthew Wild2018-12-031-11/+24
| | | | interpreter (FreeBSD-friendly)
* mod_presence: Handle older boolean subscription request data (thanks Martin)Kim Alvefur2018-12-021-3/+7
|
* mod_presence: Remove unnecessary stanza clone callKim Alvefur2018-12-021-1/+1
|
* Merge 0.11->trunkKim Alvefur2018-12-023-36/+37
|\
| * util.stanza: Deserialize stanza without mutating input (fixes #711)Kim Alvefur2018-12-011-27/+17
| |
| * util.stanza: Improve testsKim Alvefur2018-12-021-9/+19
| |
| * mod_vcard_legacy: Limit injection of XEP-0153 to normal presence (fixes #1252)Kim Alvefur2018-12-011-0/+1
| |
* | rostermanager, mod_presence: Store stanza for incoming subscription requests ↵Matthew Wild2018-12-012-6/+8
| | | | | | | | (fixes #689) (thanks Zash, Ge0rG)
* | spec/keep_full_sub_req: Make the second connect a differenct device ↵Kim Alvefur2018-12-011-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 Alvefur2018-12-011-0/+17
| | | | | | | | after a reconnect
* | spec/keep_full_sub_req: Add missing type attributeKim Alvefur2018-12-011-1/+1
| |
* | tests: Add scansion test for #689 about keeping the full subscription ↵Kim Alvefur2018-11-301-0/+37
| | | | | | | | request stanza
* | Merge 0.11->trunkKim Alvefur2018-11-301-2/+16
|\|
| * server_epoll: Add comments describing config optionsKim Alvefur2018-11-301-0/+15
| |
| * net.server_epoll: Remove unused config optionKim Alvefur2018-11-301-1/+0
| |
| * server_epoll: Increase write timeoutKim Alvefur2018-11-301-1/+1
| | | | | | | | 7 may be too low for some slow machines and/or networks
* | Merge 0.11->trunkKim Alvefur2018-11-302-1/+58
|\|
| * util-src/makefile: Update with util.poll and util.compat (fixes #1251)Kim Alvefur2018-11-301-1/+2
| |
| * net.websocket.frames: Add some brief testsKim Alvefur2018-11-291-0/+56
| | | | | | | | These are mostly just recordings of minimal input roundtripped back into tables.
| * Added tag 0.11.1 for changeset 91856829f18bMatthew Wild2018-11-280-0/+0
| |
* | net.websocket.frames: Prefer Lua 5.2 built-in bit module over LuaJIT versionKim Alvefur2018-11-291-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 versionKim Alvefur2018-11-291-2/+6
| |
* | configure: Split list of possible suffixes into a line per Lua versionKim Alvefur2018-11-291-1/+3
| |
* | util.format: Tweak how nil values are handledKim Alvefur2018-11-282-5/+6
| | | | | | | | Because [<nil>] seems exsessive
* | Merge 0.11->trunkKim Alvefur2018-11-271-1/+1
|\|
| * mod_csi: Fix copypaste mistake [luacheck]Kim Alvefur2018-11-271-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2018-11-272-2/+3
|\|
| * mod_csi: Set session.state to simplify CSI modulesKim Alvefur2018-11-272-2/+1
| | | | | | | | Moved here from mod_csi_simple
| * mod_csi_simple: Fix autocompletion mistakeKim Alvefur2018-11-271-1/+1
| |
| * mod_csi_simple: Bypass importance event in active mode (fixes #1249)Kim Alvefur2018-11-271-1/+3
| |
| * mod_csi_simple: Don't set <delay> stamps on <iq> stanzas (fixes #1248)Kim Alvefur2018-11-271-1/+1
| |
* | MUC: Move check for explicit room join earlier in room creation flowKim Alvefur2018-11-272-8/+1
| |