diff --git a/v3/feed.rss b/v3/feed.rss index b99cfc0..200251f 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:15:08 +0100 -Thu, 19 Aug 2021 03:15:08 +0100 +Thu, 19 Aug 2021 03:21:16 +0100 +Thu, 19 Aug 2021 03:21:16 +0100 Updates: V3 blog @@ -26,6 +26,8 @@ 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> @@ -116,6 +118,8 @@ functionality with more stability.</p> + + @@ -128,14 +132,30 @@ functionality with more stability.</p> Updates: Improve the Attachments system With the milestone "Port Media system from v2" we had ported the existing +

With the milestone Port Media system from +v2 we had ported the existing attachment system. The fact is that this system wasn't good enough.

It's always important to start with the original code as that allows us -to review past decisions and understand all the corner cases.

+to review past decisions and understand all the corner cases previously +considered.

-

Sadly, what motivated us to re-design the attachment system was the -non-considered corner cases.

+

Sadly, what motivated us to re-design the attachment system were the +non-considered corner cases. In particular:

+ +
    +
  • Remove title from attachment, as it's part of the relation between attachment and note.
  • +
  • Remove actor from attachment, many actors may publish the same attachment.
  • +
  • Remove is_local from attachment, as it's part of the relation between attachment and note.
  • +
  • Remove remote_url from attachment, different urls can return the same attachment.
  • +
  • Attachment now has a reference counter
  • +
  • Add entity GSActorToAttachment
  • +
  • Add entity GSActorToRemoteURL
  • +
  • Add entity RemoteURL
  • +
  • Add entity RemoteURLToNote
  • +
  • Add entity RemoteURLToAttachment
  • +
  • AttachmentToNote now has a title attribute
  • +

Key commits:

