957d9718f3
implement FEP-2677: Identifying the Application Actor
...
PHP_CodeSniffer / phpcs (push) Failing after 4m12s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 5m1s
Unit Testing / phpunit (7.0) (push) Failing after 4m47s
Unit Testing / phpunit (7.2) (push) Failing after 5m26s
Unit Testing / phpunit (7.3) (push) Failing after 5m43s
Unit Testing / phpunit (7.4) (push) Failing after 5m42s
Unit Testing / phpunit (8.0) (push) Failing after 5m43s
Unit Testing / phpunit (8.1) (push) Failing after 5m34s
Unit Testing / phpunit (8.2) (push) Failing after 5m43s
Unit Testing / phpunit (latest) (push) Failing after 5m19s
https://codeberg.org/fediverse/fep/src/branch/main/fep/2677/fep-2677.md
2023-12-15 17:32:41 +01:00
6819366b85
Merge branch 'dev/extendable-transformers' of ssh://code.event-federation.eu:2222/Event-Federation/wordpress-activitypub into dev/extendable-transformers
PHP_CodeSniffer / phpcs (push) Failing after 4m39s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m38s
Unit Testing / phpunit (7.0) (push) Failing after 4m55s
Unit Testing / phpunit (7.2) (push) Failing after 5m4s
Unit Testing / phpunit (7.3) (push) Failing after 5m57s
Unit Testing / phpunit (7.4) (push) Failing after 5m28s
Unit Testing / phpunit (8.0) (push) Failing after 6m2s
Unit Testing / phpunit (8.1) (push) Failing after 5m53s
Unit Testing / phpunit (8.2) (push) Failing after 5m45s
Unit Testing / phpunit (latest) (push) Failing after 5m36s
2023-12-12 17:10:54 +01:00
b58452b43c
Merge branch 'master' of github.com:Automattic/wordpress-activitypub into dev/extendable-transformers
2023-12-12 17:10:52 +01:00
1e6e7a505e
Merge branch 'master' of github.com:Automattic/wordpress-activitypub into dev/extendable-transformers
Unit Testing / phpunit (5.6, 6.2) (push) Waiting to run
Unit Testing / phpunit (7.0) (push) Waiting to run
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
2023-12-12 17:07:57 +01:00
be8477771c
Merge branch 'dev/extendable-transformers' of ssh://code.event-federation.eu:2222/Event-Federation/wordpress-activitypub into dev/extendable-transformers
Unit Testing / phpunit (7.0) (push) Waiting to run
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 5m14s
Unit Testing / phpunit (5.6, 6.2) (push) Has been cancelled
2023-12-12 17:00:37 +01:00
41412a9b34
temporary fixes in order to allow testing with mobilizon at this moment
2023-12-12 17:00:35 +01:00
Matthias Pfefferle
a2e5fc2021
Add CSS class for AP comments to allow custom designs ( #602 )
...
* Add CSS class for AP comments to allow custom designs
fix #600
* updated changelog
2023-12-12 14:01:43 +01:00
Matthias Pfefferle
9f8bad3e8d
Make Post-Template filterable ( #597 )
...
* make template filterable
prepare #596
also #519
* updated changelog
2023-12-12 13:58:44 +01:00
Matthias Pfefferle
77c508059b
Remove deprecated classes ( #604 )
2023-12-12 13:47:01 +01:00
a626dfce4e
added completness check
PHP_CodeSniffer / phpcs (push) Failing after 3m59s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m24s
Unit Testing / phpunit (7.0) (push) Failing after 4m36s
Unit Testing / phpunit (7.2) (push) Failing after 4m28s
Unit Testing / phpunit (7.3) (push) Failing after 5m23s
Unit Testing / phpunit (7.4) (push) Failing after 5m22s
Unit Testing / phpunit (8.0) (push) Failing after 5m34s
Unit Testing / phpunit (8.1) (push) Failing after 5m35s
Unit Testing / phpunit (8.2) (push) Failing after 5m52s
Unit Testing / phpunit (latest) (push) Failing after 5m21s
2023-12-11 23:22:19 +01:00
5cc9c35811
added null check fro post_meta_time getter
2023-12-11 23:22:07 +01:00
b78bbbe372
better post metadata and property getter
2023-12-11 23:21:47 +01:00
6a51a303f7
added if header
2023-12-11 23:21:20 +01:00
af66737939
added languagemap sugar
2023-12-11 23:21:02 +01:00
6cbe66d121
renamed $skip_next to $_skip_next
PHP_CodeSniffer / phpcs (push) Failing after 4m11s
Unit Testing / phpunit (5.6, 6.2) (push) Failing after 4m56s
Unit Testing / phpunit (7.0) (push) Failing after 5m6s
Unit Testing / phpunit (7.2) (push) Failing after 5m8s
Unit Testing / phpunit (7.3) (push) Failing after 5m48s
Unit Testing / phpunit (7.4) (push) Failing after 5m47s
Unit Testing / phpunit (8.0) (push) Failing after 5m33s
Unit Testing / phpunit (8.1) (push) Failing after 5m46s
Unit Testing / phpunit (8.2) (push) Failing after 5m38s
Unit Testing / phpunit (latest) (push) Failing after 5m22s
2023-12-11 19:53:06 +01:00
25ecff16e7
adding todo's
2023-12-11 19:43:50 +01:00
Matthias Pfefferle
431c4a2676
WebFinger: Add support for URLs ( #594 )
...
* add support for URLs
* phpcs
* simplify vars
2023-12-11 10:28:41 +01:00
ca940bfc4e
smoother build process
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
5aaba2a907
fix typo
2023-12-08 14:09:52 +01:00
31c09cd329
fix #8 , transformer not found
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
Matthias Pfefferle
e5fe4f20b7
some phpcs fixes ( #590 )
...
* some phpcs fixes
* add default $hashalg
2023-12-07 12:30:44 +01:00
Matthias Pfefferle
93b2f1ee7d
Normalize attributes that can have mixed value types ( #586 )
...
* fix #571
* support empty values
* fix phpcs issues
* test for `null`
* use `object_to_uri` on followers list
2023-12-05 18:59:00 +01:00
Matthias Pfefferle
a59408d6b8
clear inbox cache after update
2023-12-05 13:39:00 +01:00
Matthias Pfefferle
24c534961a
add missing nopaging
attribute
2023-12-05 13:27:14 +01:00
Matthias Pfefferle
db846729db
allow <p> and <br /> only for Activities
2023-12-05 13:21:24 +01:00
Matthias Pfefferle
8c93d36d95
fix PHPCS issue
2023-12-05 12:52:28 +01:00
Matthias Pfefferle
15179f2c5a
I think <p> and <br /> are fine for all usecases
2023-12-05 12:21:29 +01:00
ca94476a1d
Merge commit '4a72329bbe97dcf409541bb3d144354b64ad054b' into dev/extendable-transformers
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
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
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
Matthias Pfefferle
5d417d9f5c
remove paging from get_all_followers
...
and add tests
2023-12-04 10:02:30 +01:00
Sam Lade
ca9e71ffc1
Fix sending posts to at most ten instances ( #588 )
2023-12-02 10:58:19 +01:00
Matthias Pfefferle
6e7f82bf42
Activity-Type based handlers ( #551 )
...
* init
* save source id
* fix delete and add improve undo
* test new functions
* add support for threaded comments
* some formatting
* check if URL is no longer available
...and returns either status 410 or 404.
* improve delete handler
* improve update handler
* `object` and `actor` are already required by the inbox endpoint
* fix typo
* simplify queries
* cosmetics
* fix unit tests
* schedule delete comments of deleted actor (#575 )
* schedule delete comments of deleted actor
* phpcs
---------
Co-authored-by: Django Doucet <django.doucet@webdevstudios.com>
* move `get_comments_by_actor` to interactions collection
* consistent wording
* implement Tombstone
* fix follow issue
* fix inbox-create
* added missing namespace
* check if field is set
* Fix namespacing issue
* update profile and update interaction
* fields are already validated by inbox
* optimize avatar handling
---------
Co-authored-by: Django <mediaformat.ux@gmail.com>
Co-authored-by: Django Doucet <django.doucet@webdevstudios.com>
2023-11-30 11:43:48 +01:00
1efbb4dcd0
hotfix: phpcs error: introduce getter function for wp_post in the transformer
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
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
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
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
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
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