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
285c7858c0
app can now load environment even if schema not yet loaded
2011-09-06 11:15:09 -05:00
b50b9d237d
allow broken image resubmits after 1hr
2011-08-07 20:43:42 -04:00
7358aae680
report broken images
2011-08-07 18:23:44 -04:00
9eaeadaa8c
delete tmp dir after converting swfs
2011-06-10 14:45:33 -04:00
cf94c7ef59
utf-8 support in both ruby 1.9 and 1.8
2011-06-04 18:40:15 -04:00
6c9ddac8dd
totally pro wardrobe image adapter, via konami
2011-05-22 16:30:02 -04:00
926f2a5350
improve swf image request enqueue on creation
2011-05-22 13:10:29 -04:00
b13fd7ae99
moving toward s3 image storage
2011-05-20 19:19:14 -04:00
883ecde836
convert_swf! method runs
2011-05-14 10:25:11 -04:00
648649f5cc
support special colors in the infinite closet
2011-05-02 18:07:56 -04:00
2a7fea11e6
handle timeout errors for pet data, swfs, pet images
2011-02-19 22:49:13 -05:00
ea4ec0f99d
gracefully handle connection errors with neopets servers
2011-02-19 22:09:12 -05:00
b45faa6753
Merge branch 'mall_spider'
2010-11-27 18:51:08 -05:00
3d29f7784f
asset spider, yaaay
2010-11-27 18:41:06 -05:00
99fb6b984f
ensure that we're only returning item assets for items and biology assets for pet states
2010-11-25 21:33:34 -05:00
63ae4558b1
ensure that we're looking only at biology assets when saving new pet states
2010-11-20 10:35:59 -05:00
d10ab2615f
actually contributing things, yay
2010-11-06 18:08:45 -04:00
a5b119a9bc
contributions viewing
2010-11-06 11:52:58 -04:00
e40d4601d8
a functioning wardrobe
2010-10-10 22:18:42 -04:00
5c34b79186
move from deprecated def before_save to before_save do
2010-10-10 14:43:01 -04:00
3eee2633bd
set body id to 0 when appropriate
2010-10-09 11:35:36 -04:00
04138ac4a7
full saving pets, serving assets directly from this domain
2010-10-09 10:53:58 -04:00
bb233359d8
core of pet loading, still needs get image hash, download assets
2010-10-07 10:46:23 -04:00
9671a02ecc
zones are now a static resource, like species and color. database table remains for compatibility with main PHP app
2010-06-09 23:15:51 -04:00
37372544b0
alter item swf asset routes to allow for page caching
2010-06-08 18:26:42 -04:00
c8f20b2f34
zones_restrict respected in preview
2010-06-07 19:50:49 -04:00
5e5032d671
bulk preloading item assets after 5 seconds, to be able to show reds more quickly
2010-06-07 16:33:43 -04:00
743ec4d910
restrict item swf assets by fitting body id
2010-05-20 21:30:12 -04:00
cccfe08eb5
include body ID in asset JSON
2010-05-20 20:25:36 -04:00
8411d4c64a
swf asset json for pet types
2010-05-20 19:56:08 -04:00
a5866a19e3
zone model in order to be able to include depth for swf_asset JSON
2010-05-20 19:04:56 -04:00
230026597b
groundwork for preview, swf asset and relationship model
2010-05-16 15:01:38 -04:00