<?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/mod_bookmarks.lua history</title>
    <description>plugins/mod_bookmarks.lua revision history</description>
    <item>
    <title>Merge 0.12-&gt;trunk</title>
    <link>http://hg.omfa.de/prosody-hg/log/84ee435f284e/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[Merge 0.12-&gt;trunk]]></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, 08 Nov 2024 10:31:25 +0000</pubDate>
</item>
<item>
    <title>mod_bookmarks: Clarify log messages on failure to sync to modern PEP bookmarks</title>
    <link>http://hg.omfa.de/prosody-hg/log/d6545c533ce2/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Clarify log messages on failure to sync to modern PEP bookmarks<br/>
<br/>
Previously the error messages said that it failed to &quot;publish&quot; to PEP, but<br/>
sometimes a sync involves removing items, which can be confusing.<br/>
<br/>
The log was also the same for both legacy PEP and private XML bookmarks.<br/>
Having different log messages makes it easier to debug the cause and location<br/>
of any sync errors.]]></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, 08 Nov 2024 10:28:29 +0000</pubDate>
</item>
<item>
    <title>mod_bookmarks: Suppress error publishing empty legacy bookmarks w/ no PEP node</title>
    <link>http://hg.omfa.de/prosody-hg/log/1a915c2e0fa4/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Suppress error publishing empty legacy bookmarks w/ no PEP node<br/>
<br/>
It appears that when:<br/>
<br/>
1) The user has no bookmarks 2 node in PEP<br/>
2) The client publishes an empty bookmark set to a legacy bookmarks location<br/>
3) mod_bookmarks will attempt to purge items from the non-existent node and<br/>
   log an error about the failure (item-not-found).<br/>
<br/>
This new code will suppress an item-not-found error from the purge operation<br/>
in the empty-bookmarks case, and adds a log message for any other error (this<br/>
is helpful because the existing log message confusingly says it was an error<br/>
*publishing* to the node, which isn't always accurate).]]></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, 08 Nov 2024 10:24:42 +0000</pubDate>
</item>
<item>
    <title>plugins: Prefix module imports with prosody namespace</title>
    <link>http://hg.omfa.de/prosody-hg/log/74b9e05af71e/plugins/mod_bookmarks.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>mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)</title>
    <link>http://hg.omfa.de/prosody-hg/log/1832b6c9c6ed/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Reduce error about not having bookmarks to debug (thanks tom)<br/>
<br/>
This is happens if the account is new and doesn't have any bookmarks<br/>
yet, which is not a problem.<br/>
<br/>
Rarely seen since most clients currently use the older version of<br/>
XEP-0084 stored in XEP-0049 rather than in PEP, but at least one<br/>
(Converse.js )does.<br/>
<br/>
One scenario in which this would show up often is with Converse.js as a<br/>
guest chat using anonymous authentication, where all &quot;accounts&quot; would<br/>
always be new and not have any bookmarks. This scenario probably does<br/>
not need to have mod_bookmarks at all, but if enabled globally it would<br/>
likely become loaded onto the VirtualHost unless explicitly disabled.]]></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, 26 Jul 2022 23:44:33 +0200</pubDate>
</item>
<item>
    <title>mod_bookmarks: Fix typos in stanza error messages [codespell]</title>
    <link>http://hg.omfa.de/prosody-hg/log/57792ed670e7/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Fix typos in stanza error messages [codespell]]]></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, 04 Feb 2022 16:39:35 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Fix traceback on attempt to convert invalid bookmark</title>
    <link>http://hg.omfa.de/prosody-hg/log/0aa99a6dfb3e/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Fix traceback on attempt to convert invalid bookmark<br/>
<br/>
Found by accidentally publishing {urn:xmpp:bookmarks:0}conference<br/>
instead of :1 due to testing this earlier for the blocking.<br/>
<br/>
By the principle of garbage in, garbage out, just generate a bookmark<br/>
from the item id / JID and carry on with a warning.]]></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, 11 Jan 2022 00:06:48 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Block publishing to older XEP-0402 v0.3.0 node</title>
    <link>http://hg.omfa.de/prosody-hg/log/024cc878f472/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Block publishing to older XEP-0402 v0.3.0 node<br/>
