Commit Graph

36 Commits (51549fe050a1aec00284d1e2599c93010bc763c2)

Author SHA1 Message Date
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Florian Zeitz 16b4b0ea2a util.pubsub: Check whether node exists, when deleting 13 years ago
Kim Alvefur 4a8d033ca1 util.pubsub: Fix get_subscriptions to not pass a boolean as node name (thanks jonas) 13 years ago
Kim Alvefur 5cfdac70c6 mod_pubsub, util.pubsub: Add delete action 13 years ago
Waqas Hussain f3f1a3c44e util.pubsub: Fix nil access error in get_subscriptions. 13 years ago
Florian Zeitz 4196cca0e0 mod_pubsub, util.pubsub: Don't send purge notifications in an <items/> element 13 years ago
Kim Alvefur 4070965899 mod_pubsub, util.pubsub: Implement the purge action 13 years ago
Matthew Wild baa85ada77 util.pubsub: Add item-published event 13 years ago
Matthew Wild 355b05e341 util.pubsub: Remove access checking from remove_all_subscriptions (temporarily?) 15 years ago
Matthew Wild 20725d07f9 util.pubsub: Add service:remove_all_subscriptions() 15 years ago
Matthew Wild f3160dd927 util.pubsub: Support for events (currently subscription-added and subscription-removed) 15 years ago
Matthew Wild e239a678b3 util.pubsub: Use built-in actor for auto-creating nodes on publish and subscribe (so they never fail due to permissions) 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
Matthew Wild a41d900875 mod_pubsub, util.pubsub: Remove from 0.8 15 years ago
Matthew Wild eff22e5a50 util.pubsub: Add service:get_nodes() 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 de79d047af util.pubsub: Add service:get_nodes() 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