* 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>
* initial
* re add authorisation request
* remove unnecessary checks
* validate object
* these checks are done by the inbox now
* only handle activitypub requests
* draft that shows potentially right behavior for what is set on the to attribute on posts
* use Actor Object instead
* reformat
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* Add "Stream" Plugin support
This PR adds support for the Stream Plugin. It maps the Notifications to the Stream plugin, that might help us with debugging.
* send type specific notification action
...to be able to subscribe to only a certain type of notifications.
* Support "read more" for Activity-Summary
* add support for excerpt
* use the same function also for the shortcode
* add mentions, hashtags and links support to `the_excerpt`
* do not make unnecessary extra db calls
* fall back to default if options is empty
* remove unused hook
* some fixes
and improvements based on the feedback of @MatzeKitt
* add phpdoc
* also extract hashtags from excerpt
* use filter, so that it is possible to also support mentions
and maybe tags in the future
* Add PHPDoc
* simplify code
* fix test
* 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>
Imitate User Extra Fields, and consolidate into an `ExtraFields` class
---------
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