Matthias Pfefferle
d1c4d2572a
fix EMA issue
2024-05-21 10:38:57 +02:00
Matt Wiebe
89a57302c6
Notifications: introduce general class and use it for new follows ( #761 )
...
* Notifications: introduce general class and use it for new follows
Also send stuff via Jetpack
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-05-16 16:03:03 -05:00
Matthias Pfefferle
fa699c1110
fix lookup
2024-05-14 09:52:17 +02:00
Alex Kirk
aa521039a8
Add support for fetching external statuses without replies ( #759 )
2024-05-14 09:26:40 +02:00
Alex Kirk
f6b4783ded
Enable Mastodon Apps: allow searching for URLS ( #756 )
...
* Add search by URL
* -
2024-05-06 08:27:03 +02:00
Alex Kirk
ff5ad7e6a9
Enable Mastodon Apps Integration: Add remote context ( #749 )
...
* EMA: Load remote replies for context
* Use the new Http::get_remote_object method
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-05-03 08:31:01 +02:00
Alex Kirk
5b9131fded
Add missing static keyword and try to lookup if the id is 0 ( #745 )
2024-04-30 10:27:26 +02:00
Alex Kirk
60f0668677
Enable Mastodon Apps: Add remote outbox fetching ( #717 )
...
* Add remote outbox fetching
* Fix linting
* reformatting
* Use the HTTP::get function and introduce caching
* Update includes/class-http.php
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* Update includes/class-http.php
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* Use use
* fix indents
* Check for an existing blurhash
* I think this is easier
* Add more error checking
* Remove debug code
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-04-18 11:13:55 +02:00
Matthias Pfefferle
496f080b72
run the hooker later
2024-03-20 20:41:45 +01:00
Matthias Pfefferle
16248fa731
return search data
2024-03-20 20:27:12 +01:00
Matthias Pfefferle
8938178970
search in followers
2024-03-20 20:19:33 +01:00
Matthias Pfefferle
3d43b3bb4d
extend account with ActivityPub data
2024-03-19 19:14:18 +01:00
Matthias Pfefferle
15ae5f68ed
add followers
2024-03-17 14:59:21 +01:00
Matthias Pfefferle
5988736b14
Add/remote reply ( #689 )
2024-02-22 16:32:16 +01:00
Alex Kirk
dad6b73cdb
Enable Mastodon Apps: Add followers_count to internal accounts ( #676 )
...
* Mock http requests, add followers_count to account object
* Remove one more MockAction
* Add one more assert
* cleanup
* cleanup
* use Users class, to check if user is really an ActivityPub user
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-01-26 17:34:02 +01:00
Alex Kirk
e560d1b5b6
Enable Mastodon Apps: Implement the account endpoint for an external account ( #674 )
...
* Implement the account endpoint for an external account
* phpcs
* typos
* Change namespace calling
* Populate with more data
* phpcs
* some formatting
* some phpdoc
* Potentially extend an existing account
props @pfefferle
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
* phpcs
* Switch to using jsonSerialize
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2024-01-25 15:54:35 +01:00
Matthias Pfefferle
4fafea35e7
implements a basic followers endpoint for the mastodon api ( #666 )
...
* implements a basic followers endpoint for the mastodon api
see https://github.com/akirk/enable-mastodon-apps/pull/67
/cc @akirk
* fix php 5.6 issue
2024-01-18 13:38:02 +01:00
Matthias Pfefferle
2c107eec62
Use FEP-2c59 for WebFinger reference ( #636 )
2024-01-08 20:01:16 +01:00
Matthias Pfefferle
5ce8f28852
fix nodeinfo integration
2023-12-21 15:19:18 +01:00
Matthias Pfefferle
6f1a9a1f7f
added FEP-2677 ( #613 )
...
* added FEP-2677
This PR enables [FEP-2677: Identifying the Application Actor](https://codeberg.org/fediverse/fep/src/branch/main/fep/2677/fep-2677.md )
@Menrath I needed a small task for in between ;)
* update changelog
2023-12-21 10:06:37 +01:00
Matthias Pfefferle
39c9288987
Improve/webfinger ( #616 )
...
* Fix some WebFinger issues
* update changelog
2023-12-21 10:04:15 +01:00
Matthias Pfefferle
431c4a2676
WebFinger: Add support for URLs ( #594 )
...
* add support for URLs
* phpcs
* simplify vars
2023-12-11 10:28:41 +01:00
Matthias Pfefferle
60148a3b65
check if user is available
2023-11-21 14:57:44 +01:00
Matthias Pfefferle
26d0d357c2
Add monthly active users ( #530 )
...
* Add monthly active users for better stats on FediDB
* use more optimized query
thanks @mattwiebe
* use transients, improve logic
---------
Co-authored-by: Matt Wiebe <wiebe@automattic.com>
2023-11-07 10:27:20 +01:00
Matthias Pfefferle
d564915fdf
fix function call ( #503 )
2023-10-12 13:25:50 +02:00
Matthias Pfefferle
fd6cb84ba3
Fix compatibility with WebFinger and NodeInfo plugin
2023-10-11 11:09:37 +02:00
Matthias Pfefferle
133de30b68
remove wp-sweep filter, because post-types are not a problem
2023-06-15 11:44:50 +02:00
Matthias Pfefferle
68002db291
prevent sweeping of followers taxonomies
...
thanks @akirk
b0db9db87e
2023-05-22 10:58:13 +02:00
Matthias Pfefferle
25b53887ef
code improvements
2023-05-19 22:37:05 +02:00
Alex Kirk
a5b3af1b3b
Move the friends parser to the Friends plugin
2023-01-27 15:48:29 +01:00
Alex Kirk
840d144327
Avoid replacing mentions inside links
2023-01-27 15:48:29 +01:00
Alex Kirk
0506e85aa6
Code cleanup
2023-01-27 15:48:28 +01:00
Alex Kirk
995c6c714d
Don't show the ActivityPub section if there is no ActivityPub feed
2023-01-27 15:48:28 +01:00
Alex Kirk
b027d1a8d0
Fix typo
2023-01-27 15:48:28 +01:00
Alex Kirk
a0c48f3a48
Fix typo
2023-01-27 15:48:28 +01:00
Alex Kirk
a61f1168c3
Automatically hide unknown @mentions in the Friends plugin, add a setting to change this
2023-01-27 15:48:28 +01:00
Alex Kirk
6feac1be3b
Add filter to disable possible mention cache
2023-01-27 15:48:28 +01:00
Alex Kirk
7d598d92a8
Revert erroneous changes
2023-01-27 15:48:28 +01:00
Alex Kirk
483e0a85b2
Extract mentions from the unmodified post content.
2023-01-27 15:48:28 +01:00
Alex Kirk
99b316db34
Rework inboxes for cc
2023-01-27 15:48:28 +01:00
Alex Kirk
e065880085
Add ActivityPub mentions
2023-01-27 15:48:28 +01:00
Alex Kirk
034ba0554d
Don't access transient when receiving a WP_Error
2022-12-15 11:37:00 +01:00
Matthias Pfefferle
c6657d2fa8
move method
to webfinger class
2022-12-05 20:48:07 +01:00
Alex Kirk
f916bca388
Add a css class to the image attachments
2022-12-03 07:38:02 +01:00
Alex Kirk
57a95fad01
Add attachment support
2022-12-02 14:27:00 +01:00
Alex Kirk
db9e69f6e8
Fix author name override for announced posts
2022-12-02 13:59:00 +01:00
Alex Kirk
b3a26788eb
Add test for announce
2022-12-02 13:43:09 +01:00
Alex Kirk
a82dea0685
Add unit test
2022-12-02 12:46:42 +01:00
Alex Kirk
7036a65991
Add support for announce activities
2022-12-02 11:30:52 +01:00
Alex Kirk
60cf0889d0
lint fixes
2022-11-25 11:05:34 +01:00