Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.pubsub: Fix test to account for not using util.error | Kim Alvefur | 2024-10-29 | 1 | -1/+1 |
| | |||||
* | util.pubsub: Fix item store resize to "max" | Kim Alvefur | 2022-01-06 | 1 | -0/+20 |
| | | | | | Previously this would end up passing the "max" directly to the underlying storage. | ||||
* | util.pubsub: Add support for limiting number of items to retrieve | Kim Alvefur | 2021-09-05 | 1 | -0/+57 |
| | | | | | Hopefully this will eventually be upgraded to RSM, which is why the argument is called 'resultspec' and is a table. | ||||
* | util.pubsub: Signal that 'persistent-items' is unsupported when disabled | Kim Alvefur | 2021-07-22 | 1 | -2/+2 |
| | | | | | | XEP-0060 says that this the way to indicate that 'persistent-items' is unsupported, but doesn't explicitly say if it being disabled in the node configuration also counts as unsupported. | ||||
* | util.pubsub: Fix behavior of persist_items disabled | Kim Alvefur | 2021-07-22 | 1 | -0/+19 |
| | | | | | | | | | | | | | When set to 'false' there is no need for a persistence interface at all, since items are not persisted after being broadcast. Had started wondering if maybe the behavior was wrong, after reading parts of XEP-0060 that pointed in that direction. Some discussion of this can be found in logs of xmpp:xsf@muc.xmpp.org?join from around 2021-07-20 Thanks to Ralph for confirming. | ||||
* | util.pubsub: Ignore unused argument in tests [luacheck] | Kim Alvefur | 2019-12-29 | 1 | -1/+1 |
| | |||||
* | util.pubsub: Cover subscription filter in a partial test | Kim Alvefur | 2019-12-26 | 1 | -0/+26 |
| | | | | | | | I'm not sure I understand spies well enough to test that the arguments and return values are as expected. Better than nothing at least. | ||||
* | tests: Silence [luacheck] warnings | Kim Alvefur | 2019-12-23 | 1 | -0/+6 |
| | |||||
* | util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error ↵ | Matthew Wild | 2019-10-27 | 1 | -1/+1 |
| | | | | (fixes #1455) | ||||
* | util.pubsub: Validate node configuration on node creation (fixes #1328) | Kim Alvefur | 2019-03-03 | 1 | -0/+41 |
| | |||||
* | util.pubsub: Add support for requesting multiple specific items (needed for ↵ | Kim Alvefur | 2019-01-28 | 1 | -0/+31 |
| | | | | #1305) | ||||
* | util.pubsub: Restore subscription index from stored data (fixes #1281) | Kim Alvefur | 2018-12-29 | 1 | -0/+30 |
| | |||||
* | util.pubsub: Allow publishing with a config that should be used as defaults only | Matthew Wild | 2018-10-18 | 1 | -0/+28 |
| | |||||
* | util.pubsub tests: Ensure necessary tests run in the defined order | Matthew Wild | 2018-10-01 | 1 | -0/+8 |
| | |||||
* | 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.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 |
| | |||||
* | util.pubsub: Drop now redundant capabilities from tests | Kim Alvefur | 2018-08-08 | 1 | -6/+0 |
| | |||||
* | util_pubsub_spec: Add test for #1082 | Kim Alvefur | 2018-07-10 | 1 | -0/+53 |
| | |||||
* | 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 | ||||
* | util.pubsub: Add simple test covering publishing and retrieving an item | Kim Alvefur | 2018-03-21 | 1 | -0/+24 |
| | |||||
* | util_pubsub_spec: Move util.pubsub import into a setup block | Kim Alvefur | 2018-03-07 | 1 | -1/+5 |
| | |||||
* | util_pubsub_spec: Beginnings of tests for util.pubsub | Kim Alvefur | 2018-03-03 | 1 | -0/+27 |