version bump

This commit is contained in:
Matthias Pfefferle 2019-09-29 20:05:20 +02:00
parent 55ca69fd22
commit acca7d078c
5 changed files with 51 additions and 23 deletions

View file

@ -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.2.2 **Tested up to:** 5.2.2
**Stable tag:** 0.8.1 **Stable tag:** 0.8.2
**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
@ -84,6 +84,14 @@ 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.8.2 ###
* add all required accept header
* better/simpler accept-header handling
* add debugging mechanism
* Add setting to enable AP for different (public) Post-Types
* explicit use of global functions
### 0.8.1 ### ### 0.8.1 ###
* fixed PHP warnings * fixed PHP warnings

View file

@ -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.8.1 * Version: 0.8.2
* Author: Matthias Pfefferle * Author: Matthias Pfefferle
* Author URI: https://notiz.blog/ * Author URI: https://notiz.blog/
* License: MIT * License: MIT

View file

@ -277,7 +277,7 @@ class Post {
$decoded_content = \html_entity_decode( $filtered_content, ENT_QUOTES, 'UTF-8' ); $decoded_content = \html_entity_decode( $filtered_content, ENT_QUOTES, 'UTF-8' );
$allowed_html = \apply_filters( 'activitypub_allowed_html', '<a><p>' ); $allowed_html = \apply_filters( 'activitypub_allowed_html', '<a><p><ul><ol><li><code><blockquote><pre>' );
return \trim( \preg_replace( '/[\r\n]{2,}/', '', \strip_tags( $decoded_content, $allowed_html ) ) ); return \trim( \preg_replace( '/[\r\n]{2,}/', '', \strip_tags( $decoded_content, $allowed_html ) ) );
} }

View file

@ -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.8.1\n" "Project-Id-Version: ActivityPub 0.8.2\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: 2019-08-21 13:15:59+00:00\n" "POT-Creation-Date: 2019-09-29 18:04:39+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"
@ -44,11 +44,15 @@ msgstr ""
msgid "Add all tags as hashtags at the end of each activity" msgid "Add all tags as hashtags at the end of each activity"
msgstr "" msgstr ""
#: includes/class-admin.php:107 #: includes/class-admin.php:104
msgid "Enable ActivityPub support for post types"
msgstr ""
#: includes/class-admin.php:115
msgid "Overview" msgid "Overview"
msgstr "" msgstr ""
#: includes/class-admin.php:109 #: includes/class-admin.php:117
msgid "" msgid ""
"ActivityPub is a decentralized social networking protocol based on the " "ActivityPub is a decentralized social networking protocol based on the "
"ActivityStreams 2.0 data format. ActivityPub is an official W3C recommended " "ActivityStreams 2.0 data format. ActivityPub is an official W3C recommended "
@ -58,29 +62,29 @@ msgid ""
"subscribing to content." "subscribing to content."
msgstr "" msgstr ""
#: includes/class-admin.php:114 #: includes/class-admin.php:122
msgid "For more information:" msgid "For more information:"
msgstr "" msgstr ""
#: includes/class-admin.php:115 #: includes/class-admin.php:123
msgid "<a href=\"https://activitypub.rocks/\">Test Suite</a>" msgid "<a href=\"https://activitypub.rocks/\">Test Suite</a>"
msgstr "" msgstr ""
#: includes/class-admin.php:116 #: includes/class-admin.php:124
msgid "<a href=\"https://www.w3.org/TR/activitypub/\">W3C Spec</a>" msgid "<a href=\"https://www.w3.org/TR/activitypub/\">W3C Spec</a>"
msgstr "" msgstr ""
#: includes/class-admin.php:117 #: includes/class-admin.php:125
msgid "" msgid ""
"<a href=\"https://github.com/pfefferle/wordpress-activitypub/issues\">Give " "<a href=\"https://github.com/pfefferle/wordpress-activitypub/issues\">Give "
"us feedback</a>" "us feedback</a>"
msgstr "" msgstr ""
#: includes/class-admin.php:119 #: includes/class-admin.php:127
msgid "<a href=\"https://notiz.blog/donate\">Donate</a>" msgid "<a href=\"https://notiz.blog/donate\">Donate</a>"
msgstr "" msgstr ""
#: includes/class-admin.php:129 #: includes/class-admin.php:137
msgid "Fediverse" msgid "Fediverse"
msgstr "" msgstr ""
@ -92,23 +96,23 @@ msgstr ""
msgid "The \"actor\" is no valid URL" msgid "The \"actor\" is no valid URL"
msgstr "" msgstr ""
#: includes/functions.php:128 #: includes/functions.php:130
msgid "No valid JSON data" msgid "No valid JSON data"
msgstr "" msgstr ""
#: includes/functions.php:156 #: includes/functions.php:158
msgid "No \"Inbox\" found" msgid "No \"Inbox\" found"
msgstr "" msgstr ""
#: includes/functions.php:182 #: includes/functions.php:184
msgid "No \"Public-Key\" found" msgid "No \"Public-Key\" found"
msgstr "" msgstr ""
#: includes/functions.php:210 #: includes/functions.php:212
msgid "Profile identifier" msgid "Profile identifier"
msgstr "" msgstr ""
#: includes/functions.php:215 #: includes/functions.php:217
#. translators: the webfinger resource #. translators: the webfinger resource
msgid "Try to follow \"@%s\" in the Mastodon/Friendica search field." msgid "Try to follow \"@%s\" in the Mastodon/Friendica search field."
msgstr "" msgstr ""
@ -234,21 +238,29 @@ msgstr ""
msgid "Maps the WordPress Post-Format to the ActivityPub Object Type." msgid "Maps the WordPress Post-Format to the ActivityPub Object Type."
msgstr "" msgstr ""
#: templates/settings.php:55 #: templates/settings.php:54
msgid "Supported post types"
msgstr ""
#: templates/settings.php:57
msgid "Enable ActivityPub support for the following post types:"
msgstr ""
#: templates/settings.php:74
msgid "Hashtags" msgid "Hashtags"
msgstr "" msgstr ""
#: templates/settings.php:59 #: templates/settings.php:78
msgid "" msgid ""
"Add hashtags in the content as native tags and replace the " "Add hashtags in the content as native tags and replace the "
"<code>#tag</code> with the tag-link." "<code>#tag</code> with the tag-link."
msgstr "" msgstr ""
#: templates/settings.php:62 #: templates/settings.php:81
msgid "Add all tags as hashtags to the end of each activity." msgid "Add all tags as hashtags to the end of each activity."
msgstr "" msgstr ""
#: templates/settings.php:77 #: templates/settings.php:96
msgid "" msgid ""
"If you like this plugin, what about a small <a " "If you like this plugin, what about a small <a "
"href=\"https://notiz.blog/donate\">donation</a>?" "href=\"https://notiz.blog/donate\">donation</a>?"

View file

@ -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.2.2 Tested up to: 5.2.2
Stable tag: 0.8.1 Stable tag: 0.8.2
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
@ -84,6 +84,14 @@ 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.8.2 =
* add all required accept header
* better/simpler accept-header handling
* add debugging mechanism
* Add setting to enable AP for different (public) Post-Types
* explicit use of global functions
= 0.8.1 = = 0.8.1 =
* fixed PHP warnings * fixed PHP warnings