Commit graph

1485 commits

Author SHA1 Message Date
Matthias Pfefferle
7da5bc66ae fix nodeinfo endpoint 2024-09-09 13:34:33 +02:00
Matthias Pfefferle
c180644ccc
Fix Extra-Fields handling (#886) 2024-09-09 12:54:57 +02:00
Matthias Pfefferle
15cff15bc1
Fixed: Content handling for Podcasts (#883) 2024-09-09 10:05:18 +02:00
Matthias Pfefferle
e6c8689b86 version bump 2024-09-09 09:44:35 +02:00
dependabot[bot]
ae8e2b6918
Update yoast/phpunit-polyfills requirement from ^2.0 to ^3.0 (#881) 2024-09-09 07:17:34 +00:00
Matthias Pfefferle
2fe359c844 add fediverse symbol
https://symbol.fediverse.info/
2024-09-05 10:50:03 +02:00
André Menrath
d577dc0d0d
Fix: wrong followers URL in "to" attribute of posts (#874)
* draft that shows potentially right behavior for what is set on the to attribute on posts

* use Actor Object instead

* reformat

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-09-05 10:36:37 +02:00
Matthias Pfefferle
57299fc131
Add "Stream" Plugin support (#863)
* Add "Stream" Plugin support

This PR adds support for the Stream Plugin. It maps the Notifications to the Stream plugin, that might help us with debugging.

* send type specific notification action

...to be able to subscribe to only a certain type of notifications.
2024-09-04 15:25:23 +02:00
Matthias Pfefferle
88675ea6c6
Simple Remote-Reply endpoint. (#866)
* Simple Remote-Comment endpoint.

implements #864

* move sanitize to args

* fix PHPDoc

* change from actions to filters

thanks @akirk for your feedback!

* add generic Interaction hook
2024-09-04 13:37:38 +02:00
Matthias Pfefferle
b52c079299 remove proprietary WebFinger resource 2024-08-20 11:53:27 +02:00
Matthias Pfefferle
0b45628a65 ignore phpcs warning 2024-08-19 12:35:31 +02:00
Matthias Pfefferle
ef00eab0ea exclude likes and announces from comments 2024-08-19 00:57:56 +02:00
Matthias Pfefferle
a482c90069 show avatars on likes and announces
thanks @janboddez
2024-08-18 22:59:33 +02:00
Matthias Pfefferle
7a19bdea17 log inbox requests 2024-08-17 20:17:47 +02:00
Matthias Pfefferle
46db44768c fix undo for likes and announces 2024-08-16 14:12:15 +02:00
Jan Boddez
dabff80cc2
Add like handler (#804)
* Update class-comment.php

* Initial attempt

* Register like handler

* Add support for undoing likes

* add support for announce

and copied basic comment_type support handling from the Webmention plugin

* fix merge issues

* remove C&P issues

* add missing phpdoc

* Disable Announces and Likes by default.

* set ACTIVITYPUB_DISABLE_REACTIONS to false

* refactorings

* fix escaping

* add default object type

* deduplicate code

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-08-16 12:55:16 +02:00
Matthias Pfefferle
7806285d88
Support "read more" for Activity-Summary (#856)
* Support "read more" for Activity-Summary

* add support for excerpt

* use the same function also for the shortcode

* add mentions, hashtags and links support to `the_excerpt`

* do not make unnecessary extra db calls

* fall back to default if options is empty

* remove unused hook

* some fixes

and improvements based on the feedback of @MatzeKitt

* add phpdoc

* also extract hashtags from excerpt

* use filter, so that it is possible to also support mentions

and maybe tags in the future

* Add PHPDoc

* simplify code

* fix test
2024-08-16 12:53:14 +02:00
Matthias Pfefferle
caecaf3c47 always use print_r 2024-08-16 10:46:11 +02:00
Matthias Pfefferle
37a844ca73 update regex to match the changes 2024-08-15 10:18:03 +02:00
Daniel Hüsken
dd8f363c35
fix link detection for extra fields when spaces after the link and fix when two links in the content (#857) 2024-08-14 16:32:26 +02:00
Matthias Pfefferle
b160961a90 unification 2024-08-14 15:50:39 +02:00
Daniel Hüsken
2ac7676359
Replace hashtags, urls and mentions in summary with links (#849)
* replace hashtags, mentions and ulrs in summary

* move faq stuff and auto generate markdown version with grunt

* I would rename it the class to `Link` because it's about linking not about URLs

* fix auto generated readme

* let use not converted links in extra fields our link generation

* consistency

* find new function name, because it is not purely about links

* make `rel` directly filterable to be more flexible in the future

* remove some whitespaces

* it is not needed to check for a link inside a link

* not convert extra field links with additional text

* not convert extra field links with additional text

* simplified code

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-08-14 15:41:42 +02:00
Matt Wiebe
f068396e05
Autoloader: log failure in addition to wp_die() (#853) 2024-08-12 21:29:57 -05:00
Matthias Pfefferle
1b85b77347
Hide Bookmarklet if site does not support Blocks (#851) 2024-08-13 00:34:56 +02:00
Matt Wiebe
08106890a3
Add Blog extra fields (#838)
Imitate User Extra Fields, and consolidate into an `ExtraFields` class

---------

Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-08-09 09:40:35 -05:00
Matthias Pfefferle
0bbd715d05
Refactor Media Handling a bit and add support for Seriously Simple Podcasting (#839)
* add some filters

* re-order functions for a better readability

* first draft to support Seriously Simple Podcasting

* use icon instead of thumbnail

* fix array_filter

* use transformer instead

* fix phpcs issues

* add some PHPDoc

* some more docs
2024-08-08 15:19:55 +02:00
Matthias Pfefferle
4326a76878 update version number 2024-08-07 18:03:56 +02:00
Matthias Pfefferle
f95d0e44b7 prepare version 3.1.0 2024-08-07 17:37:01 +02:00
Matthias Pfefferle
73fcccf6a0 add blueprint 2024-08-07 17:10:05 +02:00
Matthias Pfefferle
80ec65ad0a simplified WebFinger code 2024-08-02 10:31:42 +02:00
Daniel Hüsken
d6095d0943
Add menu_order to ap_extrafield so that user can decide in with order they will be displayed (#827)
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-08-01 11:44:22 +02:00
Matt Wiebe
353d848ef7
Only send Update for previously-published posts (#833) 2024-08-01 09:43:11 +02:00
Matt Wiebe
e6040f5fe8
Fix undefined get_sample_permalink (#832) 2024-08-01 09:41:15 +02:00
Daniel Hüsken
fae1723119
Changed missing activitypub_user_description to activitypub_description (#830) 2024-07-30 11:06:36 +02:00
Daniel Hüsken
d445aa3414
Add line brakes to user biography (#829) 2024-07-30 10:34:45 +02:00
Matthias Pfefferle
1025ceed8c fix typo! 2024-07-29 15:58:34 +02:00
Matthias Pfefferle
fa9e899161 Fix headlines 2024-07-29 14:28:31 +02:00
Matthias Pfefferle
d6e51d3984 add release date 2024-07-29 13:08:32 +02:00
Matthias Pfefferle
093a92bde5 fix typo 2024-07-29 13:01:43 +02:00
Matthias Pfefferle
ed76399d0d add 10 tags 2024-07-26 16:03:58 +02:00
Matthias Pfefferle
5dfde8d971 updated readme 2024-07-26 13:53:19 +02:00
Matthias Pfefferle
a7f04db147 use 3.0.0
because we include some breaking changes
2024-07-26 13:51:03 +02:00
Matthias Pfefferle
5d780a9d35 change cursors 2024-07-26 13:27:36 +02:00
Matthias Pfefferle
7baa93ce3a update readme.md 2024-07-26 11:13:56 +02:00
Matthias Pfefferle
7f2e3754c9 phpcs improvements 2024-07-26 10:26:47 +02:00
Matthias Pfefferle
e8a3f67abb fix health check 2024-07-25 16:30:35 +02:00
Matthias Pfefferle
cd8623da28 fix health check 2024-07-25 16:27:50 +02:00
Matthias Pfefferle
1355c0b950 add link to tools page 2024-07-25 16:27:34 +02:00
Matthias Pfefferle
ea6c250556 rename template to be consistent 2024-07-25 14:58:36 +02:00
Matthias Pfefferle
c6062d88da prepare version 2.7.0 2024-07-25 11:00:24 +02:00