Moved documentation
This commit is contained in:
parent
acd1caa114
commit
1fe55679fc
3 changed files with 29 additions and 27 deletions
|
@ -42,33 +42,7 @@ use Friendica\Core\Config;
|
||||||
* https://github.com/tootsuite/mastodon/blob/master/app/lib/activitypub/activity.rb#L26
|
* https://github.com/tootsuite/mastodon/blob/master/app/lib/activitypub/activity.rb#L26
|
||||||
*
|
*
|
||||||
* To-do:
|
* 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?
|
* - Polling the outboxes for missing content?
|
||||||
* - Possibly using the LD-JSON parser
|
|
||||||
*/
|
*/
|
||||||
class ActivityPub
|
class ActivityPub
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,7 +27,23 @@ use Friendica\Core\Config;
|
||||||
use Friendica\Protocol\ActivityPub;
|
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
|
class Receiver
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,6 +24,18 @@ use Friendica\Model\Profile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief ActivityPub Transmitter Protocol class
|
* @brief ActivityPub Transmitter Protocol class
|
||||||
|
*
|
||||||
|
* To-Do:
|
||||||
|
* - Event
|
||||||
|
*
|
||||||
|
* Complicated:
|
||||||
|
* - Announce
|
||||||
|
* - Undo Announce
|
||||||
|
*
|
||||||
|
* General:
|
||||||
|
* - Attachments
|
||||||
|
* - nsfw (sensitive)
|
||||||
|
* - Queueing unsucessful deliveries
|
||||||
*/
|
*/
|
||||||
class Transmitter
|
class Transmitter
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue