improve text of post 1

This commit is contained in:
Diogo Peralta Cordeiro 2021-08-19 03:10:43 +01:00
parent e424bb74b4
commit 94b8112060
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
8 changed files with 43 additions and 156 deletions

View File

@ -2,8 +2,8 @@
<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>Thu, 19 Aug 2021 03:00:59 +0100</lastBuildDate> <lastBuildDate>Thu, 19 Aug 2021 03:09:11 +0100</lastBuildDate>
<pubDate>Thu, 19 Aug 2021 03:00:59 +0100</pubDate> <pubDate>Thu, 19 Aug 2021 03:09:11 +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>
Updates: V3 blog Updates: V3 blog
@ -24,6 +24,7 @@ forget to subscribe!</p>
<!-- text end --> <!-- text end -->
]]></description><link>https://gnusocial.rocks/v3/updates-v3-blog.html</link> ]]></description><link>https://gnusocial.rocks/v3/updates-v3-blog.html</link>
<guid>https://gnusocial.rocks/v3/./updates-v3-blog.html</guid> <guid>https://gnusocial.rocks/v3/./updates-v3-blog.html</guid>
@ -113,6 +114,7 @@ functionality with more stability.</p>
<!-- text end --> <!-- text end -->
@ -213,6 +215,7 @@ any remote URL being shared in a note.</li>
<!-- text end --> <!-- text end -->
@ -293,6 +296,7 @@ Updates: Finish the Avatar component
<!-- text end --> <!-- text end -->
@ -401,6 +405,7 @@ is properly tested, we have the
<!-- text end --> <!-- text end -->
@ -412,7 +417,7 @@ is properly tested, we have the
Milestone: Port Media handling from v2 Milestone: Port Media handling from v2
</title><description><![CDATA[ </title><description><![CDATA[
<p><strong><a href="https://agile.gnusocial.rocks/doku.php?id=milestones:attachment_media_embed_handling">WIKI Milestone entry</a></strong></p> <p><strong><a href="https://agile.gnusocial.rocks/doku.php?id=milestones:attachment_media_embed_handling">>WIKI Milestone entry</a></strong></p>
<p>File Storage in GNU social is used for avatars, for notes containing <p>File Storage in GNU social is used for avatars, for notes containing
attachments, and for notes containing links (in which case is an Embed preview). attachments, and for notes containing links (in which case is an Embed preview).
@ -426,20 +431,22 @@ the <a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v
file and make it available as an attachment, and will generate a thumbnail.</p> file and make it available as an attachment, and will generate a thumbnail.</p>
<p>When an image, video, or other file type is uploaded or retrieved, an Attachment <p>When an image, video, or other file type is uploaded or retrieved, an Attachment
entity is created. When a thumbnail is requested, one is generated.</p> entity is created. When a thumbnail is requested, one is generated if an
EncoderPlugin that supports the mime type is available.</p>
<p>There are three relevant plugins for attachment handling:</p> <p>There are two EncoderPlugins implemented:</p>
<ul> <ul>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/ImageEncoder">ImageEncoder</a>: Allows to compress, validate, rescale, and sanitize images using VIPS.</li> <li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/ImageEncoder">ImageEncoder</a>: Allows to compress, validate, rescale, and sanitize images using VIPS.</li>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/VideoEncoder">VideoEncoder</a>: Allows to compress, validate, rescale, and sanitize videos using FFMpeg.</li> <li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/VideoEncoder">VideoEncoder</a>: Allows to rescale gifs using FFMpeg.</li>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/FileQuota">FileQuota</a>: Ensures a user stays under the file quota.</li>
</ul> </ul>
<p>Another helpful plugin is <a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/FileQuota">FileQuota</a> which ensures a user stays under the file quota.</p>
<h2>How is the code organised?</h2> <h2>How is the code organised?</h2>
<p>There are various entities related to attachment, and thumbnail handling. <p>There are various entities related to attachment and thumbnail handling.
The main ones are:</p> The key ones are:</p>
<ul> <ul>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/src/Entity/Attachment.php">Attachment</a></li> <li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/src/Entity/Attachment.php">Attachment</a></li>
@ -447,72 +454,7 @@ The main ones are:</p>
</ul> </ul>
<p>The plugins are able to act by means of the Events system, as elaborated in the <p>The plugins are able to act by means of the Events system, as elaborated in the
<a href="https://docs.gnusocial.rocks/developer/attachments.html">documentation</a>.</p> <a href="https://docs.gnusocial.rocks/developer/storage.html">documentation</a>.</p>
<!-- text end --> <!-- text end -->

View File

@ -140,6 +140,7 @@ is properly tested, we have the
<!-- text end --> <!-- text end -->

View File

@ -43,7 +43,7 @@ GNU social development team
</div> </div>
<!-- text begin --> <!-- text begin -->
<p><strong><a href="https://agile.gnusocial.rocks/doku.php?id=milestones:attachment_media_embed_handling">WIKI Milestone entry</a></strong></p> <p><strong><a href="https://agile.gnusocial.rocks/doku.php?id=milestones:attachment_media_embed_handling">>WIKI Milestone entry</a></strong></p>
<p>File Storage in GNU social is used for avatars, for notes containing <p>File Storage in GNU social is used for avatars, for notes containing
attachments, and for notes containing links (in which case is an Embed preview). attachments, and for notes containing links (in which case is an Embed preview).
@ -57,20 +57,22 @@ the <a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v
file and make it available as an attachment, and will generate a thumbnail.</p> file and make it available as an attachment, and will generate a thumbnail.</p>
<p>When an image, video, or other file type is uploaded or retrieved, an Attachment <p>When an image, video, or other file type is uploaded or retrieved, an Attachment
entity is created. When a thumbnail is requested, one is generated.</p> entity is created. When a thumbnail is requested, one is generated if an
EncoderPlugin that supports the mime type is available.</p>
<p>There are three relevant plugins for attachment handling:</p> <p>There are two EncoderPlugins implemented:</p>
<ul> <ul>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/ImageEncoder">ImageEncoder</a>: Allows to compress, validate, rescale, and sanitize images using VIPS.</li> <li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/ImageEncoder">ImageEncoder</a>: Allows to compress, validate, rescale, and sanitize images using VIPS.</li>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/VideoEncoder">VideoEncoder</a>: Allows to compress, validate, rescale, and sanitize videos using FFMpeg.</li> <li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/VideoEncoder">VideoEncoder</a>: Allows to rescale gifs using FFMpeg.</li>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/FileQuota">FileQuota</a>: Ensures a user stays under the file quota.</li>
</ul> </ul>
<p>Another helpful plugin is <a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/FileQuota">FileQuota</a> which ensures a user stays under the file quota.</p>
<h2>How is the code organised?</h2> <h2>How is the code organised?</h2>
<p>There are various entities related to attachment, and thumbnail handling. <p>There are various entities related to attachment and thumbnail handling.
The main ones are:</p> The key ones are:</p>
<ul> <ul>
<li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/src/Entity/Attachment.php">Attachment</a></li> <li><a href="https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/src/Entity/Attachment.php">Attachment</a></li>
@ -78,72 +80,7 @@ The main ones are:</p>
</ul> </ul>
<p>The plugins are able to act by means of the Events system, as elaborated in the <p>The plugins are able to act by means of the Events system, as elaborated in the
<a href="https://docs.gnusocial.rocks/developer/attachments.html">documentation</a>.</p> <a href="https://docs.gnusocial.rocks/developer/storage.html">documentation</a>.</p>
<!-- text end --> <!-- text end -->

View File

@ -1,6 +1,6 @@
Milestone: Port Media handling from v2 Milestone: Port Media handling from v2
**[WIKI Milestone entry](https://agile.gnusocial.rocks/doku.php?id=milestones:attachment_media_embed_handling)** **[>WIKI Milestone entry](https://agile.gnusocial.rocks/doku.php?id=milestones:attachment_media_embed_handling)**
File Storage in GNU social is used for avatars, for notes containing File Storage in GNU social is used for avatars, for notes containing
attachments, and for notes containing links (in which case is an Embed preview). attachments, and for notes containing links (in which case is an Embed preview).
@ -14,21 +14,24 @@ When a user shares a Link to an image, the [StoreRemoteMedia plugin](https://cod
file and make it available as an attachment, and will generate a thumbnail. file and make it available as an attachment, and will generate a thumbnail.
When an image, video, or other file type is uploaded or retrieved, an Attachment When an image, video, or other file type is uploaded or retrieved, an Attachment
entity is created. When a thumbnail is requested, one is generated. entity is created. When a thumbnail is requested, one is generated if an
EncoderPlugin that supports the mime type is available.
There are three relevant plugins for attachment handling: There are two EncoderPlugins implemented:
* [ImageEncoder](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/ImageEncoder): Allows to compress, validate, rescale, and sanitize images using VIPS. * [ImageEncoder](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/ImageEncoder): Allows to compress, validate, rescale, and sanitize images using VIPS.
* [VideoEncoder](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/VideoEncoder): Allows to compress, validate, rescale, and sanitize videos using FFMpeg. * [VideoEncoder](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/VideoEncoder): Allows to rescale gifs using FFMpeg.
* [FileQuota](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/FileQuota): Ensures a user stays under the file quota.
Another helpful plugin is [FileQuota](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/FileQuota) which ensures a user stays under the file quota.
## How is the code organised? ## How is the code organised?
There are various entities related to attachment, and thumbnail handling. There are various entities related to attachment and thumbnail handling.
The main ones are: The key ones are:
* [Attachment](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/src/Entity/Attachment.php) * [Attachment](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/src/Entity/Attachment.php)
* [AttachmentThumbnail](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/src/Entity/AttachmentThumbnail.php) * [AttachmentThumbnail](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/src/Entity/AttachmentThumbnail.php)
The plugins are able to act by means of the Events system, as elaborated in the The plugins are able to act by means of the Events system, as elaborated in the
[documentation](https://docs.gnusocial.rocks/developer/attachments.html). [documentation](https://docs.gnusocial.rocks/developer/storage.html).

View File

@ -112,6 +112,7 @@ GNU social development team
<!-- text end --> <!-- text end -->

View File

@ -123,6 +123,7 @@ functionality with more stability.</p>
<!-- text end --> <!-- text end -->

View File

@ -132,6 +132,7 @@ any remote URL being shared in a note.</li>
<!-- text end --> <!-- text end -->

View File

@ -58,6 +58,7 @@ forget to subscribe!</p>
<!-- text end --> <!-- text end -->
<!-- entry end --> <!-- entry end -->
</div> </div>