Skip to content

Commit

Permalink
Merge branch 'trunk' into add/ddev-developmet
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle authored Nov 25, 2024
2 parents d6157d4 + 129ea69 commit 1d71bc4
Show file tree
Hide file tree
Showing 119 changed files with 5,267 additions and 2,251 deletions.
52 changes: 26 additions & 26 deletions .distignore
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
.DS_Store
.editorconfig
.git
.gitignore
.github
.travis.yml
.codeclimate.yml
.data
.ddev
.distignore
.DS_Store
.editorconfig
.git
.github
.gitignore
.php_cs
.svnignore
.travis.yml
.wordpress-org
.php_cs
Gruntfile.js
LINGUAS
Makefile
README.md
readme.md
CHANGELOG.md
CODE_OF_CONDUCT.md
FEDERATION.md
SECURITY.md
LICENSE.md
_site
.wp-env.json
_config.yml
_site
bin
CHANGELOG.md
CODE_OF_CONDUCT.md
composer.json
composer.lock
docker-compose.yml
docker-compose-test.yml
Dockerfile
docs
docker-compose-test.yml
docker-compose.yml
FEDERATION.md
Gruntfile.js
gulpfile.js
package.json
LICENSE.md
LINGUAS
Makefile
node_modules
npm-debug.log
phpcs.xml
package.json
package-lock.json
package.json
phpcs.xml
phpunit.xml
phpunit.xml.dist
tests
node_modules
vendor
README.md
readme.md
SECURITY.md
src
tests
vendor
26 changes: 26 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Changelog Updated"
on:
pull_request:
# The specific activity types are listed here to include "labeled" and "unlabeled"
# (which are not included by default for the "pull_request" trigger).
# This is needed to allow skipping enforcement of the changelog in PRs with specific labels,
# as defined in the (optional) "skipLabels" property.
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]

jobs:
# Enforces the update of a changelog file on every pull request.
changelog:
runs-on: ubuntu-latest
steps:
# CHANGELOG.md
- uses: dangoslen/changelog-enforcer@v3
with:
skipLabels: 'Skip Changelog'
versionPattern: '## \\[((v|V)?\\d*\\.\\d*\\.\\d*-?\\w*|unreleased|Unreleased|UNRELEASED|Dev)\\]'

# readme.txt
- uses: dangoslen/changelog-enforcer@v3
with:
changeLogPath: 'readme.txt'
skipLabels: 'Skip Changelog'
versionPattern: '^=\\s*((v|V)?\\d+\\.\\d+\\.\\d+|Dev)\\s*='
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
/node_modules/
/vendor/
package-lock.json
Expand Down
4 changes: 4 additions & 0 deletions .wp-env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"core": null,
"plugins": [ "." ]
}
136 changes: 136 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,135 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Dev - XXXX-XX-XX

### Added

* A `pre_activitypub_get_upload_baseurl` filter
* Fediverse Preview on post-overview page
* GitHub action to enforce Changelog updates
* New contributors

### Improved

* Outsource Constants to a separate file
* Better handling of `readme.txt` and `README.md`

### Fixed

* Fediverse preview showing `preferredUsername` instead of `name`
* Fixed a potential fatal error in Enable Mastodon Apps

## 4.2.1 - 2024-11-20

### Added

* Mastodon Apps status provider

### Improved

* Image-Handling
* Have better checks if audience should be set or not

### Fixed

* Don't overwrite an existing `wp-tests-config.php`
* PHPCS for phpunit files

## 4.2.0 - 2024-11-15

### Added

* Unit tests for the `ActivityPub\Transformer\Post` class

### Improved

* Reuse constants once they're defined
* "FEP-b2b8: Long-form Text" support
* Admin notice for plain permalink settings is more user-friendly and actionable
* Post-Formats support

### Fixed

* Do not display ActivityPub's user sub-menus to users who do not have the capabilities of writing posts
* Proper margins for notices and font size for page title in settings screen
* Ensure that `?author=0` resolves to blog user

### Removed

* Remove `meta` CLI command
* Remove unneeded translation functions from CLI commands

## 4.1.1 - 2024-11-10

### Fixed

* Only revert to URL if there is one
* Migration

