[BLOG][Milestone] Pinboard API

This commit is contained in:
Diogo Peralta Cordeiro 2022-04-01 11:33:52 +01:00
parent 87582d755e
commit 1ea3ee6fdb
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
32 changed files with 165 additions and 42 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -2,10 +2,28 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel><title>GNU social V3</title><link>https://gnusocial.rocks/v3/index.html</link> <channel><title>GNU social V3</title><link>https://gnusocial.rocks/v3/index.html</link>
<description>Development blog where we announce our progress.</description><language>en</language> <description>Development blog where we announce our progress.</description><language>en</language>
<lastBuildDate>Mon, 28 Mar 2022 23:55:53 +0100</lastBuildDate> <lastBuildDate>Fri, 01 Apr 2022 11:35:22 +0100</lastBuildDate>
<pubDate>Mon, 28 Mar 2022 23:55:53 +0100</pubDate> <pubDate>Fri, 01 Apr 2022 11:35:22 +0100</pubDate>
<atom:link href="https://gnusocial.rocks/v3/feed.rss" rel="self" type="application/rss+xml" /> <atom:link href="https://gnusocial.rocks/v3/feed.rss" rel="self" type="application/rss+xml" />
<item><title> <item><title>
Milestone: Pinboard API
</title><description><![CDATA[
<p>This builds on top of GNU social bookmarks functionality.</p>
<p><img src="assets/bookmarks/pinboard/pinboard-settings.png" alt="" title="" /></p>
<p><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/Pinboard/Pinboard.php#L45">Most endpoints of Pinboard v1 API were implemented</a>. We've left out some such as tag delete (as one can't really delete one in GNU social), among others that don't really fit. We have tested our implementation against <a href="https://github.com/fibelatti/pinboard-kotlin">Pinkt</a> and we will soon be contacting the maintainer so the functionality of using a different <code>API_TARGET</code> is included with this app (as it was all we had to change to have this working).</p>
<p>Discussion regarding <a href="https://socialhub.activitypub.rocks/t/explicitly-attached-links/2357/16">how bookmarks are better expressed in terms of ActivityStreams 2.0</a> is also developing in SocialHub.</p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-pinboard-api.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-pinboard-api.html</guid>
<dc:creator>GNU social development team</dc:creator>
<pubDate>Fri, 01 Apr 2022 11:35:04 +0100</pubDate></item>
<item><title>
Milestone: Unbound Group Milestone: Unbound Group
</title><description><![CDATA[ </title><description><![CDATA[
@ -36,6 +54,8 @@ FEP already a step and contribution in that direction.</p>
<img src="assets/unbound/example_linked_note.png" alt="" title="" /></p> <img src="assets/unbound/example_linked_note.png" alt="" title="" /></p>
<!-- text end --> <!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-unbound-group.html</link> ]]></description><link>https://gnusocial.rocks/v3/milestone-unbound-group.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-unbound-group.html</guid> <guid>https://gnusocial.rocks/v3/./milestone-unbound-group.html</guid>
@ -63,6 +83,8 @@ think of this <a href="https://notabug.org/HackersAtPorto/gs-arduino">old GNU so
<!-- text end --> <!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-webhooks.html</link> ]]></description><link>https://gnusocial.rocks/v3/milestone-webhooks.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-webhooks.html</guid> <guid>https://gnusocial.rocks/v3/./milestone-webhooks.html</guid>
@ -94,6 +116,8 @@ GNU social still has to implement support for that form of Like.</p>
<!-- text end --> <!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-blog-plugin-and-notes-of-type-article-and-page.html</link> ]]></description><link>https://gnusocial.rocks/v3/milestone-blog-plugin-and-notes-of-type-article-and-page.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-blog-plugin-and-notes-of-type-article-and-page.html</guid> <guid>https://gnusocial.rocks/v3/./milestone-blog-plugin-and-notes-of-type-article-and-page.html</guid>
@ -116,6 +140,8 @@ Milestone: Organisations and Group Tags
<!-- text end --> <!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-organisations-and-group-tags.html</link> ]]></description><link>https://gnusocial.rocks/v3/milestone-organisations-and-group-tags.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-organisations-and-group-tags.html</guid> <guid>https://gnusocial.rocks/v3/./milestone-organisations-and-group-tags.html</guid>
@ -144,6 +170,8 @@ discussion available at: <a href="https://github.com/andstatus/andstatus/issues/
<!-- text end --> <!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-oauth-20.html</link> ]]></description><link>https://gnusocial.rocks/v3/milestone-oauth-20.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-oauth-20.html</guid> <guid>https://gnusocial.rocks/v3/./milestone-oauth-20.html</guid>
@ -189,6 +217,8 @@ Monetization in the fediverse.</p>
@ -248,6 +278,8 @@ always room for improvement :)</p>
@ -332,6 +364,8 @@ and enables circle mentions with <code>@#circle_name</code>.</p>
@ -373,6 +407,8 @@ translate following the same rules as AndStatus <a href="https://github.com/ands
@ -381,44 +417,4 @@ translate following the same rules as AndStatus <a href="https://github.com/ands
<guid>https://gnusocial.rocks/v3/./updates-local-groups.html</guid> <guid>https://gnusocial.rocks/v3/./updates-local-groups.html</guid>
<dc:creator>GNU social development team</dc:creator> <dc:creator>GNU social development team</dc:creator>
<pubDate>Tue, 18 Jan 2022 13:13:38 +0000</pubDate></item> <pubDate>Tue, 18 Jan 2022 13:13:38 +0000</pubDate></item>
<item><title>
Milestone: Pinned Notes
</title><description><![CDATA[
You can now pin notes in your profile! Given you have suficient permissions to do so (e.g. you created the note), an additional action is represented, allowing you to highlight your favourite notes.</p>
<p>With this feature, an actor has more ways to express itself to the community as a whole. This activity is federated using <a href="https://docs.joinmastodon.org/spec/activitypub/#featured">Mastodon's featured collection extension</a>.</p>
<p><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/PinnedNotes">Source</a>
<img src="assets/profile/pin_note.png" alt="Default view of the actor profile, showing the 'Pin this note' action, and its respective representation" title="" /></p>
<!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/milestone-pinned-notes.html</link>
<guid>https://gnusocial.rocks/v3/./milestone-pinned-notes.html</guid>
<dc:creator>GNU social development team</dc:creator>
<pubDate>Tue, 18 Jan 2022 12:36:14 +0000</pubDate></item>
</channel></rss> </channel></rss>

View File

@ -40,6 +40,10 @@ Our objective is to further differentiate GNU social from the alternative softwa
</div></div></div> </div></div></div>
<div id="template-wrapper"><div class="template-unit"> <div id="template-wrapper"><div class="template-unit">
<h3>Blog</h3> <h3>Blog</h3>
<h4 class='allposts_header'>April 2022</h4>
<ul>
<li><a href="./milestone-pinboard-api.html">Milestone: Pinboard API</a> &mdash; April 01, 2022</li>
</ul>
<h4 class='allposts_header'>March 2022</h4> <h4 class='allposts_header'>March 2022</h4>
<ul> <ul>
<li><a href="./milestone-unbound-group.html">Milestone: Unbound Group</a> &mdash; March 28, 2022</li> <li><a href="./milestone-unbound-group.html">Milestone: Unbound Group</a> &mdash; March 28, 2022</li>

View File

@ -82,6 +82,8 @@ plugin? How is it better than v2's?</p>

View File

@ -109,6 +109,8 @@ GNU social development team

View File

@ -133,6 +133,8 @@ Given a valid colour, it's the actor's responsibility whether or not the colours

View File

@ -89,6 +89,8 @@ specialisation of a collection.</p>

View File

@ -86,6 +86,8 @@ always room for improvement :)</p>

View File

@ -61,6 +61,8 @@ GNU social still has to implement support for that form of Like.</p>
<!-- text end --> <!-- text end -->
<!-- entry end --> <!-- entry end -->
</div> </div>

View File

@ -111,6 +111,8 @@ and enables circle mentions with <code>@#circle_name</code>.</p>

View File

@ -135,6 +135,8 @@ is properly tested, we have the

View File

@ -71,6 +71,8 @@ to stop receiving notifications derived from that, it is now possible:

View File

@ -113,6 +113,8 @@ for actual internationalization of the free network.</p>

View File

@ -71,6 +71,8 @@ GNU social development team

View File

@ -72,6 +72,8 @@ GNU social development team

View File

@ -58,6 +58,8 @@ discussion available at: <a href="https://github.com/andstatus/andstatus/issues/
<!-- text end --> <!-- text end -->
<!-- entry end --> <!-- entry end -->
</div> </div>

View File

@ -52,6 +52,8 @@ GNU social development team
<!-- text end --> <!-- text end -->
<!-- entry end --> <!-- entry end -->
</div> </div>

View File

@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=0.86, maximum-scale=5.0, minimum-scale=0.86">
<link rel="shortcut icon" href="../favicon.ico">
<link rel="stylesheet" href="../assets/css/reset.css">
<link rel="stylesheet" href="../assets/css/blog.css">
<link rel="stylesheet" href="../assets/fonts/opensans/opensans.css">
<title>Milestone: Pinboard API - GNU social V3</title>
</head><body>
<header>
<div class="home-menu menu menu-horizontal menu-fixed">
<div class="home-menu menu menu-horizontal menu-fixed">
<a class="header-main" href="/"><img src="../assets/img/gnu-social-logo-invert.svg" alt="GNU social"><b>gnu</b>social</a>
<ul class="menu-list">
<li class="menu-item menu-selected"><a href="index.html" class="menu-link">Blog Index</a></li>
<li class="menu-item"><a href="https://code.gnusocial.rocks/" class="menu-link">Repository</a></li>
<li class="menu-item"><a href="https://coverage.gnusocial.rocks/" class="menu-link">Code Coverage</a></li>
<li class="menu-item"><a href="https://docs.gnusocial.rocks/" class="menu-link">Documentation</a></li>
<li class="menu-item"><a href="https://agile.gnusocial.rocks/" class="menu-link">Wiki</a></li>
<li class="menu-item"><a href="https://kanban.undefinedhackers.net/?controller=BoardViewController&action=readonly&token=d2293e55cabae7cceff9fb496c651328195357d392b9e61a9f229ed6d463" class="menu-link">Roadmap</a></li>
</ul>
</div>
</header>
<div class="content-wrapper">
<div class="content">
</div></div></div>
<div id="template-wrapper"><div class="template-unit">
<!-- entry begin -->
<h3><a class="ablack" href="milestone-pinboard-api.html">
Milestone: Pinboard API
</a></h3>
<!-- bashblog_timestamp: #202204011135.04# -->
<div class="subtitle">April 01, 2022 &mdash;
GNU social development team
</div>
<!-- text begin -->
<p>This builds on top of GNU social bookmarks functionality.</p>
<p><img src="assets/bookmarks/pinboard/pinboard-settings.png" alt="" title="" /></p>
<p><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/Pinboard/Pinboard.php#L45">Most endpoints of Pinboard v1 API were implemented</a>. We've left out some such as tag delete (as one can't really delete one in GNU social), among others that don't really fit. We have tested our implementation against <a href="https://github.com/fibelatti/pinboard-kotlin">Pinkt</a> and we will soon be contacting the maintainer so the functionality of using a different <code>API_TARGET</code> is included with this app (as it was all we had to change to have this working).</p>
<p>Discussion regarding <a href="https://socialhub.activitypub.rocks/t/explicitly-attached-links/2357/16">how bookmarks are better expressed in terms of ActivityStreams 2.0</a> is also developing in SocialHub.</p>
<!-- text end -->
<!-- entry end -->
</div>
</div></div>
<footer>
This site's source is <a href="https://code.undefinedhackers.net/GNUsocial/gnusocial.rocks">hosted here</a>.
</footer>
</body></html>

View File

@ -0,0 +1,11 @@
Milestone: Pinboard API
This builds on top of GNU social bookmarks functionality.
![](assets/bookmarks/pinboard/pinboard-settings.png)
[Most endpoints of Pinboard v1 API were implemented](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/Pinboard/Pinboard.php#L45). We've left out some such as tag delete (as one can't really delete one in GNU social), among others that don't really fit. We have tested our implementation against [Pinkt](https://github.com/fibelatti/pinboard-kotlin) and we will soon be contacting the maintainer so the functionality of using a different `API_TARGET` is included with this app (as it was all we had to change to have this working).
Discussion regarding [how bookmarks are better expressed in terms of ActivityStreams 2.0](https://socialhub.activitypub.rocks/t/explicitly-attached-links/2357/16) is also developing in SocialHub.

View File

@ -67,6 +67,8 @@ You can now pin notes in your profile! Given you have suficient permissions to d

View File

@ -139,6 +139,8 @@ The key ones are:</p>

View File

@ -161,6 +161,8 @@ tag.</p>

View File

@ -66,6 +66,8 @@ FEP already a step and contribution in that direction.</p>
<img src="assets/unbound/example_linked_note.png" alt="" title="" /></p> <img src="assets/unbound/example_linked_note.png" alt="" title="" /></p>
<!-- text end --> <!-- text end -->
<!-- entry end --> <!-- entry end -->
</div> </div>

View File

@ -75,6 +75,8 @@ Monetization in the fediverse.</p>

View File

@ -57,6 +57,8 @@ think of this <a href="https://notabug.org/HackersAtPorto/gs-arduino">old GNU so
<!-- text end --> <!-- text end -->
<!-- entry end --> <!-- entry end -->
</div> </div>

View File

@ -171,6 +171,8 @@ GNU social development team

View File

@ -107,6 +107,8 @@ attempts to generate a page preview from open graph and oembed. I.e., acts when

View File

@ -140,6 +140,8 @@ any remote URL being shared in a note.</li>

View File

@ -172,6 +172,8 @@ markup, we hope to achieve an accessible, fast and polished structure by which a

View File

@ -83,6 +83,8 @@ GNU social development team

View File

@ -68,6 +68,8 @@ translate following the same rules as AndStatus <a href="https://github.com/ands

View File

@ -115,6 +115,8 @@ forget to subscribe!</p>