Compare commits

...

29 commits

Author SHA1 Message Date
40f5bdc94b test
Some checks failed
/ upload-release (push) Successful in 4s
PHP Code Checker / PHP Code Checker (pull_request) Successful in 47s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Failing after 53s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Failing after 55s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Failing after 51s
2024-10-29 21:06:12 +01:00
c75e1307df test
All checks were successful
/ upload-release (push) Successful in 3s
2024-10-29 21:00:34 +01:00
1c67f7a338 test
All checks were successful
/ upload-release (push) Successful in 4s
2024-10-29 20:58:59 +01:00
898a6baf7c test
All checks were successful
/ upload-release (push) Successful in 3s
2024-10-29 20:54:06 +01:00
2d40091866 test
All checks were successful
/ upload-release (push) Successful in 3s
2024-10-29 20:43:43 +01:00
d1c8a1266b test 2024-10-29 20:43:21 +01:00
b3f7d83bfa test
Some checks failed
/ upload-release (push) Failing after 3s
2024-10-29 20:42:10 +01:00
79bf945744 test
Some checks failed
/ upload-release (push) Failing after 3s
2024-10-29 20:39:19 +01:00
9d3f439edc test
Some checks failed
/ upload-release (push) Failing after 2s
2024-10-29 20:37:41 +01:00
d5465a3551 test
Some checks failed
/ upload-release (push) Failing after 2s
2024-10-29 20:37:05 +01:00
4b656c6457 test
Some checks failed
/ upload-release (push) Failing after 3s
2024-10-29 20:35:21 +01:00
0f1dd8be47 test
All checks were successful
/ upload-release (push) Successful in 3s
2024-10-29 17:52:29 +01:00
7fdf01356c typo
All checks were successful
/ upload-release (push) Successful in 4s
2024-10-29 17:51:16 +01:00
defeff32c1 test
Some checks failed
/ upload-release (push) Failing after 1s
2024-10-29 17:50:13 +01:00
804a967233 test
All checks were successful
/ upload-release (push) Successful in 4s
2024-10-29 17:31:58 +01:00
6a931e38a4 add step tot remove distignore files
All checks were successful
/ upload-release (push) Successful in 4s
2024-10-29 17:02:53 +01:00
df15c8610f test
All checks were successful
/ upload-release (push) Successful in 3s
2024-10-29 16:09:46 +01:00
a5f3d632f2 test
Some checks failed
/ upload-release (push) Failing after 3s
2024-10-29 16:08:14 +01:00
08a1172f80 test release workflow
Some checks failed
/ upload-release (push) Failing after 3s
2024-10-29 16:07:04 +01:00
67ea7f7b87 fix typo
Some checks failed
/ upload-release (push) Failing after 3s
2024-10-29 15:58:46 +01:00
48a086765b test FORGEJO_TOKEN
Some checks failed
/ upload-release (push) Failing after 3s
2024-10-29 15:57:25 +01:00
573c6bfa2a use a release token secret
Some checks failed
/ upload-release (push) Failing after 3s
2024-10-29 15:54:56 +01:00
6b4fb08337 use v prefix for release tags
Some checks failed
/ upload-release (push) Failing after 3s
2024-10-29 15:48:22 +01:00
a96ce18524 add token to release ci 2024-10-29 15:47:40 +01:00
ceeb161ca6 fix actions links
Some checks failed
/ upload-release (push) Failing after 4s
2024-10-29 15:43:49 +01:00
0bed532593 test release workflow
Some checks failed
/ upload-release (push) Failing after 4s
2024-10-29 15:41:22 +01:00
743d1e13f3 Use english license URI in main plugin file 2024-10-29 15:28:52 +01:00
557801db33 Tested with ActivityPub plugin up to 4.0.1 2024-10-29 15:28:06 +01:00
4cd1ef4aa0 Fix Text Domain Mismatch 2024-10-29 15:27:27 +01:00
7 changed files with 50 additions and 21 deletions

View file

@ -1,34 +1,24 @@
.distignore
.git
.gitignore
.php_cs
.svnignore
.wordpress-org
.wp-env.json
_config.yml
_site
bin
CHANGELOG.md
CODE_OF_CONDUCT.md
composer.json
composer.lock
docker-compose.yml
Dockerfile
docs
docker-compose-test.yml
docker-compose.yml
FEDERATION.md
Gruntfile.js
Makefile
node_modules
npm-debug.log
package-lock.json
package.json
package-lock.json
phpcs.xml
phpunit.xml
phpunit.xml.dist
README.md
readme.md
SECURITY.md
src
tests
vendor
vendor

