<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://hg.omfa.de/prosody-hg/</link>
    <language>en-us</language>

    <title>prosody-hg: plugins/muc/register.lib.lua history</title>
    <description>plugins/muc/register.lib.lua revision history</description>
    <item>
    <title>MUC: Add basic &quot;GC3&quot; participant (affiliation) list fetch</title>
    <link>http://hg.omfa.de/prosody-hg/log/356c8ec22e9a/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Add basic &quot;GC3&quot; participant (affiliation) list fetch<br/>
<br/>
RSM version currently held back until a planned restructuring of how we<br/>
store affiliations in MUC. This is because RSM needs a stable ordered list,<br/>
which we don't currently have.]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 26 Jun 2025 15:17:57 +0100</pubDate>
</item>
<item>
    <title>MUC: Don't allow self-registration into members-only MUCs when unaffiliated registration enabled</title>
    <link>http://hg.omfa.de/prosody-hg/log/827a4cfd3fad/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Don't allow self-registration into members-only MUCs when unaffiliated registration enabled]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 26 Jun 2025 15:13:29 +0100</pubDate>
</item>
<item>
    <title>MUC: Fix nickname registration form error handling (fixes #1930)</title>
    <link>http://hg.omfa.de/prosody-hg/log/9eee04a95a25/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Fix nickname registration form error handling (fixes #1930)<br/>
<br/>
`dataform:data()` always returns the first table of collected values,<br/>
even if there are errors, so checking for its absence did not detect<br/>
when a required field (the only field, nickname) was missing.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Mon, 05 May 2025 16:32:45 +0200</pubDate>
</item>
<item>
    <title>muc.register: Clarify what's going on when enforcing nicknames</title>
    <link>http://hg.omfa.de/prosody-hg/log/b73547cfd736/plugins/muc/register.lib.lua</link>
    <description><![CDATA[muc.register: Clarify what's going on when enforcing nicknames<br/>
<br/>
Does this make it clearer what is going on?]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 03 Nov 2023 21:13:34 +0100</pubDate>
</item>
<item>
    <title>plugins: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/74b9e05af71e/plugins/muc/register.lib.lua</link>
    <description><![CDATA[plugins: Prefix module imports with prosody namespace]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Fri, 24 Mar 2023 13:15:28 +0100</pubDate>
</item>
<item>
    <title>MUC: Remove &lt;{muc}x&gt; tags in some errors</title>
    <link>http://hg.omfa.de/prosody-hg/log/631b2afa7bc1/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Remove &lt;{muc}x&gt; tags in some errors<br/>
<br/>
Including the payload of the stanza that caused the error is optional<br/>
and we're generally not doing it anywhere else.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 08 Dec 2021 21:55:25 +0100</pubDate>
</item>
<item>
    <title>MUC: Fix error origin JID in wrong argument position</title>
    <link>http://hg.omfa.de/prosody-hg/log/9ab202e942f5/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Fix error origin JID in wrong argument position<br/>
<br/>
Mistake introduced in cbe524ed1a6a.  Removing because this is a query to<br/>
the bare JID where the error origin matches the resulting stanza 'from'.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Wed, 08 Dec 2021 21:06:16 +0100</pubDate>
</item>
<item>
    <title>MUC: Add option to include form in registration query</title>
    <link>http://hg.omfa.de/prosody-hg/log/ba3344926e18/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Add option to include form in registration query<br/>
<br/>
This was originally not done based on my interpretation of XEP-0045. Today's<br/>
reading, however, revealed that it actually says the result<br/>
<br/>
&gt; SHOULD contain **at least** a &lt;username/&gt; element<br/>
<br/>
(emphasis mine)<br/>
<br/>
I take this to mean that including a form **is** allowed (and I think this is<br/>
sensible). Tigase already includes the form I believe.<br/>
<br/>
I've gated the new behaviour behind a (default off) option, because it hasn't<br/>
been tested for compatibility with clients. My primary desire for it is in<br/>
Snikket, where the clients will be tested to ensure compatibility with this.<br/>
<br/>
I don't anticipate that (m)any clients would break, so maybe after 0.12 we can<br/>
experiment with enabling it by default and eventually remove the option.]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 15 Nov 2021 16:11:03 +0000</pubDate>
</item>
<item>
    <title>MUC: Allow modules to add to the room registration form, and handle the result</title>
    <link>http://hg.omfa.de/prosody-hg/log/336cba957c88/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Allow modules to add to the room registration form, and handle the result]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 15 Jan 2021 18:42:45 +0000</pubDate>
</item>
<item>
    <title>MUC: Enforce strict resourceprep when registering room nicknames</title>
    <link>http://hg.omfa.de/prosody-hg/log/4585fe53e21f/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Enforce strict resourceprep when registering room nicknames<br/>
<br/>
If nickname enforcement is enabled this would otherwise let you bypass<br/>
the join check in muc.lib by registering an invalid nickname and then<br/>
joining with any nickname, letting register.lib change it to the invalid<br/>
registered nick.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 02 May 2020 20:12:41 +0200</pubDate>
</item>
<item>
    <title>MUC: Indicate origin of registration related errors</title>
    <link>http://hg.omfa.de/prosody-hg/log/cbe524ed1a6a/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Indicate origin of registration related errors]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Mon, 25 Nov 2019 23:51:41 +0100</pubDate>
</item>
<item>
    <title>MUC: Make nickname field in registration form required</title>
    <link>http://hg.omfa.de/prosody-hg/log/51ea82f55322/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Make nickname field in registration form required<br/>
<br/>
Prevents traceback from resourceprep(nil)<br/>
<br/>
muc#register_roomnick is also required in XEP-0045]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sat, 02 Nov 2019 14:22:06 +0100</pubDate>
</item>
<item>
    <title>Merge 0.11-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/7651b80aaec3/plugins/muc/register.lib.lua</link>
    <description><![CDATA[Merge 0.11-&gt;trunk]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 20 Oct 2019 16:37:04 +0200</pubDate>
</item>
<item>
    <title>MUC: Validate registration dataform more carefully</title>
    <link>http://hg.omfa.de/prosody-hg/log/dab2a7a82170/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Validate registration dataform more carefully]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 20 Oct 2019 14:54:57 +0200</pubDate>
</item>
<item>
    <title>MUC: Don't advertise registration feature on host JID (fixes #1451)</title>
    <link>http://hg.omfa.de/prosody-hg/log/4e406944ff85/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Don't advertise registration feature on host JID (fixes #1451)<br/>
<br/>
There is currently no mention in XEP-0045 of how or where to advertise<br/>
support for registration.<br/>
<br/>
Advertising on the host JID may be confusable with service-wide<br/>
registration, as implemented in ejabberd.<br/>
<br/>
A common and sensible pattern in XMPP is that a feature is advertised on<br/>
the JID where the service is available.]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 20 Oct 2019 01:20:11 +0200</pubDate>
</item>
<item>
    <title>MUC: Simplify nickname refresh loop</title>
    <link>http://hg.omfa.de/prosody-hg/log/9bdd9b6bf362/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Simplify nickname refresh loop<br/>
<br/>
Affiliation data is passed as a loop variable so no need to retrieve it]]></description>
    <author>&#75;&#105;&#109;&#32;&#65;&#108;&#118;&#101;&#102;&#117;&#114;&#32;&#60;&#122;&#97;&#115;&#104;&#64;&#122;&#97;&#115;&#104;&#46;&#115;&#101;&#62;</author>
    <pubDate>Sun, 25 Aug 2019 21:31:04 +0200</pubDate>
