Daniel Supernault
53742fa699
Lint
4 weeks ago
Shlee
ea39e52d49
Update MediaStorageService.php
2 months ago
Shlee
3d92562764
Larastan: Update MediaStorageService.php
2 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
Daniel Supernault
2e719bd008
Update media storage pipeline, improve support for non-local filesystems
4 months ago
Daniel Supernault
2eb3957609
Lint
8 months ago
Daniel Supernault
d0a3599834
Update MediaStorageService to clear the AP obj cache after S3 storage
8 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.
8 months ago
daniel
92ce41ce18
Merge pull request #5664 from hnrd/fix-migrate2cloud
...
Skip thumbnail cloud upload if no thumbnail exists
12 months ago
tercean
3eb9257def
Skip thumbnail cloud upload if no thumbnail exists
...
migrate2cloud fails on media without thumbnail.
fix check for existing thumbnail, skip upload if none exists.
12 months ago
Daniel Supernault
280f63dc6a
Update MediaStorageService, handle local media deletes after successful S3 upload
12 months ago
Daniel Supernault
665581d80c
Update cloud storage, use config_cache
2 years ago
Daniel Supernault
622e9cee97
Add S3 IG Import Media Storage
2 years ago
Daniel Supernault
82798b5ea3
Update AvatarPipeline, improve refresh logic and garbage collection to purge old avatars
2 years ago
Daniel Supernault
fb1deb6e28
Add Resilient Media Storage
2 years ago
Daniel Supernault
3590adbd87
Update MediaStorageService, improve head header handling
3 years ago
Daniel Supernault
e8d4ce1888
Update MediaStorageService
3 years ago
Daniel Supernault
d6374cfe70
Update MediaStorageService
3 years ago
Daniel Supernault
51768083fe
Added store remote media on S3 config setting, disabled by default
3 years ago
Daniel Supernault
964c62da31
Update MediaStorageService, fix improper path
3 years ago
Daniel Supernault
1cdc0fe8ed
Update delete pipelines
3 years ago
Daniel Supernault
de56b0f078
Update MediaStorageService, clear MediaService and StatusService caches after localToCloud
3 years ago
Daniel Supernault
66226658db
Update MediaStorageService, improve support for pleroma .blob avatars
3 years ago
Daniel Supernault
02edd19d4d
Update Avatar pipeline, fix cloud storage media_path
3 years ago
Daniel Supernault
319f0ba50f
Update MediaStorageService, fix size check bug
3 years ago
Daniel Supernault
989e42497a
Update Profile, fix avatarUrl paths. Fixes #3559 #3634
3 years ago
Daniel Supernault
b0422d4f26
Fix remote profile avatar urls when storing locally
3 years ago
Daniel Supernault
1de7a136f6
Update MediaStorageService
3 years ago
Daniel Supernault
1c20d6960a
Update MediaStorageService, fix reremote avatar bug
4 years ago
Daniel Supernault
b4bd0400c2
Store remote avatars locally if S3 not enabled
4 years ago
Daniel Supernault
9d9e9ce7fa
Update MediaStorageService, improve header parsing
4 years ago
Daniel Supernault
07bc5d5c83
Update MediaStorageService
4 years ago
Daniel Supernault
41792eea56
Update config() to config_cache()
5 years ago
Daniel Supernault
1d54204635
Update config() to config_cache()
5 years ago
Daniel Supernault
1769cdfd74
Update MediaStorageService, improve head checks to fix failed jobs
5 years ago
Daniel Supernault
37dbb3de29
Update MediaStorageService, dispatch deletes to MediaDeletePipeline
5 years ago
Daniel Supernault
94a9f685b5
Update MediaStorageService, add avatar method
5 years ago
Daniel Supernault
ce6ab80dba
Update MediaStorageService, clear transformer cache after storing media
5 years ago
Daniel Supernault
be6d12fcb6
Update MediaPipeline, handle cloud object storage
5 years ago
Daniel Supernault
234f72f3aa
Update ImageOptimizePipeline, add skip_optimize and MediaStorageService support
5 years ago