diff --git a/v3/feed.rss b/v3/feed.rss index 5de5421..6e603fe 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, 09 Dec 2021 14:59:13 +0000 -Thu, 09 Dec 2021 14:59:13 +0000 +Thu, 09 Dec 2021 15:08:36 +0000 +Thu, 09 Dec 2021 15:08:36 +0000 Milestone: Actor colour theme plugin @@ -75,6 +75,25 @@ Given a valid colour, it's the actor's responsibility whether or not the colours <dc:creator>GNU social development team</dc:creator> <pubDate>Thu, 09 Dec 2021 14:58:35 +0000</pubDate></item> <item><title> +Updates: Interface Structure and Flexibility improved +Read the Wiki post.

+ + + + + + + + + + +]]>
https://gnusocial.rocks/v3/updates-interface-structure-and-flexibility-improved.html +https://gnusocial.rocks/v3/./updates-interface-structure-and-flexibility-improved.html +GNU social development team +Thu, 09 Dec 2021 01:20:44 +0000
+ Milestone: ActivityPub This milestone could be just this, what's different from any other ActivityPub plugin? How is it better than v2's?

-

It's better in how it's organised and extensible. See the examples below to have -an idea.

- -

To extend an Activity properties you do:

- -
public function onActivityPubValidateActivityStreamsTwoData(string $type_name, array &$validators): bool {
-    if ($type_name === '{Type}') {
-        $validators['attribute'] = myValidator::class;
-    }
-    return Event::next;
-}
-
- -

The Validator should be of the form:

- -
class myValidator extends Plugin\ActivityPub\Util\ModelValidator
-{
-    /**
-     * Validate Attribute's value
-     *
-     * @param mixed $value from JSON's attribute
-     * @param mixed $container A {Type}
-     * @return bool
-     * @throws Exception
-     */
-    public function validate($value, $container): bool
-    {
-        // Validate that container is a {Type}
-        Util::subclassOf($container, Type\Extended\Object\{Type}::class, true);
-
-        return {Validation Result};
-
- -

To act on received activities do:

- -
public function onActivityPubNew{Type}(&$obj): bool {
-
- -

To add information to Activities being federated by ActivityPub do:

- -
public function ActivityPubAddActivityStreamsTwoData(string $type_name, &$type): bool {
-
- -

To implement an ActivityStreams 2.0 representation do:

- -
public function onActivityPubActivityStreamsTwoResponse(string $route, arrray $vars, ?TypeResponse &$response = null): bool {
-        if ($route === '{Object route}') {
-                $response = ModelResponse::handle($vars[{Object}]);
-                return Event::stop;
-        }
-        return Event::next;
-}
-
- - - -]]>
https://gnusocial.rocks/v3/milestone-activitypub.html -https://gnusocial.rocks/v3/./milestone-activitypub.html -GNU social development team -Thu, 09 Dec 2021 14:58:31 +0000
- -Milestone: ActivityStreams 2.0 and WebFinger -The primary use of GNU social is to access the free network, be it ActivityWeb (ActivityPub) or Fediverse (OStatus).

- -

Contrary to the original plan, we have merged The Free Network Module, WebFinger and LRDD into a single component named FreeNetwork. Likewise, ActivityPub and ActivityStreams 2.0 was kept the same plugin instead of separated.

- -

Understanding the organisation chosen

- -

The FreeNetwork component adds WebFinger (RFC7033) lookup and implements Link-based Resource Descriptor Discovery (LRDD) based on RFC6415, Web Host Metadata. It takes and produces both Extensible Resource Descriptor (XRD) and JSON (JavaSript Object Notation). Furthermore, and different from v2, every federation protocol will use the same distribution queue maintained by this component instead of holding its own.

- -

We originally intended to have data modelling plugins that would extend the GS's "language". We then understood that it added more complexity than we wanted without any considerable advantage because we cannot dissociate data reception handling of the protocol itself.

- -

Situation Report

- -

ActivityPub already translates between activity and entity and allows plugins to extend it (thus serving a similar purpose to data modelling and representation plugins).

- -

GNU social v3 now supports mentions, which is a process that starts in the Posting component. The processing of local mentions naturally finds its entire handling here.

- -

For remote ActivityPub mentions, ActivityPub handles it aided by the FreeNetwork component).

- -

Next steps

- -

We still have to port OStatus (and ActivityStreams 1.0) and implement the distribution by FreeNetwork, although the base work is done. Regarding ActivityPub, although some of it already works, expanding the existing plugins to supplement ActivityPub, and full validation isn't ready yet. We will most likely finish the implementation of the whole federation stack in the next week.

- - - - - - -]]>
https://gnusocial.rocks/v3/milestone-activitystreams-20-and-webfinger.html -https://gnusocial.rocks/v3/./milestone-activitystreams-20-and-webfinger.html -GNU social development team -Thu, 09 Dec 2021 14:58:31 +0000
- -Milestone: Documentation and Tests Infrastructure ->WIKI Milestone entry

