Commit graph

824 commits

Author SHA1 Message Date
Matthias Pfefferle
c1bf6691c1 fix route issues 2023-06-01 10:13:49 +02:00
Matthias Pfefferle
96881b940a some refactorings and fixed the tests 2023-06-01 09:49:40 +02:00
Matthias Pfefferle
173e3abfa7 Merge branch 'signature_verification' of https://github.com/mediaformat/wordpress-activitypub into pr/299 2023-06-01 08:05:21 +02:00
Matthias Pfefferle
727aaf1c45 add signature regex test 2023-06-01 08:05:19 +02:00
Django Doucet
73cd19ec20 added test and pre_get_remote_key filter 2023-05-31 23:23:40 -06:00
Django Doucet
285925ea08 test_activity_signature 2023-05-31 06:35:58 -06:00
Matthias Pfefferle
758912da64 do not use cache for new followers 2023-05-31 14:03:46 +02:00
Matthias Pfefferle
084f108161 only schedule migration if DB is not on the latest version 2023-05-31 10:48:51 +02:00
Matthias Pfefferle
c04cf3fc7e move schedule to scheduler-class 2023-05-31 10:48:06 +02:00
Matthias Pfefferle
ab0f48389c deregister schedules on uninstall 2023-05-31 10:47:49 +02:00
Django Doucet
273493e768 update header parsing in get_signed_data() 2023-05-26 12:40:46 -06:00
Matthias Pfefferle
221c577826 Fix federation with pixelfed! 2023-05-25 14:03:30 +02:00
Matthias Pfefferle
c809dc2cb5
Merge pull request #327 from Automattic/fix/sanitization 2023-05-24 21:13:11 +02:00
Matthias Pfefferle
27dd8217e8
Merge branch 'master' into fix/sanitization 2023-05-23 19:20:23 +02:00
Matthias Pfefferle
bc54598828 Fix CI and added Calckey 2023-05-23 19:10:30 +02:00
Matthias Pfefferle
a9b964a087 fix #237 2023-05-23 13:44:08 +02:00
Matthias Pfefferle
2117f78106 fix #321 2023-05-23 12:28:57 +02:00
Matthias Pfefferle
2aa7077ae7 add wpautop to user description
fix #279
2023-05-23 12:26:02 +02:00
Matthias Pfefferle
83991c0cd8 fix #332
and some of the feedback of @mattwiebe
2023-05-23 12:14:39 +02:00
Matthias Pfefferle
d91eaeae72 phpdoc 2023-05-23 11:26:12 +02:00
Matthias Pfefferle
3d1a0af6cb moved strip style/script 2023-05-23 11:13:17 +02:00
Matthias Pfefferle
677d507fe9 Revorked "sanitize output"
This reverts commit 77873d12b3.
2023-05-23 11:10:05 +02:00
Matthias Pfefferle
750d071c8d
Merge branch 'master' into signature_verification 2023-05-22 14:50:49 +02:00
Matthias Pfefferle
2c7f0687cc fix #271
thanks @janboddez
2023-05-22 14:47:20 +02:00
Matthias Pfefferle
b8ee030d78
Merge pull request #324 from Automattic/add/caching
Introduce Caching
2023-05-22 14:34:49 +02:00
Matthias Pfefferle
45ab002550
Merge pull request #340 from Automattic/fix/wp-sweep
prevent sweeping of followers taxonomies
2023-05-22 14:34:04 +02:00
Matthias Pfefferle
653b1f9fae added missing $2
see #339
2023-05-22 13:38:44 +02:00
Matthias Pfefferle
d2b7c287fc code doc 2023-05-22 13:35:46 +02:00
Matthias Pfefferle
ec4e22f570 fix routing checks 2023-05-22 13:34:14 +02:00
Matthias Pfefferle
c1b644aee1 Fix #339 2023-05-22 11:33:02 +02:00
Matthias Pfefferle
467a349b16 some small improvements 2023-05-22 11:31:46 +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
e04ccdc961 fix missing namespace 2023-05-19 18:06:39 +02:00
Matthias Pfefferle
a1753242f3 fix missing namespace 2023-05-19 18:03:05 +02:00
Matthias Pfefferle
e48ce0ebce I would remove the settings for now 2023-05-19 17:16:19 +02:00
Matthias Pfefferle
92712e1d4a
Merge branch 'master' into signature_verification 2023-05-19 12:01:53 +02:00
Matthias Pfefferle
e46991e83c Merge branch 'master' of https://github.com/Automattic/wordpress-activitypub 2023-05-19 12:00:19 +02:00
Matthias Pfefferle
dd486e552f some code cleanups 2023-05-19 12:00:11 +02:00
Matthias Pfefferle
df4031ee00
Merge pull request #337 from Automattic/fix/activation-error
Prevent activation error: Set `ACTIVITYPUB_REST_NAMESPACE` early
2023-05-19 11:59:00 +02:00
Matthias Pfefferle
70c3b3fd51 remove comments 2023-05-19 11:45:12 +02:00
Matthias Pfefferle
d7d6ebbc1f remove comments
@mattwiebe maybe you can add them as issues
2023-05-19 11:43:54 +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
f4aadc00fc phpcs 2023-05-18 00:10:03 -06:00
Django Doucet
ed77ffce26 update rest paths to namespace 2023-05-18 00:03:11 -06: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
313a4da607
Merge pull request #329 from Automattic/add/rest-namespace-constant
Allow setting the REST namespace with `ACTIVITYPUB_REST_NAMESPACE`
2023-05-17 09:05:20 +02:00