aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.pubsub: Factor item storage cache into a per service configurable optionKim Alvefur2016-10-161-3/+4
|
* util.pubsub: Switch to use util.cache for item dataKim Alvefur2016-10-161-33/+23
|
* util.*: Remove use of module() function, make all module functions local and ↵Kim Alvefur2015-02-211-4/+4
| | | | return them in a table at the end
* mod_pubsub: Add support for including the publisher in item broadcastsPhilipp Hancke2014-11-201-1/+1
|
* util.pubsub: Add support for limiting the number of item in a node (default ↵Kim Alvefur2014-09-281-0/+11
| | | | to 20)
* util.pubsub: Add support for node configurationKim Alvefur2014-09-281-2/+22
|
* util.pubsub: One less table allocated per pubsub object createdKim Alvefur2014-09-281-3/+3
|
* util.pubsub: Use localKim Alvefur2014-09-271-1/+1
|
* util.pubsub: Separate data from node configurationKim Alvefur2013-12-301-7/+26
|
* util.pubsub: Fire events on more actionsKim Alvefur2013-12-261-0/+4
|
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-5/+5
|
* util.pubsub: Check whether node exists, when deletingFlorian Zeitz2013-06-121-0/+3
|
* util.pubsub: Fix get_subscriptions to not pass a boolean as node name ↵Kim Alvefur2013-05-261-1/+1
| | | | (thanks jonas)
* mod_pubsub, util.pubsub: Add delete actionKim Alvefur2013-01-311-0/+12
|
* util.pubsub: Fix nil access error in get_subscriptions.Waqas Hussain2013-01-261-1/+1
|
* mod_pubsub, util.pubsub: Don't send purge notifications in an <items/> elementFlorian Zeitz2013-01-251-9/+18
|
* mod_pubsub, util.pubsub: Implement the purge actionKim Alvefur2013-01-241-1/+9
|
* util.pubsub: Add item-published eventMatthew Wild2012-11-151-0/+1
|
* util.pubsub: Remove access checking from remove_all_subscriptions (temporarily?)Matthew Wild2011-08-301-14/+0
|
* util.pubsub: Add service:remove_all_subscriptions()Matthew Wild2011-08-301-0/+26
|
* util.pubsub: Support for events (currently subscription-added and ↵Matthew Wild2011-08-301-0/+5
| | | | subscription-removed)
* util.pubsub: Use built-in actor for auto-creating nodes on publish and ↵Matthew Wild2011-08-291-2/+2
| | | | subscribe (so they never fail due to permissions)
* util.pubsub: Pass true instead of nil as the actor in a bunch of places, and ↵Matthew Wild2011-01-081-7/+7
| | | | fix a bunch of methods to not traceback on this (those with *_other capability checking).
* util.pubsub: Some tidying/optimisation to service:may()Matthew Wild2011-01-081-4/+3
|
* util.pubsub: Return correct node in get_subscriptions()Kim Alvefur2010-12-221-1/+1
|
* util.pubsub: Use correct node name when returning a list of multiple nodes ↵Matthew Wild2010-12-221-1/+1
| | | | in a subscriptions response
* util.pubsub: Add service-wide subscription tracking, and add ↵Matthew Wild2010-12-221-0/+75
| | | | :get_subscriptions()
* util.pubsub: Small code tidying for :get_subscription()Matthew Wild2010-12-221-2/+3
|
* util.pubsub: Fix traceback when using autocreate-on-subscribeMatthew Wild2010-12-221-0/+1
|
* util.pubsub: Add service:jids_equal() and new config option normalize_jidMatthew Wild2010-12-221-3/+8
|
* util.pubsub: get_items(): When requesting a specific item, use the id as a ↵Matthew Wild2010-12-221-1/+1
| | | | key to mirror the multiple-item case
* util.pubsub: Add service:set_node_capabilities()Matthew Wild2010-12-211-0/+15
|
* util.pubsub: Fix nil global access in get_nodes()Matthew Wild2010-12-211-1/+1
|
* util.pubsub: Too many changes to list or split sensibly. Added access ↵Matthew Wild2010-12-211-18/+168
| | | | 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.
* util.pubsub: Modify new() to take a config, and add a default config via a ↵Matthew Wild2010-12-211-2/+13
| | | | metatable
* util.pubsub: Add service:get_nodes()Matthew Wild2010-12-171-0/+4
|
* mod_pubsub: Support item retractionFlorian Zeitz2010-12-051-0/+12
|
* mod_pubsub, util.pubsub: Support for unsubscribingFlorian Zeitz2010-12-051-1/+8
|
* mod_pubsub, util.pubsub: Support node creationFlorian Zeitz2010-12-011-0/+8
|
* mod_pubsub, util.pubsub: Support for fetching itemsFlorian Zeitz2010-11-251-2/+13
|
* util.pubsub: Add :get_subscription() to return the current subscription for ↵Matthew Wild2010-11-131-0/+7
| | | | a JID, if any
* mod_pubsub: It's aliiiive!Matthew Wild2010-11-131-0/+35
|
* util.pubsub -> util.broadcastMatthew Wild2009-07-111-68/+0
|
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* util.pubsub: Fix undefined global accessesMatthew Wild2009-07-101-1/+1
|
* Adding initial util.pubsubMatthew Wild2009-02-281-0/+60