This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/models/concerns
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
..
account_associations.rb Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
account_avatar.rb Remove WebP support (#11589) 2019-08-17 22:04:15 +02:00
account_counters.rb Improve account counters handling (#15913) 2021-03-19 13:14:57 +01:00
account_finder_concern.rb Create instance actor if it hasn't been properly seeded (#15693) 2021-02-09 18:12:54 +01:00
account_header.rb Remove WebP support (#11589) 2019-08-17 22:04:15 +02:00
account_interactions.rb Fix being able to import more than allowed number of follows (#15384) 2020-12-26 23:52:46 +01:00
account_merging.rb Fix account merging in maintenance script (#15264) 2020-12-04 02:23:51 +01:00
attachmentable.rb Fix remote files not using Content-Type header, streaming (#14184) 2020-06-30 23:58:02 +02:00
cacheable.rb
domain_materializable.rb Fix performance on instances list in admin UI (#15282) 2020-12-14 09:06:34 +01:00
domain_normalizable.rb Fix admin page crashing when trying to block an invalid domain name (#13884) 2020-06-01 03:47:20 +02:00
expireable.rb Fix not being able to change world filter expiration back to “Never” (#15858) 2021-03-12 05:25:50 +01:00
follow_limitable.rb Fix being able to import more than allowed number of follows (#15384) 2020-12-26 23:52:46 +01:00
ldap_authenticable.rb Add an LDAP Mail attribute config (#12053) 2019-12-01 18:52:21 +01:00
omniauthable.rb Optimize some regex matching (#15528) 2021-01-22 10:09:08 +01:00
paginable.rb allow pagination by min_id and max_id (#14776) 2020-09-12 17:09:49 +02:00
pam_authenticable.rb Fix LDAP/PAM/SAML/CAS users not being approved instantly (#10621) 2019-04-25 02:49:25 +02:00
rate_limitable.rb Add specific rate limits for posting and following (#13172) 2020-03-08 15:17:39 +01:00
redisable.rb
relationship_cacheable.rb
remotable.rb Fix movie width and frame_rate returning nil (#14357) 2020-07-19 22:28:27 +02:00
status_threading_concern.rb Optimize map { ... }.compact calls (#15513) 2021-01-10 00:32:01 +01:00
user_roles.rb Add moderation API (#9387) 2019-06-20 02:52:34 +02:00