hometown-fork / hometown

A supported fork of Mastodon that provides local posting and a wider range of content types.
GNU Affero General Public License v3.0
736 stars 56 forks source link

Add support for Azure blob storage #1297

Closed mistydemeo closed 1 year ago

mistydemeo commented 1 year ago

This adds support for Azure blob storage using Paperclip, similar to what's supported for S3 and other backends. It makes use of the paperclip-azure plugin gem. As with S3, this is not loaded by default; it's only used if the proper environment variables are set.

I'm using my fork of paperclip-azure because it incorporates a few new features to make it feature-equivalent to S3 for Mastodon's purposes.

mistydemeo commented 1 year ago

(Sorry, hit enter too quickly. Filling out a description now.)

github-actions[bot] commented 1 year ago

This pull request has merge conflicts that must be resolved before it can be merged.

mistydemeo commented 1 year ago

@dariusk Any chance you'd be willing to consider merging this? I'm still trying to get it in upstream Mastodon, but it would simplify my tracking upstream changes from Hometown and Mastodon to have it merged somewhere.

dariusk commented 1 year ago

Merged! Sorry this took so long.

mistydemeo commented 1 year ago

Thank you!