1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers
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
..
application_controller.rb image mode is now public 2011-08-07 19:52:11 -04:00
broken_image_reports_controller.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00
closet_hangers_controller.rb allow your_items_path to be cached on home 2011-07-31 22:17:59 -04:00
closet_lists_controller.rb closet lists, round one 2011-07-29 10:52:04 -04:00
contributions_controller.rb user contribution page 2010-11-06 11:57:22 -04:00
item_zone_sets_controller.rb cache item_zone_sets.json too 2010-12-11 10:36:59 -05:00
items_controller.rb show own/want on new items 2011-08-04 10:33:35 -04:00
neopets_pages_controller.rb import sdb as well as closet 2011-08-02 22:42:56 -04:00
neopets_users_controller.rb import items from pets 2011-08-03 11:35:06 -04:00
outfits_controller.rb delete outfits from outfit page 2011-07-14 13:14:06 -04:00
pet_attributes_controller.rb cache the constant pet_attributes.json 2010-12-11 10:32:42 -05:00
pet_types_controller.rb a functioning wardrobe 2010-10-10 22:18:42 -04:00
pets_controller.rb handle timeout errors for pet data, swfs, pet images 2011-02-19 22:49:13 -05:00
roulettes_controller.rb roulette system :) 2011-01-27 16:35:46 -05:00
sessions_controller.rb devise implemented, but not remembering 2011-01-26 13:40:15 -05:00
sitemap_controller.rb sitemap.xml 2011-05-20 20:49:48 -04:00
static_controller.rb terms 2010-11-05 18:55:27 -04:00
sweeper_controller.rb cache item show pages as a first try :) 2010-12-08 20:15:46 -05:00
swf_assets_controller.rb give SWFs real, unique ID numbers 2012-01-12 17:17:59 -06:00
users_controller.rb search by username 2011-08-05 11:28:11 -04:00