aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
Commit message (Expand)AuthorAgeFilesLines
* util.pubsub: Allow setting a callback for validating items to be publishedKim Alvefur2018-03-211-0/+4
* util.pubsub: Support a 'nodestore' for persisting nodes (same API as kv stores)Matthew Wild2018-02-021-1/+41
* util.pubsub: Move service methods object creation (just code reorganisation)Matthew Wild2018-02-021-2/+6
* util.pubsub: For clarity, split config tables from their metatablesMatthew Wild2018-02-011-6/+9
* util.pubsub: Recreate itemstore if persist_items changes or resize it if max_...Kim Alvefur2017-11-091-7/+7
* util: Various minor changes to please [luacheck]Kim Alvefur2017-11-101-12/+0
* util.pubsub: Add method for retreiving the last item (useful for sending on s...Kim Alvefur2017-11-071-0/+9
* util.pubsub: Return an empty list if specific item asked for does not exist (...Kim Alvefur2017-10-181-1/+1
* pubsub: Distinguish internal representation of node config from XEP-0060 form...Kim Alvefur2017-10-171-2/+3
* util.pubsub: Remove inclusion of publisherKim Alvefur2017-10-161-3/+0
* util.pubsub: Return item-not-found if a single item is requested, and not thereKim Alvefur2017-10-101-1/+5
* util.pubsub: Clear data on node deletionKim Alvefur2017-10-091-0/+3
* util.pubsub: Clear data store if it supports being cleared, otherwise fall ba...Kim Alvefur2017-10-081-1/+5
* util.pubsub: Don't record publisher when superuser privileges are used (eg by...Kim Alvefur2017-07-291-1/+3
* util.pubsub: Catch overriden id from storageKim Alvefur2017-04-261-0/+1
* util.pubsub: Add the publisher as an attribute in the item element.Emmanuel Gil Peyrot2017-04-021-0/+1
* util.pubsub: Add a node parameter to itemstore().Emmanuel Gil Peyrot2017-04-021-4/+4
* util.pubsub: Fix item retrieval by including the item order as it was before ...Kim Alvefur2016-11-191-0/+1
* util.pubsub: Rename loop variable to avoid name clash [luacheck]Kim Alvefur2016-10-181-5/+5
* 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
* 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 t...Kim Alvefur2014-09-281-0/+11
* 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 (thanks...Kim Alvefur2013-05-261-1/+1
* 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 subscriptio...Matthew Wild2011-08-301-0/+5
* util.pubsub: Use built-in actor for auto-creating nodes on publish and subscr...Matthew Wild2011-08-291-2/+2
* util.pubsub: Pass true instead of nil as the actor in a bunch of places, and ...Matthew Wild2011-01-081-7/+7
* 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 in...Matthew Wild2010-12-221-1/+1
* util.pubsub: Add service-wide subscription tracking, and add :get_subscriptio...Matthew Wild2010-12-221-0/+75
* 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 ke...Matthew Wild2010-12-221-1/+1