Log

util/pubsub.lua @ 12596:78f874441e21

description author age
util.pubsub: Fix item store resize to "max" Kim Alvefur Thu, 06 Jan 2022 01:18:35 +0100
mod_pubsub,mod_pep: Implement 'send_last_published_item' option #1436 Kim Alvefur Tue, 19 Oct 2021 18:11:50 +0200
util.pubsub: Add support for limiting number of items to retrieve Kim Alvefur Sun, 05 Sep 2021 16:21:10 +0200
util.pubsub: Signal that 'persistent-items' is unsupported when disabled Kim Alvefur Thu, 22 Jul 2021 19:53:21 +0200
util.pubsub: Fix behavior of persist_items disabled Kim Alvefur Thu, 22 Jul 2021 21:01:11 +0200
mod_pubsub: Explicitly enable persistence by default to preserve behavior Kim Alvefur Wed, 21 Jul 2021 23:35:08 +0200
util.pubsub: Handle absence of node data interface Kim Alvefur Wed, 21 Jul 2021 21:22:17 +0200
Merge 0.11->trunk Kim Alvefur Sun, 16 May 2021 19:05:20 +0200
util.pubsub: Fix traceback if node data not initialized 0.11 Kim Alvefur Sun, 16 May 2021 16:02:00 +0200
util.pubsub: Silence luacheck warnings, leaving notes on future proper fix Kim Alvefur Mon, 23 Dec 2019 21:16:10 +0100
Merge 0.11->trunk Kim Alvefur Mon, 23 Dec 2019 20:57:10 +0100
util.pubsub: Pass subscribers trough a filter callback 0.11 Kim Alvefur Thu, 06 Jun 2019 18:13:46 +0200
util.pubsub: Factor out calling of broadcaster 0.11 Kim Alvefur Thu, 06 Jun 2019 17:37:15 +0200
util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error (fixes #1455) Matthew Wild Sun, 27 Oct 2019 14:45:57 +0000
util.pubsub: Validate node configuration on node creation (fixes #1328) 0.11 Kim Alvefur Sun, 03 Mar 2019 19:31:56 +0100
util.pubsub: Add support for requesting multiple specific items (needed for #1305) 0.11 Kim Alvefur Mon, 28 Jan 2019 01:41:01 +0100
util.pubsub: Restore subscription index from stored data (fixes #1281) 0.11 Kim Alvefur Sat, 29 Dec 2018 21:47:51 +0100
util.pubsub: Clarify comment about return value Kim Alvefur Sun, 21 Oct 2018 22:21:18 +0200
util.pubsub: Allow publishing with a config that should be used as defaults only Matthew Wild Thu, 18 Oct 2018 18:00:54 +0100
util.pubsub: Expand comment on return type from get_items Kim Alvefur Sat, 01 Sep 2018 00:45:51 +0200
util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation for completeness Kim Alvefur Fri, 31 Aug 2018 17:49:14 +0200
util.pubsub: Comments describing the return values of methods Kim Alvefur Wed, 22 Aug 2018 13:27:36 +0200
util.pubsub: Add 'service' field to all events Matthew Wild Mon, 27 Aug 2018 14:07:28 +0100
util.pubsub: Remove unused argument Kim Alvefur Tue, 21 Aug 2018 19:48:08 +0200
util.pubsub: Fire item-published/<node> to allow for easier handling of per-node items Matthew Wild Sun, 19 Aug 2018 23:37:19 +0100
util.pubsub, pubsub.lib: Improve error on attempt to publish invalid item Matthew Wild Sat, 18 Aug 2018 15:26:35 +0100
Pubsub: Add tests for :get_last_item() and fix for non-persistent nodes Matthew Wild Sat, 18 Aug 2018 15:10:41 +0100
util.pubsub: Fix whitespace [luacheck] Matthew Wild Sat, 18 Aug 2018 14:33:49 +0100
Backed out changeset 27d800ddc3b0 (see below) Matthew Wild Sat, 18 Aug 2018 14:30:14 +0100
util.pubsub: get_last_item(): Fail with item-not-found if no item yet published Matthew Wild Sat, 18 Aug 2018 14:21:02 +0100
util.pubsub: get_last_item(): Return error if node does not exist Matthew Wild Sat, 18 Aug 2018 14:17:43 +0100
pubsub.lib, util.pubsub: Move precondition checks to util.pubsub Matthew Wild Sat, 18 Aug 2018 14:06:56 +0100
util.pubsub: Add comment to clarify return values Matthew Wild Sat, 18 Aug 2018 13:23:52 +0100
util.pubsub: Pass "retract" as the type of such broadcasts Kim Alvefur Thu, 16 Aug 2018 14:32:21 +0200
util.pubsub: Allow outcasts to get their subscription status Matthew Wild Sun, 12 Aug 2018 11:33:22 +0100
util.pubsub: For open nodes, default affiliation is "member" Matthew Wild Thu, 09 Aug 2018 20:27:04 +0100
mod_pep, util.pubsub: Rename restricted->outcast, none->member and add new 'none' affiliation to better match XEP-0060 Matthew Wild Wed, 08 Aug 2018 23:20:07 +0100
mod_pubsub, mod_pep, util.pubsub: Move capability definitions into util.pubsub to avoid duplication Matthew Wild Wed, 08 Aug 2018 20:48:02 +0100
util.pubsub: Include node defaults from current service object Kim Alvefur Tue, 07 Aug 2018 10:52:10 +0200
util.pubsub: Re-check all subscriptions on access_model change, unsubscribing those no longer allowed Kim Alvefur Mon, 06 Aug 2018 17:04:11 +0200
util.pubsub: Add support for publish_model config option Matthew Wild Mon, 06 Aug 2018 11:23:09 +0100
util.pubsub: Apply defaults metatable before config check (thanks pep.) Kim Alvefur Sun, 05 Aug 2018 15:17:00 +0200
util.pubsub: Add method to retrieve node configuration Matthew Wild Sat, 04 Aug 2018 21:32:24 +0100
util.pubsub: Use service.node_defaults in case config.node_defaults was not provided (thanks jonasw) Matthew Wild Sat, 04 Aug 2018 21:30:10 +0100
util.pubsub: Tweak default affiliation of access models (fixes failing test) Matthew Wild Sat, 04 Aug 2018 12:00:46 +0100
util.pubsub: Look for a configured callback for more complicated access models Kim Alvefur Sat, 04 Aug 2018 03:04:00 +0200
util.pubsub: Add initial support for configurable access models Kim Alvefur Sat, 04 Aug 2018 03:38:20 +0200
util.pubsub: Add support for a config validation function Matthew Wild Wed, 01 Aug 2018 19:18:07 +0100
util.pubsub: Support for returning *all* subscriptions Kim Alvefur Fri, 13 Jul 2018 04:41:59 +0200
util.pubsub: Return error code known by pubsub.lib if persistent creation fails Kim Alvefur Sun, 01 Jul 2018 04:44:24 +0200
util.pubsub: Store subscription changes Kim Alvefur Sun, 01 Jul 2018 04:42:41 +0200
util.pubsub: Persistence on affiliation change Kim Alvefur Sun, 01 Jul 2018 04:33:15 +0200
util.pubsub: Remove node from persistent storage on deletion Kim Alvefur Sun, 01 Jul 2018 04:46:37 +0200
util.pubsub: Persist nodes on configuration change Kim Alvefur Sun, 01 Jul 2018 04:27:09 +0200
util.pubsub: Fix applying per service node defaults when loading from nodestore Kim Alvefur Sun, 01 Jul 2018 04:17:36 +0200
util.pubsub: Fix typo Kim Alvefur Tue, 26 Jun 2018 20:33:10 +0200
util.pubsub: Normalize JID used as affiliation Kim Alvefur Tue, 26 Jun 2018 19:49:29 +0200
util.pubsub: Also check for affiliation set on bare JID Kim Alvefur Tue, 22 May 2018 01:32:44 +0200
util.pubsub: Pass node and service objects to broadcaster to allow eg config access Kim Alvefur Mon, 21 May 2018 00:35:00 +0200
util.pubsub: Add a default/fallback JID normalization function Kim Alvefur Sun, 20 May 2018 15:21:57 +0200