aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* util.error: Add testsKim Alvefur2019-07-291-0/+68
|
* util.array: Add testsKim Alvefur2019-07-291-0/+154
|
* Merge 0.11->trunkKim Alvefur2019-06-201-1/+1
|\
| * scansion/blocking: Remove the right irrelevant thingKim Alvefur2019-06-201-1/+1
| |
* | Merge 0.11->trunkKim Alvefur2019-06-201-10/+2
|\|
| * mod_blocklist: Remove unrelated tags from test caseKim Alvefur2019-06-201-10/+2
| |
* | Merge 0.11->trunkKim Alvefur2019-06-201-0/+168
|\|
| * mod_blocklist: Update test case with correct behavior (see #1380)Kim Alvefur2019-06-201-0/+6
| | | | | | | | Expect failure
| * mod_blocklist: Add test case capturing current behaviorKim Alvefur2019-06-201-0/+162
| |
* | util.format: Handle integer formats the same way on Lua versions without ↵Kim Alvefur2019-05-301-0/+1
| | | | | | | | integer support
* | util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371)Kim Alvefur2019-05-301-0/+1
| |
* | util.hashring: Add testsMatthew Wild2019-05-131-0/+85
| |
* | Fix various spelling mistakes [codespell]Kim Alvefur2019-05-031-1/+1
| |
* | Backed out changeset 61bc5c52c941Kim Alvefur2019-04-211-16/+0
| | | | | | | | luaL_buffinitsize is only available in Lua 5.2+
* | util.hashes: Allow specifying output key lengthKim Alvefur2019-04-201-0/+16
| | | | | | | | This is not needed for SCRAM but PBKDF2 takes this argument.
* | util.hashes: Add test vectors from RFC 6070 for PBKDF2 (aka SCRAM Hi())Kim Alvefur2019-04-191-0/+37
| | | | | | | | Number 4 is disabled by default beacuse of how long time it takes
* | util.hmac: Ignore long hex lines in testsKim Alvefur2019-04-191-0/+3
| |
* | util.hmac: Generate test cases from RFC 4231Kim Alvefur2019-04-111-0/+103
| |
* | util.stanza: Fix :top_tag() handling of namespaced attributesMatthew Wild2019-03-251-0/+31
| |
* | util.queue: Add 'consume()' convenience iteratorMatthew Wild2019-03-231-0/+37
| |
* | Merge 0.11->trunkKim Alvefur2019-03-041-0/+41
|\|
| * util.pubsub: Validate node configuration on node creation (fixes #1328)Kim Alvefur2019-03-031-0/+41
| |
* | Merge 0.11->trunkKim Alvefur2019-02-271-0/+202
|\|
| * spec: Add test case for #1322Kim Alvefur2019-02-271-0/+202
| |
* | Merge 0.11->trunkKim Alvefur2019-01-281-0/+31
|\|
| * util.pubsub: Add support for requesting multiple specific items (needed for ↵Kim Alvefur2019-01-281-0/+31
| | | | | | | | #1305)
* | util.http: Fix decoding of uppercase URL encoded charsKim Alvefur2019-01-161-0/+5
| | | | | | | | Broken in 1af5106a2c34
* | Merge 0.11->trunkKim Alvefur2018-12-291-0/+30
|\|
| * util.pubsub: Restore subscription index from stored data (fixes #1281)Kim Alvefur2018-12-291-0/+30
| |
* | spec: Stub tests for util.interpolationKim Alvefur2018-03-101-0/+17
| |
* | util.stanza: Require a type attribute for iq stanzasKim Alvefur2018-12-281-4/+15
| |
* | Merge 0.11->trunkKim Alvefur2018-12-232-1/+38
|\|
| * mod_mam: Add test for JID normalization in prefs (see #1275)Kim Alvefur2018-12-232-1/+38
| |
* | util.table: Add test for create()Kim Alvefur2018-12-231-0/+7
| |
* | util.table: Add test for pack()Kim Alvefur2018-12-231-0/+10
| |
* | 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
| |