mastodon/lib
Claire 741d0952b1
Improve account counters handling ()
* Improve account counters handling

* Use ActiveRecord::Base::sanitize_sql to pass values instead of interpolating them

Keep using string interpolation for `key` as it is safe and using
“ActiveRecord::Base::sanitize_sql_hash_for_assignment” would require stitching
bits of SQL in a way that is not more easily checked for safety.

* Add migration hook to catch PostgreSQL versions earlier than 9.5
..
action_dispatch replace all instances of "ends_with?" with "end_with?" ()
active_record Use more robust hook for loading timestamp_id function into database ()
assets Add emoji autosuggest ()
chewy/strategy Fix unnecessary queries when batch-removing statuses, 100x faster ()
devise Fix authentication before 2FA challenge ()
generators Add post-deployment migration system ()
json_ld Fixed code quality issues ()
mastodon Remove MySQL-specific code from Mastodon::MigrationHelpers ()
paperclip Fixed code quality issues ()
rails Fix obsolete digitalocean.rake file breaking rake tasks ()
redis Change Redis#exists calls to Redis#exists? to avoid deprecation warning ()
sanitize_ext Prepare Mastodon for zeitwerk autoloader ()
tasks Improve account counters handling ()
templates Add post-deployment migration system ()
webpacker Add subresource integrity for JS and CSS assets ()
cli.rb Deal with collation-related index corruption ()
enumerable.rb Optimize map { ... }.compact calls ()
exceptions.rb Prepare Mastodon for zeitwerk autoloader ()