Log

util/pubsub.lua @ 9662:27b62234792a

description author age
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
util.pubsub: Don't record the superuser as owner on creation Kim Alvefur Sun, 20 May 2018 03:27:02 +0200
util.pubsub: Allow setting a callback for validating items to be published Kim Alvefur Wed, 21 Mar 2018 23:40:45 +0100
util.pubsub: Support a 'nodestore' for persisting nodes (same API as kv stores) Matthew Wild Fri, 02 Feb 2018 19:31:03 +0000
util.pubsub: Move service methods object creation (just code reorganisation) Matthew Wild Fri, 02 Feb 2018 19:29:17 +0000
util.pubsub: For clarity, split config tables from their metatables Matthew Wild Thu, 01 Feb 2018 15:09:04 +0000
util.pubsub: Recreate itemstore if persist_items changes or resize it if max_items changes Kim Alvefur Thu, 09 Nov 2017 17:19:11 +0100
util: Various minor changes to please [luacheck] Kim Alvefur Fri, 10 Nov 2017 05:42:32 +0100
util.pubsub: Add method for retreiving the last item (useful for sending on subscribe) Kim Alvefur Tue, 07 Nov 2017 00:40:52 +0100
util.pubsub: Return an empty list if specific item asked for does not exist (thanks jonasw) Kim Alvefur Wed, 18 Oct 2017 21:21:43 +0200
pubsub: Distinguish internal representation of node config from XEP-0060 form (util.pubsub should be protocol-agnostic) Kim Alvefur Tue, 17 Oct 2017 05:47:06 +0200
util.pubsub: Remove inclusion of publisher Kim Alvefur Mon, 16 Oct 2017 22:12:14 +0200
util.pubsub: Return item-not-found if a single item is requested, and not there Kim Alvefur Tue, 10 Oct 2017 01:41:47 +0200
util.pubsub: Clear data on node deletion Kim Alvefur Mon, 09 Oct 2017 01:57:55 +0200
util.pubsub: Clear data store if it supports being cleared, otherwise fall back to creating a new one Kim Alvefur Sun, 08 Oct 2017 01:27:04 +0200
util.pubsub: Don't record publisher when superuser privileges are used (eg by modules) Kim Alvefur Sat, 29 Jul 2017 13:09:57 +0200
util.pubsub: Catch overriden id from storage Kim Alvefur Wed, 26 Apr 2017 12:06:41 +0200
util.pubsub: Add the publisher as an attribute in the item element. Emmanuel Gil Peyrot Sun, 02 Apr 2017 19:08:54 +0100