Commit Graph

672 Commits (5ebc1af91e96ca065ea55f20e94de5d874a442c8)

Author SHA1 Message Date
Shlee 535a8990b0
Update MentionPushNotifyPipeline.php 11 months ago
Shlee bffab96eaf
Update LikePushNotifyPipeline.php 11 months ago
Shlee e89d15cb90
Update FollowPushNotifyPipeline.php 11 months ago
Shlee fead07e092
Update RemoteFollowPipeline.php 11 months ago
Shlee 451967527b
Update MoveSendUndoFollowPipeline.php 11 months ago
Shlee a8c29ffd8a
Update MentionPushNotifyPipeline.php 11 months ago
Shlee 82737236e1
Update FollowPushNotifyPipeline.php 11 months ago
Shlee 557e8fa1cb
Update LikePushNotifyPipeline.php 11 months ago
Shlee 11596618b8
Update FollowPushNotifyPipeline.php 11 months ago
Shlee 604ca31cc0
Update CommentPipeline.php 11 months ago
Your Name 4bbabfffb9 Misc pipelines defensive checks 11 months ago
Your Name f5ff65ffc7 ImageOptimizePipeline defensive checks 11 months ago
Your Name fe63326479 FollowPipeline defensive checks 11 months ago
Your Name b8d800869e LikePipeline defensive checks 11 months ago
Your Name ee9a875c27 PushNotificationPipeline defensive checks 11 months ago
Your Name 2d0a575391 MediaPipeline defensive checks 11 months ago
Your Name 157eae101c InboxPipeline defensive checks 11 months ago
Your Name 4122653707 DeletePipeline defensive checks 11 months ago
Your Name f23e970587 HomeFeedPipeline defensive checks 11 months ago
Your Name efb9db3eed StatusPipeline defensive checks 11 months ago
Shlee 39d9832aef
Update LikePipeline.php (#6227) 11 months ago
Shlee f8fbf3a9d5
Bugfix: Regression in NewStatusPipeline.php 11 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
11 months ago
dansup f2e4715749
Merge pull request #6194 from emlove/migration
Account Migration fixes
11 months ago
dansup 0b5ce910b8
Merge branch 'staging' into fix-delay-publish-until-media-processed 11 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)
11 months ago
Anil Kulkarni 8737619b46
Revert "Update NewStatusPipeline, replaces #5706"
This reverts commit 6c13debd56.
11 months ago
Anil Kulkarni 5c6e3b9732
Revert "Update NewStatusPipeline, improve fallback"
This reverts commit 863ad8e107.
11 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
11 months ago
Anil Kulkarni d819012439
Revert "Update NewStatusPipeline, replaces #5706"
This reverts commit 6c13debd56.
11 months ago
Anil Kulkarni 1a245914d8
Revert "Update NewStatusPipeline, improve fallback"
This reverts commit 863ad8e107.
11 months ago
Emily Love Watson e645008ad5
More precise 12 months ago
Emily Love Watson 49b0a7358e
Update follower records 12 months ago
Emily Love Watson 2052d618e8
Cleanup legacy follower count 12 months ago
Emily Love Watson 2272c3ec01
Cleanup 12 months ago
Emily Love Watson 74bf7e45c8
Restore follower count logic 12 months ago
Emily Love Watson 451d59cb7c
fixies 12 months ago
Emily Love Watson a07f3595d8
More cleanup 12 months ago
Emily Love Watson 453ae4b32e
MVP migration 12 months ago
Daniel Supernault 2e719bd008
Update media storage pipeline, improve support for non-local filesystems 1 year ago
Daniel Supernault 3686c92122
Update Status storage, add SanitizerService to fix spacing in html stripped content 1 year ago
Daniel Supernault e2a64c730e
Update StoryRotateMedia job, handle StoryIndexService cache invalidation 1 year ago
Daniel Supernault 1e31470282
Update StoryFetch, fix mass assignment bug preventing proper model creation 1 year ago
Daniel Supernault 5a263e89e3
Update StoryExpire pipeline job, add StoryIndexService removeStory support 1 year ago
Daniel Supernault fd3df358b9
Update StoryFetch pipeline job, make more robust and add StoryIndexStory indexStory support 1 year ago
Daniel Supernault 4ab85248e9
Update RemoteStatusDelete, fix decrement logic 1 year ago
Daniel Supernault 10eb1a8acb
Update ComposeController, prioritize followed users and follower_count first 1 year ago
Daniel Supernault 616e37066d
Update Groups ImageResizePipeline with intervention/image v3 support 1 year ago
Daniel Supernault 86bb81d1a9
Fix typo 1 year ago
Daniel Supernault 5c7064063d
Typo 1 year ago
Daniel Supernault 27953d0969
FIx AvatarOptimize job 1 year 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.
1 year ago
Daniel Supernault 0f1819125c
Update post pinning, and dispatch Notification cache warming to a job, and fix reblogged state on some endpoints 1 year ago
Daniel Supernault c36cc07b2c
Update avif support, and fix reply permalinks 2 years ago
Daniel Supernault 5340649d04
Update AppRegisterController 2 years ago
Daniel Supernault 863ad8e107
Update NewStatusPipeline, improve fallback 2 years ago
Daniel Supernault 6c13debd56
Update NewStatusPipeline, replaces #5706 2 years ago
Daniel Supernault decaa2596d
Fix curl 2 years ago
Anil Kulkarni 64bad4ee4d
Add a push notification when a user is mentioned in a comment 2 years ago
Daniel Supernault d516b7998f
Update StatusTagsPipeline, fix hashtag bug and formatting 2 years ago
Daniel Supernault 9eeb7b6741
Update Status caption logic, stop storing duplicate html caption in db and defer to cached StatusService rendering 2 years ago
Daniel Supernault b995af15f6
Update LikePipeline 2 years ago
Daniel Supernault 6889fffbfb
Update LikePipeline 2 years ago
Daniel Supernault 873031538d
Update FollowPipeline 2 years ago
Daniel Supernault bae0632e34
Add MentionPushNotifyPipeline 2 years ago
Daniel Supernault c95e757731
Add LikePushNotificationPipeline 2 years ago
Daniel Supernault 7b4256549a
Update FollowPipeline 2 years ago
Daniel Supernault bd96840587
Add FollowPushNotifyPipeline 2 years ago
Daniel Supernault 002dfefbdd
Update MovePipeline to handle mute and block migrations 2 years ago
Daniel Supernault 0d8c142bf3
Update MovePipeline CleanupLegacyAccountMovePipeline, set moved_to_profile_id attribute on old account and clear AccountService caches accordingly 2 years ago
Daniel Supernault f24ea52bfc
Fix namespaces 2 years ago
Daniel Supernault 15918cba8c
Refactor MovePipeline follow/undo follow to their own separate jobs, outside of the job chain 2 years ago
Daniel Supernault dfdb7531f0
Update ProcessMovePipeline and Inbox 2 years ago
Daniel Supernault a46c295b13
Update MovePipeline, fix async pool 2 years ago
Daniel Supernault 15a4e53382
Update MovePipeline 2 years ago
Daniel Supernault 5cc34b161b
Update MovePipeline 2 years ago
Daniel Supernault d3dce6751c
Update MovePipeline, add cache break params to actor and target requests 2 years ago
Daniel Supernault 12a0d2e8bf
Update MovePipeline 2 years ago
Daniel Supernault 375137bf75
Fix typos 2 years ago
Daniel Supernault b37f8067e5
Fix typos 2 years ago
Daniel Supernault 286779247e
Fix typos 2 years ago
Daniel Supernault 4e946dec91
Fix MovePipeline 2 years ago
Daniel Supernault cfb95f6897
Update ProcessMovePipeline 2 years ago
Daniel Supernault 5fb5054d64
Add logging 2 years ago
Daniel Supernault ef297f3e64
Fix typos 2 years ago
Daniel Supernault 5ad25759cc
Update ProcessMovePipeline 2 years ago
Daniel Supernault 5558535aea
Update Move pipeline, add debug logging 2 years ago
Daniel Supernault 0cba7d7d7d
Fix MovePipeline jobs 2 years ago
Daniel Supernault a7efd20bbc
Fix MovePipeline jobs 2 years ago
Daniel Supernault aff2545396
Fix MoveMigrateFollowersPipeline 2 years ago
Daniel Supernault 9904d05fbf
Add MovePipeline queue jobs 2 years ago
Daniel Supernault da1de80319
Update ProcessMovePipeline 2 years ago
Daniel Supernault 58506e390e
Add ProcessMovePipeline job 2 years ago
daniel c13826e44b
Merge pull request #5215 from pixelfed/groups
Add Groups
2 years ago
Daniel Supernault 2910b61d21
Update RemoteStatusDelete.php 2 years ago
Daniel Supernault f3b596f0c8
Update RemoteStatusDeletePipeline 2 years ago
Daniel Supernault 3d6b9badf4
Add groups models, controllers and services 2 years ago
Daniel Supernault a7fce91e0c
Update FetchNodeinfoPipeline, set last_fetched_at timestamp 2 years ago
Daniel Supernault 6bdf73de4d
Update UnfollowPipeline, fix follower count cache bug 3 years ago
Daniel Supernault 5162c0704a
Update RemoteFollowImportRecent, use MediaPathService 3 years ago
Daniel Supernault a76cb5f4f8
Update autospam config, use config_cache 3 years ago
Daniel Supernault 5071aaf408
Update activitpub setting, use config_cache() 3 years ago
Daniel Supernault d670de175e
Update media_types, use config_cache 3 years ago
Daniel Supernault 665581d80c
Update cloud storage, use config_cache 3 years ago
Daniel Supernault a72188a7db
Update image pipeline, use config_cache 3 years ago
Daniel Supernault 45bdfe1efd
Add Profile Migration federation 3 years ago
Daniel Supernault f8145a78cf
Add Profile Migrations 3 years ago
Daniel Supernault 8dac2caf1d
Add Curated Onboarding 3 years ago
Daniel Supernault ac01f51ab6
Update FetchNodeinfoPipeline, use more efficient dispatch 3 years ago
Daniel Supernault fa97a1f38e
Update notification pipelines, fix non-local saving 3 years ago
Daniel Supernault 4d4013896c
Update NotificationEpochUpdatePipeline, use more efficient query 3 years ago
Daniel Supernault 8b843d620c
Update ProfilePipeline jobs 3 years ago
Daniel Supernault b81ae5773f
Update AP helpers, refactor post count decrement logic 3 years ago
Daniel Supernault edbb07cc37
Add import video thumbnail job 3 years ago
Daniel Supernault 622e9cee97
Add S3 IG Import Media Storage 3 years ago
Daniel Supernault c53894fe16
Add Parental Controls feature 3 years ago
Daniel Supernault 1be21c76f3
Fix StatusHashtag delete bug 3 years ago
Daniel Supernault fcbcd7ec73
Update Delete pipelines, delete status hashtags quietly 3 years ago
Daniel Supernault 29aa87c282
Update HomeFeedPipeline jobs, add domain block filtering 3 years ago
Daniel Supernault dd16189fc8
Update ImageResize job, add more logging 3 years ago
Daniel Supernault 54adbeb059
Update FeedRemoveDomainPipeline, make batchable 3 years ago
Daniel Supernault 9d621108b0
Add ProfilePurgeNotificationsByDomain pipeline job 3 years ago
Daniel Supernault 484a377a44
Add ProfilePurgeFollowersByDomain pipeline job 3 years ago
Daniel Supernault 819e7d3b32
Add FeedRemoveDomainPipeline 3 years ago
Daniel Supernault 041c01359b
Update HomeFeedPipeline, fix StatusService validation 3 years ago
Daniel Supernault 4c95306f12
Update StatusPipeline, fix Direct and Story notification deletion 3 years ago
Daniel Supernault 957bbbc2bd
Update FeedInsertPipeline 3 years ago
Daniel Supernault 7f462a8055
Update DirectMessageController, dispatch deliver and delete actions to the job queue 3 years ago
Daniel Supernault 8548294c7a
Update HomeFeedPipeline, observe mutes/blocks during fanout 3 years ago
Daniel Supernault fe9b4c5a37
Update FollowServiceWarmCache 3 years ago
Daniel Supernault f105f4e8f6
Update HomeFeedPipeline, fix tag filtering 3 years ago
Daniel Supernault 3e96fa8a56
Updaet HashtagUnfollowPipeline, fix typo 3 years ago
Daniel Supernault 19233cc976
Update HashtagFollowObserver 3 years ago
Daniel Supernault c6a6b3ae30
Update Experimental Home Feed, fix remote posts, shares and reblogs 3 years ago
Daniel Supernault c8092116e5
Update HashtagUnfollowPipeline 3 years ago
Daniel Supernault d8fbb4ff32
Update HashtagUnfollowPipeline 3 years ago
Daniel Supernault cf50618696
Update FeedInsertPipeline, self fanout, oof 3 years ago
Daniel Supernault b2c9cc2318
Update IncrementPostCount job 3 years ago
Daniel Supernault 015b1b80b4
Update hashtag following 3 years ago
Daniel Supernault 446ca3a878
Update notification epoch generation 3 years ago
Daniel Supernault 386e64d5e8
Update StatusEntityLexer, skip reblogs on FeedInsertPipeline 3 years ago
Daniel Supernault 43443503a1
Update FeedFollowPipeline, use more efficient query 3 years ago
Daniel Supernault 73cb8b43b3
Update HomeFeedPipeline, add follow/unfollow 3 years ago
Daniel Supernault ce63c4997b
Add Feed fanout 3 years ago
Daniel Supernault df1f98d5f7
Add FeedInsertPipeline job 3 years ago
Daniel Supernault 6aa65b9a21
Add FeedWarmCachePipeline 3 years ago
Daniel Supernault 448c061070
Update HomeFeedPipeline, add hashtag jobs 3 years ago
Daniel Supernault ce54d29c69
Update delete pipelines, properly invoke StatusHashtag delete events 3 years ago
Daniel Supernault c7b304ef20
Update http client 3 years ago
Daniel Supernault da510089e2
Update LikePipeline, dispatch to feed queue. Fixes #4723 3 years ago
Daniel Supernault 7edfea0951
Update hls pipeline, improve version check 3 years ago
Daniel Supernault f0ba2dfc69
Update VideoThumbnail job, dispatch HLS job when applicable 3 years ago
Daniel Supernault 3f292459ff
Update VideoPipeline, add VideoHlsPipeline job for HLS generation 3 years ago
Daniel Supernault f9bbb05575
Update MediaDeletePipeline, handle HLS deletion 3 years ago
Daniel Supernault b76ad7cfe0
Update RemoteStatusDelete, fix include 3 years ago
Daniel Supernault 0d35f1a3e5
Update IncrementPostCount pipeline 3 years ago
Daniel Supernault f481f3d248
Update RemoteStatusDelete pipeline 3 years ago
Daniel Supernault edbcf3ed79
Update RemoteStatusDelete and DecrementPostCount pipelines 3 years ago
Daniel Supernault 319ced4054
Update CreateAvatar job, add processing constraints and set is_remote attribute 3 years ago
Daniel Supernault 82798b5ea3
Update AvatarPipeline, improve refresh logic and garbage collection to purge old avatars 3 years ago
Daniel Supernault 79b378cdb1
Update StatusTagsPipeline, fix object tags slug query 3 years ago
Daniel Supernault 9989d6c66f
Update StatusTagsPipeline, fix object tags slug query 3 years ago
Daniel Supernault d295e6059b
Update StatusTagsPipeline, fix object tags and slug normalization 3 years ago
Daniel Supernault 33ed7a8c91
Add AdminShadowFilter feature 3 years ago
Daniel Supernault 61a6d90403
Update FollowServiceWarmCache, improve handling larger following/follower lists 3 years ago
Daniel Supernault 618b67271a
Update RemoteStatusPipeline, fix reply check 3 years ago
Daniel Supernault fab8f25e9b
Update RemoteStatusDelete pipeline 3 years ago
Daniel Supernault 4f19a58b2c
Add AdminProfileActionPipeline 3 years ago
Daniel Supernault 71e92261f4
Update RemoteStatusDelete pipeline 3 years ago
Daniel Supernault 45be6e10b8
Update RemoteStatusDelete pipeline 3 years ago
Daniel Supernault ed87ddb923
Update RemoteStatusDelete pipeline 3 years ago
Daniel Supernault ec2a1ed99c
Update SharePipeline 3 years ago
Daniel Supernault 5a19daabce
Update SharePipeline 3 years ago
Daniel Supernault 0d802c313b
Update FanoutDeletePipeline, fix AP object 3 years ago
Daniel Supernault 0b5157675f
Update FollowPipeline, improve follower/following count calculation 3 years ago
Daniel Supernault ea54413e95
Update StatusRemoteUpdatePipeline, fix missing mime and size attributes that cause empty media previews on our mobile app 3 years ago
Daniel Supernault e3be04db2b
Update HandleUpdateActivity 3 years ago
Daniel Supernault e8d4ce1888
Update MediaStorageService 3 years ago
Daniel Supernault d6374cfe70
Update MediaStorageService 3 years ago
Daniel Supernault 5bea903409
Update HandleUpdateActivity 3 years ago
Daniel Supernault 1bf3ad7ed9
Update HandleUpdateActivity 3 years ago
Daniel Supernault 31afaba3d0
Update ProfilePipeline 3 years ago
Daniel Supernault 0eb51ed74d
Update RemoteAvatarFetch command 3 years ago
Daniel Supernault 29961c4a80
Update ap inbox 3 years ago
Daniel Supernault 1f2183ee67
Update StatusActivityPubDeliver, fix addressing 3 years ago
Daniel Supernault 109d041908
Update StatusRemoteUpdatePipeline, fix typo 3 years ago
Daniel Supernault a6f96b4bb3
Remove temp logging 3 years ago
Daniel Supernault 6bf3142e8b
Add Profile 3 years ago
Daniel Supernault 8b3d1eeb5e
Add Purify 3 years ago
Daniel Supernault 559978db46
Fix typo 3 years ago
Daniel Supernault 859ed621b0
Fix typo 3 years ago
Daniel Supernault b0634bfd8f
Add temp logging 3 years ago
Daniel Supernault aad4259a47
Update ap inbox 3 years ago
Daniel Supernault 734136a7e7
Add StatusRemoteUpdatePipeline job 3 years ago
Daniel Supernault 98cf8f32a0
Add Post Edits/Updates 3 years ago
Daniel Supernault a11e1ee3f8
Update AutospamUpdateCachedDataPipeline 3 years ago
Daniel Supernault 5abc2445a7
Update AutospamUpdateCachedDataPipeline 3 years ago
Daniel Supernault 132a58de54
Add Autospam Advanced Detection 3 years ago
Daniel Supernault 764315666e
Update CommentPipeline, replace expensive query and mark for refactor 3 years ago
Daniel Supernault a91a5e4872
Update StatusEntityLexer, stop saving entities 3 years ago