wordpress-activitypub/README.md

215 lines
6.8 KiB
Markdown
Raw Normal View History

2018-08-18 12:35:39 +02:00
# ActivityPub #
**Contributors:** [pfefferle](https://profiles.wordpress.org/pfefferle)
**Donate link:** https://notiz.blog/donate/
**Tags:** OStatus, fediverse, activitypub, activitystream
**Requires at least:** 4.7
**Tested up to:** 5.2
**Stable tag:** 0.7.2
2018-12-09 22:20:40 +01:00
**Requires PHP:** 5.6
2018-08-18 12:35:39 +02:00
**License:** MIT
**License URI:** http://opensource.org/licenses/MIT
The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
2018-09-24 20:47:15 +02:00
## Description ##
This is **BETA** software, see the FAQ to see the current feature set or rather what is still planned.
2018-12-01 21:20:24 +01:00
The plugin implements the ActivityPub protocol for your Blog. Your readers will be able to follow your Blogposts on Mastodon and other Federated Plattforms that support ActivityPub.
2018-09-24 20:47:15 +02:00
2019-03-14 23:10:11 +01:00
The plugin works with the following federated plattforms:
* [mastodon](https://joinmastodon.org/)
* [pleroma](https://pleroma.social/)
* [friendi.ca](https://friendi.ca/)
* [hubzilla](https://hubzilla.org/)
2018-09-24 20:47:15 +02:00
## Frequently Asked Questions ##
2018-12-01 21:20:24 +01:00
### What is the status of this plugin? ###
Implemented:
* profile pages (JSON representation)
* custom links
* functional inbox/outbox
2018-12-20 19:10:17 +01:00
* follow (accept follows)
* share posts
* receive comments/reactions
2018-12-01 21:20:24 +01:00
To implement:
2018-12-20 19:10:17 +01:00
* signature verification
* better WordPress integration
* better configuration possibilities
* threaded comments support
2018-12-01 21:20:24 +01:00
### What is "ActivityPub for WordPress" ###
2018-12-01 21:20:24 +01:00
*ActivityPub for WordPress* extends WordPress with some fediverse features, but it does not compete with plattforms like Friendi.ca or Mastodon. If you want to run a **decentralized social network**, please use [Mastodon](https://joinmastodon.org/) or [GNU.social](https://gnu.io/social/).
2018-12-01 21:20:24 +01:00
### What are the differences between this plugin and Pterotype? ###
2018-12-01 21:20:24 +01:00
**Compatibility**
*ActivityPub for WordPress* is compatible with OStatus and IndieWeb plugin suites. *Pterotype* is incompatible with the standalone [WebFinger plugin](https://wordpress.org/plugins/webfinger/) plugin, so it can't be run together with OStatus.
2018-09-24 20:47:15 +02:00
2018-12-01 21:20:24 +01:00
**Custom tables**
2018-09-24 20:47:15 +02:00
*Pterotype* creates/uses a bunch of custom tables, *ActivityPub for WordPress* only uses the native tables and adds as few meta data as possible.
2018-09-24 20:47:15 +02:00
### What if you are running your blog in a subdirectory? ###
In order for webfinger to work, it must be mapped to the root directory of the URL on which your blog resides.
**Apache**
Add the following to the .htaccess file in the root directory:
`RedirectMatch "^\/\.well-known(.*)$" "\/blog\/\.well-known$1"`
Where 'blog' is the path to the subdirectory at which your blog resides.
2018-09-24 20:47:15 +02:00
## Changelog ##
2018-11-04 21:38:11 +01:00
2018-12-01 21:23:00 +01:00
Project maintained on github at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
### 0.7.2 ###
* fixes JSON representation of posts https://merveilles.town/@xuv/101907542498716956
2019-03-14 23:10:11 +01:00
### 0.7.1 ###
* fixed inbox problems with pleroma
2019-03-12 22:22:59 +01:00
### 0.7.0 ###
* finally fixed pleroma compatibility
* added "following" endpoint
* simplified "followers" endpoint
* fixed default value problem
2019-03-09 01:25:51 +01:00
### 0.6.0 ###
2019-03-02 21:10:42 +01:00
* add tags as hashtags to the end of each activity
2019-03-09 01:25:51 +01:00
* fixed pleroma following issue
* followers-list improvements
2019-03-02 21:10:42 +01:00
2019-03-02 20:31:55 +01:00
### 0.5.1 ###
* fixed name-collision that cases an invenate loop
2019-02-28 19:32:10 +01:00
### 0.5.0 ###
* complete refactoring
* fixed bug #30: Password-protected posts are federated
* only send Activites when ActivityPub is enabled for this post-type
2019-02-20 21:05:29 +01:00
### 0.4.4 ###
* show avatars
### 0.4.3 ###
* finally fixed backlink in excerpt/summary posts
### 0.4.2 ###
* fixed backlink in excerpt/summary posts (thanks @depone)
2019-02-19 22:43:14 +01:00
### 0.4.1 ###
* finally fixed contact list
### 0.4.0 ###
* added settings to enable/disable hashtag support
* fixed follower list
* send activities only for new posts, otherwise send updates
2019-02-04 13:30:18 +01:00
### 0.3.2 ###
* added "followers" endpoint
2019-02-04 13:40:23 +01:00
* change activity content from blog 'excerpt' to blog 'content'
2019-02-04 13:30:18 +01:00
2019-02-03 00:44:01 +01:00
### 0.3.1 ###
* better json encoding
2019-01-22 20:51:22 +01:00
### 0.3.0 ###
2019-02-03 00:44:01 +01:00
* basic hashtag support
* temporarily deactived likes and boosts
* added support for actor objects
2019-02-02 23:56:05 +01:00
* fixed encoding issue
2019-01-22 20:51:22 +01:00
2019-01-16 21:52:59 +01:00
### 0.2.1 ###
* customizable backlink (permalink or shorturl)
* show profile-identifiers also on profile settings
### 0.2.0 ###
* added option to switch between content and excerpt
* removed html and duplicateded new-lines
### 0.1.1 ###
2018-12-20 19:10:17 +01:00
2018-12-30 11:41:56 +01:00
* fixed "excerpt" in AS JSON
2018-12-28 22:47:17 +01:00
* added settings for the activity-summary and for the activity-object-type
2018-12-20 19:10:17 +01:00
2018-12-08 00:02:18 +01:00
### 0.1.0 ###
2018-12-09 22:20:40 +01:00
* added basic WebFinger support
* added basic NodeInfo support
2018-12-20 19:10:17 +01:00
* fully functional "follow" activity
* send new posts to your followers
* receive comments from your followers
2018-12-08 00:02:18 +01:00
2018-11-04 21:38:11 +01:00
### 0.0.2 ###
* refactorins
* functional inbox
* nicer profile views
2018-09-24 20:47:15 +02:00
### 0.0.1 ###
* initial
## Installation ##
Follow the normal instructions for [installing WordPress plugins](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins).
### Automatic Plugin Installation ###
To add a WordPress Plugin using the [built-in plugin installer](https://codex.wordpress.org/Administration_Screens#Add_New_Plugins):
1. Go to [Plugins](https://codex.wordpress.org/Administration_Screens#Plugins) > [Add New](https://codex.wordpress.org/Plugins_Add_New_Screen).
1. Type "`activitypub`" into the **Search Plugins** box.
1. Find the WordPress Plugin you wish to install.
1. Click **Details** for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.
1. Click **Install Now** to install the WordPress Plugin.
1. The resulting installation screen will list the installation as successful or note any problems during the install.
1. If successful, click **Activate Plugin** to activate it, or **Return to Plugin Installer** for further actions.
### Manual Plugin Installation ###
There are a few cases when manually installing a WordPress Plugin is appropriate.
* If you wish to control the placement and the process of installing a WordPress Plugin.
* If your server does not permit automatic installation of a WordPress Plugin.
* If you want to try the [latest development version](https://github.com/pfefferle/wordpress-activitypub).
Installation of a WordPress Plugin manually requires FTP familiarity and the awareness that you may put your site at risk if you install a WordPress Plugin incompatible with the current version or from an unreliable source.
Backup your site completely before proceeding.
To install a WordPress Plugin manually:
* Download your WordPress Plugin to your desktop.
* Download from [the WordPress directory](https://wordpress.org/plugins/activitypub/)
* Download from [GitHub](https://github.com/pfefferle/wordpress-activitypub/releases)
* If downloaded as a zip archive, extract the Plugin folder to your desktop.
* With your FTP program, upload the Plugin folder to the `wp-content/plugins` folder in your WordPress directory online.
* Go to [Plugins screen](https://codex.wordpress.org/Administration_Screens#Plugins) and find the newly uploaded Plugin in the list.
* Click **Activate** to activate it.