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

    <title>prosody-modules: mod_rest/jsonmap.lib.lua history</title>
    <description>mod_rest/jsonmap.lib.lua revision history</description>
    <item>
    <title>mod_rest: Workaround lack of number coercion in util.datamapper for HTTP upload</title>
    <link>http://hg.omfa.de/prosody-modules/log/e5b5a74feb91/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Workaround lack of number coercion in util.datamapper for HTTP upload<br/>
<br/>
util.datamapper will not coerce a string into an integer like the<br/>
XEP-0363 'size' slot, which becomes a problem when using the HTTP GET<br/>
method, passing fields as ?query parameters which are always strings.]]></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, 19 Aug 2024 20:08:41 +0200</pubDate>
</item>
<item>
    <title>mod_rest: Remove manual reference expansion in schema</title>
    <link>http://hg.omfa.de/prosody-modules/log/048e339706ba/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Remove manual reference expansion in schema<br/>
<br/>
This hack was originally added to reduce the number of definitions of<br/>
common attributes (type, to, from etc) and payloads (e.g. delay). This<br/>
predated pointers and references, and until now was needed because<br/>
parsing picked out the correct stanza kind from the schema, which broke<br/>
internal references.<br/>
<br/>
Removing this hack paves the way for allowing the schema to be<br/>
configured or customized more easily.]]></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>Tue, 20 Dec 2022 21:48:28 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Treat archive.ids as comma-separated to work in query string</title>
    <link>http://hg.omfa.de/prosody-modules/log/b171ddf1bc3e/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Treat archive.ids as comma-separated to work in query string<br/>
<br/>
Can't easily put an array into a query string. Hope nobody puts commas<br/>
into their archive ids.]]></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, 21 May 2022 22:55:41 +0200</pubDate>
</item>
<item>
    <title>mod_rest: Expand mapping of XEP-0045 join stanza</title>
    <link>http://hg.omfa.de/prosody-modules/log/a85efae90e21/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Expand mapping of XEP-0045 join stanza<br/>
<br/>
The previous 'join' mapping was apparently lost in translation when<br/>
swithing to datamapper, so might as well map some properties allowing<br/>
history control. Usually you probably want either zero history or<br/>
history since the last known time of being joined. Maybe that the former<br/>
should be the default?]]></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, 30 Apr 2022 01:00:01 +0200</pubDate>
</item>
<item>
    <title>mod_rest: Add some notes about custom disco#info mapping code</title>
    <link>http://hg.omfa.de/prosody-modules/log/77b7e1322281/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add some notes about custom disco#info mapping code]]></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, 17 Apr 2022 12:51:45 +0200</pubDate>
</item>
<item>
    <title>mod_rest: Move most of XEP-0432 handling into JSON mapping schema</title>
    <link>http://hg.omfa.de/prosody-modules/log/3dc8e329d233/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Move most of XEP-0432 handling into JSON mapping schema<br/>
<br/>
The pre- and post-processing is still needed to encode/decode the JSON<br/>
since util.datamapper can't (currently) do this.]]></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>Thu, 07 Apr 2022 15:39:57 +0200</pubDate>
</item>
<item>
    <title>mod_rest/jsonmap: Fix indentation</title>
    <link>http://hg.omfa.de/prosody-modules/log/1d231fb827d3/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest/jsonmap: Fix indentation]]></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>Thu, 07 Apr 2022 15:39:11 +0200</pubDate>
</item>
<item>
    <title>mod_rest: Fix nested message stanzas in XEP-0297 containers</title>
    <link>http://hg.omfa.de/prosody-modules/log/f69c5a443156/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix nested message stanzas in XEP-0297 containers<br/>
<br/>
It's all a bit awkward because it doesn't normally use the whole schema<br/>
directly, but rather checks which stanza type is used and picks out that<br/>
property as a schema. Which also prevents references from working.]]></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, 29 Dec 2021 19:40:28 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Handle unknown 'kind' values</title>
    <link>http://hg.omfa.de/prosody-modules/log/f74c7c518bb2/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Handle unknown 'kind' values<br/>
