wordpress-activitypub/includes/rest
André Menrath 7370e97b5a
Add replies collection (#876)
* typo in phpdoc

* add first draft for adding replies collections to posts and comments

* refactoring

* Fix php CodeSniffer violations

* fix typo in php comment

* add draft for testing replies

* replies: test with own comment

* fix basic test for replies collection

* Restrict 'type' parameter for replies to 'post' or 'comment' in REST API

* some cleanups

* prefer ID over URL

* rename to `reply_id` to make clear that it is not the WordPress comment_id

* modularize retrieving of comment link via comment meta

* fix phpcs

* I think we should be more precise with this

and maybe there are other fallbacks coming

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-09-25 13:24:35 +02:00
..
class-actors.php Add link header (#817) 2024-07-23 14:56:23 +02:00
class-collection.php Add replies collection (#876) 2024-09-25 13:24:35 +02:00
class-comment.php Add replies collection (#876) 2024-09-25 13:24:35 +02:00
class-followers.php Improve AUTHORIZED_FETCH (#728) 2024-05-03 08:54:06 +02:00
class-following.php Improve AUTHORIZED_FETCH (#728) 2024-05-03 08:54:06 +02:00
class-inbox.php Improve Validation (#847) 2024-09-16 16:57:33 +02:00
class-interaction.php Simple Remote-Reply endpoint. (#866) 2024-09-04 13:37:38 +02:00
class-nodeinfo.php mask version number (#719) 2024-04-05 15:49:38 -05:00
class-outbox.php Improve transformer (#731) 2024-05-16 15:14:31 +02:00
class-server.php Improve Validation (#847) 2024-09-16 16:57:33 +02:00
class-webfinger.php simplified WebFinger code 2024-08-02 10:31:42 +02:00