impress/app
Emi Matchu bd4b67316c Refactor image hash loading to use PetService.getPet, not CPN redirs
Previously, the way we loaded the image hash for a given pet was to
navigate to `https://pets.neopets.com/cpn/<pet_name>/1/1.png`, but
*not* follow the redirect, and extract the image hash from the URL
where it redirected us to.

In this change, we refactor to use the AMFPHP RPC `PetService.getPet`
instead. I don't think it had this data last time I looked at it, but
now it does! Much prefer to use an actual RPC than our weird hacky
thing!

(We might also be able to use this call for other stuff, like
auto-labeling gender & mood for pet states, maybe?? That's in this data
too! We used to load petlookups for this, long long ago, before the
petlookup captchas got added.)
2024-04-06 02:56:40 -07:00
..
assets Fix scoping on CSS for donate page 2024-03-13 22:13:16 -07:00
controllers Tweak NeoPass login success messages, to focus less on random username 2024-04-01 06:00:49 -07:00
helpers Downgrade jQuery on homepage to be the same version as everywhere else 2024-03-13 21:38:45 -07:00
javascript Whoops, fix some style regressions for the React app! 2024-03-31 01:20:45 -07:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Refactor image hash loading to use PetService.getPet, not CPN redirs 2024-04-06 02:56:40 -07:00
services Save manifest load info when preloading them, too 2024-02-25 16:02:36 -08:00
views Add some cheesy formatting to the placeholder NeoPass UI 2024-03-14 19:47:19 -07:00