1
0
Fork 0
forked from OpenNeo/impress
impress/app/models
Emi Matchu e337767954 Fix "couldn't download the associated Flash files" when modeling
So this was a slightly wrong error message, what was happening was:

1. Trying to load the image hash for this pet, by looking them up at
   https://pets.neopets.com/cpn/PET_NAME/1/1.png and seeing what URL it
   redirects to.
2. But pets.neopets.com was rejecting our User-Agent string, which
   would've been just "Ruby", since we hadn't set it otherwise. I guess
   that's an explicitly banned string?

I also found that the kind of more-helpful User-Agent string I like to
write was being rejected, and I could only get it to accept something
very simple? So that's what we're using now, I guess!!
2024-01-15 01:15:35 -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 Do preloading manually on user list pages, to reduce memory usage 2023-10-27 19:42:02 -07:00
closet_list.rb Do preloading manually on user list pages, to reduce memory usage 2023-10-27 19:42:02 -07: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 Use the main app for outfit saving, not impress-2020 2023-11-02 16:54:35 -07:00
zone.rb Replace swf_assets#index with item_appearances#index 2023-11-11 07:14:48 -08:00