mastodon/app/lib
Claire fc3ae1343d
Switch from unmaintained paperclip to kt-paperclip ()
* Switch from unmaintained paperclip to kt-paperclip

* Drop some compatibility monkey-patches not required by kt-paperclip

* Drop media spoof check monkey-patching

It's broken with kt-paperclip and hopefully it won't be needed anymore

* Fix regression introduced by paperclip 6.1.0

* Do not rely on pathname to call FastImage

* Add test for ogg vorbis file with cover art

* Add audio/vorbis to the accepted content-types

This seems erroneous as this would be the content-type for a vorbis stream
without an ogg container, but that's what the `marcel` gem outputs, so…

* Restore missing for_as_default method

* Refactor Attachmentable concern and delay Paperclip's content-type spoof check

Check for content-type spoofing *after* setting the extension ourselves, this
fixes a regression with kt-paperclip's validations being more strict than
paperclip 6.0.0 and rejecting some Pleroma uploads because of unknown
extensions.

* Please CodeClimate

* Add audio/vorbis to the unreliable set

It doesn't correspond to a file format and thus has no extension associated.
..
activitypub Fix addressing of remote groups' followers ()
admin Fix SidekiqProcessCheck checking for a queue name that isn't used in Mastodon ()
connection_pool Add request pool to improve delivery performance ()
nodeinfo Add a nodeinfo endpoint ()
ostatus Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` ()
proof_provider Fix rubocop warning ()
rss Improve RSS entries for statuses ()
settings Update Mastodon to Rails 6.1 ()
access_token_extension.rb Fix streaming API allowing connections to persist after access token invalidation ()
account_reach_finder.rb Fix remote reporters not receiving suspend/unsuspend activities ()
activity_tracker.rb Add a nodeinfo endpoint ()
application_extension.rb Fix app name, website and redirect URIs not having a maximum length ()
cache_buster.rb Add cache buster feature for media files ()
delivery_failure_tracker.rb Add management of delivery availability in Federation settings ()
entity_cache.rb Fix cache_collection crashing when given an empty collection ()
extractor.rb Update twitter-text from 1.14 to 3.1.0 and fix toot character counting ()
fast_geometry_parser.rb Switch from unmaintained paperclip to kt-paperclip ()
fast_ip_map.rb Add IP-based rules ()
feed_manager.rb Fix blocking someone not clearing up list feeds ()
formatter.rb Fix inefficiencies in auto-linking code ()
hash_object.rb
inline_renderer.rb Add E2EE API ()
language_detector.rb Fix URL scanning in note length validator and preview card fetching ()
permalink_redirector.rb Change routing paths to use usernames in web UI ()
potential_friendship_tracker.rb Change auto-following admin-selected accounts, show in recommendations ()
proof_provider.rb
rate_limiter.rb Add rate limit for reporting ()
request.rb Optimize some regex matching ()
request_pool.rb Add request pool to improve delivery performance ()
response_with_limit.rb Fix remote files not using Content-Type header, streaming ()
rss_builder.rb
search_query_parser.rb Fix accounts search by full/partial display name and others ()
search_query_transformer.rb Fix error when searching for empty phrase ()
sidekiq_error_handler.rb Bump rubocop from 0.86.0 to 0.88.0 ()
status_filter.rb
status_finder.rb Remove Atom feeds and old URLs in the form of `GET /:username/updates/:id` ()
status_reach_finder.rb Fix nil error when removing status caused by race condition ()
tag_manager.rb Change multiple mentions with same username to render with domain ()
themes.rb
toc_generator.rb Add fallback section ID with ToC ()
user_settings_decorator.rb Add option to disable swiping motions across the WebUI ()
validation_error_formatter.rb Add `details` to error response for `POST /api/v1/accounts` in REST API ()
video_metadata_extractor.rb Fix media processing getting stuck on too much stdin/stderr ()
webfinger.rb replace all instances of "ends_with?" with "end_with?" ()
webfinger_resource.rb Fix webfinger returning wrong status code on malformed or missing param ()