aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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