Commit Graph

150 Commits (dc1690029d807c815be87f0f94de383decef52b0)

Author SHA1 Message Date
Kim Alvefur a83cf53a22 util.stanza: Validate input to clone() (with brief tests) 7 years ago
Kim Alvefur 516ff74035 spec/scansion/prosody.cfg.lua: Add comment about mod_scansion_record 7 years ago
Kim Alvefur 95b1972f35 MUC: Add scanison test case for #1230 7 years ago
Matthew Wild 7d020141b2 issue1224.scs: Fix to expect new affiliation change notifications 7 years ago
Matthew Wild 29d7bdbddf issue1224.scs: Update title 7 years ago
Matthew Wild 3d94d0aa51 muc_affiliation_notify.scs: Remove trailing whitespace 7 years ago
Matthew Wild b2e5f148eb muc_register.scs: Fix to expect new affiliation change notifications 7 years ago
Matthew Wild c19a8ef9ff MUC: Announce affiliation changes for JIDs that are not in the room 7 years ago
Kim Alvefur 18a51e456f pubsub: Set pubsub#title as name attribute in disco#items (fixes #1226) 7 years ago
Matthew Wild 65b03e973d spec/scansion: Add pep_publish_subscribe (fixes #1222) 7 years ago
Kim Alvefur 669ab61ecd util.serialization: Add option for allowing multiple references to the same table (but not cycles) 7 years ago
Kim Alvefur f08a141337 util.serialization: Test rejection of multiple references to same table 7 years ago
Matthew Wild 1b623a9a10 util.promise: Add tests ensuring returning a promise resolves the current promise with that promise 7 years ago
Matthew Wild c74e396c0c util.promise tests: Fix declared but unused variables 7 years ago
Matthew Wild dd74a38b22 util.promise: Fix missing parameters 7 years ago
Matthew Wild e7a26ebc24 util.promise: Ensure chained promises always receive a value/rejection even if an intermediate promise has no handlers 7 years ago
Kim Alvefur 58d8c73bf3 storagemanager: Fix tests on Lua 5.3 7 years ago
Matthew Wild 7b7f153a80 MUC: Use the bare JID when performing a lookup for COMPAT with clients that don't set it (fixes #1224) 7 years ago
Kim Alvefur fbc656c895 tests: Add some comments to xep54 test 7 years ago
Kim Alvefur 09cc9e4e14 tests: Remove initial read since XEP is unclear (see #1104) 7 years ago
Kim Alvefur d65734d561 tests: Set a proper title for vCard test 7 years ago
Kim Alvefur bc24ae7629 tests: Add simple test case for XEP-0054 7 years ago
Matthew Wild d18c2d6c65 util.promise: Add promise.try() 7 years ago
Matthew Wild 7335fe3488 util.pubsub: Allow publishing with a config that should be used as defaults only 7 years ago
Matthew Wild cdd7a0fbf8 util.promise: Add promise:finally() 7 years ago
Matthew Wild 52810113d8 util.promise: Add additional test for promise.reject() 7 years ago
Matthew Wild 90b256a19d util.promise: Fix promise.reject() to return a rejected promise, and fix buggy test for it 7 years ago
Kim Alvefur 86247abe78 util.http: Add tests for normalize_path 7 years ago
Kim Alvefur 398ce8fac6 storagemanager tests: Also cover memory driver 7 years ago
Kim Alvefur a8b392165a util.serialization: Simpler metatable pre-processing 7 years ago
Kim Alvefur ba2074f294 util.serialization: Test table keys that are Lua keywords 7 years ago
Kim Alvefur 9f101c6ca3 util.serialization: Test that it rejects tables wit cycles 7 years ago
Kim Alvefur 71a12130de util.serialization: Make errors fatal by default (like the previous implementation) 7 years ago
Matthew Wild 93e87b0d82 storagemanager tests: Remove debug print() 7 years ago
Matthew Wild 8dda06d04a storagemanager tests: Add many more archive tests, including (failing) cases for #1200 and #1073 7 years ago
Matthew Wild 52a9497a20 storagemanager tests: Add additional archive query tests 7 years ago
Matthew Wild 8a76424d06 storagemanager tests: Add some additional checks 7 years ago
Matthew Wild e030756364 storagemanager tests: Add initial basic tests for archive stores 7 years ago
Matthew Wild 0a3061813b util.promise tests: Fix luacheck warnings 7 years ago
Matthew Wild d3496d3be0 util.promise: ES6-like API for promises 7 years ago
Matthew Wild e400842d43 Fix storage tests so they run, but not by default 7 years ago
Matthew Wild aadbe03b3d util.pubsub tests: Ensure necessary tests run in the defined order 7 years ago
Matthew Wild ef4087f90b Add storage tests (currently only internal and sqlite) 7 years ago
Matthew Wild 2bc4476e8d mod_bosh: Add tests (run with 'busted -r bosh') 7 years ago
Kim Alvefur bc9509b4a9 util.serialization: Use deserialize instead of envload directly 7 years ago
Kim Alvefur 8e2bcbbb95 util.serialization: Add brief initial tests 7 years ago
Kim Alvefur dc5efd855b mod_pep: Add test publishing a nickname 7 years ago
Matthew Wild 431996d944 util.iterators tests: Check value matches expected [luacheck] 7 years ago
Matthew Wild 5947c028a9 util.iterators: Add sorted_pairs() method 7 years ago
Matthew Wild 74cb650790 util.json tests: Add [luacheck] annotation to mark intentionally-empty if branch 7 years ago