Matthias Pfefferle
8b9026ab5e
fix get_post_content_template function
2023-05-15 10:55:07 +02: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
Jeremy Herve
d16014911b
Compat: introduce a conditional to detect ActivityPub requests
...
This conditional could be used within the plugin, but also by third-party plugins, to detect whether a request is an ActivityPub request, without having to manually check for query vars and headers every time.
2023-05-11 19:53:53 +02:00
Matthias Pfefferle
154b0018af
PHPDoc
2023-05-10 15:36:45 +02:00
Matthias Pfefferle
655227058e
remove <p>
because of autop
2023-05-09 13:02:30 +02:00
Matthias Pfefferle
edcd09d474
Merge pull request #323 from Automattic/add/pr-template
2023-05-08 15:14:31 +02:00
Jeremy Herve
30b93a0d07
General: add PR template
...
This should help folks craft Pull Request descriptions that are as helpful as they can be.
2023-05-08 13:20:38 +02:00
Matthias Pfefferle
234b373d98
Merge pull request #322 from mediaformat/fix-migrate_from_0_17
...
fix migrate_from_0_17() error
2023-05-07 09:12:57 +02:00
Django
2bebc88b78
fix undefined get_remote_metadata_by_actor
...
Not tested
2023-05-05 11:47:52 -06:00
Matthias Pfefferle
6ba8156e50
fix #320
2023-05-05 14:40:17 +02:00
Matthias Pfefferle
6b8c427d01
const to hide plugin recommendations
2023-05-05 13:58:17 +02:00
Matthias Pfefferle
0deb1304bc
Merge pull request #319 from Automattic/fix/description-key
...
Profile settings: use string to fetch user description instead of constant
2023-05-05 09:41:36 +02:00
Jeremy Herve
a914495215
Profile settings: use string instead of constant
...
Follow-up from #304
Since we do not use a constant anywhere else just yet, let's keep using a string in the settings page.
2023-05-05 09:35:21 +02:00
Jeremy Herve
c7dc55047d
Merge pull request #309 from jeherve/update/jetpack-photon-filter
2023-05-04 18:02:10 +02:00
Matthias Pfefferle
51026197c8
Merge pull request #304 from Automattic/rewrite-followers
...
use a taxonomy to save the list of followers
2023-05-04 15:10:40 +02:00
Matthias Pfefferle
26e5a1d3f6
Merge branch 'master' into rewrite-followers
2023-05-04 09:33:55 +02:00
Matthias Pfefferle
e489a04880
remove unused constants
2023-05-04 09:32:52 +02:00
Matthias Pfefferle
0e193914fa
update URLs
2023-05-04 09:01:23 +02:00
Matthias Pfefferle
144356bf8a
remove unused second param
2023-05-04 08:50:44 +02:00
Matthias Pfefferle
f07869c7d1
be sure to always update date
2023-05-03 15:11:20 +02:00
Matthias Pfefferle
7127b0a568
oops
2023-05-03 14:54:34 +02:00
Matthias Pfefferle
72f72e79b8
use custom (more error tolerant) version for migration
2023-05-03 14:50:36 +02:00
Matthias Pfefferle
be0f25f3d3
fail if get_remote_metadata_by_actor
returns error
...
because it is not even possible to send `Accept` or `Reject` response.
2023-05-03 14:50:16 +02:00
Matthias Pfefferle
dea5f38561
better error handling
2023-05-02 14:39:25 +02:00
Matthias Pfefferle
077c43bf95
single migration scripts should not be public
2023-05-02 14:35:53 +02:00
Matthias Pfefferle
66942e6c62
fix error detection
2023-05-02 13:54:21 +02:00
Matthias Pfefferle
654cdd4174
Update includes/class-migration.php
...
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2023-05-02 09:37:11 +02:00
Matthias Pfefferle
725fc0cecd
fix function call
2023-05-02 09:29:29 +02:00
Matthias Pfefferle
22946ec779
change migration script to match plugin version
...
/cc @akirk
2023-05-02 09:27:35 +02:00
Matthias Pfefferle
be73f99b59
Update includes/class-migration.php
...
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2023-04-28 18:13:59 +02:00
Matthias Pfefferle
9cd33ad544
Update includes/class-migration.php
...
Co-authored-by: Alex Kirk <akirk@users.noreply.github.com>
2023-04-28 18:13:16 +02:00
Matthias Pfefferle
a673504d36
Merge branch 'master' into rewrite-followers
2023-04-28 17:38:30 +02:00
Matthias Pfefferle
7d37991246
Merge pull request #294 from eficklin/feature/165/fediverse-biography
...
Add ActivityPub specific user description
2023-04-28 15:13:58 +02:00
Matthias Pfefferle
7c47f9a07c
clean up admin settings
2023-04-28 15:12:30 +02:00
Matthias Pfefferle
02e0acdf69
fix indents
2023-04-28 14:39:33 +02:00
Matthias Pfefferle
9966427fd3
Merge branch 'master' into feature/165/fediverse-biography
2023-04-28 14:36:17 +02:00
Matthias Pfefferle
f2355cd960
fix typo
2023-04-28 11:23:40 +02:00
Matthias Pfefferle
5ef41dea02
schedule migration because it takes quite some time
2023-04-28 09:54:09 +02:00
Matthias Pfefferle
fb3d6d2634
fix phpcs
2023-04-27 14:49:39 +02:00
Matthias Pfefferle
b97d364140
Merge pull request #311 from pfefferle/ignore-www
...
ignore `www` subdomain when comparing hosts
2023-04-27 14:46:06 +02:00
Matthias Pfefferle
02e3488fd7
remove debugging stuff
2023-04-27 14:45:38 +02:00
Matthias Pfefferle
230aaa5b24
prepare migration
2023-04-27 14:34:54 +02:00
Matthias Pfefferle
ec822535c9
Follower object should not make any remote calls
2023-04-27 09:57:50 +02:00
Matthias Pfefferle
b8c86915b5
add missing phpdoc
2023-04-26 17:24:27 +02:00
Matthias Pfefferle
0ee1266c30
add sanitize callbacks
2023-04-26 17:23:28 +02:00
Matthias Pfefferle
4a4a06de37
get_follower requires user_id check
2023-04-26 17:22:44 +02:00
Jeremy Herve
bd75603fc7
Remove comment about Jetpack's Photon
2023-04-26 10:47:49 +02:00
Jeremy Herve
e16e119e6c
Switch to general actions and filter
...
As a result, we will not modify the images within the ActivityPub plugin, but the hooks will allow third-parties to do it on their end.
See discussion: https://github.com/pfefferle/wordpress-activitypub/pull/309#issuecomment-1521488186
2023-04-26 10:45:35 +02:00
Matthias Pfefferle
c70080a0c6
Merge pull request #312 from akirk/protect-img-tags
...
Protect img tags from replacing mentions
2023-04-26 10:11:15 +02:00