impress/config/initializers
Emi Matchu 470c805880 Save last trade activity time onto User
In impress-2020, we do a big slow query to figure out which users have
been active in trades recently. Now, we cache that timestamp on the
User model.

This won't have any immediate effect; it's to clear the way for Classic
DTI to receive the better trade ratios feature people like from 2020.

I also added some unit testing infra because I finally wanted it! for
all the ways you can trigger this timestamp lol

Note too that this is a bit of an unusually complex migration, but my
hope is that the batching and query structure and such helps it run
surprisingly fast! 🤞
2024-01-19 00:00:46 -08:00
..
application_controller_renderer.rb Run rails app:update 2023-10-23 19:05:05 -07:00
asset_hosts.rb Use Fastly to cache our PNG assets from S3 2021-05-12 22:50:05 -07:00
assets.rb Fix typography on wardrobe 2020 page 2023-10-23 19:05:09 -07:00
attack.rb Fix deprecation warning in Rack::Attack 2023-10-23 19:05:09 -07:00
backtrace_silencers.rb Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00
content_security_policy.rb Upgrade to Rails 7.1.1 2023-10-25 15:05:31 -07:00
cookies_serializer.rb Upgrade to Rails 6.0.6.1 2023-10-23 19:05:06 -07:00
devise.rb Can log into OpenNeo ID accounts directly! 2023-10-23 19:05:07 -07:00
filter_parameter_logging.rb Upgrade to Rails 7.1.1 2023-10-25 15:05:31 -07:00
inflections.rb Upgrade to Rails 7.1.1 2023-10-25 15:05:31 -07:00
locale_meta.rb latest i18n gem cares is stricter about locales, so configure better. this works, right? :x 2015-07-16 18:59:45 -04:00
mime_types.rb Run rails app:update 2023-10-23 19:05:05 -07:00
permissions_policy.rb Upgrade to Rails 7.1.1 2023-10-25 15:05:31 -07:00
rack_mini_profiler.rb Add mini profiler to each page 2023-10-27 19:38:49 -07:00
rspec_generator.rb rspec:install 2010-05-14 18:17:10 -04:00
secret_token.rb Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
sentry.rb Add Sentry to Rails 2023-11-06 12:37:40 -08:00
session_store.rb Invalidate old session cookies 2023-10-23 19:05:06 -07:00
stripe.rb Remove references to the Stripe gem 2023-07-21 18:54:15 -07:00
wrap_parameters.rb Run rails app:update 2023-10-23 19:05:05 -07:00