- -

GNU social now has its documentation available in -https://docs.gnusocial.rocks/. It features four -different books. These are automatically generated from the source using mdBook.

- -
-

Only the development book is in an elaborated state, the other books are -holding for more ready code.

-
- -

And two of them are new:

- -
    -
  • The Developer is both intended to guide third-party plugin developers and to make it easier of contributing to the code.
  • -
  • The Designer is the most recent of the four and came from a necessity of keeping some standardization between templates and ensuring the same principles are kept in mind when designing new themes.
  • -
- -

And two of them are updates from existing documentation:

- - - -

Together with the documentation we've introduced a -wiki. Its purpose is to walk-through decisions, -convention, terminology. It's where we document the reasoning the development team went -through before implementing more sophisticated functionalities.

- -

Finally, when the documentation doesn't explain, and to ensure the whole code -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.

- - - - - - +

It's better in how it's organised and extensible, check the EVENTS.md for examples.

+

Video of GNU social v3 exchanging notes with GNU social v2.

+ @@ -235,10 +117,10 @@ is properly tested, we have the -]]>
https://gnusocial.rocks/v3/milestone-documentation-and-tests-infrastructure.html -https://gnusocial.rocks/v3/./milestone-documentation-and-tests-infrastructure.html +]]>https://gnusocial.rocks/v3/milestone-activitypub.html +https://gnusocial.rocks/v3/./milestone-activitypub.html GNU social development team -Thu, 09 Dec 2021 14:58:31 +0000
+Thu, 09 Dec 2021 00:50:02 +0000 Milestone: Notes and Actors with languages - -]]>https://gnusocial.rocks/v3/milestone-notes-and-actors-with-languages.html -https://gnusocial.rocks/v3/./milestone-notes-and-actors-with-languages.html -GNU social development team -Thu, 09 Dec 2021 14:58:31 +0000 - -Milestone: Port Media handling from v2 ->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). -Notes can be created by local users or fetched from remote actors. Filehash is -used to reduce file duplication.

- -

When a user shares a Link that uses OpenGraph tags or has an OEmbed provider, -the Embed plugin generates a preview for it that may contain a thumbnail.

- -

When a user shares a Link to an image, the StoreRemoteMedia plugin can fetch the -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 if an -EncoderPlugin that supports the mime type is available.

- -

There are two EncoderPlugins implemented:

- -
    -
  • ImageEncoder: Allows to compress, validate, rescale, and sanitize images using VIPS.
  • -
  • 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 key ones are:

- - - -

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

- - - - - - - - - - - - - - -]]>
https://gnusocial.rocks/v3/milestone-port-media-handling-from-v2.html -https://gnusocial.rocks/v3/./milestone-port-media-handling-from-v2.html +]]>https://gnusocial.rocks/v3/milestone-notes-and-actors-with-languages.html +https://gnusocial.rocks/v3/./milestone-notes-and-actors-with-languages.html GNU social development team -Thu, 09 Dec 2021 14:58:31 +0000
+Thu, 09 Dec 2021 00:50:02 +0000 Milestone: Tags

>WIKI Milestone entry

-

