Matthias Pfefferle
475f4aaea0
Merge pull request #307 from jeherve/fix/photon-images-jetpack-compatibility
...
Compatibility: do not serve images with Jetpack CDN when active
2023-04-24 14:00:48 +02:00
Jeremy Herve
56d2b7e8be
Update to handle both old and new versions of Jetpack
...
See https://github.com/Automattic/jetpack/pull/30050/
2023-04-24 09:51:08 +02:00
Jeremy Herve
3f4c44db05
Compatibility: do not serve images with Jetpack CDN when active
...
When Jetpack's image CDN is active, core calls to retrieve images return an image served by the CDN.
Since Fediverse instances usually fetch and cache the data themselves, we do not need to use the CDN for those images when returned by the ActivityPub plugin. In fact, we really do not want that to happen, as Fediverse instances may get errors when trying to fetch images from the CDN (they may get blocked / rate-limited / ...).
Let's hook into Jetpack's CDN to avoid that.
2023-04-24 09:51:08 +02:00
Matthias Pfefferle
47dc2f72d1
fix "bulk replace" issue
2023-04-24 09:49:06 +02:00
Matthias Pfefferle
77415ef510
Remove "(Fediverse)"
2023-04-23 22:57:03 +02:00
Matthias Pfefferle
28c077e422
Add URL
2023-04-23 22:56:45 +02:00
Alex Kirk
69aa0b9691
Merge pull request #305 from akirk/fix-edge-caching-problems
...
Fix Edge Caching Problems
2023-04-21 19:58:58 +02:00
Alex Kirk
4ed4d06fd5
Add comment
2023-04-21 17:41:04 +02:00
Alex Kirk
45ae73bb06
Add Vary header
2023-04-21 17:20:48 +02:00
Matthias Pfefferle
804ef25822
count only users that can publish_posts
2023-04-21 08:42:51 +02:00
Matthias Pfefferle
eeb3ba2952
remove unused "use function"
2023-04-20 15:32:38 +02:00
Matthias Pfefferle
c32eec2390
some code cleanup
2023-04-20 15:22:11 +02:00
Matthias Pfefferle
cf426ab8ab
Merge pull request #265 from pfefferle/optimize-publish
...
optimize publishing
2023-04-20 15:04:34 +02:00
Matthias Pfefferle
15adf639a8
Merge pull request #302 from jeherve/fix/warning-webfinger-no-user
2023-04-10 16:41:40 +02:00
Jeremy Herve
643c47dcb7
Webfinger info: avoid PHP warning when user isn't defined
...
This should avoid warnings like this one:
```
PHP Warning: Attempt to read property "user_login" on bool in /var/www/html/wp-content/plugins/activitypub/includes/class-webfinger.php on line 27
```
2023-04-10 13:10:46 +02:00
Matthias Pfefferle
70edb2392f
Merge pull request #297 from Soean/master
2023-03-26 09:32:28 +02:00
Sören Wrede
7d11d3e208
Fix documentation and typos.
2023-03-23 08:35:26 +01:00
Matthias Pfefferle
b88b1e81b8
Merge pull request #296 from pfefferle/improve-readme
...
improve readme
2023-03-19 15:15:30 +01:00
Matthias Pfefferle
70fe654c95
fix ordered lists
2023-03-19 08:42:33 +01:00
Matthias Pfefferle
becef59452
improve readme
...
thanks a lot @cavalierlife
2023-03-18 21:59:09 +01:00
Matthias Pfefferle
3c367f8eb1
remove shortcodes that might confuse people
2023-03-15 17:50:22 +01:00
Matthias Pfefferle
abef17b9ad
add Automattic
...
as Co-Author
2023-03-11 10:58:05 +01:00
Matthias Pfefferle
ced22eebf2
remove donation link
2023-03-07 19:40:47 +01:00
Matthias Pfefferle
5f1859275b
version bump
2023-03-03 09:06:43 +01:00
Matthias Pfefferle
c99d25b12e
whitelist more html elements
...
fix #285
2023-03-03 08:56:15 +01:00
Matthias Pfefferle
753f964ce9
fix #286
2023-03-03 08:55:23 +01:00
Matthias Pfefferle
c0cb540c4d
Fix handling of password protected posts
2023-03-02 09:54:52 +01:00
Matthias Pfefferle
2274bd0074
check if post is password protected
2023-02-27 08:15:02 +01:00
Matthias Pfefferle
62ef84aff7
version bump
2023-02-20 21:19:52 +01:00
Matthias Pfefferle
72f12de96a
remove scripts later in the queue
2023-02-20 21:18:03 +01:00
Matthias Pfefferle
9b642858f6
add user registration date as published
...
fix #276
2023-02-20 18:42:00 +01:00
Matthias Pfefferle
08ce46a1a4
Merge branch 'master' into optimize-publish
2023-02-20 18:22:17 +01:00
Matthias Pfefferle
21cff7f24b
version bump
2023-02-20 18:17:02 +01:00
Matthias Pfefferle
73ae7a5d75
fix content creation
...
and added tests
2023-02-20 18:08:10 +01:00
Matthias Pfefferle
b0149739fa
remove line breaks
2023-02-20 08:58:12 +01:00
Matthias Pfefferle
873066115d
strip style and script elements
2023-02-20 08:55:23 +01:00
Matthias Pfefferle
e2c1dc28b5
fix #281
2023-02-16 09:12:01 +01:00
Matthias Pfefferle
971c6ae5d5
update package name
2023-02-08 13:26:00 +01:00
Matthias Pfefferle
92b11a3926
use html version of the link as before
2023-02-08 10:06:22 +01:00
Matthias Pfefferle
c89d8f2265
fix #269
2023-02-02 18:13:21 +01:00
Matthias Pfefferle
70859212d6
fix #196
2023-02-02 08:50:17 +01:00
Matthias Pfefferle
376e3713d7
Merge pull request #267 from pfefferle/fix-publish
...
fix #266
2023-02-02 08:19:45 +01:00
Matthias Pfefferle
531bdc17b0
fix #266
2023-02-02 08:18:10 +01:00
Matthias Pfefferle
73ae47e377
PHPDoc
2023-02-02 07:24:27 +01:00
Matthias Pfefferle
de32cb7b73
add changes also to the object
2023-02-02 02:36:29 +01:00
Matthias Pfefferle
365d5dd499
fix outbox
2023-02-02 02:35:57 +01:00
Matthias Pfefferle
e52181fd37
fix tests
2023-02-02 02:04:06 +01:00
Matthias Pfefferle
3c84be1691
fix unit tests
2023-02-02 01:50:20 +01:00
Matthias Pfefferle
472ee27849
fix unit tests
2023-02-02 01:47:12 +01:00
Matthias Pfefferle
e015da7f8f
optimize publishing
2023-02-02 01:42:15 +01:00