1
0
Fork 0
forked from OpenNeo/impress
impress/app
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
..
assets Use CSS grid instead of floats for item page info 2024-01-18 22:16:56 -08:00
controllers Create endpoint to show all species appearances for a given color 2023-12-05 18:04:54 -08:00
helpers Delete more unused helpers 2023-11-11 15:55:38 -08:00
javascript Oops, fix species name in zones tooltip 2023-11-11 11:57:43 -08:00
mailers donation mailer 2014-09-10 14:32:54 -05:00
models Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
services Extend OWLS caching from 15 minutes to 1 day 2024-01-15 06:19:48 -08:00
views Use CSS grid instead of floats for item page info 2024-01-18 22:16:56 -08:00