GNU social v2 has tags and lists. It allows you to: -- search for an #hashtag and see a stream of notes tagged with it; -- make lists of actors and mention them with @#list_name -- self tag and enter a list of people in your instance with the same self tag

+

GNU social v2 has tags and lists. It allows you to:

+ +
    +
  • search for an #hashtag and see a stream of notes tagged with it;
  • +
  • make lists of actors and mention them with @#list_name
  • +
  • self tag and enter a list of people in your instance with the same self tag
  • +

It is limited with regards to federation of self tags and the @#list_name can't target remote actors even when they are inside your list.

@@ -430,43 +254,43 @@ tag, in which case you wouldn't see any notes from people with that tag.

+ + + + + + + ]]>
https://gnusocial.rocks/v3/milestone-tags.html https://gnusocial.rocks/v3/./milestone-tags.html GNU social development team -Thu, 09 Dec 2021 14:58:31 +0000
+Thu, 09 Dec 2021 00:50:02 +0000 -Updates: Finish the Avatar component +Milestone: ActivityStreams 2.0 and WebFinger Avatar Component source.

- -

Its controller handles upload, update and removal.

- -

Important change from v2: Avatars are now regular attachments.

- - - - - - - - - - - - - - - - - - - - - +

The primary use of GNU social is to access the free network, be it ActivityWeb (ActivityPub) or Fediverse (OStatus).

+

Contrary to the original plan, we have merged The Free Network Module, WebFinger and LRDD into a single component named FreeNetwork. Likewise, ActivityPub and ActivityStreams 2.0 was kept the same plugin instead of separated.

+

Understanding the organisation chosen

+ +

The FreeNetwork component adds WebFinger (RFC7033) lookup and implements Link-based Resource Descriptor Discovery (LRDD) based on RFC6415, Web Host Metadata. It takes and produces both Extensible Resource Descriptor (XRD) and JSON (JavaSript Object Notation). Furthermore, and different from v2, every federation protocol will use the same distribution queue maintained by this component instead of holding its own.

+ +

We originally intended to have data modelling plugins that would extend the GS's "language". We then understood that it added more complexity than we wanted without any considerable advantage because we cannot dissociate data reception handling of the protocol itself.

+ +

Situation Report

+ +

ActivityPub already translates between activity and entity and allows plugins to extend it (thus serving a similar purpose to data modelling and representation plugins).

+ +

GNU social v3 now supports mentions, which is a process that starts in the Posting component. The processing of local mentions naturally finds its entire handling here.

+ +

For remote ActivityPub mentions, ActivityPub handles it aided by the FreeNetwork component).

+ +

Next steps

+ +

We still have to port OStatus (and ActivityStreams 1.0) and implement the distribution by FreeNetwork, although the base work is done. Regarding ActivityPub, although some of it already works, expanding the existing plugins to supplement ActivityPub, and full validation isn't ready yet. We will most likely finish the implementation of the whole federation stack in the next week.

@@ -482,21 +306,96 @@ Updates: Finish the Avatar component + +]]>
https://gnusocial.rocks/v3/milestone-activitystreams-20-and-webfinger.html +https://gnusocial.rocks/v3/./milestone-activitystreams-20-and-webfinger.html +GNU social development team +Wed, 03 Nov 2021 01:48:35 +0000
+ +Updates: Interface and accessibility +Hello everyone! Throughout the past year there has been a lot of work in creating a polished, modern looking UI. +This update has been in the works for a long time... Many considerations had to be done, and given the current state of +modern browsers (and their over-reliance in JS) many more surfaced, leading to further testing and fixes.

+

We hope you like it!

+

The prime directive

+
+

Modern looking, consistent and accessible UI across all browsers. +Non-JS version as the primary focus, JS is optional and should be regarded as such.

+
+

The Web is 95% typography, the art and technique of arranging type to make text more readable and pleasing. +To achieve this, a textual hierarchy is fundamental, text should present a clear, readable structure to the reader. +In much of the same fashion, the way we perceive Web pages relies upon the same fundamentals. As such, by focusing on the +markup, we hope to achieve an accessible, fast and polished structure by which any browser and screen reader relies upon.

