Moved documentation

This commit is contained in:
Michael 2018-10-03 09:53:12 +00:00
parent acd1caa114
commit 1fe55679fc
3 changed files with 29 additions and 27 deletions

View file

@ -42,33 +42,7 @@ use Friendica\Core\Config;
* https://github.com/tootsuite/mastodon/blob/master/app/lib/activitypub/activity.rb#L26
*
* To-do:
*
* Receiver:
* - Update (Image, Video, Article, Note)
* - Event
* - Undo Announce
*
* Check what this is meant to do:
* - Add
* - Block
* - Flag
* - Remove
* - Undo Block
* - Undo Accept (Problem: This could invert a contact accept or an event accept)
*
* Transmitter:
* - Event
*
* Complicated:
* - Announce
* - Undo Announce
*
* General:
* - Attachments
* - nsfw (sensitive)
* - Queueing unsucessful deliveries
* - Polling the outboxes for missing content?
* - Possibly using the LD-JSON parser
*/
class ActivityPub
{

View file

@ -27,7 +27,23 @@ use Friendica\Core\Config;
use Friendica\Protocol\ActivityPub;
/**
* @brief ActivityPub Protocol class
* @brief ActivityPub Receiver Protocol class
*
* To-Do:
* - Update (Image, Video, Article, Note)
* - Event
* - Undo Announce
*
* Check what this is meant to do:
* - Add
* - Block
* - Flag
* - Remove
* - Undo Block
* - Undo Accept (Problem: This could invert a contact accept or an event accept)
*
* General:
* - Possibly using the LD-JSON parser
*/
class Receiver
{

View file

@ -24,6 +24,18 @@ use Friendica\Model\Profile;
/**
* @brief ActivityPub Transmitter Protocol class
*
* To-Do:
* - Event
*
* Complicated:
* - Announce
* - Undo Announce
*
* General:
* - Attachments
* - nsfw (sensitive)
* - Queueing unsucessful deliveries
*/
class Transmitter
{