* 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>
* replace hashtags, mentions and ulrs in summary
* move faq stuff and auto generate markdown version with grunt
* I would rename it the class to `Link` because it's about linking not about URLs
* fix auto generated readme
* let use not converted links in extra fields our link generation
* consistency
* find new function name, because it is not purely about links
* make `rel` directly filterable to be more flexible in the future
* remove some whitespaces
* it is not needed to check for a link inside a link
* not convert extra field links with additional text
* not convert extra field links with additional text
* simplified code
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* add some filters
* re-order functions for a better readability
* first draft to support Seriously Simple Podcasting
* use icon instead of thumbnail
* fix array_filter
* use transformer instead
* fix phpcs issues
* add some PHPDoc
* some more docs
* Notifications: introduce general class and use it for new follows
Also send stuff via Jetpack
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* simplify code
* show limited profile informations
* exclude application user
* use actor instead of user
* change JS
* use Application instead of Application_User
* re-add use
* add summary
* Improves comment intent
* remove limited actor json in favour of the application user
---------
Co-authored-by: Django Doucet <mediaformat.ux@gmail.com>
* Use an ActivityPub capability to better enable/disable ActivityPub support
* split PRs
* remove test hook
* do not run migrations for new installs
* fix unit tests
* fix unit tests
* remove abandoned schedule!
* fix migration class
* fix order
* restructuring
* remove follower migration
* do not yet remove legacy followers
* remove blog-user changes
* use a const for the version number
* add user tests and fix old ones
* use a more generic async migrator
* optimized test
* nicer default handling!
* use attachment based on the object type
* fix typo
* C&P issue
* update settings
* add default post format
* mixed up `post_format` with `object_type`
* use h2 instead of strong
* add theme support for `post-formats`
if using that feature for ActivityPub
* use Note instead of `image`, `video` and `gallery`
* add `alt` support for images
fix#94
* set type to `Note` if post-type has no title support
* better check
* hide "Post content" when WordPress-Post-Format is selected
* add ACTIVITYPUB_DEFAULT_OBJECT_TYPE const
* move some code
* use note as default
* fix some times broken reply context
* revert changes
* add a filter to finally verify if an activity should be send or not
* better local comment handling
do not federate local only comments (fix#652) and hide "reply" link for federated comments
* show JSON only for comments that should be federated!
* fix parent_comment handling
* show external id if exists
* disable "edit comments" for federated comments
* some more doc
* added tests
* fix#658
* allow custom reply link!
* some restructurings
* this will be only a minor release
* version bump
* mark WordPress object as federated
* fix content filter issue!
fixes https://wordpress.org/support/topic/yasr-ratings-appear-on-comments-on-mastodon/
* add custom filter
thanks @janboddez for the idea https://github.com/Automattic/wordpress-activitypub/pull/645#issuecomment-1898820529
* optimize code a bit
* consts to enable/disable incoming/outgoing interactions
see https://wordpress.org/support/topic/how-to-suppress-user-comments-from-feed/
* rename state
* cleanup federation check
* fix markdown
* better handling of Create/Update/Delete
* update check