aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mod_pubsub: Use dataforms validation to specify that max_items is an integerKim Alvefur2018-09-011-0/+1
|
* mod_pubsub: Use field mapping in util.dataformsKim Alvefur2018-09-011-75/+30
|
* util.dataforms: Add support for XEP-0122: Data Forms ValidationKim Alvefur2018-09-012-1/+58
| | | | Initially only basic validation of xs:integer
* util.dataforms: Allow field names to be different from the 'var' attributeKim Alvefur2018-09-012-2/+17
| | | | | | This should allow the usage of long prefixes and namespace-like names to be contained to the XML representation of the form, so that the code can use more convenient names.
* configmanager: Allow referencing environment variables in the config as as ↵Matthew Wild2018-09-031-2/+5
| | | | ENV_<name>
* MUC: Add support for registering with a MUC, including reserving a nickname ↵Matthew Wild2018-09-032-0/+201
| | | | as per XEP-0045
* MUC: Add some comments for clarityMatthew Wild2018-09-031-0/+3
|
* MUC: Add support for separate events for disco#info queries with a 'node'Matthew Wild2018-09-031-7/+17
| | | | Reserved nickname discovery uses this
* 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