Skip to content

Commit e347522

Browse files
committed
add autodiscovery link for nodeinfo 2.1
and version bump
1 parent 6cd34b2 commit e347522

File tree

5 files changed

+21
-7
lines changed

5 files changed

+21
-7
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
**Tags:** nodeinfo, fediverse, ostatus, diaspora, activitypub
66
**Requires at least:** 4.9
77
**Tested up to:** 5.6
8-
**Stable tag:** 1.0.5
8+
**Stable tag:** 1.0.6
99
**Requires PHP:** 5.6
1010
**License:** MIT
1111
**License URI:** https://opensource.org/licenses/MIT
@@ -24,6 +24,11 @@ This plugin provides a barebone JSON file with basic "node"-informations. The fi
2424

2525
Project and support maintained on github at [pfefferle/wordpress-nodeinfo](https://github.com/pfefferle/wordpress-nodeinfo).
2626

27+
### 1.0.6 ###
28+
29+
* add autodiscovery link for nodeinfo 2.1
30+
* fix some typos/copy&paste issues
31+
2732
### 1.0.5 ###
2833

2934
* fix missing permission_callback issue

includes/class-nodeinfo-endpoint.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ public static function register_routes() {
9999
public static function render_discovery( WP_REST_Request $request ) {
100100
$discovery = array();
101101
$discovery['links'] = array(
102+
array(
103+
'rel' => 'http://nodeinfo.diaspora.software/ns/schema/2.1',
104+
'href' => get_rest_url( null, '/nodeinfo/2.1' ),
105+
),
102106
array(
103107
'rel' => 'http://nodeinfo.diaspora.software/ns/schema/2.0',
104108
'href' => get_rest_url( null, '/nodeinfo/2.0' ),

languages/nodeinfo.pot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Copyright (C) 2020 Matthias Pfefferle
1+
# Copyright (C) 2021 Matthias Pfefferle
22
# This file is distributed under the MIT.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: NodeInfo 1.0.5\n"
5+
"Project-Id-Version: NodeInfo 1.0.6\n"
66
"Report-Msgid-Bugs-To: "
77
"https://wordpress.org/support/plugin/wordpress-nodeinfo\n"
8-
"POT-Creation-Date: 2020-09-16 11:55:12+00:00\n"
8+
"POT-Creation-Date: 2021-01-15 08:33:33+00:00\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=utf-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
12+
"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
1515
"X-Generator: grunt-wp-i18n1.0.2\n"

nodeinfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: NodeInfo
44
* Plugin URI: https://github.com/pfefferle/wordpress-nodeinfo/
55
* Description: NodeInfo is an effort to create a standardized way of exposing metadata about a server running one of the distributed social networks.
6-
* Version: 1.0.5
6+
* Version: 1.0.6
77
* Author: Matthias Pfefferle
88
* Author URI: https://notiz.blog/
99
* License: MIT

readme.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Donate link: https://notiz.blog/donate/
55
Tags: nodeinfo, fediverse, ostatus, diaspora, activitypub
66
Requires at least: 4.9
77
Tested up to: 5.6
8-
Stable tag: 1.0.5
8+
Stable tag: 1.0.6
99
Requires PHP: 5.6
1010
License: MIT
1111
License URI: https://opensource.org/licenses/MIT
@@ -24,6 +24,11 @@ This plugin provides a barebone JSON file with basic "node"-informations. The fi
2424

2525
Project and support maintained on github at [pfefferle/wordpress-nodeinfo](https://github.com/pfefferle/wordpress-nodeinfo).
2626

27+
= 1.0.6 =
28+
29+
* add autodiscovery link for nodeinfo 2.1
30+
* fix some typos/copy&paste issues
31+
2732
= 1.0.5 =
2833

2934
* fix missing permission_callback issue

0 commit comments

Comments
 (0)