Commit graph

1457 commits

Author SHA1 Message Date
Matthias Pfefferle
f6c1a0c8dd add Mastodon sanatizer 2024-10-18 15:13:42 +02:00
Matthias Pfefferle
2f5bd73e38 improve JS 2024-10-18 12:20:20 +02:00
Matthias Pfefferle
3dc174ea20 prepare template 2024-10-18 11:48:08 +02:00
Matthias Pfefferle
883f5faafe open preview link 2024-10-18 11:25:28 +02:00
Matthias Pfefferle
188886a14e initial 2024-10-18 10:51:33 +02:00
Matthias Pfefferle
cfb6345ffd check for do_blocks 2024-10-18 08:45:25 +02:00
Matthias Pfefferle
7ca9a581c4
Add "visibility" feature (#931) 2024-10-16 20:44:42 +02: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
12ab7768d4 fix possible PHP Warning 2024-10-15 13:01:41 +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
Alex Kirk
17f99cd36a
Fire an action before a follower is removed (#937) 2024-10-11 13:40:39 +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
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
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
f8cd515b05 update links 2024-10-08 17:50:46 +02:00
Matthias Pfefferle
a53486677e update .editorconfig 2024-10-08 17:36:32 +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
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
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
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
ad1bcbd475 version bump 2024-10-02 11:35:08 +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