This project is not covered by Drupal’s security advisory policy.
Allow your drupal site to connect to the Diaspora federation just like any other diaspora pod.
Under Development
This module is under development using Drupal 7. Diaspora is still under alpha, so a release of this version is not anticipated until the Federation Protocol is finalized, and Diaspora releases to Beta. That being said, this module is functional, and while not production ready, it is possible to connect to the Diaspora network and read and share messages from a Drupal installation just as if it was a Diaspora Pod.
The following features are functional have been tested with remote diaspora pods:
- Receiving Sharing Notifications
- Receiving Posts
- Receiving Comments
- Receiving Likes
- Sending Sharing Notifications
- Sending Posts
- Sending Comments
The following is a partial list of things that need work:
- Sending Likes
- Relaying Comments
- Relaying Likes
- Retractions of Comments and Likes
- Private Messages
- User Search
- Uninstall Scripts
The biggest thing that needs work, and that I could use help with, is a default theme for this module that looks good along with some initial views that give utility to all the data integration.
Dependencies
The following decencies are required for the full integration of drupal with the diaspora federation.
- Discovery (with patches)
- VCard (with patches)
- Statuses
- User Relationships
- Flag
Both Discovery and Vcard require some patches in order to get them to D7 and to fix some bugs.
TODO: Get these committed, or at least provide an easy way to get a working version.
The following patches currently need to be applied to Discovery Module:
- http://drupal.org/node/1424976#comment-5544768
- http://drupal.org/node/1451112
- http://drupal.org/node/1451108#comment-5640430
- http://drupal.org/node/1451190
The following patches currently need to be applied to VCard Module:
Submodules
The base Diaspora module provides an API for both receiving and sending Diaspora Federation messages but does not do anything with the messages other than create local users, and does not originate any messages on its own. When an inbound message arrives from another pod, an appropriate hook is called and any other module that wants to do something with these messages can act on them. Likewise, for outbound messages, an API is provided to easily send these messages, but no messages are originated from the base module.
The base module also handles user management, and will automatically create users in drupal as it learns about diaspora users.
The following modules are provided which take advantage of this base module in order to create a diaspora pod out of a Drupal installation, and are bundled in this project.
- Diaspora User Relationships
- Tracks Users that follow local users and allows Local Users to track diaspora users.
- Diaspora Statuses
- Stores Diaspora posts as Status updates on each user, and sends notifications to remote pods when local users create a status update
- Diaspora Comments
- Stores Diaspora comments on Status updates, and sends notifications to remote pods when local users create a comment on a status update
- Diaspora Flag
- Stores Diaspora likes on Status updates and sends notifications to remote pods when local users like a Status Update
Project information
- Created by rurri on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.