| Commit message (Expand) | Author | Age | Files | Lines |
* | util.pubsub, pubsub.lib: Improve error on attempt to publish invalid item | Matthew Wild | 2018-08-18 | 1 | -1/+1 |
* | Pubsub: Add tests for :get_last_item() and fix for non-persistent nodes | Matthew Wild | 2018-08-18 | 1 | -1/+1 |
* | util.pubsub: Fix whitespace [luacheck] | Matthew Wild | 2018-08-18 | 1 | -1/+1 |
* | Backed out changeset 27d800ddc3b0 (see below) | Matthew Wild | 2018-08-18 | 1 | -2/+2 |
* | util.pubsub: get_last_item(): Fail with item-not-found if no item yet published | Matthew Wild | 2018-08-18 | 1 | -2/+2 |
* | util.pubsub: get_last_item(): Return error if node does not exist | Matthew Wild | 2018-08-18 | 1 | -0/+6 |
* | pubsub.lib, util.pubsub: Move precondition checks to util.pubsub | Matthew Wild | 2018-08-18 | 1 | -2/+17 |
* | util.pubsub: Add comment to clarify return values | Matthew Wild | 2018-08-18 | 1 | -0/+1 |
* | util.pubsub: Pass "retract" as the type of such broadcasts | Kim Alvefur | 2018-08-16 | 1 | -1/+1 |
* | util.pubsub: Allow outcasts to get their subscription status | Matthew Wild | 2018-08-12 | 1 | -0/+2 |
* | util.pubsub: For open nodes, default affiliation is "member" | Matthew Wild | 2018-08-09 | 1 | -1/+1 |
* | mod_pep, util.pubsub: Rename restricted->outcast, none->member and add new 'n... | Matthew Wild | 2018-08-08 | 1 | -2/+24 |
* | mod_pubsub, mod_pep, util.pubsub: Move capability definitions into util.pubsu... | Matthew Wild | 2018-08-08 | 1 | -1/+77 |
* | util.pubsub: Include node defaults from current service object | Kim Alvefur | 2018-08-07 | 1 | -0/+3 |
* | util.pubsub: Re-check all subscriptions on access_model change, unsubscribing... | Kim Alvefur | 2018-08-06 | 1 | -0/+12 |
* | util.pubsub: Add support for publish_model config option | Matthew Wild | 2018-08-06 | 1 | -1/+14 |
* | util.pubsub: Apply defaults metatable before config check (thanks pep.) | Kim Alvefur | 2018-08-05 | 1 | -1/+3 |
* | util.pubsub: Add method to retrieve node configuration | Matthew Wild | 2018-08-04 | 1 | -0/+21 |
* | util.pubsub: Use service.node_defaults in case config.node_defaults was not p... | Matthew Wild | 2018-08-04 | 1 | -1/+1 |
* | util.pubsub: Tweak default affiliation of access models (fixes failing test) | Matthew Wild | 2018-08-04 | 1 | -2/+2 |
* | util.pubsub: Look for a configured callback for more complicated access models | Kim Alvefur | 2018-08-04 | 1 | -0/+10 |
* | util.pubsub: Add initial support for configurable access models | Kim Alvefur | 2018-08-04 | 1 | -4/+17 |
* | util.pubsub: Add support for a config validation function | Matthew Wild | 2018-08-01 | 1 | -0/+7 |
* | util.pubsub: Support for returning *all* subscriptions | Kim Alvefur | 2018-07-13 | 1 | -21/+31 |
* | util.pubsub: Return error code known by pubsub.lib if persistent creation fails | Kim Alvefur | 2018-07-01 | 1 | -1/+1 |
* | util.pubsub: Store subscription changes | Kim Alvefur | 2018-07-01 | 1 | -0/+22 |
* | util.pubsub: Persistence on affiliation change | Kim Alvefur | 2018-07-01 | 1 | -0/+10 |
* | util.pubsub: Remove node from persistent storage on deletion | Kim Alvefur | 2018-07-01 | 1 | -0/+13 |
* | util.pubsub: Persist nodes on configuration change | Kim Alvefur | 2018-07-01 | 1 | -5/+14 |
* | util.pubsub: Fix applying per service node defaults when loading from nodestore | Kim Alvefur | 2018-07-01 | 1 | -7/+7 |
* | util.pubsub: Fix typo | Kim Alvefur | 2018-06-26 | 1 | -1/+1 |
* | util.pubsub: Normalize JID used as affiliation | Kim Alvefur | 2018-06-26 | 1 | -0/+1 |
* | util.pubsub: Also check for affiliation set on bare JID | Kim Alvefur | 2018-05-22 | 1 | -1/+2 |
* | util.pubsub: Pass node and service objects to broadcaster to allow eg config ... | Kim Alvefur | 2018-05-21 | 1 | -4/+4 |
* | util.pubsub: Add a default/fallback JID normalization function | Kim Alvefur | 2018-05-20 | 1 | -0/+1 |
* | util.pubsub: Don't record the superuser as owner on creation | Kim Alvefur | 2018-05-20 | 1 | -6/+8 |
* | util.pubsub: Allow setting a callback for validating items to be published | Kim Alvefur | 2018-03-21 | 1 | -0/+4 |
* | util.pubsub: Support a 'nodestore' for persisting nodes (same API as kv stores) | Matthew Wild | 2018-02-02 | 1 | -1/+41 |
* | util.pubsub: Move service methods object creation (just code reorganisation) | Matthew Wild | 2018-02-02 | 1 | -2/+6 |
* | util.pubsub: For clarity, split config tables from their metatables | Matthew Wild | 2018-02-01 | 1 | -6/+9 |
* | util.pubsub: Recreate itemstore if persist_items changes or resize it if max_... | Kim Alvefur | 2017-11-09 | 1 | -7/+7 |
* | util: Various minor changes to please [luacheck] | Kim Alvefur | 2017-11-10 | 1 | -12/+0 |
* | util.pubsub: Add method for retreiving the last item (useful for sending on s... | Kim Alvefur | 2017-11-07 | 1 | -0/+9 |
* | util.pubsub: Return an empty list if specific item asked for does not exist (... | Kim Alvefur | 2017-10-18 | 1 | -1/+1 |
* | pubsub: Distinguish internal representation of node config from XEP-0060 form... | Kim Alvefur | 2017-10-17 | 1 | -2/+3 |
* | util.pubsub: Remove inclusion of publisher | Kim Alvefur | 2017-10-16 | 1 | -3/+0 |
* | util.pubsub: Return item-not-found if a single item is requested, and not there | Kim Alvefur | 2017-10-10 | 1 | -1/+5 |
* | util.pubsub: Clear data on node deletion | Kim Alvefur | 2017-10-09 | 1 | -0/+3 |
* | util.pubsub: Clear data store if it supports being cleared, otherwise fall ba... | Kim Alvefur | 2017-10-08 | 1 | -1/+5 |
* | util.pubsub: Don't record publisher when superuser privileges are used (eg by... | Kim Alvefur | 2017-07-29 | 1 | -1/+3 |