Commit Graph

44 Commits (71d2dced8dd98ce1b1bf67e2ebbae981cf85287c)

Author SHA1 Message Date
Kim Alvefur 3015aac8bc util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
Philipp Hancke e5282813cb mod_pubsub: Add support for including the publisher in item broadcasts 11 years ago
Kim Alvefur 33530258c0 util.pubsub: Add support for limiting the number of item in a node (default to 20) 11 years ago
Kim Alvefur 54252eecb4 util.pubsub: Add support for node configuration 11 years ago
Kim Alvefur d8283439b2 util.pubsub: One less table allocated per pubsub object created 11 years ago
Kim Alvefur cf3215b032 util.pubsub: Use local 11 years ago
Kim Alvefur 5151038c3a util.pubsub: Separate data from node configuration 12 years ago
Kim Alvefur f4ad02905f util.pubsub: Fire events on more actions 12 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Florian Zeitz 81fdc0c7b6 util.pubsub: Check whether node exists, when deleting 13 years ago
Kim Alvefur d162fd9921 util.pubsub: Fix get_subscriptions to not pass a boolean as node name (thanks jonas) 13 years ago
Kim Alvefur 517296667e mod_pubsub, util.pubsub: Add delete action 13 years ago
Waqas Hussain c8529ea3ab util.pubsub: Fix nil access error in get_subscriptions. 13 years ago
Florian Zeitz 75ef4319b9 mod_pubsub, util.pubsub: Don't send purge notifications in an <items/> element 13 years ago
Kim Alvefur fb589d8634 mod_pubsub, util.pubsub: Implement the purge action 13 years ago
Matthew Wild cfceef5b22 util.pubsub: Add item-published event 13 years ago
Matthew Wild a9d4688ebc util.pubsub: Remove access checking from remove_all_subscriptions (temporarily?) 15 years ago
Matthew Wild 97f91932f7 util.pubsub: Add service:remove_all_subscriptions() 15 years ago
Matthew Wild a1430fb462 util.pubsub: Support for events (currently subscription-added and subscription-removed) 15 years ago
Matthew Wild 9cc39d9ff9 util.pubsub: Use built-in actor for auto-creating nodes on publish and subscribe (so they never fail due to permissions) 15 years ago
Kim Alvefur 79f8d77481 util.pubsub: Return correct node in get_subscriptions() 15 years ago
Matthew Wild 45dee16625 util.pubsub: Use correct node name when returning a list of multiple nodes in a subscriptions response 15 years ago
Matthew Wild 272ea7b6d1 util.pubsub: Add service-wide subscription tracking, and add :get_subscriptions() 15 years ago
Matthew Wild 4640ae8b21 util.pubsub: Small code tidying for :get_subscription() 15 years ago
Matthew Wild 3c67a234e6 util.pubsub: Fix traceback when using autocreate-on-subscribe 15 years ago
Matthew Wild 9622bf99fb util.pubsub: Add service:jids_equal() and new config option normalize_jid 15 years ago
Matthew Wild df0acaf985 util.pubsub: get_items(): When requesting a specific item, use the id as a key to mirror the multiple-item case 15 years ago
Matthew Wild 5837f75656 util.pubsub: Add service:set_node_capabilities() 15 years ago
Matthew Wild 2d7d846152 util.pubsub: Fix nil global access in get_nodes() 15 years ago
Matthew Wild 16874d84de 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. 15 years ago
Matthew Wild 503c9d4255 util.pubsub: Modify new() to take a config, and add a default config via a metatable 15 years ago
Matthew Wild a41d900875 mod_pubsub, util.pubsub: Remove from 0.8 15 years ago
Matthew Wild de79d047af util.pubsub: Add service:get_nodes() 15 years ago
Matthew Wild eff22e5a50 util.pubsub: Add service:get_nodes() 15 years ago
Matthew Wild db7bed21d5 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). 15 years ago
Matthew Wild a3e7fba56f util.pubsub: Some tidying/optimisation to service:may() 15 years ago
Florian Zeitz 02f5edae68 mod_pubsub: Support item retraction 15 years ago
Florian Zeitz 95db0579ab mod_pubsub, util.pubsub: Support for unsubscribing 15 years ago
Florian Zeitz 649c7432b7 mod_pubsub: Support item retraction 15 years ago
Florian Zeitz 0e2b3ce468 mod_pubsub, util.pubsub: Support for unsubscribing 15 years ago
Florian Zeitz f85b16f9fa mod_pubsub, util.pubsub: Support node creation 15 years ago
Florian Zeitz 39939bd65e mod_pubsub, util.pubsub: Support node creation 15 years ago
Florian Zeitz e058268eda mod_pubsub, util.pubsub: Support for fetching items 15 years ago
Matthew Wild db4d9e500c util.pubsub: Add :get_subscription() to return the current subscription for a JID, if any 15 years ago
Matthew Wild 3ffba43bf5 mod_pubsub: It's aliiiive! 15 years ago
Matthew Wild 70c3eeb2aa util.pubsub -> util.broadcast 17 years ago
Matthew Wild e45610ce6e Add copyright header to those files missing one 17 years ago
Matthew Wild 7b1d24c0b4 util.pubsub: Fix undefined global accesses 17 years ago
Matthew Wild 1c998c518c Adding initial util.pubsub 17 years ago