Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.pubsub: Remove unused argument | Kim Alvefur | 2018-08-21 | 1 | -1/+1 |
| | | | | I think this was probably a copy-paste mistake. | ||||
* | mod_vcard: Remove 0.8 COMPAT code | Matthew Wild | 2018-08-19 | 1 | -6/+0 |
| | |||||
* | util.pubsub: Fire item-published/<node> to allow for easier handling of ↵ | Matthew Wild | 2018-08-19 | 1 | -1/+3 |
| | | | | per-node items | ||||
* | util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981 | Matthew Wild | 2018-08-19 | 2 | -0/+13 |
| | |||||
* | util.stanza tests: Add tests for maptags() method | Matthew Wild | 2018-08-19 | 1 | -0/+71 |
| | |||||
* | net.server: Throw error when loading outside Prosody or Prosody config not ↵ | Matthew Wild | 2018-08-19 | 1 | -2/+9 |
| | | | | loaded | ||||
* | util.startup: Set flag when config fully loaded | Matthew Wild | 2018-08-19 | 1 | -0/+1 |
| | |||||
* | tests: Add muc/util tests for filtering MUC elements | Matthew Wild | 2018-08-19 | 1 | -0/+35 |
| | |||||
* | mod_pubsub: Add missing default value for deliver_payloads | Kim Alvefur | 2018-08-19 | 1 | -0/+1 |
| | |||||
* | mod_pubsub: Fix boolean value in form | Kim Alvefur | 2018-08-19 | 1 | -1/+1 |
| | |||||
* | mod_pubsub: Add a semicolon for consistency | Kim Alvefur | 2018-08-19 | 1 | -1/+1 |
| | |||||
* | util.pubsub tests: Fix whitespace | Kim Alvefur | 2018-08-18 | 1 | -2/+2 |
| | |||||
* | util.pubsub tests: Add tests for get_items() | Matthew Wild | 2018-08-18 | 1 | -0/+28 |
| | |||||
* | util.pubsub, pubsub.lib: Improve error on attempt to publish invalid item | Matthew Wild | 2018-08-18 | 2 | -1/+2 |
| | |||||
* | Pubsub: Add tests for :get_last_item() and fix for non-persistent nodes | Matthew Wild | 2018-08-18 | 3 | -3/+29 |
| | |||||
* | mod_pep: Simplify code | Matthew Wild | 2018-08-18 | 1 | -2/+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 |
| | | | | | | | | | It's uncertain whether item not existing should be success and nil, or fail with an error. XEP-0060's "fetch most recent item" actually fetches a list of up to N items. N here is a maximum, not a minimum. The feeling is that no items is simply an empty list, not a failure of the operation. | ||||
* | 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 | 2 | -33/+20 |
| | |||||
* | mod_pubsub: Advertise support for subscription-options | Kim Alvefur | 2018-08-18 | 1 | -1/+1 |
| | | | | Initial support was added in d614003a82c1 | ||||
* | mod_pubsub: Advertise support for node meta-data | Kim Alvefur | 2018-08-18 | 1 | -1/+1 |
| | | | | Node metadata in disco initially added in b6cb0a8f75b1 | ||||
* | mod_pep: Remove feature for persistence already added elsewere | Kim Alvefur | 2018-08-18 | 1 | -1/+0 |
| | | | | This is added in pubsub.lib | ||||
* | mod_pep: Remove already included access model feature | Kim Alvefur | 2018-08-18 | 1 | -1/+0 |
| | | | | access-* is added in pubsub.lib based on node defaults | ||||
* | util.pubsub: Add comment to clarify return values | Matthew Wild | 2018-08-18 | 1 | -0/+1 |
| | |||||
* | MUC: Direct PubSub queries to occupants to their real bare JID | Kim Alvefur | 2018-08-18 | 1 | -1/+2 |
| | | | | | This allows accessing PEP nodes of participants without knowing their real JIDs. | ||||
* | util.time: Add brief tests | Kim Alvefur | 2018-08-18 | 1 | -0/+31 |
| | |||||
* | MUC: Fix traceback when failing to restore a room | Matthew Wild | 2018-08-17 | 1 | -0/+3 |
| | | | | | When a room exists in the DB but cannot be loaded (e.g. due to max_rooms or a pre-restore handler) restore_room()/get_room_from_jid() returns false. | ||||
* | MUC: Pass missing argument to log message | Kim Alvefur | 2018-08-17 | 1 | -1/+1 |
| | |||||
* | mod_pep: Respect setting for whether to include payload in notifications | Kim Alvefur | 2018-08-16 | 1 | -0/+5 |
| | |||||
* | mod_pep: Respect settings for which kinds of notifications to send | Kim Alvefur | 2018-08-16 | 1 | -1/+6 |
| | |||||
* | mod_pubsub: Add support for thin notifications (without the full payload) | Kim Alvefur | 2018-08-16 | 2 | -0/+10 |
| | |||||
* | mod_pubsub: Only attach publisher on normal "item" broadcasts | Kim Alvefur | 2018-08-16 | 1 | -2/+4 |
| | | | | The 'publisher' is only on <item> in the schema. | ||||
* | mod_pubsub: Use the correct form field | Kim Alvefur | 2018-08-16 | 1 | -3/+3 |
| | |||||
* | mod_pubsub: Specify defaults for notification settings | Kim Alvefur | 2018-08-16 | 1 | -0/+3 |
| | |||||
* | mod_pubsub: Make notification of item retraction configurable | Kim Alvefur | 2018-08-16 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Make notification of node deletion configurable | Kim Alvefur | 2018-08-16 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Add support for "quiet nodes" (disabling notifications) | Kim Alvefur | 2018-08-16 | 1 | -0/+7 |
| | |||||
* | mod_pubsub: Prepare to support turning notifications off for each kind of ↵ | Kim Alvefur | 2018-08-16 | 1 | -0/+5 |
| | | | | broadcast | ||||
* | mod_pubsub: Add payload type metadata field | Kim Alvefur | 2018-08-13 | 1 | -0/+12 |
| | |||||
* | util.pubsub: Pass "retract" as the type of such broadcasts | Kim Alvefur | 2018-08-16 | 3 | -1/+8 |
| | | | | | | | | This moves some XEP-0060 awkwardness out of util.pubsub and into mod_pubsub A retraction is broadcast in an <items> container, whereas most other kinds of broadcasts are in a container with a name matching the 'kind' attribute. | ||||
* | util.pubsub: Silence warnings in tests [luacheck] | Kim Alvefur | 2018-08-16 | 1 | -1/+1 |
| | | | | Warnings introduced in c53663e13b51 according to bisect | ||||
* | util.async: Remove sleep function | Kim Alvefur | 2018-08-12 | 1 | -8/+0 |
| | | | | | Dependency on util.timer indirectly caused net.server to be initialized before the config was read, so server_select was always chosen. | ||||
* | util.pubsub tests: Add TODO | Matthew Wild | 2018-08-12 | 1 | -0/+10 |
| | |||||
* | util.pubsub tests: Add tests to confirm new access model is enforced on ↵ | Matthew Wild | 2018-08-12 | 1 | -0/+24 |
| | | | | config change | ||||
* | util.pubsub tests: Add initial node config tests | Matthew Wild | 2018-08-12 | 1 | -0/+18 |
| | |||||
* | util.pubsub tests: Extend publishing tests to check for correct notification ↵ | Matthew Wild | 2018-08-12 | 1 | -1/+13 |
| | | | | behaviour on subscribe/unsubscribe | ||||
* | util.pubsub: Allow outcasts to get their subscription status | Matthew Wild | 2018-08-12 | 1 | -0/+2 |
| | |||||
* | util.pubsub tests: Add tests for publish_model (publishers, open, subscribers) | Matthew Wild | 2018-08-12 | 1 | -6/+64 |
| |