<br/>
Fixes error thrown by util.datamapper if the schema argument is nil]]></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>Thu, 02 Dec 2021 16:08:40 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Map the XEP-0313 &lt;fin&gt; element to make paging work</title>
    <link>http://hg.omfa.de/prosody-modules/log/566e54a07f54/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Map the XEP-0313 &lt;fin&gt; element to make paging work]]></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>Thu, 04 Nov 2021 20:18:02 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Imply type=set for archive queries</title>
    <link>http://hg.omfa.de/prosody-modules/log/88f5e12c8351/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Imply type=set for archive queries<br/>
<br/>
This is what makes GET /archive/{to} do the query instead of retrieve<br/>
the form only.]]></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>Thu, 04 Nov 2021 20:17:07 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Stop search when an implied type is determined</title>
    <link>http://hg.omfa.de/prosody-modules/log/f478855f4565/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Stop search when an implied type is determined<br/>
<br/>
Optimization only, as the iteration order is undefined. And not much<br/>
since there's not that many entries in the implied_types map.]]></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>Thu, 04 Nov 2021 20:13:43 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Add some convenience mapping to make MAM queries easier</title>
    <link>http://hg.omfa.de/prosody-modules/log/0a501df823fd/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add some convenience mapping to make MAM queries easier]]></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>Thu, 04 Nov 2021 20:04:13 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Add support for mapping of XEP-0313 query iqs</title>
    <link>http://hg.omfa.de/prosody-modules/log/b7df2c61a144/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add support for mapping of XEP-0313 query iqs]]></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>Thu, 04 Nov 2021 20:03:36 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Add JSON mapping of XEP-0313 archive result container</title>
    <link>http://hg.omfa.de/prosody-modules/log/755dd83e9214/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add JSON mapping of XEP-0313 archive result container]]></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, 27 Oct 2021 20:54:54 +0200</pubDate>
</item>
<item>
    <title>mod_rest: Add recursive properties of XEP-0297 forwarded container</title>
    <link>http://hg.omfa.de/prosody-modules/log/607cac9b9393/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add recursive properties of XEP-0297 forwarded container<br/>
<br/>
Let's pray nobody invents a way to loop stanza references as well.]]></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, 27 Oct 2021 20:45:28 +0200</pubDate>
</item>
<item>
    <title>mod_rest: Apply JSON mapping to items in &lt;xmpp&gt; container (e.g. MAM results etc)</title>
    <link>http://hg.omfa.de/prosody-modules/log/d71beacaec3b/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Apply JSON mapping to items in &lt;xmpp&gt; container (e.g. MAM results etc)]]></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, 27 Oct 2021 20:43:17 +0200</pubDate>
</item>
<item>
    <title>mod_rest: Restore 'kind' property in JSON-mapped objects</title>
    <link>http://hg.omfa.de/prosody-modules/log/b68b801ddc50/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Restore 'kind' property in JSON-mapped objects<br/>
<br/>
The datamapper schema has no 'kind' field, instead handling it as a<br/>
top-level property of the currently unused &lt;xmpp&gt; element and doing this<br/>
early dispatch on the top level element name.<br/>
<br/>
This puts the field back into the output JSON.]]></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>Tue, 23 Mar 2021 17:44:49 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Convert XEP-0039 to datamapping</title>
    <link>http://hg.omfa.de/prosody-modules/log/ea1fd703bb27/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Convert XEP-0039 to datamapping]]></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, 22 Mar 2021 00:21:27 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Replace most mappings by using util.datamapper</title>
    <link>http://hg.omfa.de/prosody-modules/log/073f5397c1d2/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Replace most mappings by using util.datamapper<br/>
<br/>
All the stuff now goes into a JSON file that describes the mappings.]]></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, 21 Mar 2021 23:54:06 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix tag name in parsing of OOB payloads</title>
    <link>http://hg.omfa.de/prosody-modules/log/42f43f1383db/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix tag name in parsing of OOB payloads<br/>
<br/>
... and there too]]></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, 07 Mar 2021 01:35:43 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix the OOB tag name which also differs in messages</title>
    <link>http://hg.omfa.de/prosody-modules/log/34c0f760f34a/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix the OOB tag name which also differs in messages]]></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, 07 Mar 2021 01:30:42 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Change OOB namespace to the one used in messages</title>
    <link>http://hg.omfa.de/prosody-modules/log/8e644bf36627/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Change OOB namespace to the one used in messages<br/>
