1
0
Fork 0
forked from OpenNeo/impress
impress/app/models
Matchu 696b2aedaf give SWFs real, unique ID numbers
Lots of scary bugs were being caused by the fact that the possibly-duplicate Neopets ID
was being treated as an SWF's real primary key, meaning that a save meant for object swf
number 123 could be saved to biology swf number 123. Which is awful.

This update gives SWFs their own unique internal ID numbers. All external lookups still use
the remote ID and the type, meaning that the client side remains totally unchanged (phew).
However, all database relationships with SWFs use the new ID numbers, making everything
cleaner. Yay.

There are probably a few places where it would be appropriate to optimize certain lookups
that still depend on remote ID and type. Whatever. Today's goal was to remove crazy
glitches that have been floating around like mad. And I think that goal has been met.
2012-01-12 17:17:59 -06:00
..
asset_image_conversion_request.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00
closet_hanger.rb privacy bug: would show hangers even in private lists as Trading if unlisted hangers were marked Trading 2011-08-06 23:15:32 -04:00
closet_list.rb items petpage export 2011-07-31 02:52:19 -04:00
closet_page.rb import sdb as well as closet 2011-08-02 22:42:56 -04:00
closet_visibility.rb set list visibility in closet_lists#edit 2011-07-30 22:34:27 -04:00
color.rb asset spider, yaaay 2010-11-27 18:41:06 -05:00
contribution.rb actually contributing things, yay 2010-11-06 18:08:45 -04:00
item.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00
item_outfit_relationship.rb lovely interface for saving outfits. still no reading them yet 2010-11-10 16:59:54 -05:00
item_sweeper.rb home page caching, reset top contributors only when necessary 2010-12-11 09:37:39 -05:00
neopets_user.rb import items from pets 2011-08-03 11:35:06 -04:00
outfit.rb include share button for logged in users, too 2011-03-28 17:29:03 -04:00
parent_swf_asset_relationship.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00
pet.rb automatically rezone bio 2011-10-31 16:22:24 -05:00
pet_attribute.rb capitalize each word of a species/color name (for Swamp Gas) 2011-07-12 18:22:16 -04:00
pet_state.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00
pet_type.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00
pretty_param.rb parameterize user params like items, plus a cleaner parameterization scheme 2011-07-26 18:49:52 -04:00
roulette.rb species check was in the wrong place. fixed 2011-01-27 17:50:08 -05:00
safety_deposit_page.rb import sdb as well as closet 2011-08-02 22:42:56 -04:00
species.rb catch species not found errors in search 2010-11-18 23:25:34 -05:00
static_resource.rb roulette system :) 2011-01-27 16:35:46 -05:00
swf_asset.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00
user.rb app can now load environment even if schema not yet loaded 2011-09-06 11:15:09 -05:00
user_sweeper.rb save user even if points do not change. oops 2011-03-01 15:32:26 -05:00
zone.rb nice pretty upgrade to item show page 2010-09-08 22:49:39 -04:00