## 4.1.0 - 2024-11-08

### Added

* Add custom Preview for "Fediverse"
* Support `comment_previously_approved` setting

### Fixed

* Hide sticky posts that are not public

### Improved

* `activity_handle_undo` action
* Add title to content if post is a `Note`
* Fallback to blog-user if user is disabled

## 4.0.2 - 2024-10-30

### Fixed

* Do not federate "Local" posts

### Improved

* Help-text for Content-Warning box

## [4.0.1] - 2024-10-26

### Fixed

* Missing URL-Param handling in REST API
* Seriously Simple Podcasting integration
* Multiple small fixes

### Improved

* Provide contextual fallback for dynamic blocks

## [4.0.0] - 2024-10-23

### Added

* Fire an action before a follower is removed
* Make Intent-URL filterable
* `title` attribute to link headers for better readability
* Post "visibility" feature
* Attribution-Domains support

### Improved

* Inbox validation
* WordPress-Post-Type - Detection
* Only validate POST params and do not fall back to GET params
* ID handling for a better compatibility with caching plugins

### Fixed

* The "Shared Inbox" endpoint
* Ensure that sticky_posts is an array
* URLs and Hashtags in profiles were not converted
* A lot of small improvements and fixes

## [3.3.3] - 2024-10-09

### Fixed
Expand Down Expand Up @@ -969,6 +1098,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* initial

[4.2.1]: https://github.com/Automattic/wordpress-activitypub/compare/4.2.0...4.2.1
[4.2.0]: https://github.com/Automattic/wordpress-activitypub/compare/4.1.1...4.2.0
[4.1.1]: https://github.com/Automattic/wordpress-activitypub/compare/4.1.0...4.1.1
[4.1.0]: https://github.com/Automattic/wordpress-activitypub/compare/4.0.2...4.1.0
[4.0.2]: https://github.com/Automattic/wordpress-activitypub/compare/4.0.1...4.0.2
[4.0.1]: https://github.com/Automattic/wordpress-activitypub/compare/4.0.0...4.0.1
[4.0.0]: https://github.com/Automattic/wordpress-activitypub/compare/3.3.3...4.0.0
[3.3.3]: https://github.com/Automattic/wordpress-activitypub/compare/3.3.2...3.3.3
[3.3.2]: https://github.com/Automattic/wordpress-activitypub/compare/3.3.1...3.3.2
[3.3.1]: https://github.com/Automattic/wordpress-activitypub/compare/3.3.0...3.3.1
Expand Down
3 changes: 2 additions & 1 deletion FEDERATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ The WordPress plugin largely follows ActivityPub's server-to-server specificatio
- [FEP-2677: Identifying the Application Actor](https://codeberg.org/fediverse/fep/src/branch/main/fep/2677/fep-2677.md)
- [FEP-2c59: Discovery of a Webfinger address from an ActivityPub actor](https://codeberg.org/fediverse/fep/src/branch/main/fep/2c59/fep-2c59.md)
- [FEP-fb2a: Actor metadata](https://codeberg.org/fediverse/fep/src/branch/main/fep/fb2a/fep-fb2a.md)
- [FEP-b2b8: Long-form Text](https://codeberg.org/fediverse/fep/src/branch/main/fep/b2b8/fep-b2b8.md)

Partially supported FEPs

Expand All @@ -38,4 +39,4 @@ More information on HTTP Signatures, as well as examples, can be found here: htt
- Frequently Asked Questions: https://github.com/Automattic/wordpress-activitypub?tab=readme-ov-file#frequently-asked-questions
- Installation Instructions: https://github.com/Automattic/wordpress-activitypub?tab=readme-ov-file#installation
- Upgrade Notice: https://github.com/Automattic/wordpress-activitypub?tab=readme-ov-file#upgrade-notice
- Changelog: https://github.com/Automattic/wordpress-activitypub?tab=readme-ov-file#changelog
- Changelog: https://github.com/Automattic/wordpress-activitypub/blob/trunk/CHANGELOG.md
57 changes: 0 additions & 57 deletions Gruntfile.js

This file was deleted.

Loading

0 comments on commit 1d71bc4

Please sign in to comment.