1
0
Fork 0
forked from OpenNeo/impress
Commit graph

37 commits

Author SHA1 Message Date
9701221035 wardrobe now considers item.species_support_ids when deciding compatibility
For example, the Meerca Maid Tray is a foreground item, so the SWF is marked
as compatible with all body types, but the item itself is clearly marked as
Meercas-only. items#show reflected this properly, but the swf_assets#index
call that the wardrobe uses ignored item.species_support_ids.

So, /bodies/:body_id/swf_assets.json?item_ids[]=... was deprecated in favor
of /pet_types/:pet_type_id/items/swf_assets.json?item_ids=[]..., which is
much like the former route but, before loading assets, also loads the pet
type and items, then filters the items by compatibility, then only loads
assets for the compatible items.
2013-01-02 23:15:32 -05:00
4dd2bc9549 fix some outfits list bugs
I think I got the 0-width bug where the outfit never expands beyond
0px width, and there were also some issues with the fact that
image subscriptions pointed to the current outfit object, even
after that object had changed identity, so now we re-fetch from
the cache by ID.
2012-07-31 11:14:32 -04:00
5f48dd0f0e image subscriptions was not always properly unsubscribing; fixed 2012-07-27 23:34:19 -04:00
249c493d25 beautiful outfits tab using thumbnails 2012-07-27 03:21:22 -04:00
374c7e6147 Sharing now fully supports saved outfits, not just shared ones 2012-07-26 23:47:22 -04:00
b02c95c2d9 pretty tab navigation for wardrobe sidebar 2012-07-25 19:02:23 -04:00
f5ab71dce5 sharing thumbnail 2012-07-17 14:42:31 -04:00
7b5856ebf9 basic sharing
Sharing pane works, everything is great for guests. Logged in
users are on the way, since right now Share Outfit re-saves
anonymously rather than showing sharing data for the existing
outfit.
2012-07-17 12:15:04 -04:00
7c015e2d88 carrierwave for asset swfs 2012-07-16 16:45:26 -04:00
7ec75bb139 avoid overwriting javascript Array.prototype.map, oops 2012-07-16 16:40:07 -04:00
44156c5b21 can now have the same item in more than one list 2012-03-23 16:25:10 -05:00
1fdf1f7b45 fix bug with image export depth
Was sorting SWFs into layers by zone_id, not depth. Oops.
2012-02-22 22:10:39 -06:00
686d6560c4 specify size on image download 2012-01-13 19:37:56 -06:00
c54030f3b3 remember whether user prefers flash or image mode 2011-08-07 20:13:39 -04:00
be5bdb1eec handle search errors better in wardrobe 2011-08-01 00:00:39 -04:00
efceae4225 instead of using the largest size image that will fit the preview space, use the next largest and scale down 2011-07-02 17:37:30 -04:00
443b144f29 image mode 2011-06-27 15:33:34 -04:00
9aba28090d fix wardrobe.js crash on IE 2011-05-25 08:23:43 -04:00
b57043e0d2 Merge branch 'images' 2011-05-22 16:34:31 -04:00
6c9ddac8dd totally pro wardrobe image adapter, via konami 2011-05-22 16:30:02 -04:00
183430adb6 remove non-alphanumeric chars from item pretty urls
mainly because they were causing the router to freak out when they
contained periods, because that looks like a format, e.g. show.html
2011-05-20 19:50:06 -04:00
fa46a03c91 wardrobe js now serves pretty item urls 2011-05-20 19:38:08 -04:00
b13fd7ae99 moving toward s3 image storage 2011-05-20 19:19:14 -04:00
d565fd6587 oops, remove console reference in wardrobe.js 2011-04-22 09:37:40 -04:00
d7d2d5f0e5 include share button for logged in users, too 2011-03-28 17:29:03 -04:00
fa14232473 allow guests to share outfits 2011-02-10 17:50:47 -05:00
b308c0f0ba outfit renaming, plus some bug fixes here and there 2010-11-24 20:51:01 -05:00
06c3150ad0 fix outfit loading only setting correct pet state on the first try 2010-11-16 10:55:01 -05:00
9b0cf8b597 show outfit page 2010-11-13 17:26:27 -05:00
51f3650ce2 save current outfit, save copy 2010-11-13 08:50:37 -05:00
e6b1465355 wardrobe has an 'active outfit' - phew! cloning is hard 2010-11-12 20:58:28 -05:00
01ccf1aaca fix some bugs with item loading
whole outfit saved on toggleStar, which was not intended
saving and then loading an outfit on same session glitched on clone
2010-11-12 16:31:01 -05:00
54eb96a6de outfit loading, yaay 2010-11-12 16:14:08 -05:00
6b92c2aa33 loading current user outfit list, deleting outfits, toggling star 2010-11-11 13:43:22 -05:00
1dd2ccb00b lovely interface for saving outfits. still no reading them yet 2010-11-10 16:59:54 -05:00
d984f84445 prep wardrobe js for standalone server use 2010-10-11 18:37:20 -04:00
e40d4601d8 a functioning wardrobe 2010-10-10 22:18:42 -04:00