mastodon-glitch/lib/tasks
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
..
assets.rake Do not fetch environment variables to determine default locale (#6618) 2018-03-04 10:00:46 +01:00
auto_annotate_models.rake Add announcements (#12662) 2020-01-23 22:00:13 +01:00
db.rake Improve account counters handling (#15913) 2021-03-19 13:14:57 +01:00
emojis.rake Add borders to 📱 and 📲 emojis (#15794) 2021-03-01 21:22:54 +01:00
mastodon.rake Fix external user creation failing when invite request text is required (#15405) 2020-12-22 17:14:32 +01:00
repo.rake Add missing locale file for ga and add rake task to check for it (#11813) 2019-09-12 04:58:33 +02:00
statistics.rake add task to report code statistics (#2489) 2017-04-26 18:47:22 +02:00