fix follow/unfollow actions
This commit is contained in:
parent
bae36e1a60
commit
627100b463
5 changed files with 19 additions and 5 deletions
|
@ -4,7 +4,7 @@
|
||||||
**Tags:** OStatus, fediverse, activitypub, activitystream
|
**Tags:** OStatus, fediverse, activitypub, activitystream
|
||||||
**Requires at least:** 4.7
|
**Requires at least:** 4.7
|
||||||
**Tested up to:** 5.6
|
**Tested up to:** 5.6
|
||||||
**Stable tag:** 0.11.0
|
**Stable tag:** 0.11.1
|
||||||
**Requires PHP:** 5.6
|
**Requires PHP:** 5.6
|
||||||
**License:** MIT
|
**License:** MIT
|
||||||
**License URI:** http://opensource.org/licenses/MIT
|
**License URI:** http://opensource.org/licenses/MIT
|
||||||
|
@ -88,6 +88,10 @@ Where 'blog' is the path to the subdirectory at which your blog resides.
|
||||||
|
|
||||||
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
|
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
|
||||||
|
|
||||||
|
### 0.11.1 ###
|
||||||
|
|
||||||
|
* fix follow/unfollow actions
|
||||||
|
|
||||||
### 0.11.0 ###
|
### 0.11.0 ###
|
||||||
|
|
||||||
* add support for customizable post-content
|
* add support for customizable post-content
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Plugin Name: ActivityPub
|
* Plugin Name: ActivityPub
|
||||||
* Plugin URI: https://github.com/pfefferle/wordpress-activitypub/
|
* Plugin URI: https://github.com/pfefferle/wordpress-activitypub/
|
||||||
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
|
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
|
||||||
* Version: 0.11.0
|
* Version: 0.11.1
|
||||||
* Author: Matthias Pfefferle
|
* Author: Matthias Pfefferle
|
||||||
* Author URI: https://notiz.blog/
|
* Author URI: https://notiz.blog/
|
||||||
* License: MIT
|
* License: MIT
|
||||||
|
|
|
@ -152,6 +152,9 @@ class Inbox {
|
||||||
'required' => true,
|
'required' => true,
|
||||||
//'type' => 'enum',
|
//'type' => 'enum',
|
||||||
//'enum' => array( 'Create' ),
|
//'enum' => array( 'Create' ),
|
||||||
|
'sanitize_callback' => function( $param, $request, $key ) {
|
||||||
|
return \strtolower( $param );
|
||||||
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
$params['object'] = array(
|
$params['object'] = array(
|
||||||
|
@ -194,6 +197,9 @@ class Inbox {
|
||||||
'required' => true,
|
'required' => true,
|
||||||
//'type' => 'enum',
|
//'type' => 'enum',
|
||||||
//'enum' => array( 'Create' ),
|
//'enum' => array( 'Create' ),
|
||||||
|
'sanitize_callback' => function( $param, $request, $key ) {
|
||||||
|
return \strtolower( $param );
|
||||||
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
$params['object'] = array(
|
$params['object'] = array(
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
# This file is distributed under the MIT.
|
# This file is distributed under the MIT.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: ActivityPub 0.11.0\n"
|
"Project-Id-Version: ActivityPub 0.11.1\n"
|
||||||
"Report-Msgid-Bugs-To: "
|
"Report-Msgid-Bugs-To: "
|
||||||
"https://wordpress.org/support/plugin/wordpress-activitypub\n"
|
"https://wordpress.org/support/plugin/wordpress-activitypub\n"
|
||||||
"POT-Creation-Date: 2020-12-17 17:27:08+00:00\n"
|
"POT-Creation-Date: 2020-12-17 20:15:15+00:00\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
|
@ -4,7 +4,7 @@ Donate link: https://notiz.blog/donate/
|
||||||
Tags: OStatus, fediverse, activitypub, activitystream
|
Tags: OStatus, fediverse, activitypub, activitystream
|
||||||
Requires at least: 4.7
|
Requires at least: 4.7
|
||||||
Tested up to: 5.6
|
Tested up to: 5.6
|
||||||
Stable tag: 0.11.0
|
Stable tag: 0.11.1
|
||||||
Requires PHP: 5.6
|
Requires PHP: 5.6
|
||||||
License: MIT
|
License: MIT
|
||||||
License URI: http://opensource.org/licenses/MIT
|
License URI: http://opensource.org/licenses/MIT
|
||||||
|
@ -88,6 +88,10 @@ Where 'blog' is the path to the subdirectory at which your blog resides.
|
||||||
|
|
||||||
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
|
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
|
||||||
|
|
||||||
|
= 0.11.1 =
|
||||||
|
|
||||||
|
* fix follow/unfollow actions
|
||||||
|
|
||||||
= 0.11.0 =
|
= 0.11.0 =
|
||||||
|
|
||||||
* add support for customizable post-content
|
* add support for customizable post-content
|
||||||
|
|
Loading…
Reference in a new issue