Commit graph

169 commits

Author SHA1 Message Date
41363f3fee get schema directly 2024-10-10 14:43:24 +02:00
113d9cadfb fixed naming 2024-10-10 14:41:22 +02:00
82dca423e1 added basic my-calendar transformer 2024-10-07 17:42:31 +02:00
0fba291706 fix readme
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 37s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m6s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m8s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 1m1s
2024-10-03 20:38:28 +02:00
8168df2965 remove duplicated definition of event category strings (#51)
Some checks failed
PHPUnit / PHPUnit – PHP 8.3 (push) Waiting to run
PHP Code Checker / PHP Code Checker (push) Successful in 39s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.2 (push) Has been cancelled
Reviewed-on: #51
2024-10-03 20:35:46 +02:00
8e56eb66c0 remove duplicated definition of event category strings
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 55s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m10s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m9s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m4s
2024-10-03 19:59:31 +02:00
4cc992d79b Remove actions needed for local https development
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 47s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m12s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 1m0s
moved to external plugin: https://code.event-federation.eu/Event-Federation/wordpress-localhost-https-development
2024-10-03 15:30:00 +02:00
17648dc664 improve documentation how to add new event plugin and write a new transformer
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 38s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m6s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 1m0s
2024-10-02 22:40:41 +02:00
a8627cdb02 set default status in the transformer 2024-10-02 22:40:12 +02:00
4aad867d1f Rename plugin to ActivityPub Event Bridge (#47)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 40s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m6s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m12s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 1m0s
See the results of the poll: https://graz.social/@linos/113214893071983918

Reviewed-on: #47
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-10-02 21:54:03 +02:00
2124b1f612 Set timezone and status for The Events Calendar (#46)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 42s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m8s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m7s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 1m2s
Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#46
2024-10-02 19:53:13 +02:00
ced5ee90b1 set timezone and status for tribe
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 43s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m8s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m7s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m5s
2024-10-02 19:50:41 +02:00
972fcbb2db Improve the design of the Base Event Transformer (#44)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 44s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m7s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m6s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 1m2s
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#44
Reviewed-by: André Menrath <andre.menrath@event-federation.eu>
Co-authored-by: ruru4143 <ruru@event-federation.eu>
Co-committed-by: ruru4143 <ruru@event-federation.eu>
2024-10-02 19:15:28 +02:00
2257e86f0f Merge branch 'format_summary'
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 35s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 59s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 56s
2024-09-28 16:38:29 +02:00
11bf3a2048 add node_modules to gitignore
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 36s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 59s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 1m0s
2024-09-28 16:18:00 +02:00
6f744b9e14 Cleanup top of PHP files (#40)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 32s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 57s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 58s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 1m5s
- sorting use statements
- always check for `ABSPATH` after namespace

Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#40
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-28 13:14:10 +02:00
c599384006 improve readme text
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 33s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 58s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 54s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 57s
2024-09-28 11:51:43 +02:00
f92c5853ad First draft of a proper Readme (targeting WordPress.org) (#39)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 33s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 56s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 56s
Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#39
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-28 11:45:47 +02:00
19457a9f19 The Events Calendar: add categories to ActivityStreams tag (#37)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 36s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 56s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 55s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 54s
Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#37
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-27 23:20:30 +02:00
7ab51b104e Fix location for tribe (#36)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 35s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 59s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 57s
Updates did not work. Always use the tribe_event instead of the wp_object where ever possible!

Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#36
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-27 18:04:29 +02:00
3dbd3e21ee phpdocs, phpcs
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 39s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m10s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m9s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m4s
2024-09-26 15:51:23 +02:00
20f0ea2823 add filter to never include permalink in summary
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Failing after 48s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m10s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m17s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m4s
2024-09-26 15:44:22 +02:00
c13230ac6f fix more function return types in transformers
All checks were successful
PHP Code Checker / PHP Code Checker (pull_request) Successful in 33s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 57s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 52s
2024-09-25 14:30:37 +02:00
4d4328f3fd add missing phpdoc
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Successful in 34s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Failing after 57s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Failing after 58s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Failing after 50s
2024-09-25 14:25:27 +02:00
35bd198f47 fix return types of transformer functions
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Failing after 36s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Has been cancelled
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Has been cancelled
2024-09-25 14:24:30 +02:00
ac99300949 wip draft of composed human readable summary using vs events list
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Failing after 36s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Failing after 55s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Failing after 53s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Failing after 50s
2024-09-25 13:59:31 +02:00
e8574d26ac Run integration tests and improve transformers for all integrations (#32)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 33s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 56s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 57s
Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#32
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-25 11:27:17 +02:00
1764a7b03f add tests for venue and join mode is always external
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 43s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m2s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m10s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 58s
2024-09-24 17:16:52 +02:00
893f1d3b7c Add integration tests for The Events Calendar (#31)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 40s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m7s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 52s
Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#31
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-24 16:24:31 +02:00
68b7963fe6 fix composer phpunit to make it work with autoloader
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 47s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m7s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 1m8s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 59s
2024-09-23 16:21:12 +02:00
2b22013e08 Enhance docs
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 34s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 56s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 59s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 51s
2024-09-21 15:04:06 +02:00
6edc402581 fix docker compose file for running unit tests locally
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 33s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 56s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 56s
2024-09-21 14:59:26 +02:00
c495e65105 cleanup repo
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 40s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 58s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 55s
2024-09-21 14:15:16 +02:00
712e56c87e Improve Actions (#27)
All checks were successful
PHP Code Checker / PHP Code Checker (push) Successful in 34s
PHPUnit / PHPUnit – PHP 8.1 (push) Successful in 58s
PHPUnit / PHPUnit – PHP 8.2 (push) Successful in 57s
PHPUnit / PHPUnit – PHP 8.3 (push) Successful in 54s
Try to make caching in Forgejo Actions work.

Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#27
Co-authored-by: André Menrath <andre.menrath@posteo.de>
Co-committed-by: André Menrath <andre.menrath@posteo.de>
2024-09-21 14:06:11 +02:00
575aff68b0 some cleanup
All checks were successful
PHP Code Checker / Run PHP Code Checker (push) Successful in 40s
Unit Testing / Run phpunit tests (push) Successful in 3m53s
2024-09-21 11:17:11 +02:00
f77f4bc017 add forgejo actions for phpunit and phpcs
All checks were successful
PHP Code Checker / Run PHP Code Checker (push) Successful in 42s
Unit Testing / Run phpunit tests (push) Successful in 3m55s
2024-09-21 11:00:33 +02:00
fb544206f9 test
Some checks failed
/ test (push) Successful in 1s
Unit Testing / phpunit (push) Failing after 0s
2024-09-20 19:18:11 +02:00
640304ba23 add phpunit test
Some checks failed
/ test (push) Successful in 1s
Unit Testing / phpunit (push) Failing after 9s
2024-09-20 19:15:55 +02:00
1445964e03 test action
All checks were successful
/ test (push) Successful in 1s
2024-09-20 19:10:01 +02:00
639a64f464 add demo action
Some checks failed
/ test (push) Has been cancelled
2024-09-20 18:55:11 +02:00
c8fc78ccdd small function name improvements 2024-09-18 21:26:53 +02:00
4e2c1fb23a add checks for minimum version of the activitypub plugin 2024-09-11 13:55:37 +02:00
0b3974b255 fix base event transformer for activitypub 3.2+ 2024-09-11 13:50:57 +02:00
1f2bf14860 code beautify and some better docs 2024-09-11 08:00:38 +02:00
126327288f Merge pull request 'Refactoring: each event plugin is now represented by the implementation of a Event_Plugin base class.' (#24) from class_plugin_adapter into main
Reviewed-on: Event-Federation/wordpress-activitypub-event-extensions#24
2024-09-11 00:42:43 +02:00
ea7570d362 improve plugin-file meta 2024-09-11 00:41:37 +02:00
457f433ed9 refactoring: each event plugin now is represented as a class with static functions 2024-09-11 00:38:21 +02:00
b2076951b5 wip 2024-09-10 18:48:54 +02:00
df04913ba1 fix event category mapping when so categories are present 2024-09-10 18:48:02 +02:00
ef858c91e0 refactoring setup class 2024-09-10 18:44:07 +02:00