mastodon/app/controllers/concerns
Eugen Rochko b8db386e05 Fix UserTrackingConcern firing on every request, optimize some queries (#5368)
- For some reason, :if option on before_action did not work. It got
  executed every time, returned false, and the action run anyway,
  which led to the current_sign_in_at and sign_in_count being
  updated on every request
- Return "do not filter" early in FeedManager#filter_from_home? if
  the status is authored by receiver. Usually this method is not
  called for own statuses at all, but it is called when Feed#get
  uses the database
- Return early if #reload_stale_associations! has nothing to load
  to save a database query with WHERE 1=0
2017-10-13 16:44:29 +02:00
..
account_controller_concern.rb
authorization.rb
export_controller_concern.rb
localized.rb
obfuscate_filename.rb
rate_limit_headers.rb
signature_verification.rb Validate id of ActivityPub representations (#5114) 2017-10-04 01:13:48 +02:00
user_tracking_concern.rb Fix UserTrackingConcern firing on every request, optimize some queries (#5368) 2017-10-13 16:44:29 +02:00