aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.11->trunkKim Alvefur2018-12-201-0/+22
|\
| * MUC: Allow changing data attached to an only owner (fixes #1273)Kim Alvefur2018-12-201-0/+22
| | | | | | | | | | | | | | 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
|\|
| * 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
| |
* | 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
| |
* | 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
* | util.format: Serialize values for the %q formatKim Alvefur2018-10-121-0/+1
| | | | | | | | Improves eg debug logs
* | various: Don't rely on _G.unpack existingKim Alvefur2018-12-081-1/+1
| |
* | MUC: Add test case for #667Kim Alvefur2018-12-061-0/+79
| |
* | Merge 0.11->trunkKim Alvefur2018-12-021-9/+19
|\|
| * util.stanza: Improve testsKim Alvefur2018-12-021-9/+19
| |
* | 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-0/+56
|\|
| * net.websocket.frames: Add some brief testsKim Alvefur2018-11-291-0/+56
| | | | | | | | These are mostly just recordings of minimal input roundtripped back into tables.
* | util.format: Tweak how nil values are handledKim Alvefur2018-11-281-0/+2
|/ | | | Because [<nil>] seems exsessive
* util.stanza: Validate input to clone() (with brief tests)Kim Alvefur2018-11-171-0/+14
|
* spec/scansion/prosody.cfg.lua: Add comment about mod_scansion_recordKim Alvefur2018-11-121-1/+3
| | | | | This was accidentally included in a previous commit, but having it here makes it easier to enable when making new test cases.
* MUC: Add scanison test case for #1230Kim Alvefur2018-11-122-0/+102
|
* issue1224.scs: Fix to expect new affiliation change notificationsMatthew Wild2018-10-311-0/+7
|
* issue1224.scs: Update titleMatthew Wild2018-10-311-1/+1
|
* muc_affiliation_notify.scs: Remove trailing whitespaceMatthew Wild2018-10-311-1/+1
|
* muc_register.scs: Fix to expect new affiliation change notificationsMatthew Wild2018-10-311-0/+25
|
* MUC: Announce affiliation changes for JIDs that are not in the roomMatthew Wild2018-10-311-0/+137
|
* pubsub: Set pubsub#title as name attribute in disco#items (fixes #1226)Kim Alvefur2018-10-301-0/+205
|
* spec/scansion: Add pep_publish_subscribe (fixes #1222)Matthew Wild2018-10-301-0/+210
|
* util.serialization: Add option for allowing multiple references to the same ↵Kim Alvefur2018-10-271-1/+15
| | | | table (but not cycles)
* util.serialization: Test rejection of multiple references to same tableKim Alvefur2018-10-271-0/+8
|
* util.promise: Add tests ensuring returning a promise resolves the current ↵Matthew Wild2018-10-261-0/+49
| | | | promise with that promise
* util.promise tests: Fix declared but unused variablesMatthew Wild2018-10-251-2/+2
|
* util.promise: Fix missing parametersMatthew Wild2018-10-251-2/+28
|
* util.promise: Ensure chained promises always receive a value/rejection even ↵Matthew Wild2018-10-251-0/+37
| | | | if an intermediate promise has no handlers
* storagemanager: Fix tests on Lua 5.3Kim Alvefur2018-10-211-0/+1
| | | | _G.unpack moved to table.unpack
* MUC: Use the bare JID when performing a lookup for COMPAT with clients that ↵Matthew Wild2018-10-211-0/+108
| | | | | | don't set it (fixes #1224) The full JID is never meant to be the target of affiliation changes.
* tests: Add some comments to xep54 testKim Alvefur2018-10-201-0/+3
|
* tests: Remove initial read since XEP is unclear (see #1104)Kim Alvefur2018-10-201-10/+0
| | | | | If the store is empty then either this empty vCard element or an item-not-found error is acceptable.
* tests: Set a proper title for vCard testKim Alvefur2018-10-201-0/+1
|
* tests: Add simple test case for XEP-0054Kim Alvefur2018-10-201-0/+86
|
* util.promise: Add promise.try()Matthew Wild2018-10-181-0/+51
|
* util.pubsub: Allow publishing with a config that should be used as defaults onlyMatthew Wild2018-10-181-0/+28
|
* util.promise: Add promise:finally()Matthew Wild2018-10-181-0/+67
|
* util.promise: Add additional test for promise.reject()Matthew Wild2018-10-181-0/+6
|