View file

@ -0,0 +1,16 @@
on:
push:
tags: 'v*'
jobs:
upload-release:
runs-on: ubuntu-latest
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://code.forgejo.org/actions/forgejo-release@v2
with:
direction: upload
url: https://code.event-federation.eu
release-notes: ${{ TAG }}
token: ${{ secrets.GITHUB_TOKEN }}

23
.gitattributes vendored Normal file
View file

@ -0,0 +1,23 @@
.distignore export-ignore
.forgejo export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.wp-env.json export-ignore
bin export-ignore
CODE_OF_CONDUCT.md export-ignore
composer.json export-ignore
composer.lock export-ignore
docker-compose.yml export-ignore
Dockerfile export-ignore
docs export-ignore
FEDERATION.md export-ignore
Gruntfile.js export-ignore
node_modules export-ignore
package.json export-ignore
package-lock.json export-ignore
phpcs.xml export-ignore
phpunit.xml export-ignore
README.md export-ignore
src export-ignore
tests export-ignore
vendor export-ignore

View file

@ -8,10 +8,10 @@
* Author URI: https://graz.social/@linos
* Text Domain: activitypub-event-bridge
* License: AGPL-3.0-or-later
* License URI: https://www.gnu.org/licenses/agpl-3.0.de.html
* License URI: https://www.gnu.org/licenses/agpl-3.0.html
* Requires PHP: 8.1
*
* Requires at least ActivityPub plugin with version >= 3.2.2. ActivityPub plugin tested up to: 3.3.3.
* Requires at least ActivityPub plugin with version >= 3.2.2. ActivityPub plugin tested up to: 4.0.1.
*
* @package ActivityPub_Event_Bridge
* @license AGPL-3.0-or-later

View file

@ -47,7 +47,7 @@ class Health_Check {
*/
public static function test_event_transformation() {
$result = array(
'label' => \__( 'Transformation of Events to a valid ActivityStreams representation.', 'activitypub' ),
'label' => \__( 'Transformation of Events to a valid ActivityStreams representation.', 'activitypub-event-bridge' ),
'status' => 'good',
'badge' => array(
'label' => \__( 'ActivityPub Event Bridge', 'activitypub-event-bridge' ),
@ -172,7 +172,7 @@ class Health_Check {
'label' => __( 'ActivityPub Event Bridge', 'activitypub-event-bridge' ),
'fields' => array(
'plugin_version' => array(
'label' => __( 'Plugin Version', 'activitypub' ),
'label' => __( 'Plugin Version', 'activitypub-event-bridge' ),
'value' => ACTIVITYPUB_EVENT_BRIDGE_PLUGIN_VERSION,
'private' => true,
),

View file

@ -44,7 +44,7 @@ class Settings {
'activitypub_event_bridge_default_event_category',
array(
'type' => 'string',
'description' => \__( 'Define your own custom post template', 'activitypub' ),
'description' => \__( 'Define your own custom post template', 'activitypub-event-bridge' ),
'show_in_rest' => true,
'default' => self::DEFAULT_EVENT_CATEGORY,
'sanitize_callback' => array( self::class, 'sanitize_mapped_event_category' ),
@ -56,7 +56,7 @@ class Settings {
'activitypub_event_bridge_event_category_mappings',
array(
'type' => 'array',
'description' => \__( 'Define your own custom post template', 'activitypub' ),
'description' => \__( 'Define your own custom post template', 'activitypub-event-bridge' ),
'default' => array(),
'sanitize_callback' => array( self::class, 'sanitize_event_category_mappings' ),
)
@ -67,7 +67,7 @@ class Settings {
'activitypub_event_bridge_initially_activated',
array(
'type' => 'boolean',
'description' => \__( 'Whether the plugin just got activated for the first time.', 'activitypub' ),
'description' => \__( 'Whether the plugin just got activated for the first time.', 'activitypub-event-bridge' ),
'default' => 1,
)
);

View file

@ -285,7 +285,7 @@ class Setup {
foreach ( $this->active_event_plugins as $event_plugin ) {
if ( ! in_array( $event_plugin->get_post_type(), $activitypub_supported_post_types, true ) ) {
$activitypub_supported_post_types[] = $event_plugin->get_post_type();
add_post_type_support( $event_plugin->get_post_type(), 'activitypub' );
add_post_type_support( $event_plugin->get_post_type(), 'activitypub-event-bridge' );
}
}
update_option( 'activitypub_support_post_types', $activitypub_supported_post_types );