<br/>
Because of it's current popularity as companion to HTTP Upload this is<br/>
probably more useful than the iq one.]]></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, 07 Mar 2021 01:26:20 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Roundtrip disco and items when string or boolean is used</title>
    <link>http://hg.omfa.de/prosody-modules/log/3b50a9a75fb6/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Roundtrip disco and items when string or boolean is used<br/>
<br/>
E.g. {disco:true} turns to &lt;query/&gt; and back to {disco:true}, same with<br/>
{items:true}. Similarily, {disco:&quot;node&quot;}, {items:&quot;node&quot;} turn into<br/>
&lt;query node=&quot;node&quot;/&gt; and back.]]></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, 26 Feb 2021 22:05:25 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix json-mapping stanzas with text or whitespace between tags</title>
    <link>http://hg.omfa.de/prosody-modules/log/78de3c7acf58/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix json-mapping stanzas with text or whitespace between tags<br/>
<br/>
Test:<br/>
	jsonmap.st2json( st.message({}, &quot;hi&quot;):indent() )]]></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, 22 Jan 2021 15:19:53 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Optimize stanza to JSON mapping</title>
    <link>http://hg.omfa.de/prosody-modules/log/e8b9228b5265/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Optimize stanza to JSON mapping<br/>
<br/>
From O(#field_mappings ^ #s.tags) to O(#s.tags)<br/>
<br/>
Haven't actually benchmarked...]]></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, 16 Dec 2020 22:07:09 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix attempt at indexing nil if an error stanza is missing &lt;error&gt;</title>
    <link>http://hg.omfa.de/prosody-modules/log/d33b480befcb/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix attempt at indexing nil if an error stanza is missing &lt;error&gt;]]></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, 15 Nov 2020 16:31:08 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Map xml:lang to/from JSON</title>
    <link>http://hg.omfa.de/prosody-modules/log/270cd50852be/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Map xml:lang to/from JSON]]></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, 29 May 2020 12:04:04 +0200</pubDate>
</item>
<item>
    <title>mod_rest/jsonmap: Derive stanza @type from certain payloads</title>
    <link>http://hg.omfa.de/prosody-modules/log/1925d63eec6b/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest/jsonmap: Derive stanza @type from certain payloads<br/>
<br/>
Because I forget type=set every single time with ad-hoc commands.]]></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, 16 May 2020 18:30:01 +0200</pubDate>
</item>
<item>
    <title>mod_rest: Add JSON mapping of XEP-0128: Service Discovery Extensions</title>
    <link>http://hg.omfa.de/prosody-modules/log/2c6d5734ae04/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add JSON mapping of XEP-0128: Service Discovery Extensions<br/>
<br/>
Example XEP-0157 payload:<br/>
<br/>
{<br/>
   &quot;disco&quot; : {<br/>
      &quot;extensions&quot; : {<br/>
         &quot;http://jabber.org/network/serverinfo&quot; : {<br/>
            &quot;abuse-addresses&quot; : [<br/>
               &quot;mailto:abuse@shakespeare.lit&quot;,<br/>
               &quot;xmpp:abuse@shakespeare.lit&quot;<br/>
            ],<br/>
            &quot;admin-addresses&quot; : [<br/>
               &quot;mailto:admin@shakespeare.lit&quot;,<br/>
               &quot;xmpp:admin@shakespeare.lit&quot;<br/>
            ],<br/>
            &quot;feedback-addresses&quot; : [<br/>
               &quot;http://shakespeare.lit/feedback.php&quot;,<br/>
               &quot;mailto:feedback@shakespeare.lit&quot;,<br/>
               &quot;xmpp:feedback@shakespeare.lit&quot;<br/>
            ],<br/>
            &quot;sales-addresses&quot; : [<br/>
               &quot;xmpp:bard@shakespeare.lit&quot;<br/>
            ],<br/>
            &quot;security-addresses&quot; : [<br/>
               &quot;xmpp:security@shakespeare.lit&quot;<br/>
            ],<br/>
            &quot;support-addresses&quot; : [<br/>
               &quot;http://shakespeare.lit/support.php&quot;,<br/>
               &quot;xmpp:support@shakespeare.lit&quot;<br/>
            ]<br/>
         }<br/>
      }<br/>
   }<br/>
}]]></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, 23 Mar 2020 19:03:04 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix encoding of simple dataforms</title>
    <link>http://hg.omfa.de/prosody-modules/log/8b34222216f4/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix encoding of simple dataforms]]></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, 07 Mar 2020 21:58:13 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Add JSON mapping of XEP-0039: Statistics Gathering</title>
    <link>http://hg.omfa.de/prosody-modules/log/3c3d216c6f6d/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add JSON mapping of XEP-0039: Statistics Gathering]]></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, 28 Feb 2020 22:38:41 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Move dataforms into structure for more logical code order</title>
    <link>http://hg.omfa.de/prosody-modules/log/ea59c9455f93/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Move dataforms into structure for more logical code order<br/>
