Commit graph

1154 commits

Author SHA1 Message Date
Jeremy Herve
ca5a3e24b1
General: load plugin faster (#376)
Fixes #375

Related discussion: p1690454109597069-slack-C04TJ8P900J

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-07-27 15:00:08 +02:00
Matthias Pfefferle
5fd61b98f6 Add followers block to the readmes changelog 2023-07-27 10:44:13 +02:00
Matt Wiebe
1020466756
Autoloader: more precise matching (#372) 2023-07-26 17:46:36 -05:00
Matt Wiebe
5b9dadd6fd
Followers Block (#344)
Introduces a new Followers block. Proudly display your Fediverse followers to the world!

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-07-26 15:05:41 -05:00
Matthias Pfefferle
608d50e475
Merge pull request #371 from Automattic/update/tested-up-to-63
General: update tested WP version for upcoming WordPress 6.3.
2023-07-26 20:01:11 +02:00
Matthias Pfefferle
7ac2533940 auto generate README.md
@jeherve there is a grunt task to auto generate the readme.md from the readme.txt

simply run `npm install` and then `grunt` in your terminal.
2023-07-26 19:57:53 +02:00
Jeremy Herve
ef369e8ca8
General: update tested WP version for upcoming WordPress 6.3. 2023-07-26 19:38:50 +02:00
Matthias Pfefferle
35f7b6ab8e
Merge pull request #370 from Automattic/fix/php82-dynamic-properties-post
Compat: avoid PHP notices when using PHP 8.2
2023-07-26 19:29:19 +02:00
Matthias Pfefferle
b25231a355
Remove obsolete code
https://github.com/Automattic/wordpress-activitypub/pull/370#issuecomment-1652053210
2023-07-26 19:16:36 +02:00
Jeremy Herve
832660c6af
Add changelog 2023-07-26 12:03:09 +02:00
Jeremy Herve
4ed4143d21
Post class: declare $attachments property
This should avoid PHP notices like this one when running PHP 8.2:

PHP Deprecated:  Creation of dynamic property Activitypub\Transformer\Post::$attachments is deprecated in /var/www/html/wp-content/plugins/activitypub/includes/transformer/class-post.php on line 249
2023-07-26 12:02:18 +02:00
Matthias Pfefferle
3834288922 fix issue with API endpoint of WordPress.com 2023-07-25 14:34:14 +02:00
Matthias Pfefferle
38cd0b973b fix ID 2023-07-25 13:47:49 +02:00
Matthias Pfefferle
921ca0c1c6 fix actions 2023-07-25 10:47:59 +02:00
Matthias Pfefferle
0fd80a1c52 update notice 2023-07-24 14:16:14 +02:00
Matthias Pfefferle
8c650c3356 some more admin improvements 2023-07-24 14:13:26 +02:00
Matthias Pfefferle
36a139698d update URLs 2023-07-24 13:59:29 +02:00
Matthias Pfefferle
99133f1143
Merge pull request #367 from Automattic/update/1.0-changelog 2023-07-21 17:12:28 +02:00
Matt Wiebe
e8d6d523b0 update changelog 2023-07-21 10:03:20 -05:00
Matthias Pfefferle
fe90360bf0 fix copy and paste issue 2023-07-21 14:58:49 +02:00
Matthias Pfefferle
426ddffba0 First step of the settings redesign
thanks @nuriapenya for your help and the nice Screens!
2023-07-21 14:52:18 +02:00
Matthias Pfefferle
dd1c0a3bb5
Merge pull request #365 from Automattic/fix/cleanup 2023-07-20 23:30:39 +02:00
Matthias Pfefferle
dd7daf29da simpler filter
thanks @mattwiebe
2023-07-20 18:33:24 +02:00
Matthias Pfefferle
a5bc7628cf do not hide settings for now 2023-07-20 15:53:06 +02:00
Matthias Pfefferle
3b88d5e36c update checks 2023-07-20 15:19:19 +02:00
Matthias Pfefferle
f734e511f7 fix tests 2023-07-20 14:53:34 +02:00
Matthias Pfefferle
44a81742aa Add settings to en/disable user types (for .org users) 2023-07-20 14:21:32 +02:00
Matthias Pfefferle
98143d9a90 phpcs:ignores 2023-07-20 13:25:28 +02:00
Matthias Pfefferle
3289c7bb48 Version bump 2023-07-20 13:21:29 +02:00
Matthias Pfefferle
c288fbe021 some more checks if a blog is in single user mode or not 2023-07-20 10:57:14 +02:00
Matthias Pfefferle
201ee16f37 fix some issues and re-add "ACTIVITYPUB_SINGLE_USER_MODE" const 2023-07-20 10:12:59 +02:00
Matthias Pfefferle
823c4eb2c2
Merge pull request #364 from Automattic/try/phpcs-consolidation
Lint: Try dotcom's set of sniffs
2023-07-20 09:21:02 +02:00
Matt Wiebe
3512206d48 phpcbf fixes 2023-07-19 20:39:58 -05:00
Matt Wiebe
be96b19781 use latest wp coding standards 2023-07-19 19:54:07 -05:00
Matt Wiebe
d3b65f255c Try dotcom's set of sniffs 2023-07-19 16:49:25 -05:00
Matthias Pfefferle
3eab03225b
Merge pull request #363 from Automattic/fix/lint-errors
Lint: now clean
2023-07-19 09:38:58 +02:00
Matt Wiebe
cc168c7d40 more lint nom 2023-07-18 15:13:53 -05:00
Matt Wiebe
2596713213 Lint: now clean 2023-07-18 15:02:27 -05:00
Matthias Pfefferle
7b83fddfe0 fix predictability and collision 2023-07-18 14:36:33 +02:00
Matthias Pfefferle
ee3574a8a3
Merge pull request #362 from Automattic/short-code-hardening
Hardening the use of a shortcode
2023-07-18 08:31:11 +02:00
Matthias Pfefferle
f4c8264e9a move function to Shortcode class 2023-07-18 08:20:09 +02:00
Matthias Pfefferle
bf8acf9f51 use wp_rand and change hashtags too 2023-07-18 08:14:28 +02:00
Alex Kirk
ab6aefe446 Add missing output escaping 2023-07-18 06:30:06 +02:00
Matthias Pfefferle
964ceee869 fix tests 2023-07-17 17:23:13 +02:00
Matthias Pfefferle
d7e9d54063 Checks if item (WP_Post) is "public", a supported post type and not password protected. 2023-07-17 15:25:30 +02:00
Matthias Pfefferle
0f54ea465e fix CSRF flaw 2023-07-17 14:37:17 +02:00
Matthias Pfefferle
ab30fec6ed added php 7.0 because this is the new min version with WP 6.3 2023-07-14 13:26:28 +02:00
Matthias Pfefferle
f9d1a6e4c5
Merge pull request #342 from Automattic/add/catchall
prepare pseudo users like a blog wide user. (Catch-All)
2023-07-14 12:47:37 +02:00
Matthias Pfefferle
626616a747 always use host as default username 2023-07-14 11:29:03 +02:00
Matthias Pfefferle
5ae978a8bc user_id could be an int and meta always returns strings
remove strict comparison in this case and add tests to verify the correct behaviour
2023-07-13 10:35:15 +02:00