aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MUC: Add support for storing additional data with MUC affiliationsMatthew Wild2018-09-032-3/+16
| | | | | | XEP-0045 registration provides examples of registering a nickname and various other details. This also allows modules to store arbitrary private data about an affiliated entity.
* util.pubsub: Expand comment on return type from get_itemsKim Alvefur2018-09-011-1/+1
|
* mod_pubsub: Preserve current subscription options if given a partial formKim Alvefur2018-08-311-1/+2
|
* mod_pubsub: Fix summary generation for Atom entries to use the correct fieldKim Alvefur2018-08-311-1/+1
|
* util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation ↵Kim Alvefur2018-08-311-0/+16
| | | | for completeness
* util.pubsub: Comments describing the return values of methodsKim Alvefur2018-08-221-19/+19
|
* prosodyctl: Also look for options that belong in global section under ↵Kim Alvefur2018-08-301-1/+4
| | | | | | disabled hosts (fixes #1207) Thanks ivucica
* util.pubsub: Add 'service' field to all eventsMatthew Wild2018-08-271-7/+7
|
* mod_version: Remove redundantKim Alvefur2018-08-241-4/+2
| | | | What else would @to be in a iq/host event?
* mod_private, mod_vcard: Use the usual comment on non-get received iqs.Emmanuel Gil Peyrot2018-08-242-2/+2
|
* mod_version: Simplify iq handling by hooking on iq-get/ instead of iq/.Emmanuel Gil Peyrot2018-08-241-2/+2
|
* mod_uptime: Simplify iq handling by hooking on iq-get/ instead of iq/.Emmanuel Gil Peyrot2018-08-241-5/+3
|
* mod_time: Simplify iq handling by hooking on iq-get/ instead of iq/.Emmanuel Gil Peyrot2018-08-241-15/+11
|
* 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
|