Commit graph

1144 commits

Author SHA1 Message Date
ca940bfc4e smoother build process
Some checks failed
PHP_CodeSniffer / phpcs (push) Failing after 4m10s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m52s
Unit Testing / phpunit (7.0) (push) Failing after 5m10s
Unit Testing / phpunit (7.2) (push) Failing after 4m55s
Unit Testing / phpunit (7.3) (push) Failing after 6m6s
Unit Testing / phpunit (7.4) (push) Failing after 5m48s
Unit Testing / phpunit (8.0) (push) Failing after 5m51s
Unit Testing / phpunit (8.1) (push) Failing after 5m43s
Unit Testing / phpunit (8.2) (push) Failing after 5m59s
Unit Testing / phpunit (latest) (push) Failing after 5m47s
2023-12-09 02:01:13 +01:00
31c09cd329 fix #8, transformer not found
Some checks failed
PHP_CodeSniffer / phpcs (push) Failing after 5m0s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 5m29s
Unit Testing / phpunit (7.0) (push) Failing after 5m38s
Unit Testing / phpunit (7.2) (push) Failing after 5m23s
Unit Testing / phpunit (7.3) (push) Failing after 6m17s
Unit Testing / phpunit (7.4) (push) Failing after 6m46s
Unit Testing / phpunit (8.0) (push) Failing after 6m31s
Unit Testing / phpunit (8.1) (push) Failing after 6m20s
Unit Testing / phpunit (8.2) (push) Failing after 6m25s
Unit Testing / phpunit (latest) (push) Failing after 6m10s
2023-12-08 14:06:13 +01:00
d322e8e21d ci: test fix
Some checks failed
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 5m18s
Unit Testing / phpunit (7.0) (push) Failing after 5m39s
Unit Testing / phpunit (7.2) (push) Failing after 5m33s
Unit Testing / phpunit (7.3) (push) Failing after 6m27s
Unit Testing / phpunit (7.4) (push) Failing after 6m44s
Unit Testing / phpunit (8.0) (push) Failing after 6m36s
Unit Testing / phpunit (8.1) (push) Failing after 6m54s
Unit Testing / phpunit (8.2) (push) Failing after 6m6s
Unit Testing / phpunit (latest) (push) Has been cancelled
2023-12-05 13:41:26 +01:00
dccb6d7274 ci: try fix
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 5m28s
Unit Testing / phpunit (7.0) (push) Has been cancelled
2023-12-05 13:34:07 +01:00
466ed7dc2b ci: fix sequence
Some checks failed
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m57s
Unit Testing / phpunit (7.0) (push) Failing after 4m51s
Unit Testing / phpunit (7.2) (push) Failing after 4m51s
Unit Testing / phpunit (7.3) (push) Failing after 5m47s
Unit Testing / phpunit (7.4) (push) Failing after 6m22s
Unit Testing / phpunit (8.0) (push) Failing after 6m4s
Unit Testing / phpunit (8.1) (push) Failing after 5m29s
Unit Testing / phpunit (8.2) (push) Failing after 6m3s
Unit Testing / phpunit (latest) (push) Failing after 5m42s
2023-12-04 23:09:38 +01:00
1d6493212c ci: fix typo
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m43s
Unit Testing / phpunit (7.0) (push) Has been cancelled
2023-12-04 23:00:09 +01:00
1305aea3d8 ci: allow user to connect to db
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m31s
Unit Testing / phpunit (7.0) (push) Has been cancelled
2023-12-04 22:53:20 +01:00
e8bf3f8afa ci: fix typo
Some checks failed
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m56s
Unit Testing / phpunit (7.0) (push) Failing after 5m11s
Unit Testing / phpunit (7.2) (push) Has been cancelled
2023-12-04 22:42:50 +01:00
c26bd22752 ci: fix systemctl is not available
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m57s
Unit Testing / phpunit (7.0) (push) Has been cancelled
2023-12-04 22:36:08 +01:00
6cdfbbac22 ci: enable mariadb
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m39s
Unit Testing / phpunit (7.0) (push) Has been cancelled
2023-12-04 22:28:21 +01:00
da27487106 ci: install missing mariadb-server
Some checks failed
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m41s
Unit Testing / phpunit (7.0) (push) Failing after 4m38s
Unit Testing / phpunit (7.2) (push) Failing after 4m51s
Unit Testing / phpunit (7.3) (push) Has been cancelled
2023-12-04 22:12:42 +01:00
ca94476a1d Merge commit '4a72329bbe97dcf409541bb3d144354b64ad054b' into dev/extendable-transformers
Some checks failed
PHP_CodeSniffer / phpcs (push) Successful in 4m34s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m45s
Unit Testing / phpunit (7.0) (push) Failing after 5m19s
Unit Testing / phpunit (7.2) (push) Failing after 4m56s
Unit Testing / phpunit (7.3) (push) Failing after 5m29s
Unit Testing / phpunit (7.4) (push) Failing after 5m52s
Unit Testing / phpunit (8.0) (push) Failing after 5m36s
Unit Testing / phpunit (8.1) (push) Failing after 6m7s
Unit Testing / phpunit (8.2) (push) Failing after 5m48s
Unit Testing / phpunit (latest) (push) Failing after 5m40s
2023-12-04 19:56:02 +01:00
5addca1aff transformer: make get_supported_post_types static and refactor
Some checks failed
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Successful in 4m0s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m25s
Unit Testing / phpunit (7.0) (push) Failing after 4m43s
Unit Testing / phpunit (7.2) (push) Has been cancelled
2023-12-04 19:42:38 +01:00
56939d3c2e rename filter: slashes to underscores
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Successful in 4m8s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 5m1s
Unit Testing / phpunit (7.0) (push) Has been cancelled
2023-12-04 19:29:40 +01:00
58101facfb ci: make sure mariadb-client is installed on the runner image
Some checks failed
PHP_CodeSniffer / phpcs (push) Successful in 4m5s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m50s
Unit Testing / phpunit (7.2) (push) Has been cancelled
Unit Testing / phpunit (7.3) (push) Has been cancelled
Unit Testing / phpunit (7.4) (push) Has been cancelled
Unit Testing / phpunit (8.0) (push) Has been cancelled
Unit Testing / phpunit (8.1) (push) Has been cancelled
Unit Testing / phpunit (8.2) (push) Has been cancelled
Unit Testing / phpunit (latest) (push) Has been cancelled
Unit Testing / phpunit (7.0) (push) Has been cancelled
2023-11-30 09:03:11 +01:00
1efbb4dcd0 hotfix: phpcs error: introduce getter function for wp_post in the transformer
Some checks failed
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Successful in 4m19s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m26s
Unit Testing / phpunit (7.0) (push) Failing after 4m54s
Unit Testing / phpunit (7.2) (push) Has been cancelled
2023-11-30 08:46:15 +01:00
225e06dfec rename Transformers_Mangaer to Transformer_Factory
Some checks failed
Unit Testing / phpunit (7.2) (push) Waiting to run
Unit Testing / phpunit (7.3) (push) Waiting to run
Unit Testing / phpunit (7.4) (push) Waiting to run
Unit Testing / phpunit (8.0) (push) Waiting to run
Unit Testing / phpunit (8.1) (push) Waiting to run
Unit Testing / phpunit (8.2) (push) Waiting to run
Unit Testing / phpunit (latest) (push) Waiting to run
PHP_CodeSniffer / phpcs (push) Failing after 4m3s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m36s
Unit Testing / phpunit (7.0) (push) Has been cancelled
2023-11-30 08:36:05 +01:00
628f3611d2 fix syntax typo
Some checks failed
PHP_CodeSniffer / phpcs (push) Failing after 4m3s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 5m12s
Unit Testing / phpunit (7.0) (push) Failing after 4m54s
Unit Testing / phpunit (7.2) (push) Failing after 4m41s
Unit Testing / phpunit (7.3) (push) Failing after 5m14s
Unit Testing / phpunit (7.4) (push) Failing after 5m11s
Unit Testing / phpunit (8.0) (push) Failing after 5m8s
Unit Testing / phpunit (8.1) (push) Failing after 4m59s
Unit Testing / phpunit (8.2) (push) Failing after 5m7s
Unit Testing / phpunit (latest) (push) Failing after 4m54s
2023-11-29 23:53:51 +01:00
ebb747368d wip refactoring the transformers
Some checks failed
PHP_CodeSniffer / phpcs (push) Failing after 2s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 2s
Unit Testing / phpunit (7.0) (push) Failing after 2s
Unit Testing / phpunit (7.2) (push) Failing after 2s
Unit Testing / phpunit (7.3) (push) Failing after 3s
Unit Testing / phpunit (7.4) (push) Failing after 3s
Unit Testing / phpunit (8.0) (push) Failing after 3s
Unit Testing / phpunit (8.1) (push) Failing after 3s
Unit Testing / phpunit (8.2) (push) Failing after 3s
Unit Testing / phpunit (latest) (push) Failing after 3s
2023-11-29 23:46:13 +01:00
Matthias Pfefferle
4a72329bbe fix #573 2023-11-29 10:47:31 +01:00
Matt Wiebe
cffff80b54
Blocks: add alt text to avatars (#579) 2023-11-27 14:35:14 -06:00
Matthias Pfefferle
1f5ef3ea2c Add Group Identifier to WebFinger endpoint 2023-11-27 13:51:30 +01:00
mdingemanse
e529b19b8b
Clarifying what [ap_excerpt] does (#578)
* clarifying excerpt

* Update help.php to clarify what [ap_excerpt] does
2023-11-26 21:18:03 +01:00
c7ff99e77f fix phpcs via phpcbf
Some checks failed
PHP_CodeSniffer / phpcs (push) Has been cancelled
Unit Testing / phpunit (5.6, 6.2) (push) Has been cancelled
Unit Testing / phpunit (7.0) (push) Has been cancelled
Unit Testing / phpunit (7.2) (push) Has been cancelled
Unit Testing / phpunit (7.3) (push) Has been cancelled
Unit Testing / phpunit (7.4) (push) Has been cancelled
Unit Testing / phpunit (8.0) (push) Has been cancelled
Unit Testing / phpunit (8.1) (push) Has been cancelled
Unit Testing / phpunit (8.2) (push) Has been cancelled
Unit Testing / phpunit (latest) (push) Has been cancelled
2023-11-25 10:43:08 +01:00
e5d19f2b6a fix phpdocs and some readability 2023-11-25 10:38:22 +01:00
768d190be0 move transofmrer function get_post_content_template to base class
fix: make in_array comparison strict
2023-11-25 10:37:54 +01:00
9c20c8fced fix init of new transformer instance 2023-11-25 10:37:00 +01:00
82928fb74d fix phpdocs 2023-11-25 10:32:44 +01:00
d25a5c2d09 fix: forgotten merge conflict 2023-11-25 10:31:40 +01:00
47b7d8410f cleanup: remove function get_post_content_template that is now present in parent base transformer class 2023-11-25 10:27:59 +01:00
8338ea4570 fix: make in_array comparison strict 2023-11-25 10:27:11 +01:00
81f971b477 fix creation of new transformer instance 2023-11-25 10:26:36 +01:00
2a7929719b Merge branch 'add/extendable-transformers' of ssh://code.event-federation.eu:2222/Event-Federation/wordpress-activitypub into add/extendable-transformers 2023-11-25 10:24:45 +01:00
Matthias Pfefferle
75f1da13e8
Merge branch 'master' into add/extendable-transformers 2023-11-24 09:48:03 +01:00
Matthias Pfefferle
8849e7b446
Check if the current post type supports ActivityPub. (#570)
* Check if the current post type supports ActivityPub.

* Update includes/functions.php

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Update functions.php

---------

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
2023-11-23 18:00:40 +01:00
ed1b6b7e77 change hook name for registering transformers
follow WordPress coding style and coding style of this plugin
2023-11-22 14:58:06 +01:00
804cb0af1a fix phpcs errors 2023-11-22 14:24:25 +01:00
0bd6eccfed typo 2023-11-22 13:59:45 +01:00
c857eee616 transformer: move all related code to \Activitypub\Transformer namespace 2023-11-22 13:59:39 +01:00
369b32bc93 transformer: move all related code to \Activitypub\Transformer namespace 2023-11-22 08:36:55 +01:00
Matthias Pfefferle
3a5b530111
Merge branch 'master' into add/extendable-transformers 2023-11-21 15:25:07 +01:00
Matthias Pfefferle
ba44ac701b remove var_dump 2023-11-21 15:05:47 +01:00
Matthias Pfefferle
1af821621b check if ID is set
fallback to URL
2023-11-21 15:05:12 +01:00
Matthias Pfefferle
d00e5a03c8 check if $resource is set 2023-11-21 15:00:39 +01:00
Matthias Pfefferle
60148a3b65 check if user is available 2023-11-21 14:57:44 +01:00
0501fc5ec7 Merge remote-tracking branch 'origin/master' into add/extendable-transformers
also does c35ddf1935
2023-11-21 13:50:57 +01:00
2113d3e9b1 update phpdocs 2023-11-20 23:35:52 +01:00
246600b84e add: untestet draft of the migration for the activated post type setting 2023-11-20 23:30:33 +01:00
0ccb6c91eb fix: add missing self prefix of class constant 2023-11-20 19:39:13 +01:00
6d40ebf30e Automatically set the wp_post when returning a transformer instance for the wp_post 2023-11-20 19:36:45 +01:00