aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
* | util.stanza: Check that argument to error_reply is NOT a stanza of type errorKim Alvefur2019-11-251-0/+10
| | | | | | | | Replying to an error is Very Bad
* | util.stanza: Check that argument to error_reply is a stanzaKim Alvefur2019-11-251-0/+6
| |
* | util.stanza: Remove redundant check for attrsKim Alvefur2019-11-251-0/+7
| | | | | | | | A stanza can't not have attrs if created the correct way
* | util.stanza: Check that argument to reply is a stanzaKim Alvefur2019-11-251-0/+6
| |
* | MUC: Add testcase for #1466Kim Alvefur2019-11-241-0/+127
| |
* | util.interpolation: Add commented test case for passing nil to filterKim Alvefur2019-11-171-0/+1
| |
* | util.interpolation: Test template filtersKim Alvefur2019-11-171-1/+11
| |
* | util.array: Fix typo in testKim Alvefur2019-11-071-1/+1
| |
* | MUC: Make nickname field in registration form requiredKim Alvefur2019-11-021-2/+6
| | | | | | | | | | | | Prevents traceback from resourceprep(nil) muc#register_roomnick is also required in XEP-0045
* | util.error: Add well-known field 'code' in error templatesKim Alvefur2019-11-011-0/+2
| | | | | | | | Intended to be for HTTP-ish numeric status codes
* | util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error ↵Matthew Wild2019-10-272-1/+235
| | | | | | | | (fixes #1455)
* | util.interpolation: Test map syntaxKim Alvefur2019-10-201-0/+7
| |
* | util.interpolation: Test array syntaxKim Alvefur2019-10-201-0/+8
| |
* | util.interpolation: Test #1452Kim Alvefur2019-10-201-1/+5
| |
* | util.promise: Add some additional tests to cover callback return valuesMatthew Wild2019-09-301-0/+24
| |
* | MUC: Fix XML syntax error in testKim Alvefur2019-09-211-0/+1
| | | | | | | | How did this even happen?
* | MUC: Update test for vcard-temp changesKim Alvefur2019-09-211-4/+11
| | | | | | | | | | | | Should this XEP-0398 behavior even be covered here? The original lines came from a recording.
* | tests: Disable TLS in scansion testsKim Alvefur2019-09-071-1/+1
| | | | | | | | | | | | They were not using TLS before. With a36af4570b39 TLS context creation will succeed even without a certificate, so TLS will be offered, but since there is no certificate it does not work.
* | MUC: Fix delay tag @from in test to be the room JID (#1054 came back)Kim Alvefur2019-08-311-2/+2
| |
* | MUC: Add a test covering basic room creation, messages and destructionKim Alvefur2019-08-311-0/+242
| |
* | 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
| |