Matthias Pfefferle
b946ef3de1
more consistent use of response content type ( #529 )
...
* more consistent use of response content type
* update readme
* fix typo
2023-10-23 14:57:58 +02:00
Matthias Pfefferle
a40bd8408a
Various improvements ( #527 )
...
* remove unused code
* check if `$data['object']` is a sting
* do not index application user
* this fixes GoToSocial errors
* do not cache errors
* re-added the fragment
See https://github.com/superseriousbusiness/gotosocial/issues/2280
* Fix coding standards
* do not verify signature on head request
2023-10-21 11:23:05 +02:00
Matthias Pfefferle
2ef72a0364
API changes
2023-10-12 11:00:58 +02: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
8dcbe0c6fd
fix Secops issues ( #411 )
2023-09-05 21:03:25 +02:00
Matthias Pfefferle
2705172b77
Fix some signature and application user issues ( #410 )
...
* Fix some signature and application user issues
* it seems that firefish needs at least an inbox also for application users
* prepare domain change
* use https
* fix PHPDoc
* remove image check
---------
Co-authored-by: Matt Wiebe <wiebe@automattic.com>
2023-09-01 18:32:56 +02:00
Matt Wiebe
9e73081668
deactivate the akismet nonce when processing our comments ( #391 )
2023-08-16 10:12:31 -05: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
48632a7e1b
Add inbox create/react actions ( #387 )
...
This will help us to debug why comments fail
2023-08-02 12:03:32 -05:00
Matthias Pfefferle
062c2af4c6
use 'comment' instead of empty string
2023-08-02 18:19:21 +02:00
Matthias Pfefferle
38cd0b973b
fix ID
2023-07-25 13:47:49 +02:00
Matthias Pfefferle
921ca0c1c6
fix actions
2023-07-25 10:47:59 +02:00
Matt Wiebe
3512206d48
phpcbf fixes
2023-07-19 20:39:58 -05:00
Matthias Pfefferle
a461ea3b1f
some refactorings
2023-07-11 09:09:37 +02:00
Matthias Pfefferle
eed43355b3
fix inbox
2023-07-05 15:33:07 +02:00
Matthias Pfefferle
be07574cfe
fix code
2023-07-03 19:56:06 +02:00
Matthias Pfefferle
493b8ffad5
use transformer instead of post-model
2023-07-03 17:59:42 +02:00
Matthias Pfefferle
359eabf671
use collection instead of factory
2023-07-03 11:20:44 +02:00
Matthias Pfefferle
c266c927da
transform users to actors
2023-06-28 14:22:27 +02:00
Matthias Pfefferle
503353bcd0
Added settings for blog-wide user
2023-06-27 14:26:00 +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
92712e1d4a
Merge branch 'master' into signature_verification
2023-05-19 12:01:53 +02:00
Matthias Pfefferle
dd486e552f
some code cleanups
2023-05-19 12:00:11 +02:00
Matthias Pfefferle
cfb162c620
Merge branch 'master' into signature_verification
2023-05-17 09:59:02 +02:00
Matthias Pfefferle
60fc581e1d
coding style
2023-05-17 09:02:37 +02:00
Matt Wiebe
3fa5e4f37e
now with more use
2023-05-12 15:31:53 -05:00
Matt Wiebe
314ccf43a6
add a get_rest_url_by_path
helper function, and use it
2023-05-12 15:24:24 -05:00
Matt Wiebe
abfa7c7969
Allow setting the REST namespace with ACTIVITYPUB_REST_NAMESPACE
2023-05-11 13:25:30 -05:00
Django Doucet
656a2b0f44
remove unneeded filter
2023-05-05 13:22:47 -06:00
Matthias Pfefferle
8aa3f53dbd
no need to use Followers any more
2023-05-05 10:22:01 +02:00
Matthias Pfefferle
e57dd0590d
Merge branch 'master' into signature_verification
2023-05-05 10:15:26 +02:00
Matthias Pfefferle
958b712e5b
Merge branch 'signature_verification' of https://github.com/mediaformat/wordpress-activitypub into pr/299
2023-05-02 09:50:11 +02:00
Matthias Pfefferle
857fae9db1
serve_request is not needed any more
...
this was only for handling the signing, so no more need for that
2023-05-02 09:50:08 +02:00
Matthias Pfefferle
84a82c2ac4
added follower model
2023-04-24 20:46:51 +02:00
Django Doucet
f396c6da4e
Optimize verification code and returns WP_Errors
2023-04-21 15:25:39 -06:00
Django Doucet
036ee3180b
move signature verification to callback
2023-04-21 07:53:12 -06:00
Matthias Pfefferle
7769d76849
use a taxonomy to save the list of followers
2023-04-21 14:56:22 +02:00
Matthias Pfefferle
a8b963ec26
some code cleanups
2023-04-21 08:51:38 +02:00
Matthias Pfefferle
5a6f8aff02
Merge branch 'master' into signature_verification
2023-04-20 22:23:15 +02:00
Matthias Pfefferle
c32eec2390
some code cleanup
2023-04-20 15:22:11 +02:00
Django Doucet
30d78417d8
Fixes key retrieval
2023-04-14 23:53:43 -06:00
Django Doucet
2293c0b3d7
use verify_http_signature in validate_callback
...
rename verify_signature
2023-04-02 16:38:39 -06:00
Django Doucet
0c7cec3eba
Fix signature parse verification
2023-04-01 10:17:56 -06:00
Django Doucet
8f80a70ee5
Merge branch 'master' into signature_verification
2023-03-11 16:12:05 -07:00
Django Doucet
a6b057b69d
Merge branch 'master' into signature_verification
2023-03-11 16:10:29 -07:00
Matthias Pfefferle
08ce46a1a4
Merge branch 'master' into optimize-publish
2023-02-20 18:22:17 +01:00
Matthias Pfefferle
e2c1dc28b5
fix #281
2023-02-16 09:12:01 +01:00
Matthias Pfefferle
de32cb7b73
add changes also to the object
2023-02-02 02:36:29 +01:00
Matthias Pfefferle
bf0b51ceb3
only save public activities
...
first step to #72
2022-12-27 14:43:37 +01:00
Matthias Pfefferle
9acd0732d4
hide users that can not publish posts
...
fixes #230
2022-12-27 14:03:10 +01:00