From 94b8112060f9fd2b7caf0d95101de4e29b3fc6d2 Mon Sep 17 00:00:00 2001 From: Diogo Peralta Cordeiro Date: Thu, 19 Aug 2021 03:10:43 +0100 Subject: [PATCH] improve text of post 1 --- v3/feed.rss | 92 ++++--------------- ...ocumentation-and-tests-infrastructure.html | 1 + v3/milestone-port-media-handling-from-v2.html | 83 ++--------------- v3/milestone-port-media-handling-from-v2.md | 19 ++-- v3/updates-finish-the-avatar-component.html | 1 + ...toreremotemedia-for-v3-and-port-embed.html | 1 + ...pdates-improve-the-attachments-system.html | 1 + v3/updates-v3-blog.html | 1 + 8 files changed, 43 insertions(+), 156 deletions(-) diff --git a/v3/feed.rss b/v3/feed.rss index ebc115d..af0f671 100644 --- a/v3/feed.rss +++ b/v3/feed.rss @@ -2,8 +2,8 @@ GNU social V3https://gnusocial.rocks/v3/index.html Development blog where we announce our progress.en -Thu, 19 Aug 2021 03:00:59 +0100 -Thu, 19 Aug 2021 03:00:59 +0100 +Thu, 19 Aug 2021 03:09:11 +0100 +Thu, 19 Aug 2021 03:09:11 +0100 Updates: V3 blog @@ -24,6 +24,7 @@ forget to subscribe!</p> + <!-- text end --> ]]></description><link>https://gnusocial.rocks/v3/updates-v3-blog.html</link> <guid>https://gnusocial.rocks/v3/./updates-v3-blog.html</guid> @@ -113,6 +114,7 @@ functionality with more stability.</p> + <!-- text end --> @@ -213,6 +215,7 @@ any remote URL being shared in a note.</li> + <!-- text end --> @@ -293,6 +296,7 @@ Updates: Finish the Avatar component + <!-- text end --> @@ -401,6 +405,7 @@ is properly tested, we have the + <!-- text end --> @@ -412,7 +417,7 @@ is properly tested, we have the Milestone: Port Media handling from v2 WIKI Milestone entry

+

>WIKI Milestone entry

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). @@ -426,20 +431,22 @@ the ImageEncoder: Allows to compress, validate, rescale, and sanitize images using VIPS. -

  • VideoEncoder: Allows to compress, validate, rescale, and sanitize videos using FFMpeg.
  • -
  • FileQuota: Ensures a user stays under the file quota.
  • +
  • VideoEncoder: Allows to rescale gifs using FFMpeg.
  • +

    Another helpful plugin is FileQuota which ensures a user stays under the file quota.

    +

    How is the code organised?

    -

    There are various entities related to attachment, and thumbnail handling. -The main ones are:

    +

    There are various entities related to attachment and thumbnail handling. +The key ones are:

    • Attachment
    • @@ -447,72 +454,7 @@ The main ones are:

    The plugins are able to act by means of the Events system, as elaborated in the -documentation.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +documentation.

    diff --git a/v3/milestone-documentation-and-tests-infrastructure.html b/v3/milestone-documentation-and-tests-infrastructure.html index 269cacf..5f5ee33 100644 --- a/v3/milestone-documentation-and-tests-infrastructure.html +++ b/v3/milestone-documentation-and-tests-infrastructure.html @@ -140,6 +140,7 @@ is properly tested, we have the + diff --git a/v3/milestone-port-media-handling-from-v2.html b/v3/milestone-port-media-handling-from-v2.html index 484676f..b302002 100644 --- a/v3/milestone-port-media-handling-from-v2.html +++ b/v3/milestone-port-media-handling-from-v2.html @@ -43,7 +43,7 @@ GNU social development team -

    WIKI Milestone entry

    +

    >WIKI Milestone entry

    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). @@ -57,20 +57,22 @@ the ImageEncoder: Allows to compress, validate, rescale, and sanitize images using VIPS. -

  • VideoEncoder: Allows to compress, validate, rescale, and sanitize videos using FFMpeg.
  • -
  • FileQuota: Ensures a user stays under the file quota.
  • +
  • VideoEncoder: Allows to rescale gifs using FFMpeg.
  • +

    Another helpful plugin is FileQuota which ensures a user stays under the file quota.

    +

    How is the code organised?

    -

    There are various entities related to attachment, and thumbnail handling. -The main ones are:

    +

    There are various entities related to attachment and thumbnail handling. +The key ones are:

    • Attachment
    • @@ -78,72 +80,7 @@ The main ones are:

    The plugins are able to act by means of the Events system, as elaborated in the -documentation.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +documentation.

    diff --git a/v3/milestone-port-media-handling-from-v2.md b/v3/milestone-port-media-handling-from-v2.md index 97aa083..26a7382 100644 --- a/v3/milestone-port-media-handling-from-v2.md +++ b/v3/milestone-port-media-handling-from-v2.md @@ -1,6 +1,6 @@ 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 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. 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. -* [VideoEncoder](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/VideoEncoder): Allows to compress, validate, rescale, and sanitize videos using FFMpeg. -* [FileQuota](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/FileQuota): Ensures a user stays under the file quota. +* [VideoEncoder](https://code.undefinedhackers.net/GNUsocial/gnu-social/src/branch/v3/plugins/VideoEncoder): Allows to rescale gifs using FFMpeg. + +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? -There are various entities related to attachment, and thumbnail handling. -The main ones are: +There are various entities related to attachment and thumbnail handling. +The key ones are: * [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) 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). + diff --git a/v3/updates-finish-the-avatar-component.html b/v3/updates-finish-the-avatar-component.html index d3be8ab..b814e87 100644 --- a/v3/updates-finish-the-avatar-component.html +++ b/v3/updates-finish-the-avatar-component.html @@ -112,6 +112,7 @@ GNU social development team + diff --git a/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html b/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html index 9d3d4de..5664f39 100644 --- a/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html +++ b/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html @@ -123,6 +123,7 @@ functionality with more stability.

    + diff --git a/v3/updates-improve-the-attachments-system.html b/v3/updates-improve-the-attachments-system.html index e0bedc6..c799e3e 100644 --- a/v3/updates-improve-the-attachments-system.html +++ b/v3/updates-improve-the-attachments-system.html @@ -132,6 +132,7 @@ any remote URL being shared in a note. + diff --git a/v3/updates-v3-blog.html b/v3/updates-v3-blog.html index 692f0e9..ba7063d 100644 --- a/v3/updates-v3-blog.html +++ b/v3/updates-v3-blog.html @@ -58,6 +58,7 @@ forget to subscribe!

    +