Log

util/pubsub.lua @ 9201:1555ea0d6f61

description author age
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
pubsub: Distinguish internal representation of node config from XEP-0060 form (util.pubsub should be protocol-agnostic) Kim Alvefur 2017-10-17
util.pubsub: Remove inclusion of publisher Kim Alvefur 2017-10-16
util.pubsub: Return item-not-found if a single item is requested, and not there Kim Alvefur 2017-10-09
util.pubsub: Clear data on node deletion Kim Alvefur 2017-10-08
util.pubsub: Clear data store if it supports being cleared, otherwise fall back to creating a new one Kim Alvefur 2017-10-07
util.pubsub: Don't record publisher when superuser privileges are used (eg by modules) Kim Alvefur 2017-07-29
util.pubsub: Catch overriden id from storage Kim Alvefur 2017-04-26
util.pubsub: Add the publisher as an attribute in the item element. Emmanuel Gil Peyrot 2017-04-02
util.pubsub: Add a node parameter to itemstore(). Emmanuel Gil Peyrot 2017-04-02
Merge 0.10->trunk Kim Alvefur 2016-11-19
util.pubsub: Fix item retrieval by including the item order as it was before using util.cache (thanks walduhu) Kim Alvefur 2016-11-19
Merge 0.10->trunk Kim Alvefur 2016-10-18
util.pubsub: Rename loop variable to avoid name clash [luacheck] Kim Alvefur 2016-10-18
Merge 0.10->trunk Kim Alvefur 2016-10-15
util.pubsub: Factor item storage cache into a per service configurable option Kim Alvefur 2016-10-15
util.pubsub: Switch to use util.cache for item data Kim Alvefur 2016-10-15
Merge 0.10->trunk Kim Alvefur 2015-08-20
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur 2015-02-21
Merge 0.10->trunk Matthew Wild 2014-11-20
mod_pubsub: Add support for including the publisher in item broadcasts Philipp Hancke 2014-11-20
Merge 0.10->trunk Kim Alvefur 2014-09-27
util.pubsub: Add support for limiting the number of item in a node (default to 20) Kim Alvefur 2014-09-27
util.pubsub: Add support for node configuration Kim Alvefur 2014-09-27
util.pubsub: One less table allocated per pubsub object created Kim Alvefur 2014-09-27
util.pubsub: Use local Kim Alvefur 2014-09-27