Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.stanza tests: Remove unused variable #luacheck | Matthew Wild | 2018-09-13 | 1 | -2/+2 |
| | |||||
* | util.stanza: Don't automatically generate ids for iq stanzas | Matthew Wild | 2018-09-13 | 1 | -3/+14 |
| | | | | | | | | | | Users of this API should provide their own id attribute that meets their uniqueness requirements. The current implementation leaks information (i.e. how many iq stanzas have been sent by the server to other JIDs). Providing any strong guarantees of randomness here would need to pull in additional dependencies that we don't want in this simple library. | ||||
* | spec/scansion/basic_roster.scs: Add tests for actually modifying the roster | Matthew Wild | 2018-09-13 | 1 | -8/+40 |
| | |||||
* | util.stanza tests: Fix test name (copy/paste error?) | Matthew Wild | 2018-09-13 | 1 | -1/+1 |
| | |||||
* | MUC: Fix to correctly return 'node' in disco#info responses (thanks jc) | Matthew Wild | 2018-09-13 | 1 | -2/+16 |
| | |||||
* | MUC: If a user with an existing affiliation registers, preserve that ↵ | Matthew Wild | 2018-09-13 | 1 | -0/+65 |
| | | | | affiliation (thanks jc) | ||||
* | spec/scansion/prosody.cfg.lua: daemonize by default | Matthew Wild | 2018-09-12 | 1 | -0/+1 |
| | |||||
* | spec/scansion/prosody.cfg.lua: Add pidfile option so Prosody can be daemonized | Matthew Wild | 2018-09-12 | 1 | -0/+2 |
| | |||||
* | spec/scansion/prosody.cfg.lua: Config file to be used for integration tests | Matthew Wild | 2018-09-12 | 1 | -0/+76 |
| | |||||
* | spec/scansion: Ensure all scripts have sensible titles | Matthew Wild | 2018-09-11 | 12 | -1/+22 |
| | |||||
* | spec/scansion: Multiple fixes to make all tests pass in latest ↵ | Matthew Wild | 2018-09-10 | 6 | -155/+9 |
| | | | | (c35386e4b456) scansion | ||||
* | spec/scansion: Add scansion scripts used for testing | Matthew Wild | 2018-09-06 | 13 | -0/+1474 |
| | | | | | | All past, except issue978-multi which fails randomly based on ordering of elements - this is a scansion issue to be resolved. | ||||
* | util.dataforms: Add support for XEP-0122: Data Forms Validation | Kim Alvefur | 2018-09-01 | 1 | -0/+22 |
| | | | | Initially only basic validation of xs:integer | ||||
* | util.dataforms: Allow field names to be different from the 'var' attribute | Kim Alvefur | 2018-09-01 | 1 | -0/+15 |
| | | | | | | This should allow the usage of long prefixes and namespace-like names to be contained to the XML representation of the form, so that the code can use more convenient names. | ||||
* | util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981 | Matthew Wild | 2018-08-19 | 1 | -0/+7 |
| | |||||
* | util.stanza tests: Add tests for maptags() method | Matthew Wild | 2018-08-19 | 1 | -0/+71 |
| | |||||
* | tests: Add muc/util tests for filtering MUC elements | Matthew Wild | 2018-08-19 | 1 | -0/+35 |
| | |||||
* | util.pubsub tests: Fix whitespace | Kim Alvefur | 2018-08-18 | 1 | -2/+2 |
| | |||||
* | util.pubsub tests: Add tests for get_items() | Matthew Wild | 2018-08-18 | 1 | -0/+28 |
| | |||||
* | Pubsub: Add tests for :get_last_item() and fix for non-persistent nodes | Matthew Wild | 2018-08-18 | 1 | -0/+26 |
| | |||||
* | util.time: Add brief tests | Kim Alvefur | 2018-08-18 | 1 | -0/+31 |
| | |||||
* | util.pubsub: Silence warnings in tests [luacheck] | Kim Alvefur | 2018-08-16 | 1 | -1/+1 |
| | | | | Warnings introduced in c53663e13b51 according to bisect | ||||
* | util.pubsub tests: Add TODO | Matthew Wild | 2018-08-12 | 1 | -0/+10 |
| | |||||
* | util.pubsub tests: Add tests to confirm new access model is enforced on ↵ | Matthew Wild | 2018-08-12 | 1 | -0/+24 |
| | | | | config change | ||||
* | util.pubsub tests: Add initial node config tests | Matthew Wild | 2018-08-12 | 1 | -0/+18 |
| | |||||
* | util.pubsub tests: Extend publishing tests to check for correct notification ↵ | Matthew Wild | 2018-08-12 | 1 | -1/+13 |
| | | | | behaviour on subscribe/unsubscribe | ||||
* | util.pubsub tests: Add tests for publish_model (publishers, open, subscribers) | Matthew Wild | 2018-08-12 | 1 | -6/+64 |
| | |||||
* | util.pubsub tests: Add some initial access model tests (open and whitelist) | Matthew Wild | 2018-08-11 | 1 | -0/+52 |
| | |||||
* | spec: Correct order of arguments to asserts in configmanager tests | Kim Alvefur | 2018-08-11 | 1 | -10/+10 |
| | | | | assert.foo(expect, got, ...) | ||||
* | util.pubsub: Drop now redundant capabilities from tests | Kim Alvefur | 2018-08-08 | 1 | -6/+0 |
| | |||||
* | util.dataforms: Allow passing the current values to be used in stead of ↵ | Kim Alvefur | 2018-08-05 | 1 | -0/+39 |
| | | | | omitted fields | ||||
* | util.dataforms: Add failing test for #1177 | Kim Alvefur | 2018-06-30 | 1 | -0/+27 |
| | |||||
* | util.dataforms: Include a fixed field in test | Kim Alvefur | 2018-07-15 | 1 | -0/+10 |
| | |||||
* | util.xmppstream: Add tests for various XML features forbidden by the RFC | Matthew Wild | 2018-07-11 | 1 | -44/+90 |
| | |||||
* | util_pubsub_spec: Add test for #1082 | Kim Alvefur | 2018-07-10 | 1 | -0/+53 |
| | |||||
* | util.stanza: Brief tests for :remove_children | Kim Alvefur | 2018-07-08 | 1 | -0/+22 |
| | |||||
* | util.dataforms: Add a simple function for identifying form types | Kim Alvefur | 2018-06-02 | 1 | -0/+9 |
| | | | | | This is meant to allow identifying forms without parsing them completely. | ||||
* | util.dataforms: Add initial tests | Kim Alvefur | 2018-06-02 | 1 | -0/+305 |
| | | | | | This covers basic form generation, that the fields have the correct attributes, children and text content. | ||||
* | spec/util_pubsub: Test whether someone can subscribe to a node | Kim Alvefur | 2018-05-20 | 1 | -1/+13 |
| | | | | Test fails because of missing normalize_jid | ||||
* | spec/util_iterators: Remove unused import of util.set [luacheck] | Kim Alvefur | 2018-05-18 | 1 | -1/+0 |
| | |||||
* | Fix wrong tests committed with 7b621a4a2e8d | Matthew Wild | 2018-05-18 | 2 | -21/+15 |
| | |||||
* | util.iterators: Add join() method and tests | Matthew Wild | 2018-05-18 | 1 | -0/+21 |
| | |||||
* | util.events: Add more tests (100% line coverage) | Matthew Wild | 2018-04-25 | 1 | -0/+21 |
| | |||||
* | util.events: Add tests | Matthew Wild | 2018-04-24 | 1 | -0/+191 |
| | |||||
* | net.http.server: Prevent loading of net.server in tests (breaks unrelated ↵ | Kim Alvefur | 2018-03-24 | 1 | -0/+1 |
| | | | | tests for some reason) | ||||
* | util.async: Remove async.once(), can now be replaced by runner():run(func) | Matthew Wild | 2018-03-23 | 1 | -19/+0 |
| | |||||
* | util.async: Make parameters to async.runner() optional | Matthew Wild | 2018-03-23 | 1 | -0/+20 |
| | |||||
* | util.async: Use wrapper for once runner (thanks luacheck) | Kim Alvefur | 2018-03-22 | 1 | -0/+1 |
| | |||||
* | util.async: tests: ensure async.once() propagates errors | Matthew Wild | 2018-03-22 | 1 | -0/+8 |
| | |||||
* | util.async: Add once() to create temporary runners | Matthew Wild | 2018-03-22 | 1 | -0/+10 |
| |