Skip to content

Commit acca7d0

Browse files
committed
version bump
1 parent 55ca69f commit acca7d0

File tree

5 files changed

+51
-23
lines changed

5 files changed

+51
-23
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
**Tags:** OStatus, fediverse, activitypub, activitystream
55
**Requires at least:** 4.7
66
**Tested up to:** 5.2.2
7-
**Stable tag:** 0.8.1
7+
**Stable tag:** 0.8.2
88
**Requires PHP:** 5.6
99
**License:** MIT
1010
**License URI:** http://opensource.org/licenses/MIT
@@ -84,6 +84,14 @@ Where 'blog' is the path to the subdirectory at which your blog resides.
8484

8585
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
8686

87+
### 0.8.2 ###
88+
89+
* add all required accept header
90+
* better/simpler accept-header handling
91+
* add debugging mechanism
92+
* Add setting to enable AP for different (public) Post-Types
93+
* explicit use of global functions
94+
8795
### 0.8.1 ###
8896

8997
* fixed PHP warnings

activitypub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: ActivityPub
44
* Plugin URI: https://github.com/pfefferle/wordpress-activitypub/
55
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
6-
* Version: 0.8.1
6+
* Version: 0.8.2
77
* Author: Matthias Pfefferle
88
* Author URI: https://notiz.blog/
99
* License: MIT

includes/class-post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ public function get_the_post_content() {
277277

278278
$decoded_content = \html_entity_decode( $filtered_content, ENT_QUOTES, 'UTF-8' );
279279

280-
$allowed_html = \apply_filters( 'activitypub_allowed_html', '<a><p>' );
280+
$allowed_html = \apply_filters( 'activitypub_allowed_html', '<a><p><ul><ol><li><code><blockquote><pre>' );
281281

282282
return \trim( \preg_replace( '/[\r\n]{2,}/', '', \strip_tags( $decoded_content, $allowed_html ) ) );
283283
}

languages/activitypub.pot

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# This file is distributed under the MIT.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: ActivityPub 0.8.1\n"
5+
"Project-Id-Version: ActivityPub 0.8.2\n"
66
"Report-Msgid-Bugs-To: "
77
"https://wordpress.org/support/plugin/wordpress-activitypub\n"
8-
"POT-Creation-Date: 2019-08-21 13:15:59+00:00\n"
8+
"POT-Creation-Date: 2019-09-29 18:04:39+00:00\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=utf-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
@@ -44,11 +44,15 @@ msgstr ""
4444
msgid "Add all tags as hashtags at the end of each activity"
4545
msgstr ""
4646

47-
#: includes/class-admin.php:107
47+
#: includes/class-admin.php:104
48+
msgid "Enable ActivityPub support for post types"
49+
msgstr ""
50+
51+
#: includes/class-admin.php:115
4852
msgid "Overview"
4953
msgstr ""
5054

51-
#: includes/class-admin.php:109
55+
#: includes/class-admin.php:117
5256
msgid ""
5357
"ActivityPub is a decentralized social networking protocol based on the "
5458
"ActivityStreams 2.0 data format. ActivityPub is an official W3C recommended "
@@ -58,29 +62,29 @@ msgid ""
5862
"subscribing to content."
5963
msgstr ""
6064

61-
#: includes/class-admin.php:114
65+
#: includes/class-admin.php:122
6266
msgid "For more information:"
6367
msgstr ""
6468

65-
#: includes/class-admin.php:115
69+
#: includes/class-admin.php:123
6670
msgid "<a href=\"https://activitypub.rocks/\">Test Suite</a>"
6771
msgstr ""
6872

69-
#: includes/class-admin.php:116
73+
#: includes/class-admin.php:124
7074
msgid "<a href=\"https://www.w3.org/TR/activitypub/\">W3C Spec</a>"
7175
msgstr ""
7276

73-
#: includes/class-admin.php:117
77+
#: includes/class-admin.php:125
7478
msgid ""
7579
"<a href=\"https://github.com/pfefferle/wordpress-activitypub/issues\">Give "
7680
"us feedback</a>"
7781
msgstr ""
7882

79-
#: includes/class-admin.php:119
83+
#: includes/class-admin.php:127
8084
msgid "<a href=\"https://notiz.blog/donate\">Donate</a>"
8185
msgstr ""
8286

83-
#: includes/class-admin.php:129
87+
#: includes/class-admin.php:137
8488
msgid "Fediverse"
8589
msgstr ""
8690

@@ -92,23 +96,23 @@ msgstr ""
9296
msgid "The \"actor\" is no valid URL"
9397
msgstr ""
9498

95-
#: includes/functions.php:128
99+
#: includes/functions.php:130
96100
msgid "No valid JSON data"
97101
msgstr ""
98102

99-
#: includes/functions.php:156
103+
#: includes/functions.php:158
100104
msgid "No \"Inbox\" found"
101105
msgstr ""
102106

103-
#: includes/functions.php:182
107+
#: includes/functions.php:184
104108
msgid "No \"Public-Key\" found"
105109
msgstr ""
106110

107-
#: includes/functions.php:210
111+
#: includes/functions.php:212
108112
msgid "Profile identifier"
109113
msgstr ""
110114

111-
#: includes/functions.php:215
115+
#: includes/functions.php:217
112116
#. translators: the webfinger resource
113117
msgid "Try to follow \"@%s\" in the Mastodon/Friendica search field."
114118
msgstr ""
@@ -234,21 +238,29 @@ msgstr ""
234238
msgid "Maps the WordPress Post-Format to the ActivityPub Object Type."
235239
msgstr ""
236240

237-
#: templates/settings.php:55
241+
#: templates/settings.php:54
242+
msgid "Supported post types"
243+
msgstr ""
244+
245+
#: templates/settings.php:57
246+
msgid "Enable ActivityPub support for the following post types:"
247+
msgstr ""
248+
249+
#: templates/settings.php:74
238250
msgid "Hashtags"
239251
msgstr ""
240252

241-
#: templates/settings.php:59
253+
#: templates/settings.php:78
242254
msgid ""
243255
"Add hashtags in the content as native tags and replace the "
244256
"<code>#tag</code> with the tag-link."
245257
msgstr ""
246258

247-
#: templates/settings.php:62
259+
#: templates/settings.php:81
248260
msgid "Add all tags as hashtags to the end of each activity."
249261
msgstr ""
250262

251-
#: templates/settings.php:77
263+
#: templates/settings.php:96
252264
msgid ""
253265
"If you like this plugin, what about a small <a "
254266
"href=\"https://notiz.blog/donate\">donation</a>?"

readme.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://notiz.blog/donate/
44
Tags: OStatus, fediverse, activitypub, activitystream
55
Requires at least: 4.7
66
Tested up to: 5.2.2
7-
Stable tag: 0.8.1
7+
Stable tag: 0.8.2
88
Requires PHP: 5.6
99
License: MIT
1010
License URI: http://opensource.org/licenses/MIT
@@ -84,6 +84,14 @@ Where 'blog' is the path to the subdirectory at which your blog resides.
8484

8585
Project maintained on GitHub at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
8686

87+
= 0.8.2 =
88+
89+
* add all required accept header
90+
* better/simpler accept-header handling
91+
* add debugging mechanism
92+
* Add setting to enable AP for different (public) Post-Types
93+
* explicit use of global functions
94+
8795
= 0.8.1 =
8896

8997
* fixed PHP warnings

0 commit comments

Comments
 (0)