Log

util/pubsub.lua @ 8500:9bf00d0734c8

description author age
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
util.pubsub: Add a node parameter to itemstore(). Emmanuel Gil Peyrot Sun, 02 Apr 2017 19:08:54 +0100
Merge 0.10->trunk Kim Alvefur Sat, 19 Nov 2016 17:37:52 +0100
util.pubsub: Fix item retrieval by including the item order as it was before using util.cache (thanks walduhu) Kim Alvefur Sat, 19 Nov 2016 17:34:54 +0100
Merge 0.10->trunk Kim Alvefur Tue, 18 Oct 2016 19:07:55 +0200
util.pubsub: Rename loop variable to avoid name clash [luacheck] Kim Alvefur Tue, 18 Oct 2016 15:29:23 +0200
Merge 0.10->trunk Kim Alvefur Sun, 16 Oct 2016 00:39:10 +0200
util.pubsub: Factor item storage cache into a per service configurable option Kim Alvefur Sun, 16 Oct 2016 00:36:05 +0200
util.pubsub: Switch to use util.cache for item data Kim Alvefur Sun, 16 Oct 2016 00:30:02 +0200
Merge 0.10->trunk Kim Alvefur Thu, 20 Aug 2015 13:05:22 +0200
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur Sat, 21 Feb 2015 10:36:37 +0100
Merge 0.10->trunk Matthew Wild Thu, 20 Nov 2014 09:02:23 +0000
mod_pubsub: Add support for including the publisher in item broadcasts Philipp Hancke Thu, 20 Nov 2014 09:01:45 +0000
Merge 0.10->trunk Kim Alvefur Sun, 28 Sep 2014 01:56:22 +0200
util.pubsub: Add support for limiting the number of item in a node (default to 20) Kim Alvefur Sun, 28 Sep 2014 01:50:00 +0200
util.pubsub: Add support for node configuration Kim Alvefur Sun, 28 Sep 2014 01:45:59 +0200
util.pubsub: One less table allocated per pubsub object created Kim Alvefur Sun, 28 Sep 2014 00:05:21 +0200
util.pubsub: Use local Kim Alvefur Sat, 27 Sep 2014 19:57:33 +0200
Merge 0.10->trunk and Happy New Year! Kim Alvefur Tue, 31 Dec 2013 19:09:34 +0100
util.pubsub: Separate data from node configuration Kim Alvefur Mon, 30 Dec 2013 23:49:23 +0100
util.pubsub: Fire events on more actions Kim Alvefur Thu, 26 Dec 2013 18:14:34 +0100
mod_pubsub, util.pubsub: Keep track of the order of items Kim Alvefur Fri, 04 Oct 2013 16:40:27 +0200
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
util.pubsub: Check whether node exists, when deleting Florian Zeitz Wed, 12 Jun 2013 16:53:51 +0200
util.pubsub: Fix get_subscriptions to not pass a boolean as node name (thanks jonas) Kim Alvefur Sun, 26 May 2013 16:01:09 +0200
mod_pubsub, util.pubsub: Add delete action Kim Alvefur Thu, 31 Jan 2013 18:41:01 +0100
util.pubsub: Fix nil access error in get_subscriptions. Waqas Hussain Sat, 26 Jan 2013 03:54:18 +0500
mod_pubsub, util.pubsub: Don't send purge notifications in an <items/> element Florian Zeitz Fri, 25 Jan 2013 01:32:14 +0100
mod_pubsub, util.pubsub: Implement the purge action Kim Alvefur Thu, 24 Jan 2013 00:58:03 +0100
util.pubsub: Add item-published event Matthew Wild Thu, 15 Nov 2012 13:24:44 -0500
util.pubsub: Remove access checking from remove_all_subscriptions (temporarily?) Matthew Wild Tue, 30 Aug 2011 17:51:36 -0400
util.pubsub: Add service:remove_all_subscriptions() Matthew Wild Tue, 30 Aug 2011 15:48:16 -0400
util.pubsub: Support for events (currently subscription-added and subscription-removed) Matthew Wild Tue, 30 Aug 2011 15:03:27 -0400
util.pubsub: Use built-in actor for auto-creating nodes on publish and subscribe (so they never fail due to permissions) Matthew Wild Mon, 29 Aug 2011 15:42:15 -0400
util.pubsub: Pass true instead of nil as the actor in a bunch of places, and fix a bunch of methods to not traceback on this (those with *_other capability checking). Matthew Wild Sat, 08 Jan 2011 23:17:17 +0000
util.pubsub: Some tidying/optimisation to service:may() Matthew Wild Sat, 08 Jan 2011 23:15:27 +0000
util.pubsub: Return correct node in get_subscriptions() Kim Alvefur Wed, 22 Dec 2010 17:42:35 +0100
util.pubsub: Use correct node name when returning a list of multiple nodes in a subscriptions response Matthew Wild Wed, 22 Dec 2010 16:45:32 +0000
util.pubsub: Add service-wide subscription tracking, and add :get_subscriptions() Matthew Wild Wed, 22 Dec 2010 03:46:32 +0000
util.pubsub: Small code tidying for :get_subscription() Matthew Wild Wed, 22 Dec 2010 03:46:07 +0000
util.pubsub: Fix traceback when using autocreate-on-subscribe Matthew Wild Wed, 22 Dec 2010 03:44:51 +0000
util.pubsub: Add service:jids_equal() and new config option normalize_jid Matthew Wild Wed, 22 Dec 2010 03:04:14 +0000
util.pubsub: get_items(): When requesting a specific item, use the id as a key to mirror the multiple-item case Matthew Wild Wed, 22 Dec 2010 02:13:26 +0000
util.pubsub: Add service:set_node_capabilities() Matthew Wild Tue, 21 Dec 2010 15:26:37 +0000
util.pubsub: Fix nil global access in get_nodes() Matthew Wild Tue, 21 Dec 2010 04:17:24 +0000
util.pubsub: Too many changes to list or split sensibly. Added access control to all methods, with capabilities support. Renamed get() -> get_items() and changed it to return true, result on success. Support for autocreate_on_subscribe and autocreate_on_publish config options. Matthew Wild Tue, 21 Dec 2010 03:26:06 +0000
util.pubsub: Modify new() to take a config, and add a default config via a metatable Matthew Wild Tue, 21 Dec 2010 03:22:40 +0000
util.pubsub: Add service:get_nodes() Matthew Wild Fri, 17 Dec 2010 13:23:01 +0000