@@ -144,7 +164,7 @@ non-considered corner cases.

  • c381e58d33 - [ENTITY] Refactor RemoteURL entities to Link
  • -

    The reasoning leading to these entities and structure is detailed in our +

    The structural changes and how it compares to v2 is detailed in our wiki.

    Some relevant observations:

    @@ -156,71 +176,6 @@ any remote URL being shared in a note. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]]>
    https://gnusocial.rocks/v3/updates-improve-the-attachments-system.html https://gnusocial.rocks/v3/./updates-improve-the-attachments-system.html @@ -300,6 +255,8 @@ Updates: Finish the Avatar component + + @@ -349,6 +306,8 @@ is properly tested, we have the tests. And the coverage is available here. At the time of writing the coverage has 98.76% code lines tested.

    + + ]]>https://gnusocial.rocks/v3/milestone-documentation-and-tests-infrastructure.html https://gnusocial.rocks/v3/./milestone-documentation-and-tests-infrastructure.html @@ -399,6 +358,8 @@ The key ones are:

    + + ]]>https://gnusocial.rocks/v3/milestone-port-media-handling-from-v2.html https://gnusocial.rocks/v3/./milestone-port-media-handling-from-v2.html diff --git a/v3/milestone-documentation-and-tests-infrastructure.html b/v3/milestone-documentation-and-tests-infrastructure.html index b7259a0..5762271 100644 --- a/v3/milestone-documentation-and-tests-infrastructure.html +++ b/v3/milestone-documentation-and-tests-infrastructure.html @@ -80,6 +80,8 @@ is properly tested, we have the tests. And the coverage is available here. At the time of writing the coverage has 98.76% code lines tested.

    + + diff --git a/v3/milestone-port-media-handling-from-v2.html b/v3/milestone-port-media-handling-from-v2.html index 3eab33e..5ca2944 100644 --- a/v3/milestone-port-media-handling-from-v2.html +++ b/v3/milestone-port-media-handling-from-v2.html @@ -84,6 +84,8 @@ The key ones are:

    + + diff --git a/v3/updates-finish-the-avatar-component.html b/v3/updates-finish-the-avatar-component.html index cacc482..c1e06d5 100644 --- a/v3/updates-finish-the-avatar-component.html +++ b/v3/updates-finish-the-avatar-component.html @@ -113,6 +113,8 @@ 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 cec35c2..04ebd71 100644 --- a/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html +++ b/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html @@ -124,6 +124,8 @@ functionality with more stability.

    + + diff --git a/v3/updates-improve-the-attachments-system.html b/v3/updates-improve-the-attachments-system.html index 3318e4e..7665e60 100644 --- a/v3/updates-improve-the-attachments-system.html +++ b/v3/updates-improve-the-attachments-system.html @@ -43,14 +43,30 @@ GNU social development team -

    With the milestone "Port Media system from v2" we had ported the existing +

    With the milestone Port Media system from +v2 we had ported the existing attachment system. The fact is that this system wasn't good enough.

    It's always important to start with the original code as that allows us -to review past decisions and understand all the corner cases.

    +to review past decisions and understand all the corner cases previously +considered.

    -

    Sadly, what motivated us to re-design the attachment system was the -non-considered corner cases.

    +

    Sadly, what motivated us to re-design the attachment system were the +non-considered corner cases. In particular:

    + +
      +
    • Remove title from attachment, as it's part of the relation between attachment and note.
    • +
    • Remove actor from attachment, many actors may publish the same attachment.
    • +
    • Remove is_local from attachment, as it's part of the relation between attachment and note.
    • +
    • Remove remote_url from attachment, different urls can return the same attachment.
    • +
    • Attachment now has a reference counter
    • +
    • Add entity GSActorToAttachment
    • +
    • Add entity GSActorToRemoteURL
    • +
    • Add entity RemoteURL
    • +
    • Add entity RemoteURLToNote
    • +
    • Add entity RemoteURLToAttachment
    • +
    • AttachmentToNote now has a title attribute
    • +

    Key commits:

    @@ -59,7 +75,7 @@ non-considered corner cases.

  • c381e58d33 - [ENTITY] Refactor RemoteURL entities to Link
  • -

    The reasoning leading to these entities and structure is detailed in our +

    The structural changes and how it compares to v2 is detailed in our wiki.

    Some relevant observations:

    @@ -71,71 +87,6 @@ any remote URL being shared in a note. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/v3/updates-improve-the-attachments-system.md b/v3/updates-improve-the-attachments-system.md index 11c436c..6575f48 100644 --- a/v3/updates-improve-the-attachments-system.md +++ b/v3/updates-improve-the-attachments-system.md @@ -1,20 +1,34 @@ Updates: Improve the Attachments system -With the milestone "Port Media system from v2" we had ported the existing +With the milestone [Port Media system from +v2](https://www.gnusocial.rocks/v3/milestone-port-media-handling-from-v2.html) we had ported the existing attachment system. The fact is that this system wasn't good enough. It's always important to start with the original code as that allows us -to review past decisions and understand all the corner cases. +to review past decisions and understand all the corner cases previously +considered. -Sadly, what motivated us to re-design the attachment system was the -non-considered corner cases. +Sadly, what motivated us to re-design the attachment system were the +non-considered corner cases. In particular: + +* Remove `title` from attachment, as it's part of the relation between attachment and note. +* Remove `actor` from attachment, many actors may publish the same attachment. +* Remove `is_local` from attachment, as it's part of the relation between attachment and note. +* Remove `remote_url` from attachment, different urls can return the same attachment. +* Attachment now has a reference counter +* Add entity GSActorToAttachment +* Add entity GSActorToRemoteURL +* Add entity RemoteURL +* Add entity RemoteURLToNote +* Add entity RemoteURLToAttachment +* AttachmentToNote now has a title attribute Key commits: * [32ad5dbd74 - [ENTITY] Split Attachment in various new entities](https://code.undefinedhackers.net/GNUsocial/gnu-social/commit/32ad5dbd74ebb369c4b3ed688e1fb78464fabe49) * [c381e58d33 - [ENTITY] Refactor RemoteURL entities to Link](https://code.undefinedhackers.net/GNUsocial/gnu-social/commit/c381e58d3307e7dd07abeb9cf5b3998e34f5bd48) -The reasoning leading to these entities and structure is detailed in our +The structural changes and how it compares to v2 is detailed in our [wiki](http://agile.gnusocial.rocks/doku.php?id=attachment). Some relevant observations: diff --git a/v3/updates-v3-blog.html b/v3/updates-v3-blog.html index fc90ed7..ae0df21 100644 --- a/v3/updates-v3-blog.html +++ b/v3/updates-v3-blog.html @@ -60,6 +60,8 @@ forget to subscribe!

    + +