aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mod_lastactivity: Simplify iq handling by hooking on iq-get/ instead of iq/.Emmanuel Gil Peyrot2018-08-241-13/+11
|
* mod_disco: Simplify iq handling by hooking on iq-get/ instead of iq/.Emmanuel Gil Peyrot2018-08-241-8/+4
|
* mod_adhoc: Simplify iq handling by hooking on iq-set/ instead of iq/.Emmanuel Gil Peyrot2018-08-241-20/+18
|
* MUC: Normalize indentationKim Alvefur2018-08-221-3/+3
|
* util.pubsub: Remove unused argumentKim Alvefur2018-08-211-1/+1
| | | | I think this was probably a copy-paste mistake.
* mod_vcard: Remove 0.8 COMPAT codeMatthew Wild2018-08-191-6/+0
|
* util.pubsub: Fire item-published/<node> to allow for easier handling of ↵Matthew Wild2018-08-191-1/+3
| | | | per-node items
* util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981Matthew Wild2018-08-192-0/+13
|
* util.stanza tests: Add tests for maptags() methodMatthew Wild2018-08-191-0/+71
|
* net.server: Throw error when loading outside Prosody or Prosody config not ↵Matthew Wild2018-08-191-2/+9
| | | | loaded
* util.startup: Set flag when config fully loadedMatthew Wild2018-08-191-0/+1
|
* tests: Add muc/util tests for filtering MUC elementsMatthew Wild2018-08-191-0/+35
|
* mod_pubsub: Add missing default value for deliver_payloadsKim Alvefur2018-08-191-0/+1
|
* mod_pubsub: Fix boolean value in formKim Alvefur2018-08-191-1/+1
|
* mod_pubsub: Add a semicolon for consistencyKim Alvefur2018-08-191-1/+1
|
* util.pubsub tests: Fix whitespaceKim Alvefur2018-08-181-2/+2
|
* util.pubsub tests: Add tests for get_items()Matthew Wild2018-08-181-0/+28
|
* util.pubsub, pubsub.lib: Improve error on attempt to publish invalid itemMatthew Wild2018-08-182-1/+2
|
* Pubsub: Add tests for :get_last_item() and fix for non-persistent nodesMatthew Wild2018-08-183-3/+29
|
* mod_pep: Simplify codeMatthew Wild2018-08-181-2/+1
|
* util.pubsub: Fix whitespace [luacheck]Matthew Wild2018-08-181-1/+1
|
* Backed out changeset 27d800ddc3b0 (see below)Matthew Wild2018-08-181-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 publishedMatthew Wild2018-08-181-2/+2
|
* util.pubsub: get_last_item(): Return error if node does not existMatthew Wild2018-08-181-0/+6
|
* pubsub.lib, util.pubsub: Move precondition checks to util.pubsubMatthew Wild2018-08-182-33/+20
|
* mod_pubsub: Advertise support for subscription-optionsKim Alvefur2018-08-181-1/+1
| | | | Initial support was added in d614003a82c1
* mod_pubsub: Advertise support for node meta-dataKim Alvefur2018-08-181-1/+1
| | | | Node metadata in disco initially added in b6cb0a8f75b1
* mod_pep: Remove feature for persistence already added elsewereKim Alvefur2018-08-181-1/+0
| | | | This is added in pubsub.lib
* mod_pep: Remove already included access model featureKim Alvefur2018-08-181-1/+0
| | | | access-* is added in pubsub.lib based on node defaults
* util.pubsub: Add comment to clarify return valuesMatthew Wild2018-08-181-0/+1
|
* MUC: Direct PubSub queries to occupants to their real bare JIDKim Alvefur2018-08-181-1/+2
| | | | | This allows accessing PEP nodes of participants without knowing their real JIDs.
* util.time: Add brief testsKim Alvefur2018-08-181-0/+31
|
* MUC: Fix traceback when failing to restore a roomMatthew Wild2018-08-171-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 messageKim Alvefur2018-08-171-1/+1
|
* mod_pep: Respect setting for whether to include payload in notificationsKim Alvefur2018-08-161-0/+5
|
* mod_pep: Respect settings for which kinds of notifications to sendKim Alvefur2018-08-161-1/+6
|
* mod_pubsub: Add support for thin notifications (without the full payload)Kim Alvefur2018-08-162-0/+10
|
* mod_pubsub: Only attach publisher on normal "item" broadcastsKim Alvefur2018-08-161-2/+4
| | | | The 'publisher' is only on <item> in the schema.
* mod_pubsub: Use the correct form fieldKim Alvefur2018-08-161-3/+3
|
* mod_pubsub: Specify defaults for notification settingsKim Alvefur2018-08-161-0/+3
|
* mod_pubsub: Make notification of item retraction configurableKim Alvefur2018-08-161-0/+7
|
* mod_pubsub: Make notification of node deletion configurableKim Alvefur2018-08-161-0/+7
|
* mod_pubsub: Add support for "quiet nodes" (disabling notifications)Kim Alvefur2018-08-161-0/+7
|
* mod_pubsub: Prepare to support turning notifications off for each kind of ↵Kim Alvefur2018-08-161-0/+5
| | | | broadcast
* mod_pubsub: Add payload type metadata fieldKim Alvefur2018-08-131-0/+12
|
* util.pubsub: Pass "retract" as the type of such broadcastsKim Alvefur2018-08-163-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 Alvefur2018-08-161-1/+1
| | | | Warnings introduced in c53663e13b51 according to bisect
* util.async: Remove sleep functionKim Alvefur2018-08-121-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 TODOMatthew Wild2018-08-121-0/+10
|
* util.pubsub tests: Add tests to confirm new access model is enforced on ↵Matthew Wild2018-08-121-0/+24
| | | | config change