* only in the block editor
* update settings page copy: media, not just images
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* remove unused code
* check if `$data['object']` is a sting
* do not index application user
* this fixes GoToSocial errors
* do not cache errors
* re-added the fragment
See https://github.com/superseriousbusiness/gotosocial/issues/2280
* Fix coding standards
* do not verify signature on head request
* only encode needed data
* don't show user select if there isn't more than one user
* vertically center follow me
* add title to handle: might be truncated
* theme compat: ensure readability in dialog
* theme compat for dark bg themes
* fix html-entity issue in username
* remove kses
let other platforms decide what to allow and what not
* Remove html_entity_decode to prevent encoding issues (#454)
I've tested this on content which includes MarkDown, HTML, encoded entities, unencoded entities, etc.
Fixes#445
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* remove allowed tags
---------
Co-authored-by: Terence Eden <edent@users.noreply.github.com>
* fix#463
* fix delete
/cc #465 @janboddez
* add disclaimer to not use the same name as an author login
see #470
* check if url is cached before trashing it
* more group friendly settings
* change http code
* Fix Actor-Type
* fix check if value is set
* only ignore null
* better posting_restricted_to_mods handling
* remove user namespace from moderators endpoint
thanks for the feedback @mattwiebe
This will prevent the issue of attaching images that don't were uploaded to the post but not used in the post
The post needs to be using blocks to get the introspection required.
* Use a tag stack instead of regex for protecting tags
* Use the placeholder in the test
* Add comments
* Update comment
* ignor html comments
thanks @marcS0H
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* Blocks: short-circuit early on sites that do not support blocks
Fixes#430
This is typically only the case for sites using a custom version of WordPress, like ClassicPress.
* let grunt build the markdown
* Check for block support earlier and add filter
One can now deactivate the blocks registered by ActivityPub like so:
```
add_filter( 'activitypub_site_supports_blocks', '__return_false' );
```
* Fix readme (gotta remember to use grunt)
* alias function
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>