aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util.dataforms: Add a simple function for identifying form typesKim Alvefur2018-06-022-0/+25
| | | | | This is meant to allow identifying forms without parsing them completely.
* util.dataforms: Remove string conversion to let util.stanza validate typesKim Alvefur2018-06-021-4/+4
|
* util.dataforms: Add initial testsKim Alvefur2018-06-021-0/+305
| | | | | This covers basic form generation, that the fields have the correct attributes, children and text content.
* MUC: Correctly use a multiple options field for requested role (thanks jonasw)Kim Alvefur2018-06-021-1/+7
|
* MUC: Handle and return error in role change when granting voiceKim Alvefur2018-06-011-2/+7
|
* MUC: Add some debug logging for voice requestsKim Alvefur2018-06-012-0/+7
|
* MUC: Invert final conditional to be consistent with the other if statementsKim Alvefur2018-06-011-2/+4
|
* MUC: Get acting occupant into a local variable for easier accessKim Alvefur2018-06-011-1/+2
|
* MUC: Use util.jid.resourceKim Alvefur2018-06-011-4/+5
|
* CHANGES: Mention voice requestKim Alvefur2018-02-191-0/+1
|
* MUC: Split out the nickname from the full room JID in voice request fromKim Alvefur2017-10-211-1/+3
|
* MUC: Reuse the same dataform for voice requestsKim Alvefur2017-10-202-36/+14
|
* MUC: Ignore unused argumens [luacheck]Kim Alvefur2017-10-202-2/+2
|
* MUC: Support MUC voice requests and approvals in moderated rooms (closes ↵Kim Alvefur2017-10-202-0/+119
| | | | #655) (thanks to Lance Stout)
* MUC: Include a human-readable error message when not allowed to change subjectKim Alvefur2018-06-011-1/+1
|
* MUC: Advertise room subject in disco#infoKim Alvefur2018-06-011-0/+7
|
* MUC: Advertise in whether participants are allowed to change the subject (#1155)Kim Alvefur2018-06-011-0/+8
|
* Merge 0.10->trunkMatthew Wild2018-05-301-2/+9
|\
| * Merge 0.9->0.10Matthew Wild2018-05-301-2/+9
| |\
| | * Added tag 0.9.14 for changeset 29c6d2681badMatthew Wild2018-05-300-0/+0
| | |
| | * mod_c2s: Do not allow the stream 'to' to change across stream restarts ↵Kim Alvefur2018-05-251-2/+9
| | | | | | | | | | | | (fixes #1147)
* | | Merge 0.10->trunkMatthew Wild2018-05-301-0/+1
|\| |
| * | MUC: Revert unstable MUC commits since 0.10.1Matthew Wild2018-05-301-256/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These have caused too many issue reports to be included in the stable branch at this time. Affected issues: #345, #397 Reverted commits: dcd53a565c01 6d4b0895f76d 1b10802a770e 564e897f0790 a7221ada9368 aaff40ec7001 05a3275b6873 c2b99fa134b3 8da11142fabf
| * | MUC: Fix error logged when no persistent rooms presentMatthew Wild2018-05-301-2/+5
| | |
| * | mod_bosh: Store the normalized hostname on session (fixes #1151)Kim Alvefur2018-05-301-1/+1
| | |
| * | MUC: Handle setting default history messages when history length is unset ↵Kim Alvefur2018-05-291-1/+1
| | | | | | | | | | | | (thanks tmolitor)
| * | MUC: ensure that x/item/@jid is always a bare JIDJonas Wielicki2018-05-171-2/+2
| | |
| * | MUC: correctly emit <status/> tagsJonas Wielicki2018-05-171-1/+1
| | |
| * | MUC: reject non-bare JIDs in set_affiliation requests with not-acceptableJonas Wielicki2018-05-171-0/+3
| | |
| * | MUC: fix set_role invocationJonas Wielicki2018-05-171-4/+5
| | |
| * | mod_disco: Skip code specific to disco on user accounts (avoids invoking ↵Kim Alvefur2018-05-281-0/+1
| | | | | | | | | | | | usermanager, fixes #1150)
* | | MUC: Add support for setting a room language (closes #1149)Kim Alvefur2018-05-302-0/+54
| | |
* | | mod_muc_mam: Set status code 170/171 on archiving configuration changeKim Alvefur2018-05-291-0/+1
| | |
* | | MUC: Some spacing to improve readabilityKim Alvefur2018-05-261-0/+1
| | |
* | | MUC: Pass description via formdata field where it should beKim Alvefur2018-05-261-1/+2
| | |
* | | MUC: Use correct field name for description in disco#info (fixes #1148)Kim Alvefur2018-05-261-1/+9
| | | | | | | | | | | | Introduced in c3254827698d
* | | Merge 0.10->trunkKim Alvefur2018-05-251-1/+1
|\| |
| * | core.certmanager: Allow all non-whitespace in service name (fixes #1019)Kim Alvefur2018-05-251-1/+1
| | |
* | | mod_pubsub: Add support for parsing subscription options form (no options ↵Kim Alvefur2018-05-231-3/+9
| | | | | | | | | | | | | | | | | | | | | supported yet) This was actually to silence luacheck warnings options andoptions_tag variables.
* | | mod_pubsup: Ignore unused 'self' argument [luacheck]Kim Alvefur2018-05-231-1/+1
| | |
* | | .luacheckrc: Remove mod_pubsub/pubsub.lib.lua from files excluded from checksKim Alvefur2018-05-231-1/+0
| | |
* | | Backed out changeset bf91de890107: It did not have the intended effectcKim Alvefur2018-05-231-1/+1
| | |
* | | mod_pubsub: Fix syntax errorKim Alvefur2018-05-231-0/+1
| | |
* | | .luacheckrc: Only ignore warnings for excluded files, not syntax errorsKim Alvefur2018-05-231-1/+4
| | |
* | | Merge 0.10->trunkKim Alvefur2018-05-221-1/+1
|\| |
| * | mod_c2s: Avoid concatenating potential nil value (fixes #753)Kim Alvefur2018-05-221-1/+1
| | |
* | | MUC: Add support for an optional hard limit on number of rooms (fixes #766)Kim Alvefur2018-05-221-1/+8
| | |
* | | spec/util_pubsub: Test whether someone can subscribe to a nodeKim Alvefur2018-05-201-1/+13
| | | | | | | | | | | | Test fails because of missing normalize_jid
* | | util.pubsub: Also check for affiliation set on bare JIDKim Alvefur2018-05-221-1/+2
| | | | | | | | | | | | | | | This fixes eg publishing from a full JID when the affiliation has been set on the bare JID, as would be common in XMPP.
* | | mod_pubsub: Add support for generation of a plain text <body> from Atom payloadsKim Alvefur2018-05-212-0/+27
| | | | | | | | | | | | See https://xmpp.org/extensions/xep-0060.html#impl-body