Commit graph

339 commits

Author SHA1 Message Date
0cbdc30a15 refactor items.index for hierarchy and twl 2013-01-24 18:23:21 -06:00
4bf73b4285 refactor closet_lists.form hierarchy 2013-01-24 18:23:20 -06:00
1f1bfb3140 refactor closet_hangers.petpage.instructions to use twl 2013-01-24 18:23:20 -06:00
5935ed055d refactor tmd helper, move closet_hangers#index autocomplete to markdown 2013-01-24 18:23:20 -06:00
7f2070e78e refactor userbar contributions to use twl 2013-01-24 18:23:20 -06:00
3d8266951f i18n for outfits/edit.js item partials: no-data-yet and icons 2013-01-24 18:23:20 -06:00
629e5c68a9 i18n for outfits/edit.js userbar message and outfit save errors 2013-01-24 18:23:20 -06:00
2b1cb2fe7f i18n for outfits#edit base template - dynamic content in outfits/edit.js still needs examined 2013-01-24 18:23:20 -06:00
b346bcc6d9 i18n for outfits#index - plus the translate_with_links helper, which can be used for refactoring other stuff 2013-01-24 18:23:20 -06:00
029373addd i18n for outfits#destroy flashes 2013-01-24 18:23:20 -06:00
8c9dda37d5 i18n for closet_hangers#index search bar autocomplete 2013-01-24 18:23:20 -06:00
467fb24c42 i18n for closet_hangers#create, closet_hangers#destroy, closet_hangers#update, closet_hangers#update_quantities (flashes, largely intertwined) 2013-01-24 18:23:20 -06:00
e55d407d63 i18n for neopets_pages#create (flashes - holy snap, that was nasty) 2013-01-24 18:23:19 -06:00
0f52ba5b4e i18n for neopets_users#create flashes 2013-01-24 18:23:19 -06:00
7bc255e9c8 i18n for users#index, users#update flashes 2013-01-24 18:23:19 -06:00
3c9e37f614 i18n for broken_image_reports#create flashes 2013-01-24 18:23:19 -06:00
99e3bba72f i18n for closet icons 2013-01-24 18:23:19 -06:00
30cdbface5 i18n for closet_hangers#petpage and items#_item (NC icon) 2013-01-24 18:23:19 -06:00
b213f6d0ba i18n for closet_hangers#index, closet_lists#edit, closet_lists#new, and maybe some more closet-related things - this was a biggie 2013-01-24 18:23:19 -06:00
c32425bc14 i18n for neopets_pages#new 2013-01-24 18:23:19 -06:00
5498a739f2 i18n for pets#bulk 2013-01-24 18:23:19 -06:00
9488a27916 i18n for neopets_users#new 2013-01-24 18:23:19 -06:00
ac0490dc1d i18n for items#show (including javascripts/items/show.js) 2013-01-24 18:23:19 -06:00
b69793c008 i18n for contributions#index 2013-01-24 18:23:18 -06:00
5e89e2b947 i18n for items#index (and layouts#items) 2013-01-24 18:23:18 -06:00
34d919179a i18n for broken_image_reports#new 2013-01-24 18:23:18 -06:00
1356fdaa0c i18n for users#top_contributors 2013-01-24 18:23:18 -06:00
fea0b42a17 i18n for outfits#show 2013-01-24 18:23:18 -06:00
132a49d30b i18n for outfits#new (and layouts#application), including caching 2013-01-24 18:23:18 -06:00
0db1bb8d74 enable fallbacks 2013-01-11 15:26:07 -06:00
aafec97bbf simple locale dropdown in layouts#application 2013-01-11 11:46:14 -06:00
420c52d296 infer locale from params, then cookies, then Accept-Language header 2013-01-11 11:07:11 -06:00
f63e4ecc43 i18n for will_paginate, including dynamically in outfits#edit 2013-01-10 18:58:56 -06:00
5dddb6dbdc i18n for outfits/new.js 2013-01-10 18:24:12 -06:00
f82d3683f5 i18n for pet_query.js 2013-01-10 16:47:46 -06:00
6695faccba fix dumb transpositional errors in closet_hangers.create.success.owned.unlisted 2013-01-09 22:08:17 -06:00
9e8d39e097 i18n for pets#load flashes 2013-01-09 22:05:07 -06:00
7aa49f70be refactor outfits.new for hierarchy 2013-01-09 18:40:35 -06:00
0ae6762bf5 oops, re-refactor closet_hangers.index.autocomplete, since markdown wraps it in a paragraph 2013-01-09 18:28:20 -06:00
942fa63907 refactor neopets_pages.new for twl 2013-01-09 18:21:44 -06:00
abd327f08e refactor items.show for hierarchy and twl 2013-01-09 18:05:06 -06:00
04679bfd00 refactor items.index for hierarchy and twl 2013-01-09 17:48:01 -06:00
7dce6ca89c refactor closet_lists.form hierarchy 2013-01-09 17:38:03 -06:00
a370000b3d refactor closet_hangers.petpage.instructions to use twl 2013-01-09 17:32:56 -06:00
87920b4b94 refactor tmd helper, move closet_hangers#index autocomplete to markdown 2013-01-09 17:30:40 -06:00
b00b9ae45e refactor userbar contributions to use twl 2013-01-09 17:24:52 -06:00
59a5c60f3b i18n for outfits/edit.js item partials: no-data-yet and icons 2013-01-09 17:15:25 -06:00
c3ebfee2e4 i18n for outfits/edit.js userbar message and outfit save errors 2013-01-09 17:15:25 -06:00
addc41ddc9 i18n for outfits#edit base template - dynamic content in outfits/edit.js still needs examined 2013-01-09 17:15:25 -06:00
cd323cbf53 i18n for outfits#index - plus the translate_with_links helper, which can be used for refactoring other stuff 2013-01-09 17:15:25 -06:00
5eb7842e36 i18n for outfits#destroy flashes 2013-01-09 17:15:25 -06:00
397c556c50 i18n for closet_hangers#index search bar autocomplete 2013-01-09 17:15:25 -06:00
75031c142b i18n for closet_hangers#create, closet_hangers#destroy, closet_hangers#update, closet_hangers#update_quantities (flashes, largely intertwined) 2013-01-09 17:15:24 -06:00
c5e92ec53c i18n for neopets_pages#create (flashes - holy snap, that was nasty) 2013-01-09 17:15:24 -06:00
4c6b43028b i18n for neopets_users#create flashes 2013-01-09 17:15:24 -06:00
42320162f0 i18n for users#index, users#update flashes 2013-01-09 17:15:24 -06:00
9c7ddd55a4 i18n for broken_image_reports#create flashes 2013-01-09 17:15:24 -06:00
52225c0f3d i18n for closet icons 2013-01-09 17:15:24 -06:00
1ca59c5288 i18n for closet_hangers#petpage and items#_item (NC icon) 2013-01-09 17:15:24 -06:00
0731c7093c i18n for closet_hangers#index, closet_lists#edit, closet_lists#new, and maybe some more closet-related things - this was a biggie 2013-01-09 17:15:24 -06:00
50c9ad26e2 i18n for neopets_pages#new 2013-01-09 17:15:24 -06:00
b32a3725bb i18n for pets#bulk 2013-01-09 17:15:24 -06:00
68fdc37823 i18n for neopets_users#new 2013-01-09 17:15:24 -06:00
19a877d38e i18n for items#show (including javascripts/items/show.js) 2013-01-09 17:15:23 -06:00
dd4c650a43 i18n for contributions#index 2013-01-09 17:15:23 -06:00
70c626ae10 i18n for items#index (and layouts#items) 2013-01-09 17:15:23 -06:00
fc595c3447 i18n for broken_image_reports#new 2013-01-09 17:15:23 -06:00
a433cbf436 i18n for users#top_contributors 2013-01-09 17:15:23 -06:00
abca8eb29a i18n for outfits#show 2013-01-09 17:15:23 -06:00
744c10495d i18n for outfits#new (and layouts#application), including caching 2013-01-09 17:15:23 -06:00
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
f56b544963 brought-to-you-by on items#show lists contributors 2012-10-24 22:09:05 -05:00
ddec043209 support pea chia cape in infinite closet 2012-09-29 12:40:55 -05:00
eb0ad25c93 add color Dimensional 2012-09-24 18:31:27 -05:00
99669b8e4e cache homepage latest contribution 2012-08-09 22:59:35 -04:00
1e3938eea9 improve closet performance by caching item link 2012-08-09 19:34:56 -04:00
4a69772cd2 remove N+1 queries on current user outfits page 2012-08-09 18:32:33 -04:00
50de2ed36f add color Stealthy 2012-08-07 19:43:09 -04:00
72237f225c modeling hub 2012-08-06 21:15:31 -04:00
38a9e620c4 Merge branch 'outfit_thumbnails' 2012-07-31 11:21:28 -04:00
0633f6012a fix cron job scheduler 2012-07-24 12:05:34 -04:00
cf2546d832 basic image thumbnails 2012-07-16 16:47:28 -04:00
7c015e2d88 carrierwave for asset swfs 2012-07-16 16:45:26 -04:00
220aca9311 outfit thumbnails initial commit 2012-07-16 16:45:26 -04:00
71da64b47f create /start/:species_name/:color_name route 2012-06-05 12:44:11 -04:00
f712021594 add elderlyboy, elderlygirl colors 2012-05-07 20:10:37 -05:00
64054d412e new relic 2012-04-08 16:37:32 -05:00
7d0edbf23c closet_hangers#destroy now tied to hanger ID, not item 2012-03-23 16:25:10 -05:00
44156c5b21 can now have the same item in more than one list 2012-03-23 16:25:10 -05:00
767103fb70 remove logout bug from bulk pet page 2012-01-26 13:30:53 -06:00
bdb2dfd97a add Eventide color
sigh, really need to get the colors and species into the database soon...
2012-01-04 22:44:06 -05:00
8ac12231f4 wraith color 2011-10-25 21:10:08 -05:00
c489f2802d add water to color list 2011-08-30 16:59:12 -05:00
7358aae680 report broken images 2011-08-07 18:23:44 -04:00
4c510f91db search by username 2011-08-05 11:28:11 -04:00
2398f34071 import items from pets 2011-08-03 11:35:06 -04:00
513711bf60 import sdb as well as closet 2011-08-02 22:42:56 -04:00
374e85f9d0 drop in redirect image url for urls blocked on petpages 2011-08-02 20:01:48 -04:00
dacfc99ce7 allow your_items_path to be cached on home 2011-07-31 22:17:59 -04:00
037cb1e95a your items link on home 2011-07-31 18:45:53 -04:00
30096f6b0a items petpage export 2011-07-31 02:52:19 -04:00
358840076c closet lists, round one 2011-07-29 10:52:04 -04:00
b86ce67c02 first pass at closet lists, including form 2011-07-26 20:27:23 -04:00
c5103b6557 neomail link on closets 2011-07-20 15:16:22 -04:00
77818471c5 closet hangers page has nice remove button 2011-07-15 23:14:26 -04:00
47e3b72937 restructure backend of closet hanger quantity updates 2011-07-15 16:16:40 -04:00
fab612950a basic hanger interface from item 2011-07-14 13:56:44 -04:00
6ebacc99dd closet page saving backend 2011-07-14 13:56:20 -04:00
d5641dddbb user closet display 2011-07-14 13:56:20 -04:00
dafc922fa5 add support for the Swamp Gas color 2011-07-12 17:47:57 -04:00
ba7f6b8768 keep two caches of wardrobe, for those who have image mode and those who don't 2011-07-02 18:02:37 -04:00
c6a7bfffa1 image mode welcome page 2011-07-02 17:09:42 -04:00
a6b6bbaeca rewrite donors copy a bit 2011-07-02 13:23:38 -04:00
5ecd5f3ce4 donate page noninteractive 2011-06-28 13:24:40 -04:00
43f373fc36 use resque-retry to reschedule failed jobs 2011-06-21 11:22:45 -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
49c3859a00 dynamic robots.txt to refer to sitemap.xml 2011-05-20 20:59:35 -04:00
740693018b sitemap.xml 2011-05-20 20:49:48 -04:00
b13fd7ae99 moving toward s3 image storage 2011-05-20 19:19:14 -04:00
38907bc2d6 remove deprecated hoptoad js_notifier option 2011-05-13 08:27:57 -04:00
648649f5cc support special colors in the infinite closet 2011-05-02 18:07:56 -04:00
1207e84804 nice page to view current user's outfits 2011-03-23 18:23:01 -04:00
88fbc72a46 derp. 8bit color needs to go at end of list. 2011-03-21 22:00:57 -04:00
0b35ec0163 add 8-bit color support (heh) 2011-03-21 21:53:13 -04:00
fd5663c9e8 playing with new outfit save interface 2011-02-09 18:58:02 -05:00
ef62e24044 also, disable threadsafe 2011-02-09 17:57:44 -05:00
09b9471f6c stop using fiber pool by default in production. we'll enable again when sweepers are threadsafe 2011-02-09 17:56:59 -05:00
ca95cfb722 disabling the hoptoad js notifier may have fixed the leak... maybe 2011-02-05 11:48:54 -05:00
bb1f10c60b Merge branch 'fixleak' 2011-02-05 10:33:39 -05:00
4b66a560e7 roulette system :) 2011-01-27 16:35:46 -05:00
8c8776ff63 devise implemented, but not remembering 2011-01-26 13:40:15 -05:00
ca155314fa home page caching, reset top contributors only when necessary 2010-12-11 09:37:39 -05:00
ca9e1fb0ca cache item show pages as a first try :) 2010-12-08 20:15:46 -05:00
b7fb5a952b Revert "implement head.js"
This reverts commit 12ffa33f4f.
2010-12-06 18:50:13 -05:00
12ffa33f4f implement head.js 2010-12-05 21:18:52 -05:00
c67f8c916a add parens for spider mall assets in cron. sigh. 2010-12-02 16:25:38 -05:00
165177d992 move rvm to correct ruby on cron, escape \! 2010-12-02 15:13:55 -05:00
666edc117c remove reference to script/rails in cron schedule, since it pulls up the wrong ruby version 2010-12-01 21:05:15 -05:00
ea4a4e6ee0 thread safety breaks class autoloading in rake; move mall spider cron jobs to runner 2010-12-01 19:28:16 -05:00
0b6e22b8a6 cron via whenever for mall spider 2010-11-27 18:59:35 -05:00
3d29f7784f asset spider, yaaay 2010-11-27 18:41:06 -05:00
3e1d6aefea add maractice color 2010-11-24 21:11:44 -05:00
f2c98c7697 remove old routes to not throw off will_paginate 2010-11-17 00:19:02 -05:00
60ab4db8c1 rails 3.0.3, negating arel condition is not(c) instead of c.not now 2010-11-16 17:26:06 -05:00
9fc24a2eab handle contribution for now-unused swf 2010-11-15 16:44:57 -05:00
7b2ed2cca4 include hoptoad 2010-11-14 16:06:31 -05:00
ba8525e55b disable asset packaging for the moment 2010-11-13 22:04:41 -05:00
d81c08f866 remember me on login 2010-11-13 19:42:56 -05:00
9b0cf8b597 show outfit page 2010-11-13 17:26:27 -05:00
d8da87cbd9 ignore cap files, move auth config to yaml file 2010-11-13 10:37:57 -05:00
e6b1465355 wardrobe has an 'active outfit' - phew! cloning is hard 2010-11-12 20:58:28 -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
1fd98fb191 basic interaction with fake outfits 2010-11-08 20:40:03 -05:00
ef004cc6cb needed objects 2010-11-06 13:07:12 -04:00
a5b119a9bc contributions viewing 2010-11-06 11:52:58 -04:00
2d550724f0 bulk add pets 2010-11-05 20:09:03 -04:00
b99916cfdf terms 2010-11-05 18:55:27 -04:00
c8acdc4e8d working home page 2010-11-05 18:45:05 -04:00
61b55d418e ensure that session is initialized before redirecting user 2010-11-05 16:32:00 -04:00
895c6e721e auth works - yaaay 2010-10-18 17:58:45 -04:00
d984f84445 prep wardrobe js for standalone server use 2010-10-11 18:37:20 -04:00
1a6bbd8dbd move async behavior to development_async environment 2010-10-11 18:28:39 -04:00
e40d4601d8 a functioning wardrobe 2010-10-10 22:18:42 -04:00
e85c50bf62 support concurrent requests. now demands thin and nginx, but hey. it works 2010-10-10 18:46:58 -04:00
33711f6fc6 quick pets controller to redirect to wardrobe 2010-10-10 14:33:54 -04:00
8b7b40019d rearrange routes so that /item_zone_sets.js is not considered an item id 2010-10-03 20:25:02 -04:00
531aac6523 upgrade to rails 3, make item tests pass 2010-10-03 19:50:32 -04:00
4ba6af20ad item zone sets jsonp controller 2010-06-26 16:29:23 -04:00
fbba36005e distribute items as jsonp 2010-06-22 13:00:55 -04:00
8e69d38ff7 refactoring search, removing database from set, fixing show.js to work with new swf 2010-06-22 12:42:25 -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
6d2782d9db move item swf asset JSON routes into a /items/ subdirectory, and gitignore the contents of that and /pet_types/ 2010-06-08 18:35:39 -04:00
37372544b0 alter item swf asset routes to allow for page caching 2010-06-08 18:26:42 -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
7a32b9c894 both items, pet types own assets 2010-05-16 20:45:30 -04:00
66c43e220a move species supported images for item show into pet_type method 2010-05-16 16:15:21 -04:00
f6dce65dfb add color model, have it and species descend from PetAttribute 2010-05-16 15:44:32 -04:00
f69f64f18f pet type model, controller 2010-05-16 15:33:56 -04:00
230026597b groundwork for preview, swf asset and relationship model 2010-05-16 15:01:38 -04:00
f794d07c2c basic show page 2010-05-15 20:46:41 -04:00
a7cb8a63d7 very basic styling to match impress 2010-05-15 19:34:13 -04:00
cee6ee68a1 hook up development database 2010-05-15 13:52:20 -04:00
4d4ded3c11 items controller, basic view 2010-05-15 13:47:46 -04:00
851aa49091 basic specs for items, including search 2010-05-15 11:38:45 -04:00
be2fe8c41a rspec:install 2010-05-14 18:17:10 -04:00
87fc4bdf05 rails 3 2010-05-14 18:12:31 -04:00