impress/app/models
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
..
item Fix minor item search error message bug 2023-11-11 07:04:57 -08:00
application_record.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
auth_record.rb Add AuthUser model, connecting to openneo_id db 2023-10-23 19:05:07 -07:00
auth_user.rb Clarify the error behavior on AuthUser syncing 2023-10-23 19:05:08 -07:00
campaign.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
closet_hanger.rb Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
closet_list.rb Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
closet_visibility.rb Delete a couple unused accessors 2023-11-11 15:42:08 -08:00
color.rb Create endpoint to show all species appearances for a given color 2023-12-05 18:04:54 -08:00
contribution.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
donation.rb Mark some more relationships as optional 2023-10-23 19:05:07 -07:00
donation_feature.rb Mark some more relationships as optional 2023-10-23 19:05:07 -07:00
item.rb Remove unused NC Mall spider code & fields 2023-11-11 15:45:38 -08:00
item_outfit_relationship.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
neopets_connection.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
neopets_page.rb Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
outfit.rb Use the main app for outfit saving, not impress-2020 2023-11-02 16:54:35 -07:00
parent_swf_asset_relationship.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
pet.rb Delete a couple unused accessors 2023-11-11 15:42:08 -08:00
pet_state.rb Create endpoint to show all species appearances for a given color 2023-12-05 18:04:54 -08:00
pet_type.rb Fix "couldn't download the associated Flash files" when modeling 2024-01-15 01:15:35 -08:00
species.rb Refactor appearances data to use a "body" object 2023-11-11 07:54:56 -08:00
swf_asset.rb Remove unused NC Mall spider code & fields 2023-11-11 15:45:38 -08:00
user.rb Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
zone.rb Replace swf_assets#index with item_appearances#index 2023-11-11 07:14:48 -08:00