aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mod_admin_telnet: Enable async processing using util.asyncKim Alvefur2018-12-271-2/+22
|
* mod_admin_telnet: Invert host existence checkKim Alvefur2018-12-281-5/+4
| | | | Simplifies and reduces indentation
* core.moduleapi: Add a promise-based API for tracking IQ stanzas (fixes #714)Kim Alvefur2018-12-281-0/+65
|
* util.stanza: Require a type attribute for iq stanzasKim Alvefur2018-12-282-5/+22
|
* net.adns: Silence individual luacheck warnings instead of ignoring entire fileKim Alvefur2018-12-242-8/+9
|
* Merge 0.11->trunkKim Alvefur2018-12-233-5/+48
|\
| * mod_mam: Add test for JID normalization in prefs (see #1275)Kim Alvefur2018-12-232-1/+38
| |
| * mod_mam: Only accept valid JIDs in <always/> and <never/> prefs. (fixes #1275)Emmanuel Gil Peyrot2018-12-231-4/+10
| |
* | util.table: Add test for create()Kim Alvefur2018-12-231-0/+7
| |
* | util.table: Add test for pack()Kim Alvefur2018-12-231-0/+10
| |
* | mod_pubsub: Split line in config check to improve readabilityKim Alvefur2018-12-231-1/+2
| | | | | | | | Also makes it easier to compare with mod_pep
* | mod_pubsub: Change order of luacheck directives to match arguments they apply toKim Alvefur2018-12-231-1/+1
| |
* | mod_pep: Set an 'id' on notificationsKim Alvefur2018-12-231-1/+3
| | | | | | | | mod_pubsub got this in f2d35eee69c9
* | mod_pep: Add some spacing between blocks in broadcaster to improve readabilityKim Alvefur2018-12-231-0/+3
| |
* | mod_pep: Move broadcaster code around to be more like in mod_pubsubKim Alvefur2018-12-231-3/+6
| | | | | | | | This eases comparing and contrasting these two modules.
* | mod_pubsub: Add semicolon (code style)Kim Alvefur2018-12-231-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2018-12-202-1/+23
|\|
| * MUC: Allow changing data attached to an only owner (fixes #1273)Kim Alvefur2018-12-202-1/+23
| | | | | | | | | | | | | | This previously prevented a single owner from setting their own nickname via admin query. The form method uses `true` as actor so it bypasses this check.
* | Merge 0.11->trunkMatthew Wild2018-12-192-2/+2
|\|
| * MUC: Adjust priorities of muc-get-default-role handlers (fixes #1272)Matthew Wild2018-12-192-2/+2
| |
* | Merge 0.11->trunkMatthew Wild2018-12-192-2/+2
|\|
| * spec/scansion: Fix test names of tests added in 0d97768b0ea9Matthew Wild2018-12-192-2/+2
| |
* | Merge 0.11 -> trunkMatthew Wild2018-12-192-0/+236
|\|
| * spec/scansion: Add tests for members-only roomsMatthew Wild2018-12-192-0/+236
| |
* | admin_telnet: show when bidi is used on s2sMaxime “pep” Buquet2018-12-181-0/+3
| |
* | Merge 0.11->trunkKim Alvefur2018-12-171-0/+1
|\|
| * prosodyctl check: Add statisticsmanager settings to known global optionsKim Alvefur2018-12-171-0/+1
| |
* | MUC: Test that subject is still empty after sending a non-subject change ↵Kim Alvefur2018-12-161-0/+27
| | | | | | | | message with a subject (#667)
* | MUC: Add descriptive comments to #667 testKim Alvefur2018-12-161-0/+8
| |
* | MUC: Add another message to #667 testKim Alvefur2018-12-161-0/+15
| |
* | core.rostermanager: Cache rosters of offline users for faster access (fixes ↵Kim Alvefur2018-12-161-0/+22
| | | | | | | | #1233)
* | 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
| |