aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* util.promise: Fix promise.reject() to return a rejected promise, and fix ↵Matthew Wild2018-10-181-1/+1
| | | | buggy test for it
* util.http: Add tests for normalize_pathKim Alvefur2018-10-141-0/+23
|
* storagemanager tests: Also cover memory driverKim Alvefur2018-10-121-0/+3
|
* util.serialization: Simpler metatable pre-processingKim Alvefur2018-10-121-0/+8
| | | | It was too difficult to describe what it did.
* util.serialization: Test table keys that are Lua keywordsKim Alvefur2018-10-111-0/+1
|
* util.serialization: Test that it rejects tables wit cyclesKim Alvefur2018-10-111-0/+7
|
* util.serialization: Make errors fatal by default (like the previous ↵Kim Alvefur2018-10-111-1/+11
| | | | implementation)
* storagemanager tests: Remove debug print()Matthew Wild2018-10-111-1/+0
|
* storagemanager tests: Add many more archive tests, including (failing) cases ↵Matthew Wild2018-10-111-0/+105
| | | | for #1200 and #1073
* storagemanager tests: Add additional archive query testsMatthew Wild2018-10-111-18/+103
|
* storagemanager tests: Add some additional checksMatthew Wild2018-10-101-0/+12
|
* storagemanager tests: Add initial basic tests for archive storesMatthew Wild2018-10-101-18/+59
|
* util.promise tests: Fix luacheck warningsMatthew Wild2018-10-101-7/+6
|
* util.promise: ES6-like API for promisesMatthew Wild2018-10-101-0/+262
|
* Fix storage tests so they run, but not by defaultMatthew Wild2018-10-011-4/+11
|
* util.pubsub tests: Ensure necessary tests run in the defined orderMatthew Wild2018-10-011-0/+8
|
* Add storage tests (currently only internal and sqlite)Matthew Wild2018-09-291-0/+79
|
* mod_bosh: Add tests (run with 'busted -r bosh')Matthew Wild2018-09-231-0/+674
|
* util.serialization: Use deserialize instead of envload directlyKim Alvefur2018-09-231-4/+2
|
* util.serialization: Add brief initial testsKim Alvefur2018-09-231-0/+33
|
* mod_pep: Add test publishing a nicknameKim Alvefur2018-09-221-0/+72
|
* util.iterators tests: Check value matches expected [luacheck]Matthew Wild2018-09-211-0/+2
|
* util.iterators: Add sorted_pairs() methodMatthew Wild2018-09-211-0/+30
|