* PHPCS: Enable NoReservedKeywordParameterNames sniff
* Fix parameter doc
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* Rename to $data since the type is ambiguous
Props @pfefferle.
* Name it $uri for consistency
Props @pfefferle.
---------
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.
* 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
* add extra fields settings
* add settings
* add settings link
* allow users to only edit their extra fields
* use nopaging instead of posts_per_page
thanks @mattwiebe
* load filters only on admin page and remove the view actions
* author should not be editable
* some improvements and extra informations
* description
* use nopaging instead
* add blog url
* formatting
* formatting
* some cosmetics
* return attachments
* formatting
* formatting
* add default extra fields
* remove unused migration
* better defaults handling
* use a filter to be able to unhook/replace default extra fields
* should fix#810
---------
Co-authored-by: Matt Wiebe <wiebe@automattic.com>
* 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>
* EMA: Load remote replies for context
* Use the new Http::get_remote_object method
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* Mock http requests, add followers_count to account object
* Remove one more MockAction
* Add one more assert
* cleanup
* cleanup
* use Users class, to check if user is really an ActivityPub user
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* Implement the account endpoint for an external account
* phpcs
* typos
* Change namespace calling
* Populate with more data
* phpcs
* some formatting
* some phpdoc
* Potentially extend an existing account
props @pfefferle
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* phpcs
* Switch to using jsonSerialize
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* Add monthly active users for better stats on FediDB
* use more optimized query
thanks @mattwiebe
* use transients, improve logic
---------
Co-authored-by: Matt Wiebe <wiebe@automattic.com>