diff --git a/src/Protocol/ActivityPub.php b/src/Protocol/ActivityPub.php index c84f5d3ee4..9ccd90eed6 100644 --- a/src/Protocol/ActivityPub.php +++ b/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 { diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index 5fc4ecbc4b..6b2e02a2c0 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/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 { diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index 17ad0d350f..ee4fe20b9a 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/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 {