<br/>
Needs that `local x; x = ...` trick to make the mapping table be in<br/>
scope for all the inner functions.]]></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, 28 Feb 2020 22:24:49 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix another missing switch from array to map in json mapping</title>
    <link>http://hg.omfa.de/prosody-modules/log/1df4900bbd29/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix another missing switch from array to map in json mapping]]></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, 26 Feb 2020 20:51:38 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Update with namespace and name of XEP-0432</title>
    <link>http://hg.omfa.de/prosody-modules/log/d5ecb9b9cb3b/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Update with namespace and name of XEP-0432]]></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>Tue, 25 Feb 2020 23:33:55 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix traceback in mapping of adhoc with forms</title>
    <link>http://hg.omfa.de/prosody-modules/log/dbebc9226597/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix traceback in mapping of adhoc with forms<br/>
<br/>
Missed this in 987b203bb091]]></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>Tue, 25 Feb 2020 23:30:07 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Restructure JSON / Stanza mapping definitions</title>
    <link>http://hg.omfa.de/prosody-modules/log/987b203bb091/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Restructure JSON / Stanza mapping definitions<br/>
<br/>
It was a pain to remember which index had the mapping function for which<br/>
direction. This is more readable.]]></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, 22 Feb 2020 14:08:19 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Rename loop variable for improved clarity</title>
    <link>http://hg.omfa.de/prosody-modules/log/25a3ad36ef3e/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Rename loop variable for improved clarity]]></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, 22 Feb 2020 13:51:59 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Rename table of mappings</title>
    <link>http://hg.omfa.de/prosody-modules/log/14a32224900c/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Rename table of mappings<br/>
<br/>
The later items aren't very simple.]]></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, 22 Feb 2020 13:35:58 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Support mapping XEP-0004 Data Forms directly</title>
    <link>http://hg.omfa.de/prosody-modules/log/59765d1bb6dc/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Support mapping XEP-0004 Data Forms directly]]></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, 08 Feb 2020 14:38:23 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Allow passing form data in a more compact format</title>
    <link>http://hg.omfa.de/prosody-modules/log/04ea96a0488d/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Allow passing form data in a more compact format]]></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, 07 Feb 2020 22:30:38 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Ignore already handled top-level stanza attr fields</title>
    <link>http://hg.omfa.de/prosody-modules/log/b64b08b7bf8e/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Ignore already handled top-level stanza attr fields<br/>
<br/>
Prevents the check in 1ec45dbc7db5 from returning an error for these<br/>
fields that aren't handled in that loop.]]></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, 07 Feb 2020 20:53:57 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Return an error for unknown fields in JSON input</title>
    <link>http://hg.omfa.de/prosody-modules/log/1ec45dbc7db5/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Return an error for unknown fields in JSON input<br/>
<br/>
Helps you discover typos and such.]]></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, 07 Feb 2020 20:49:07 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Add final pieces of XEP-0050 (actions, note, form)</title>
    <link>http://hg.omfa.de/prosody-modules/log/5d7df207dc2b/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add final pieces of XEP-0050 (actions, note, form)<br/>
