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
Matthias Pfefferle
f196047901
remove casts
...
after feedback from @akirk
2023-05-11 11:02:06 +02:00
Matthias Pfefferle
b85b0167c0
Update activitypub.php
...
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2023-05-11 10:53:19 +02:00
Matthias Pfefferle
b803914180
removed output formatting
2023-05-11 09:46:26 +02:00
Matthias Pfefferle
7b545b4639
remove DIRECTORY_SEPARATOR because its not used anywhere else
2023-05-11 09:09:13 +02:00
Matthias Pfefferle
baa8027e3f
check if file is_readable
...
thanks @akirk
2023-05-10 18:53:09 +02:00
Matthias Pfefferle
75c1c6a402
Update activitypub.php
...
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2023-05-10 18:50:20 +02:00
Matthias Pfefferle
3c02744925
Update activitypub.php
...
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2023-05-10 18:45:48 +02:00
Matthias Pfefferle
17b66cb23d
implement cleanup_followers
and update_followers
2023-05-10 14:18:56 +02:00
Matthias Pfefferle
655227058e
remove <p>
because of autop
2023-05-09 13:02:30 +02:00
Django Doucet
3a0fef27e0
Merge branch 'master' into signature_verification
2023-05-05 09:54:16 -06:00
Matthias Pfefferle
6b8c427d01
const to hide plugin recommendations
2023-05-05 13:58:17 +02:00
Matthias Pfefferle
e57dd0590d
Merge branch 'master' into signature_verification
2023-05-05 10:15:26 +02:00
Matthias Pfefferle
77112c441f
formatting
2023-05-05 09:57:47 +02:00
Matthias Pfefferle
0fd11d25fa
will be auto-loaded
2023-05-04 15:18:58 +02:00