Commit graph

1485 commits

Author SHA1 Message Date
Matthias Pfefferle
0c7a477761
Merge branch 'trunk' into improve/actor-mode 2024-10-05 22:41:23 +02:00
Konstantin Obenland
2538a2f1b7
PHPCS: Enable UnusedFunctionParameter sniff (#911)
* PHPCS: Enable UnusedFunctionParameter sniff

* Add unit test for at_title shortcode

* Remove unused variables in at_title shortcode

* Remove remaining unused function parameters.

* PHPCS: Enable UnusedVariable sniff (#912)

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-10-04 11:28:31 -05:00
Jeremy Herve
204afdfb9d
Issue templates: add new issue type option (#924)
This was added as an option as part of this set of changes to GitHub issues:
https://github.blog/changelog/2024-10-01-evolving-github-issues-public-preview/

Related post: pdWQjU-WT-p2
2024-10-04 09:20:53 +02:00
Konstantin Obenland
a2e7729d4d
PHPCS: Enable NoReservedKeywordParameterNames sniff (#909)
* PHPCS: Enable NoReservedKeywordParameterNames sniff

* Fix parameter doc

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

* Rename to $data since the type is ambiguous

Props @pfefferle.

* Name it $uri for consistency

Props @pfefferle.

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-10-03 10:19:06 -05:00
André Menrath
e68e623051
fix phpdoc return type for transformer factory's get_transformer (#921) 2024-10-02 19:03:17 +02:00
Matthias Pfefferle
dbdfaaf47c
Merge branch 'trunk' into improve/actor-mode 2024-10-02 18:48:00 +02:00
Matthias Pfefferle
1af17c4b1d
Prepare multi-lang support (#919)
This PR adds Maps for "name" (title) and "summary".
2024-10-02 18:47:20 +02:00
Matthias Pfefferle
a2d6b9dc8e
fix #871 (#920) 2024-10-02 18:46:52 +02:00
Matthias Pfefferle
ebf49de59e
Merge branch 'trunk' into improve/actor-mode 2024-10-02 13:08:02 +02:00
Matthias Pfefferle
ad1bcbd475 version bump 2024-10-02 11:35:08 +02:00
Matthias Pfefferle
bbdda8ccac remove old settings to not replace them by accident 2024-10-01 17:46:32 +02:00
Matthias Pfefferle
871ad46ad8 revert unnecessary changes 2024-10-01 17:45:13 +02:00
Matthias Pfefferle
ba7dcab207 Simplify Actor-Settings
The new version uses a radio button instead of checkboxes. This way it is better to explain the different modes.
2024-10-01 17:41:23 +02:00
Konstantin Obenland
711217715c
PHPCS: Enable CommentedOutCode sniff (#914) 2024-09-30 12:08:18 +02:00
Konstantin Obenland
cefed604ce
PHPCS: Enable LongNotCapital sniff (#913) 2024-09-30 12:07:52 +02:00
Konstantin Obenland
f40905dd85
PHPCS: Enable GetMetaSingle sniff (#907) 2024-09-30 12:06:59 +02:00
Matthias Pfefferle
d7bc9c78a0 fixed fatal error if remote-object is WP_Error 2024-09-30 09:24:11 +02:00
Konstantin Obenland
91a3799a4d
PHPCS: Enable NotPrepared check (#906) 2024-09-29 16:12:31 -05:00
Konstantin Obenland
f84683be1a
PHPCS: Enable NonceVerification sniff (#908) 2024-09-29 16:12:01 -05:00
Konstantin Obenland
7a19d7377f
PHPCS: Enable MissingShort Sniff (#910) 2024-09-29 16:11:21 -05:00
Konstantin Obenland
2b5f635ba3
Suggestion: Adopt WordPress PHP Coding Standards (#905)
* Update phpcs rules

* Automated style updates

* Silence all other Warnings and Errors

We'll fix them in follow ups.
2024-09-28 12:53:21 -05:00
Matthias Pfefferle
f5989f0380
Keep priority of Icons (only change fallbacks) (#903)
* keep icon prio the same as before

and only replace the icon, because we can not assume that a logo is always square!?!

* remove logo completely
2024-09-26 18:09:19 +02:00
Matthias Pfefferle
b1f2a6160e update branch names to match new main branch: trunk 2024-09-26 09:01:07 +02:00
Matthias Pfefferle
532062c5d8 version bump 2024-09-26 08:56:02 +02:00
Matt Wiebe
b469c23220
wpcom wants anonymous functions like this (#901) 2024-09-25 14:29:55 -05:00
Matthias Pfefferle
62e7a2b489 ooops 2024-09-25 19:59:06 +02:00
Matt Wiebe
de85cca894
Content warnings! (#900)
* Allow content warning

* build files

* added missing namespace

* fix tests

* actors does not support sensitive (yet).

* Update includes/functions.php

* added `sanitize_callback`

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-09-25 17:22:51 +02:00
Matthias Pfefferle
cc7a6cccc0 version bump 2024-09-25 15:40:56 +02:00
André Menrath
7370e97b5a
Add replies collection (#876)
* typo in phpdoc

* add first draft for adding replies collections to posts and comments

* refactoring

* Fix php CodeSniffer violations

* fix typo in php comment

* add draft for testing replies

* replies: test with own comment

* fix basic test for replies collection

* Restrict 'type' parameter for replies to 'post' or 'comment' in REST API

* some cleanups

* prefer ID over URL

* rename to `reply_id` to make clear that it is not the WordPress comment_id

* modularize retrieving of comment link via comment meta

* fix phpcs

* I think we should be more precise with this

and maybe there are other fallbacks coming

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-09-25 13:24:35 +02:00
Matthias Pfefferle
d361a6954d
fix missing @ in Follow-Me block (#898) 2024-09-23 22:44:24 +02:00
Matthias Pfefferle
a0c1d562f5
Add Screenshots of the Blocks (#899) 2024-09-23 22:18:07 +02:00
Matt Wiebe
99295715e3
Enable Mastodon Apps: support profile editing, blog user (#788)
---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-09-23 10:36:16 -05:00
Matthias Pfefferle
9c39c46e3a cleanup changelog 2024-09-23 11:59:26 +02:00
Matt Wiebe
18da65ff29
Follow Me/Followers: add inherit mode for dynamic templating (#892)
---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2024-09-19 15:29:12 -05:00
Matt Wiebe
1136dd313e
Header Images: fix cropping for users without the 'customize' capability (#854)
* Header Images: fix cropping for users without the 'customize' capability

* only show users’ own posts to lower capaability users

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-09-19 12:02:38 +02:00
Alex Kirk
9d1decf582
Be more defensive when openssl (#895) 2024-09-18 14:46:00 +02:00
Matthias Pfefferle
63fc9ebef6 version bump 2024-09-17 14:45:35 +02:00
Matthias Pfefferle
aa9a67f1c1 fix const 2024-09-17 14:42:29 +02:00
Matthias Pfefferle
b913400895 fix issue that federated comments will not be threaded properly 2024-09-17 11:22:22 +02:00
Matthias Pfefferle
c8c4963466 version bump 2024-09-16 20:14:26 +02:00
Matthias Pfefferle
36610f5d75
Improve Validation (#847)
* initial

* re add authorisation request

* remove unnecessary checks

* validate object

* these checks are done by the inbox now

* only handle activitypub requests
2024-09-16 16:57:33 +02:00
Matthias Pfefferle
2729f2f0e1
It seems that Mastodon has issues with HTML in summaries (#893)
Fixes: https://github.com/mastodon/mastodon/issues/28455

Until this is merged: https://github.com/mastodon/mastodon/pull/28629
2024-09-15 09:58:27 +02:00
Matthias Pfefferle
8bff92d260
initial (#867) 2024-09-13 18:21:11 +02:00
Matthias Pfefferle
51dea3d23b fix #891 2024-09-12 19:44:12 +02:00
Matthias Pfefferle
ad99fdaae4 use is_blog_public 2024-09-12 16:55:14 +02:00
Matthias Pfefferle
7c44c947a8 Use Article as default 2024-09-11 10:36:13 +02:00
Matthias Pfefferle
5aaa2e3629 update readme 2024-09-10 16:23:38 +02:00
Matthias Pfefferle
dd70985765 use GitHub Markdown for a "Note" 2024-09-10 12:48:24 +02:00
Jason John Schwarz
33d2d04a20
Added documentation for setup behind reverse proxy with Apache (#888)
* Added documentation for setup behind reverse proxy with Apache

* reformatting and generating markdown version

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-09-10 10:08:54 +02:00
Matthias Pfefferle
95c4430d6e
Improve Accessibility for Reply-Context (#885)
fix #875
2024-09-10 08:46:17 +02:00