Commit Graph

505 Commits (a8c29ffd8a5e5a27ff8510159548c68094de7c74)

Author SHA1 Message Date
Shlee a8c29ffd8a
Update MentionPushNotifyPipeline.php 3 months ago
Shlee 82737236e1
Update FollowPushNotifyPipeline.php 3 months ago
Shlee 557e8fa1cb
Update LikePushNotifyPipeline.php 3 months ago
Shlee 11596618b8
Update FollowPushNotifyPipeline.php 3 months ago
Your Name ee9a875c27 PushNotificationPipeline defensive checks 3 months ago
dansup 59cccb1a25
Merge pull request #6223 from intentionally-left-nil/fix-update-no-shared-inbox
Fix null dereference error when updating the sharedInbox
3 months ago
dansup f2e4715749
Merge pull request #6194 from emlove/migration
Account Migration fixes
3 months ago
dansup 0b5ce910b8
Merge branch 'staging' into fix-delay-publish-until-media-processed 3 months ago
Anil Kulkarni 2f6c6830ea
Fix null dereference error when updating the sharedInbox for actor
updates.

The old code assumes that all update messages have an endpoints key.
However, both the endpoints key, as well as the sharedInbox may be
missing or null per spec. This commit fixes the bug by using isset to
check for the key to exist, otherwise coalescing it to null

server to server update messages are PUT operations, not PATCH,
so if the sharedInbox is missing in the update, it should always be
removed (if previously set)
3 months ago
Anil Kulkarni 8737619b46
Revert "Update NewStatusPipeline, replaces #5706"
This reverts commit 6c13debd56.
3 months ago
Anil Kulkarni 5c6e3b9732
Revert "Update NewStatusPipeline, improve fallback"
This reverts commit 863ad8e107.
3 months ago
Anil Kulkarni dbd2e17728
Ensure the cloud url is used when publishing a status to activitypub
Posting is done in two steps - first the media is uploaded and that begins a processing pipeline. When the media is finally
processed, the media pipeline sets the cdn_url to the final image (in the cloud if configured).
At any time, the user can click post. This begins a separate NewStatusPipeline to deliver the status over ActivityPub.
This causes a race. If the NewStatusPipeline runs before the media finishes processing, then the status is delivered with
the un-processed (and un-optimized images). If pixelfed is set to use cloud storage, then the ActivityPub message also incorrectly
uses the local media.

This commit fixes the race condition by waiting for all the media to be processed before sending the message over ActivityPub.
A new publish_delayed column is set per-post, indicating whether the
status should be delayed until all media is processed.

Then, the NewStatusPipeline is called twice per post -
When the media finishes processing and when the status is posted.

Both times, the pipeline will check to see if it's valid to post
If so, the pipeline will try to set publish_delayed to false
and only if it is the first time doing so, will it publish the post
3 months ago
Anil Kulkarni d819012439
Revert "Update NewStatusPipeline, replaces #5706"
This reverts commit 6c13debd56.
3 months ago
Anil Kulkarni 1a245914d8
Revert "Update NewStatusPipeline, improve fallback"
This reverts commit 863ad8e107.
3 months ago
Emily Love Watson e645008ad5
More precise 4 months ago
Emily Love Watson 49b0a7358e
Update follower records 4 months ago
Emily Love Watson 2052d618e8
Cleanup legacy follower count 4 months ago
Emily Love Watson 2272c3ec01
Cleanup 4 months ago
Emily Love Watson 74bf7e45c8
Restore follower count logic 4 months ago
Emily Love Watson 451d59cb7c
fixies 4 months ago
Emily Love Watson a07f3595d8
More cleanup 4 months ago
Emily Love Watson 453ae4b32e
MVP migration 4 months ago
Daniel Supernault 2e719bd008
Update media storage pipeline, improve support for non-local filesystems 5 months ago
Daniel Supernault 3686c92122
Update Status storage, add SanitizerService to fix spacing in html stripped content 5 months ago
Daniel Supernault e2a64c730e
Update StoryRotateMedia job, handle StoryIndexService cache invalidation 5 months ago
Daniel Supernault 1e31470282
Update StoryFetch, fix mass assignment bug preventing proper model creation 5 months ago
Daniel Supernault 5a263e89e3
Update StoryExpire pipeline job, add StoryIndexService removeStory support 5 months ago
Daniel Supernault fd3df358b9
Update StoryFetch pipeline job, make more robust and add StoryIndexStory indexStory support 5 months ago
Daniel Supernault 4ab85248e9
Update RemoteStatusDelete, fix decrement logic 7 months ago
Daniel Supernault 10eb1a8acb
Update ComposeController, prioritize followed users and follower_count first 7 months ago
Daniel Supernault 616e37066d
Update Groups ImageResizePipeline with intervention/image v3 support 9 months ago
Daniel Supernault 86bb81d1a9
Fix typo 9 months ago
Daniel Supernault 5c7064063d
Typo 9 months ago
Daniel Supernault 27953d0969
FIx AvatarOptimize job 9 months ago
Daniel Supernault ab9c13fe0d
New supported formats, Preserve ICC Color Profiles, libvips support
Update image pipeline to handle avif, heic and webp and preserve ICC color profiles and added libvips support.
9 months ago
Daniel Supernault 0f1819125c
Update post pinning, and dispatch Notification cache warming to a job, and fix reblogged state on some endpoints 10 months ago
Daniel Supernault c36cc07b2c
Update avif support, and fix reply permalinks 11 months ago
Daniel Supernault 5340649d04
Update AppRegisterController 11 months ago
Daniel Supernault 863ad8e107
Update NewStatusPipeline, improve fallback 12 months ago
Daniel Supernault 6c13debd56
Update NewStatusPipeline, replaces #5706 12 months ago
Daniel Supernault decaa2596d
Fix curl 12 months ago
Anil Kulkarni 64bad4ee4d
Add a push notification when a user is mentioned in a comment 1 year ago
Daniel Supernault d516b7998f
Update StatusTagsPipeline, fix hashtag bug and formatting 1 year ago
Daniel Supernault 9eeb7b6741
Update Status caption logic, stop storing duplicate html caption in db and defer to cached StatusService rendering 1 year ago
Daniel Supernault b995af15f6
Update LikePipeline 1 year ago
Daniel Supernault 6889fffbfb
Update LikePipeline 1 year ago
Daniel Supernault 873031538d
Update FollowPipeline 1 year ago
Daniel Supernault bae0632e34
Add MentionPushNotifyPipeline 1 year ago
Daniel Supernault c95e757731
Add LikePushNotificationPipeline 1 year ago
Daniel Supernault 7b4256549a
Update FollowPipeline 1 year ago