Commit graph

1485 commits

Author SHA1 Message Date
Matthias Pfefferle
545be65cb8 add unit tests 2024-10-17 11:30:47 +02:00
Matthias Pfefferle
fb76e8f106 call migration! 2024-10-17 10:09:48 +02:00
Matthias Pfefferle
6d3270e4de
Merge branch 'trunk' into improve/actor-mode 2024-10-17 09:27:00 +02:00
Matthias Pfefferle
7ca9a581c4
Add "visibility" feature (#931) 2024-10-16 20:44:42 +02:00
Matt Wiebe
7bb5b6bd9e
Merge branch 'trunk' into improve/actor-mode 2024-10-16 12:58:41 -05:00
Matt Wiebe
4b488cf0a9
Replies: fix DivisionByZeroError (#942) 2024-10-16 09:17:43 +02:00
Matthias Pfefferle
83e2b9fb56 add title to link headers
fix #941
2024-10-15 22:05:48 +02:00
Matthias Pfefferle
bc42235c86
Merge branch 'trunk' into improve/actor-mode 2024-10-15 15:10:02 +02:00
Matthias Pfefferle
12ab7768d4 fix possible PHP Warning 2024-10-15 13:01:41 +02:00
Matthias Pfefferle
e33eea667a
Merge branch 'trunk' into improve/actor-mode 2024-10-15 11:19:26 +02:00
Matthias Pfefferle
f0d72c9c57 install svn 2024-10-15 11:14:51 +02:00
Matthias Pfefferle
700180e0b8
Only validate POST params and do not fall back (#934)
* Only validate POST params and do not fall back

Do not fall back to GET or other params if they are not available in the post!

thanks @obenland

* move to sever class, because it affects every endpoint
2024-10-15 11:02:09 +02:00
Matthias Pfefferle
2ca33fdacd
Make Intent-URL filterable (#936)
* Make Intent-URL filterable

Allow plugins to extend the Intent-URL with a custom-post type for example.

This PR also adds `post_type` to the "Query parameters" section.

See: https://github.com/Automattic/jetpack/pull/39738

* ensure that `in_reply_to` is the last param
2024-10-15 11:01:41 +02:00
Daniel Hüsken
7c0cb7f3e8
Fixfor urls and hashtags in profiles are not converted (#940) 2024-10-14 11:23:07 +02:00
Matthias Pfefferle
c992d22d7c
Merge branch 'trunk' into improve/actor-mode 2024-10-11 16:46:32 +02:00
Alex Kirk
17f99cd36a
Fire an action before a follower is removed (#937) 2024-10-11 13:40:39 +02:00
Matthias Pfefferle
41e6f51da4
Merge branch 'trunk' into improve/actor-mode 2024-10-11 13:30:42 +02:00
Matthias Pfefferle
4fae81792b
Improve Auto-Post-Type-Detection (#917) 2024-10-11 07:54:52 +02:00
Matt Wiebe
460174c9a7
Ensure that sticky_posts is an array (#935) 2024-10-10 18:31:09 -05:00
Matthias Pfefferle
14021b9ca3
Update templates/settings.php
Co-authored-by: Matt Wiebe <wiebe@automattic.com>
2024-10-10 09:23:38 +02:00
Matthias Pfefferle
3e36167c15
Update templates/settings.php
Co-authored-by: Matt Wiebe <wiebe@automattic.com>
2024-10-10 09:23:31 +02:00
Matthias Pfefferle
c46a8725b2
Update templates/settings.php
Co-authored-by: Matt Wiebe <wiebe@automattic.com>
2024-10-10 09:23:22 +02:00
Matt Wiebe
8c33dca9bd
Merge branch 'trunk' into improve/actor-mode 2024-10-09 18:39:15 -05:00
Matthias Pfefferle
d532f8be06 A shared Inbox does not need a User-ID. 2024-10-09 17:40:27 +02:00
Matthias Pfefferle
ded55bd4df optimize validation 2024-10-09 17:28:56 +02:00
Matthias Pfefferle
37d34ab50e version bump 2024-10-09 12:57:00 +02:00
Matthias Pfefferle
53e176e938 fix callback issue 2024-10-09 12:47:09 +02:00
Matthias Pfefferle
4189abacfb fix escaping 2024-10-09 09:05:57 +02:00
Matthias Pfefferle
16b662828d add output escaping 2024-10-09 09:04:41 +02:00
Matthias Pfefferle
eccb9cb2cc
Merge branch 'trunk' into improve/actor-mode 2024-10-09 08:59:38 +02:00
Konstantin Obenland
ef666772ec
PHPCS: Include all files by default (#930)
* PHPCS: Include all files by default

* simplify menu highlighting

* Update includes/transformer/class-factory.php

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-10-09 08:57:13 +02:00
Matthias Pfefferle
7bd80b519a
Merge branch 'trunk' into improve/actor-mode 2024-10-08 18:12:38 +02:00
Matthias Pfefferle
f8cd515b05 update links 2024-10-08 17:50:46 +02:00
Matthias Pfefferle
a53486677e update .editorconfig 2024-10-08 17:36:32 +02:00
Matthias Pfefferle
118cb86a06 Merge branch 'improve/actor-mode' of https://github.com/Automattic/wordpress-activitypub into improve/actor-mode 2024-10-08 15:05:25 +02:00
Matthias Pfefferle
82a17c8e35 add comment 2024-10-08 15:05:24 +02:00
Matthias Pfefferle
df86b1b599
Update templates/settings.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2024-10-08 15:01:05 +02:00
Matthias Pfefferle
e5ae63157b
Update templates/settings.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2024-10-08 15:00:57 +02:00
Matthias Pfefferle
493e920df0 use constants 2024-10-08 15:00:34 +02:00
Matthias Pfefferle
1cf0439bcb
Update includes/class-admin.php
Co-authored-by: Konstantin Obenland <obenland@automattic.com>
2024-10-08 11:21:20 +02:00
Matthias Pfefferle
e15ce84aeb
Update templates/settings.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2024-10-08 11:20:44 +02:00
Matthias Pfefferle
a869e92d54
Update templates/settings.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2024-10-08 11:20:32 +02:00
Matthias Pfefferle
dbb2db766b
Update templates/settings.php
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2024-10-08 11:20:25 +02:00
Matthias Pfefferle
224a37ae9d
Update templates/settings.php
Co-authored-by: Konstantin Obenland <obenland@automattic.com>
2024-10-07 16:55:28 +02:00
Matthias Pfefferle
ffc59407ba
Merge branch 'trunk' into improve/actor-mode 2024-10-07 13:26:46 +02:00
Konstantin Obenland
00a57c39a4
PHPCS: Enable Commenting sniff (#925)
* PHPCS: Enable Commenting sniff

* Apply suggestions from code review

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>

* Fix param alignment.

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-10-07 13:25:51 +02:00
Matt Wiebe
0625090989
Fix link regex (#922)
* Fix link regex

* add some tests

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-10-07 13:25:32 +02:00
Matthias Pfefferle
5a9ab69ab2
Merge branch 'trunk' into improve/actor-mode 2024-10-07 10:34:15 +02:00
Konstantin Obenland
465d84b68a
Display warnings and show output (#927) 2024-10-07 10:33:48 +02:00
Matthias Pfefferle
9b0d5857c1 check for WP_Error 2024-10-07 10:03:40 +02:00