Browse Source

Moved documentation

pull/5815/head
Michael 3 years ago
parent
commit
1fe55679fc
  1. 26
      src/Protocol/ActivityPub.php
  2. 18
      src/Protocol/ActivityPub/Receiver.php
  3. 12
      src/Protocol/ActivityPub/Transmitter.php

26
src/Protocol/ActivityPub.php

@ -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
{

18
src/Protocol/ActivityPub/Receiver.php

@ -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
{

12
src/Protocol/ActivityPub/Transmitter.php

@ -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
{

Loading…
Cancel
Save