Compare commits

..

11 commits

Author SHA1 Message Date
f69f756719 bump version to 0.2.1
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 46s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 59s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 59s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 58s
2024-11-16 19:36:25 +01:00
6bcf1e092b ci: add versions for some plugins
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 47s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Successful in 4m10s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m0s
2024-11-16 19:24:58 +01:00
7d2ab488fd ci: add specific versions for some plugins
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Has been cancelled
2024-11-16 19:24:19 +01:00
c20fb92543 fix ci bin script
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Successful in 44s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Failing after 3m33s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Failing after 3m35s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Failing after 3m35s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Failing after 3m36s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Failing after 3m35s
2024-11-16 18:45:38 +01:00
d3bb53c1bc ci plugin install add support for installing a specific version
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Successful in 46s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Failing after 3m16s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Failing after 3m28s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Failing after 3m20s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Has been cancelled
2024-11-16 18:40:33 +01:00
1cff2aac65 new ci cache
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Successful in 45s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Failing after 3m31s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Failing after 3m29s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Failing after 3m26s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Failing after 3m36s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Failing after 3m26s
2024-11-16 18:13:43 +01:00
7b92f7178a test with wordpress 6.7
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Successful in 47s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Has been cancelled
2024-11-16 18:13:20 +01:00
aa05948fec bump for wordpress 6.7 and ActivityPub plugin 4.2.0
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Successful in 4m5s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Failing after 3m53s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Failing after 3m30s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Failing after 3m23s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Failing after 3m35s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Failing after 3m27s
2024-11-16 17:14:19 +01:00
5334f61c4a format readmes 2024-11-16 17:03:42 +01:00
c81ed626ad fix post_type for mec 2024-11-16 17:03:31 +01:00
455c2d0924 add missing exit if template is accessed directly 2024-11-16 17:03:17 +01:00
5 changed files with 10 additions and 28 deletions

View file

@ -5,18 +5,8 @@ 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).
## [0.2.1] - 2024-11-16
## [0.1.0] - 2024-10-20
### Added
* Initial release on WordPress.org
### Fixed
* Applied some WordPress best practices
## [0.2.0] - 2024-10-20
### Added
* Initial submission to WordPress.org
* Initial version tag.

View file

@ -100,10 +100,6 @@ We're always interested in your feedback. Feel free to reach out to us via [E-Ma
## Changelog ##
### [0.2.1] 2024-11-16 ###
* Initial release on https://wordpress.org/
### [0.2.0] 2024-10-29 ###
* Initial submission to https://wordpress.org/
* Initial release on https://wordpress.org/

View file

@ -180,7 +180,7 @@ In the pipeline we want to run each event plugins integration tests in a single
To activate/load your plugin add it to the switch statement within the function `_manually_load_plugin()` within `tests/bootstrap.php`.
```php
switch ( $activitypub_event_bridge_integration_filter ) {
switch ( $activitypub_event_extension_integration_filter ) {
...
case 'my_event_plugin':
$plugin_file = 'my-event-plugin/my-event-plugin.php';

View file

@ -94,10 +94,6 @@ We're always interested in your feedback. Feel free to reach out to us via [E-Ma
== Changelog ==
= [0.2.1] 2024-11-16 =
* Initial release on https://wordpress.org/
= [0.2.0] 2024-10-29 =
* Initial submission to https://wordpress.org/
* Initial release on https://wordpress.org/

View file

@ -35,10 +35,10 @@ function _manually_load_plugin() {
require_once $plugin_dir . 'activitypub/activitypub.php';
// Capture the --filter argument.
$activitypub_event_bridge_integration_filter = null;
$activitypub_event_extension_integration_filter = null;
foreach ( $_SERVER['argv'] as $arg ) {
if ( strpos( $arg, '--filter=' ) === 0 ) {
$activitypub_event_bridge_integration_filter = substr( $arg, strlen( '--filter=' ) );
$activitypub_event_extension_integration_filter = substr( $arg, strlen( '--filter=' ) );
break;
}
}
@ -49,7 +49,7 @@ function _manually_load_plugin() {
$plugin_file = null;
// See if we want to run integration tests for a specific event-plugin.
switch ( $activitypub_event_bridge_integration_filter ) {
switch ( $activitypub_event_extension_integration_filter ) {
case 'the_events_calendar':
$plugin_file = 'the-events-calendar/the-events-calendar.php';
break;
@ -84,14 +84,14 @@ function _manually_load_plugin() {
}
// Hot fix that allows using Events Manager within unit tests, because the em_init() is later not run as admin.
if ( 'events_manager' === $activitypub_event_bridge_integration_filter ) {
if ( 'events_manager' === $activitypub_event_extension_integration_filter ) {
require_once $plugin_dir . 'events-manager/em-install.php';
em_create_events_table();
em_create_events_meta_table();
em_create_locations_table();
}
if ( 'modern_events_calendar_lite' === $activitypub_event_bridge_integration_filter ) {
if ( 'modern_events_calendar_lite' === $activitypub_event_extension_integration_filter ) {
require_once $plugin_dir . 'modern-events-calendar-lite/app/libraries/factory.php';
$mec_factory = new MEC_factory();
$mec_factory->install();