mastodon/lib
Claire 741d0952b1
Improve account counters handling (#15913)
* 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
2021-03-19 13:14:57 +01:00
..
action_dispatch replace all instances of "ends_with?" with "end_with?" (#15745) 2021-02-19 09:56:14 +01:00
active_record Use more robust hook for loading timestamp_id function into database (#15919) 2021-03-19 02:43:13 +01:00
assets
chewy/strategy
devise
generators
json_ld Fixed code quality issues (#15541) 2021-01-31 21:26:09 +01:00
mastodon Remove MySQL-specific code from Mastodon::MigrationHelpers (#15924) 2021-03-19 13:14:40 +01:00
paperclip Fixed code quality issues (#15541) 2021-01-31 21:26:09 +01:00
rails Fix obsolete digitalocean.rake file breaking rake tasks (#15618) 2021-02-11 02:11:30 +01:00
redis
sanitize_ext Prepare Mastodon for zeitwerk autoloader (#15917) 2021-03-19 02:42:43 +01:00
tasks Improve account counters handling (#15913) 2021-03-19 13:14:57 +01:00
templates
webpacker
cli.rb
enumerable.rb
exceptions.rb Prepare Mastodon for zeitwerk autoloader (#15917) 2021-03-19 02:42:43 +01:00