aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge 0.11->trunkKim Alvefur2018-12-151-1/+1
|\|
| * MUC: Fix traceback when requesting voice (fixes #1269) (thanks jonas’)Kim Alvefur2018-12-151-1/+1
| | | | | | | | | | | | Introduced by change from add_child to add_direct_child in ce57c69a20e2 Why does add_direct_child not return self like everything else?
* | spec/scansion/prosody.cfg.lua: Add remaining modules listened in ↵Kim Alvefur2018-12-111-0/+5
| | | | | | | | prosody.cfg.lua.dist for easier comparisons
* | spec/scansion/prosody.cfg.lua: Replace mod_vcard with mod_vcard4 and ↵Kim Alvefur2018-12-111-1/+2
| | | | | | | | mod_vcard_legacy as in default config
* | spec/scansion/prosody.cfg.lua: Update a comment from prosody.cfg.lua.dist ↵Kim Alvefur2018-12-111-1/+1
| | | | | | | | for easier comparisons
* | Merge 0.11->trunkKim Alvefur2018-12-091-1/+2
|\|
| * util.datetime: Make sure timezone difference is calculated correctly (fixes ↵Kim Alvefur2018-12-091-1/+2
| | | | | | | | | | | | | | #1262) If the two os.date() calls happen at either side of a second ticking over there would be a one second error in the calculation.
* | net.connlisteners: Remove deprecated stub moduleKim Alvefur2018-12-091-18/+0
| | | | | | | | | | | | This was deprecated in 0.9.x Removing so auto-completion chooses net/connect.lua instead of net/conn
* | 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