</item>
<item>
    <title>MUC: If a user with an existing affiliation registers, preserve that affiliation (thanks jc)</title>
    <link>http://hg.omfa.de/prosody-hg/log/2d71040a959f/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: If a user with an existing affiliation registers, preserve that affiliation (thanks jc)]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 13 Sep 2018 14:46:24 +0100</pubDate>
</item>
<item>
    <title>MUC: Move comment for clarity</title>
    <link>http://hg.omfa.de/prosody-hg/log/37b7cf3470f1/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Move comment for clarity]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Tue, 04 Sep 2018 11:57:41 +0100</pubDate>
</item>
<item>
    <title>MUC: Add support for registering with a MUC, including reserving a nickname as per XEP-0045</title>
    <link>http://hg.omfa.de/prosody-hg/log/f9a83aca4421/plugins/muc/register.lib.lua</link>
    <description><![CDATA[MUC: Add support for registering with a MUC, including reserving a nickname as per XEP-0045]]></description>
    <author>&#77;&#97;&#116;&#116;&#104;&#101;&#119;&#32;&#87;&#105;&#108;&#100;&#32;&#60;&#109;&#119;&#105;&#108;&#100;&#49;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 03 Sep 2018 12:26:25 +0100</pubDate>
</item>

  </channel>
</rss>