<br/>
Forgot to add in a previous commit.]]></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>Tue, 04 Feb 2020 23:05:43 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Add JSON to XML mapping of dataforms</title>
    <link>http://hg.omfa.de/prosody-modules/log/44c2d36c40a4/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add JSON to XML mapping of dataforms]]></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>Tue, 04 Feb 2020 22:34:19 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Add JSON mapping for dataform (XEP-0004)</title>
    <link>http://hg.omfa.de/prosody-modules/log/9a3dfe0bf9fd/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add JSON mapping for dataform (XEP-0004)]]></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>Tue, 04 Feb 2020 22:06:19 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Add basic support for XEP-0050: Ad-Hoc commands (no forms)</title>
    <link>http://hg.omfa.de/prosody-modules/log/562b34050561/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add basic support for XEP-0050: Ad-Hoc commands (no forms)<br/>
<br/>
This allows calling simple commands like the one provided by mod_uptime]]></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>Tue, 04 Feb 2020 21:49:14 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Support passing 'node' attr in disco#items queries</title>
    <link>http://hg.omfa.de/prosody-modules/log/93f71ab6cb00/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Support passing 'node' attr in disco#items queries<br/>
<br/>
But only in queries. Should be fine if you can't include it in responses<br/>
since the requester should remember what node they asked for.]]></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>Tue, 04 Feb 2020 21:04:02 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Map the error@by attribute</title>
    <link>http://hg.omfa.de/prosody-modules/log/e5d08bb58155/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Map the error@by attribute]]></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, 01 Feb 2020 00:38:10 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix missing return</title>
    <link>http://hg.omfa.de/prosody-modules/log/3261a82884bb/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix missing return]]></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, 29 Jan 2020 21:44:00 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Avoid treating special json.null value as any other table</title>
    <link>http://hg.omfa.de/prosody-modules/log/9752a6f1b9f3/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Avoid treating special json.null value as any other table]]></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, 25 Jan 2020 02:06:07 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix handling of 'node' attribute in disco#info</title>
    <link>http://hg.omfa.de/prosody-modules/log/da3a0f055526/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix handling of 'node' attribute in disco#info<br/>
<br/>
This way also ensures it's covered by type checks in util.stanza]]></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, 25 Jan 2020 02:03:30 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Make XHTML-IM mapping more convenient</title>
    <link>http://hg.omfa.de/prosody-modules/log/8bdb1729529b/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Make XHTML-IM mapping more convenient<br/>
<br/>
Avoid burdening web developers with XML namespace attribute<br/>
<br/>
Might be a bit fragile<br/>
<br/>
Note that the &lt;body&gt; element must be included]]></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, 25 Jan 2020 00:46:09 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Improve some comments</title>
    <link>http://hg.omfa.de/prosody-modules/log/0e1e900577c4/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Improve some comments]]></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, 25 Jan 2020 00:43:28 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Add mapping of XEP-0092: Software Version</title>
    <link>http://hg.omfa.de/prosody-modules/log/25c34c9f755c/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Add mapping of XEP-0092: Software Version]]></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, 25 Jan 2020 00:40:38 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Allow returning an array of JID strings as disco#items</title>
    <link>http://hg.omfa.de/prosody-modules/log/66f96b98d219/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Allow returning an array of JID strings as disco#items]]></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, 25 Jan 2020 00:30:14 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Only pass trough valid disco#item item attributes</title>
    <link>http://hg.omfa.de/prosody-modules/log/8dbca6a93988/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Only pass trough valid disco#item item attributes]]></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, 25 Jan 2020 00:29:34 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix disco#info identities data mapping</title>
    <link>http://hg.omfa.de/prosody-modules/log/8d13b9c9ba75/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix disco#info identities data mapping<br/>
<br/>
It should now handle the same format it produces.]]></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, 25 Jan 2020 00:20:00 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix iteration over disco#info features</title>
    <link>http://hg.omfa.de/prosody-modules/log/11c34e97fe1a/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix iteration over disco#info features]]></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, 25 Jan 2020 00:19:11 +0100</pubDate>
</item>
<item>
    <title>mod_rest: Fix iteration over disco#info identities</title>
    <link>http://hg.omfa.de/prosody-modules/log/1b9834500123/mod_rest/jsonmap.lib.lua</link>
    <description><![CDATA[mod_rest: Fix iteration over disco#info identities]]></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, 25 Jan 2020 00:17:44 +0100</pubDate>
</item>

  </channel>
</rss>