<br/>
Having both the :0 and :1 nodes would be especially awkward, since there<br/>
is no upgrade path for this case. In theory, these should be rare since<br/>
no clients should have been doing XEP-0402 unless mod_bookmarks(2) was<br/>
enabled. This was guesstimated to be rare with most clients doing<br/>
XEP-0048 with Private XML.]]></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, 10 Jan 2022 22:15:55 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Skip migration of legacy data when empty</title>
    <link>http://hg.omfa.de/prosody-hg/log/2515033c2a74/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Skip migration of legacy data when empty<br/>
<br/>
Should save some cycles and not log the debug message on every login.]]></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, 10 Jan 2022 00:13:17 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Make sure legacy bookmarks node exists to hold access model</title>
    <link>http://hg.omfa.de/prosody-hg/log/b2923a3b4e02/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Make sure legacy bookmarks node exists to hold access model]]></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, 10 Jan 2022 00:11:36 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Broadcast notifications per XEP-0048 and XEP-0411</title>
    <link>http://hg.omfa.de/prosody-hg/log/750abaf99baf/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Broadcast notifications per XEP-0048 and XEP-0411<br/>
<br/>
For compatibility with clients relying on the notifications]]></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, 09 Jan 2022 18:42:22 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Add option for disabling upgrade of legacy bookmarks</title>
    <link>http://hg.omfa.de/prosody-hg/log/17cffaa78f48/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Add option for disabling upgrade of legacy bookmarks<br/>
<br/>
Might be nice to reduce amount of things happening on connect once<br/>
all users has upgraded]]></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 Jan 2022 00:32:33 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Unhook PEP service objects on removal from cache</title>
    <link>http://hg.omfa.de/prosody-hg/log/ae5988739990/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Unhook PEP service objects on removal from cache<br/>
<br/>
See 1dc00ca6ee9d]]></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 Jan 2022 00:30:26 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Override the node configuration if it was wrong</title>
    <link>http://hg.omfa.de/prosody-hg/log/0939675955f1/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Override the node configuration if it was wrong]]></description>
    <author>&#69;&#109;&#109;&#97;&#110;&#117;&#101;&#108;&#32;&#71;&#105;&#108;&#32;&#80;&#101;&#121;&#114;&#111;&#116;&#32;&#60;&#108;&#105;&#110;&#107;&#109;&#97;&#117;&#118;&#101;&#64;&#108;&#105;&#110;&#107;&#109;&#97;&#117;&#118;&#101;&#46;&#102;&#114;&#62;</author>
    <pubDate>Thu, 06 Jan 2022 00:59:40 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Remove compatibility with 0.11</title>
    <link>http://hg.omfa.de/prosody-hg/log/bbbf0dd90b6d/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Remove compatibility with 0.11]]></description>
    <author>&#69;&#109;&#109;&#97;&#110;&#117;&#101;&#108;&#32;&#71;&#105;&#108;&#32;&#80;&#101;&#121;&#114;&#111;&#116;&#32;&#60;&#108;&#105;&#110;&#107;&#109;&#97;&#117;&#118;&#101;&#64;&#108;&#105;&#110;&#107;&#109;&#97;&#117;&#118;&#101;&#46;&#102;&#114;&#62;</author>
    <pubDate>Tue, 04 Jan 2022 23:16:02 +0100</pubDate>
</item>
<item>
    <title>mod_bookmarks: Import mod_bookmarks2 from prosody-modules @ ad7767a9f3ea</title>
    <link>http://hg.omfa.de/prosody-hg/log/b63bb2c4b6d9/plugins/mod_bookmarks.lua</link>
    <description><![CDATA[mod_bookmarks: Import mod_bookmarks2 from prosody-modules @ ad7767a9f3ea]]></description>
    <author>&#69;&#109;&#109;&#97;&#110;&#117;&#101;&#108;&#32;&#71;&#105;&#108;&#32;&#80;&#101;&#121;&#114;&#111;&#116;&#32;&#60;&#108;&#105;&#110;&#107;&#109;&#97;&#117;&#118;&#101;&#64;&#108;&#105;&#110;&#107;&#109;&#97;&#117;&#118;&#101;&#46;&#102;&#114;&#62;</author>
    <pubDate>Tue, 04 Jan 2022 23:04:14 +0100</pubDate>
</item>

  </channel>
</rss>
