Commit graph

951 commits

Author SHA1 Message Date
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
Matthias Pfefferle
c34fb74b41 coding style 2023-05-17 09:03:26 +02:00
Matthias Pfefferle
60fc581e1d coding style 2023-05-17 09:02:37 +02:00
Matthias Pfefferle
d89c05aa49 init missing Nodeinfo endpoint 2023-05-17 09:02:09 +02:00
Matthias Pfefferle
3d16b8de1d use full function name in templates 2023-05-17 09:01:28 +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
Django Doucet
e79f2e8991 fix keyId url 2023-05-16 00:11:27 -06: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
8b9026ab5e fix get_post_content_template function 2023-05-15 10:55:07 +02:00
Matthias Pfefferle
7456d36834 use const instead of -1 2023-05-15 10:48:34 +02:00
Matt Wiebe
31e7e44642 remove filter 2023-05-12 18:25:49 -05:00
Matt Wiebe
ec00ace234 add a activitypub_rest_url filter 2023-05-12 16:55:04 -05:00
Matthias Pfefferle
c99daa3e72
Merge branch 'master' into add/rest-namespace-constant 2023-05-12 22:44:41 +02:00
Matt Wiebe
5a91fdcf0a remove debug log 2023-05-12 15:43:04 -05: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
Matthias Pfefferle
bc7129ec55
Merge pull request #328 from Automattic/add/activitypub-conditional
Compat: introduce a conditional to detect ActivityPub requests
2023-05-12 20:35:42 +02:00
dependabot[bot]
0b60944f93 Update dealerdirect/phpcodesniffer-composer-installer requirement
Updates the requirements on [dealerdirect/phpcodesniffer-composer-installer](https://github.com/PHPCSStandards/composer-installer) to permit the latest version.
- [Release notes](https://github.com/PHPCSStandards/composer-installer/releases)
- [Changelog](https://github.com/PHPCSStandards/composer-installer/blob/main/.github_changelog_generator)
- [Commits](https://github.com/PHPCSStandards/composer-installer/compare/v0.7.1...v1.0.0)

---
updated-dependencies:
- dependency-name: dealerdirect/phpcodesniffer-composer-installer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 08:56:48 +00:00
Matthias Pfefferle
94e5539d75 reset errors if new is set 2023-05-12 10:23:58 +02:00
Matthias Pfefferle
7d5cfb3078 phpdoc 2023-05-12 10:17:36 +02:00