chuckya/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 Add alternate links to ActivityPub resources from HTML/HEAD variants (#4586) 2017-08-13 00:45:04 +02:00
authorization.rb Extract authorization policy for viewing statuses (#3150) 2017-05-29 18:22:22 +02:00
export_controller_concern.rb Remove exports/base controller in favor of shared concern (#3444) 2017-05-30 19:06:01 +02:00
localized.rb Improve default language decision and spec (#3351) 2017-06-10 09:44:02 +02:00
obfuscate_filename.rb Remove methods from ObfuscateFilename and spec (#3347) 2017-05-29 18:14:16 +02:00
rate_limit_headers.rb Coverage improvement and concern extraction for rate limit headers in API controller (#3625) 2017-06-07 17:23:26 +02:00
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