Log

util/pubsub.lua @ 11132:287d0d80aa57

description author age
util.pubsub: Silence luacheck warnings, leaving notes on future proper fix Kim Alvefur 2019-12-23
Merge 0.11->trunk Kim Alvefur 2019-12-23
util.pubsub: Pass subscribers trough a filter callback 0.11 Kim Alvefur 2019-06-06
util.pubsub: Factor out calling of broadcaster 0.11 Kim Alvefur 2019-06-06
util.pubsub, pubsub.lib and tests: Add text to precondition-not-met error (fixes #1455) Matthew Wild 2019-10-27
util.pubsub: Validate node configuration on node creation (fixes #1328) 0.11 Kim Alvefur 2019-03-03
util.pubsub: Add support for requesting multiple specific items (needed for #1305) 0.11 Kim Alvefur 2019-01-28
util.pubsub: Restore subscription index from stored data (fixes #1281) 0.11 Kim Alvefur 2018-12-29
util.pubsub: Clarify comment about return value Kim Alvefur 2018-10-21
util.pubsub: Allow publishing with a config that should be used as defaults only Matthew Wild 2018-10-18
util.pubsub: Expand comment on return type from get_items Kim Alvefur 2018-08-31
util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation for completeness Kim Alvefur 2018-08-31
util.pubsub: Comments describing the return values of methods Kim Alvefur 2018-08-22
util.pubsub: Add 'service' field to all events Matthew Wild 2018-08-27
util.pubsub: Remove unused argument Kim Alvefur 2018-08-21
util.pubsub: Fire item-published/<node> to allow for easier handling of per-node items Matthew Wild 2018-08-19
util.pubsub, pubsub.lib: Improve error on attempt to publish invalid item Matthew Wild 2018-08-18
Pubsub: Add tests for :get_last_item() and fix for non-persistent nodes Matthew Wild 2018-08-18
util.pubsub: Fix whitespace [luacheck] Matthew Wild 2018-08-18
Backed out changeset 27d800ddc3b0 (see below) Matthew Wild 2018-08-18
util.pubsub: get_last_item(): Fail with item-not-found if no item yet published Matthew Wild 2018-08-18
util.pubsub: get_last_item(): Return error if node does not exist Matthew Wild 2018-08-18
pubsub.lib, util.pubsub: Move precondition checks to util.pubsub Matthew Wild 2018-08-18
util.pubsub: Add comment to clarify return values Matthew Wild 2018-08-18
util.pubsub: Pass "retract" as the type of such broadcasts Kim Alvefur 2018-08-16
util.pubsub: Allow outcasts to get their subscription status Matthew Wild 2018-08-12
util.pubsub: For open nodes, default affiliation is "member" Matthew Wild 2018-08-09
mod_pep, util.pubsub: Rename restricted->outcast, none->member and add new 'none' affiliation to better match XEP-0060 Matthew Wild 2018-08-08
mod_pubsub, mod_pep, util.pubsub: Move capability definitions into util.pubsub to avoid duplication Matthew Wild 2018-08-08
util.pubsub: Include node defaults from current service object Kim Alvefur 2018-08-07
util.pubsub: Re-check all subscriptions on access_model change, unsubscribing those no longer allowed Kim Alvefur 2018-08-06
util.pubsub: Add support for publish_model config option Matthew Wild 2018-08-06
util.pubsub: Apply defaults metatable before config check (thanks pep.) Kim Alvefur 2018-08-05
util.pubsub: Add method to retrieve node configuration Matthew Wild 2018-08-04
util.pubsub: Use service.node_defaults in case config.node_defaults was not provided (thanks jonasw) Matthew Wild 2018-08-04
util.pubsub: Tweak default affiliation of access models (fixes failing test) Matthew Wild 2018-08-04
util.pubsub: Look for a configured callback for more complicated access models Kim Alvefur 2018-08-04
util.pubsub: Add initial support for configurable access models Kim Alvefur 2018-08-04
util.pubsub: Add support for a config validation function Matthew Wild 2018-08-01
util.pubsub: Support for returning *all* subscriptions Kim Alvefur 2018-07-13
util.pubsub: Return error code known by pubsub.lib if persistent creation fails Kim Alvefur 2018-07-01
util.pubsub: Store subscription changes Kim Alvefur 2018-07-01
util.pubsub: Persistence on affiliation change Kim Alvefur 2018-07-01
util.pubsub: Remove node from persistent storage on deletion Kim Alvefur 2018-07-01
util.pubsub: Persist nodes on configuration change Kim Alvefur 2018-07-01
util.pubsub: Fix applying per service node defaults when loading from nodestore Kim Alvefur 2018-07-01
util.pubsub: Fix typo Kim Alvefur 2018-06-26
util.pubsub: Normalize JID used as affiliation Kim Alvefur 2018-06-26
util.pubsub: Also check for affiliation set on bare JID Kim Alvefur 2018-05-21
util.pubsub: Pass node and service objects to broadcaster to allow eg config access Kim Alvefur 2018-05-20
util.pubsub: Add a default/fallback JID normalization function Kim Alvefur 2018-05-20
util.pubsub: Don't record the superuser as owner on creation Kim Alvefur 2018-05-20
util.pubsub: Allow setting a callback for validating items to be published Kim Alvefur 2018-03-21
util.pubsub: Support a 'nodestore' for persisting nodes (same API as kv stores) Matthew Wild 2018-02-02
util.pubsub: Move service methods object creation (just code reorganisation) Matthew Wild 2018-02-02
util.pubsub: For clarity, split config tables from their metatables Matthew Wild 2018-02-01
util.pubsub: Recreate itemstore if persist_items changes or resize it if max_items changes Kim Alvefur 2017-11-09
util: Various minor changes to please [luacheck] Kim Alvefur 2017-11-10
util.pubsub: Add method for retreiving the last item (useful for sending on subscribe) Kim Alvefur 2017-11-06
util.pubsub: Return an empty list if specific item asked for does not exist (thanks jonasw) Kim Alvefur 2017-10-18