Posted by & filed under Uncategorized.

The work in the FI-WARE IdM goes on. This version gathers a set of changes that make Social Stream’s relation model even more flexible and customizable.

relation_model has been removed

In earlier versions of Social Stream, the setting relation_model was used to configure a Twitter link relation model of follow, or a Google+ relation model of custom relations. These models have been unified, and both behaviors and even more can be achieved now using custom_relations and system_relations settings. Find an example of follow relation model in the ViSH code.

Besides, the follow relation_model set public post by default. This is defined in the Actor#activity_relations method. You can use a decorator to overwrite this default behavior and get previous follow model behavior.

New notification settings

A contribution from Tamas Ducsai provides Social Stream with more control over notification settings. Users are now able to configure the object of the notifications they want to receive in their inboxes.

System-defined Relation::Owner for groups

The system-defined relation Relation::Owner is now the default relation used in group creation. It is assigned to the group founder and all the owners added while creating a new group. The new group partial has switched participants to owners

Control routed subjects

In the FI-WARE IdM, we are relaying heavily in inheritance to implement custom features from Social Stream functionalities, see application and organization. A new configuration option let developers control which subjects are visible from the browser and the API, SocialStream.routed_subjectsSee example.

As usual, there are a couple of migrations you will to install, using rake social_stream:migrations:update or particular component’s migrations, such as rake social_stream_base_engine:install:migrations

Tags:

/// Leave a Reply

  • (will not be published)