+

Features

+
    +
  • Accessible +
      +
    • Easy to use keyboard only navigation
    • +
    • Feedback on focused elements
    • +
    • Keyboard shortcuts to access main regions
    • +
    • Vi-like shortcuts
    • +
    • Screen reader tested
    • +
    • Notifies the user when focusing on key elements, such as the feed, notes and actions
    • +
    • Brief description of navigation links
    • +
    • Using semantic HTML whenever possible
    • +
    • Special care given for styling solutions that could break accessibility
    • +
    • Colors and type sizes in accordance to W3C contrast guidelines
    • +
    • Chosen specifically blue-ish and grey-ish hues for faster page loading perception
    • +
  • +
  • Fast, the content provided to the user really is just markup and some CSS rules +
      +
    • Optionally there will be some small use cases where JS makes sense (it's the only thing modern browsers understand e.e)
    • +
    • For example, cropping your avatar before uploading a new one.
    • +
    • This is the only example until now.
    • +
  • +
  • Dark and light default themes available (according to your system theme)
  • +
  • Graceful degradation for unsupported HTML elements
  • +
  • Achieving modern user interface patterns without JS
  • +
  • Various layout engines tested and work as they should +
      +
    • Qt WebEngine (Qutebrowser, Falkon, Otter Browser, etc...)
    • +
    • WebkitGTK (Epiphany, Midori, etc...)
    • +
    • Gecko (Firefox and derivatives)
    • +
    • Goanna (Palemoon, Basilisk, etc...)
    • +
    • Internet Explorer
    • +
  • +
+

Video

+

Keyboard tests

+ +
+]]>
https://gnusocial.rocks/v3/updates-interface-and-accessibility.html +https://gnusocial.rocks/v3/./updates-interface-and-accessibility.html +GNU social development team +Mon, 13 Sep 2021 17:32:55 +0100
+ +Updates: V3 blog +We initially thought that the milestones list would be enough to +announce the development progress. But it's a little too vague +and doesn't really let us express all the on going changes and efforts.

+

The git +history is clear (we believe), but it can be challenging and obscure to outsiders and non-technical people.

+

With the introduction of this blog made with +bashblog, we hope to make all the progress more visible and easier of following :)

+

It has a RSS feed so, don't +forget to subscribe!

@@ -528,10 +427,10 @@ Updates: Finish the Avatar component -]]>
https://gnusocial.rocks/v3/updates-finish-the-avatar-component.html -https://gnusocial.rocks/v3/./updates-finish-the-avatar-component.html +]]>https://gnusocial.rocks/v3/updates-v3-blog.html +https://gnusocial.rocks/v3/./updates-v3-blog.html GNU social development team -Thu, 09 Dec 2021 14:58:31 +0000
+Mon, 16 Aug 2021 13:37:42 +0100 Updates: Implement StoreRemoteMedia for v3 and port Embed https://gnusocial.rocks/v3/updates-implement-storeremotemedia-for-v3-and-port-embed.html https://gnusocial.rocks/v3/./updates-implement-storeremotemedia-for-v3-and-port-embed.html GNU social development team -Thu, 09 Dec 2021 14:58:31 +0000 +Fri, 13 Aug 2021 13:37:42 +0100 Updates: Improve the Attachments system + + + + + + + + + + @@ -630,5 +549,5 @@ 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 GNU social development team -Thu, 09 Dec 2021 14:58:31 +0000 +Thu, 05 Aug 2021 13:37:42 +0100
diff --git a/v3/index.html b/v3/index.html index 6e5f852..7a5911e 100644 --- a/v3/index.html +++ b/v3/index.html @@ -46,17 +46,30 @@ Our objective is to further differentiate GNU social from the alternative softwa

December 2021

+

November 2021

+ +

September 2021

+ +

August 2021

+ +

May 2021

+
All tagsSubscribe
@@ -64,26 +77,26 @@ Our objective is to further differentiate GNU social from the alternative softwa

Milestones

- + +