diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5aa90f7..2e17997 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@master - name: WordPress Plugin Deploy - uses: 10up/action-wordpress-plugin-deploy@master + uses: 10up/action-wordpress-plugin-deploy@stable env: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SVN_USERNAME: ${{ secrets.SVN_USERNAME }} diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 3ffaab2..8a27ded 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -15,7 +15,7 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=10s --health-retries=10 strategy: matrix: - php-versions: ['5.6', '7.2', '7.3', '7.4', '8.0', '8.1'] + php-versions: ['5.6', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2'] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/update-assets.yml b/.github/workflows/update-assets.yml index 06a7c71..2a9955a 100644 --- a/.github/workflows/update-assets.yml +++ b/.github/workflows/update-assets.yml @@ -10,7 +10,7 @@ jobs: steps: - uses: actions/checkout@master - name: WordPress.org plugin asset/readme update - uses: 10up/action-wordpress-plugin-asset-update@master + uses: 10up/action-wordpress-plugin-asset-update@stable env: SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} SVN_USERNAME: ${{ secrets.SVN_USERNAME }} diff --git a/.gitignore b/.gitignore index 6012ccb..4606504 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ composer.lock .DS_Store .idea/ .php_cs.cache +.vscode/settings.json +.phpunit.result.cache diff --git a/README.md b/README.md index 6ff1117..465949e 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # ActivityPub # -**Contributors:** [pfefferle](https://profiles.wordpress.org/pfefferle), [mediaformat](https://profiles.wordpress.org/mediaformat) +**Contributors:** [pfefferle](https://profiles.wordpress.org/pfefferle/), [mediaformat](https://profiles.wordpress.org/mediaformat/), [akirk](https://profiles.wordpress.org/akirk/) **Donate link:** https://notiz.blog/donate/ **Tags:** OStatus, fediverse, activitypub, activitystream **Requires at least:** 4.7 -**Tested up to:** 6.0 -**Stable tag:** 0.13.4 +**Tested up to:** 6.1 +**Stable tag:** 0.14.3 **Requires PHP:** 5.6 **License:** MIT **License URI:** http://opensource.org/licenses/MIT @@ -88,6 +88,26 @@ 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). +### 0.14.3 ### + +* Better error handling. props [@akirk](https://github.com/akirk) + +### 0.14.2 ### + +* Fix Critical error when using Friends Plugin and adding new URL to follow. props [@akirk](https://github.com/akirk) + +### 0.14.1 ### + +* Fix "WebFinger not compatible with PHP < 8.0". props [@mexon](https://github.com/mexon) + +### 0.14.0 ### + +* Friends support: https://wordpress.org/plugins/friends/ . props [@akirk](https://github.com/akirk) +* Massive guidance improvements. props [mediaformat](https://github.com/mediaformat) & [@akirk](https://github.com/akirk) +* Add Custom Post Type support to outbox API. props [blueset](https://github.com/blueset) +* Better hash-tag support. props [bocops](https://github.com/bocops) +* Fix user-count (NodeInfo). props [mediaformat](https://github.com/mediaformat) + ### 0.13.4 ### * fix webfinger for email identifiers diff --git a/activitypub.php b/activitypub.php index c9bca18..8015ff0 100644 --- a/activitypub.php +++ b/activitypub.php @@ -3,7 +3,7 @@ * Plugin Name: 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. - * Version: 0.14.0-RC1 + * Version: 0.15.0 * Author: Matthias Pfefferle * Author URI: https://notiz.blog/ * License: MIT @@ -22,12 +22,15 @@ function init() { \defined( 'ACTIVITYPUB_HASHTAGS_REGEXP' ) || \define( 'ACTIVITYPUB_HASHTAGS_REGEXP', '(?:(?<=\s)|(?<=

)|(?<=
)|^)#([A-Za-z0-9_]+)(?:(?=\s|[[:punct:]]|$))' ); \defined( 'ACTIVITYPUB_ALLOWED_HTML' ) || \define( 'ACTIVITYPUB_ALLOWED_HTML', '