Matthias Pfefferle
e6bb085354
add CLI to re-send Accept activities
...
This is mostly for debugging purposes
2023-10-18 11:26:42 +02:00
Matthias Pfefferle
b1773b5a0c
version bump
2023-10-13 11:02:56 +02:00
Matthias Pfefferle
1ff8bac25a
add filter to check if blog is public ( #504 )
2023-10-12 15:52:11 +02:00
Matthias Pfefferle
2ef72a0364
API changes
2023-10-12 11:00:58 +02:00
Matthias Pfefferle
fd6cb84ba3
Fix compatibility with WebFinger and NodeInfo plugin
2023-10-11 11:09:37 +02:00
Matthias Pfefferle
1ef984da6c
fix a race condition ( #501 )
2023-10-10 20:45:32 +02:00
Matthias Pfefferle
cd6061a472
version bump
2023-10-10 20:41:57 +02:00
Matthias Pfefferle
12a9421c8c
version bump
2023-10-10 17:04:57 +02:00
Matthias Pfefferle
cbb5570a1b
add backward compatibility support ( #489 )
2023-10-10 08:12:15 +02:00
Matt Wiebe
e05176cea5
Add a ACTIVITYPUB_DISABLE_REWRITES
constant ( #490 )
2023-10-04 23:55:13 -05:00
Matt Wiebe
9907585570
Plugin loading refactor ( #485 )
...
* Plugin loading refactor
* changed load order for REST endpoints
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-10-04 11:15:53 -05:00
Matthias Pfefferle
d268bd9aee
version bump
2023-10-02 17:32:27 +02:00
Matthias Pfefferle
b4b934237d
version bump / changelog update
2023-09-22 09:40:45 +02:00
Jeremy Herve
fe07d5eb32
Blocks: short-circuit early on sites that do not support blocks ( #431 )
...
* Blocks: short-circuit early on sites that do not support blocks
Fixes #430
This is typically only the case for sites using a custom version of WordPress, like ClassicPress.
* let grunt build the markdown
* Check for block support earlier and add filter
One can now deactivate the blocks registered by ActivityPub like so:
```
add_filter( 'activitypub_site_supports_blocks', '__return_false' );
```
* Fix readme (gotta remember to use grunt)
* alias function
---------
Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
2023-09-15 10:38:47 +02:00
Matthias Pfefferle
049046be70
update endpoints ( #390 )
...
* add collection endpoint
* show featured posts
* more consistant wording
* backwards compatibility with php7.x
* compatibility with php5.6
* use ACTIVITYPUB_AUTHORIZED_FETCH instead
because the ACTIVITYPUB_SECURE_MODE could be misinterpreted with disabling the security mechanisms completely.
* the blog user follows all authors of a blog
if not in single_user mode
* phpdoc
* adding changes based on feedback from @jeherve
* global namespace
* better hashtag handling
should also fix #373 #239
thanks @jeherve for help and feedback!
* fix workflow
2023-08-09 13:07:30 +02:00
Matt Wiebe
f49e15bfbf
Ensure everything is loaded properly after #376 ( #378 )
...
Also fixes an spl_autoload bug
2023-07-27 19:35:28 +02:00
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
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
dd1c0a3bb5
Merge pull request #365 from Automattic/fix/cleanup
2023-07-20 23:30:39 +02:00
Matthias Pfefferle
3289c7bb48
Version bump
2023-07-20 13:21:29 +02:00
Matthias Pfefferle
201ee16f37
fix some issues and re-add "ACTIVITYPUB_SINGLE_USER_MODE" const
2023-07-20 10:12:59 +02:00
Matt Wiebe
3512206d48
phpcbf fixes
2023-07-19 20:39:58 -05:00
Matt Wiebe
2596713213
Lint: now clean
2023-07-18 15:02:27 -05:00
Matthias Pfefferle
c266c927da
transform users to actors
2023-06-28 14:22:27 +02:00
Matthias Pfefferle
3feef1e8cf
send user and blog activities
...
and set the blog to "single-mode"
2023-06-27 14:26:00 +02:00
Matthias Pfefferle
03f2c24892
small improvements
2023-06-27 14:25:39 +02:00
Matthias Pfefferle
09518ea66b
prepare pseudo users like a blog wide user.
...
this allows also other constructs like tag oder category users
fix #1
2023-06-27 14:25:12 +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
750d071c8d
Merge branch 'master' into signature_verification
2023-05-22 14:50:49 +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
Matthias Pfefferle
92712e1d4a
Merge branch 'master' into signature_verification
2023-05-19 12:01:53 +02:00
Matt Wiebe
6a0fc43a05
Set ACTIVITYPUB_REST_NAMESPACE
outside of init
...
Needed to prevent activation errors.
2023-05-18 19:30:08 -05:00
Django Doucet
5e4c68ab66
server init
2023-05-17 23:49:33 -06:00
Matthias Pfefferle
ec3f8454c1
Update activitypub.php
2023-05-17 10:25:31 +02:00
Matthias Pfefferle
a147d21fda
Update activitypub.php
...
NodeInfo is only initialized when blog is public
2023-05-17 10:25:00 +02:00
Matthias Pfefferle
cfb162c620
Merge branch 'master' into signature_verification
2023-05-17 09:59:02 +02:00
Matthias Pfefferle
d89c05aa49
init missing Nodeinfo endpoint
2023-05-17 09:02:09 +02:00
Matthias Pfefferle
49ee03f1f1
fix indents
2023-05-16 10:01:23 +02:00
Matthias Pfefferle
4b294bb8a6
Merge branch 'master' into signature_verification
2023-05-16 08:15:35 +02:00
Matthias Pfefferle
9cd2a04955
re-added some namespace consts
2023-05-16 08:14:04 +02:00
Matthias Pfefferle
2e537e423c
Merge branch 'master' into add/rest-namespace-constant
2023-05-16 08:10:06 +02:00
Matthias Pfefferle
ec23742b9a
Merge pull request #318 from Automattic/schedule
...
update scheduler for followers
2023-05-16 08:08:42 +02:00
Django Doucet
12724a3681
Switch secure_mode to a filter
2023-05-16 00:07:15 -06:00
Matthias Pfefferle
7456d36834
use const instead of -1
2023-05-15 10:48:34 +02:00
Matt Wiebe
abfa7c7969
Allow setting the REST namespace with ACTIVITYPUB_REST_NAMESPACE
2023-05-11 13:25:30 -05:00
Matthias Pfefferle
0685763424
return error if class does not exist or is not readable
2023-05-11 14:55:11 +02:00
Matthias Pfefferle
663c6315c9
make debug file optional
2023-05-11 14:40:47 +02:00
Matthias Pfefferle
cfa8974ffa
support more more depth in the namespaces
2023-05-11 14:38:57 +02:00