Commit graph

104 commits

Author SHA1 Message Date
d96c54f3cc infer locale from params, then cookies, then Accept-Language header 2013-01-24 18:23:21 -06:00
420c52d296 infer locale from params, then cookies, then Accept-Language header 2013-01-11 11:07:11 -06:00
df5c7fe3d4 security upgrade to rails 3.0.19 2013-01-08 20:39:44 -06:00
86b58a0a35 upgrade to rails 3.0.18 - only patch upgrades, no API changes 2013-01-02 22:44:24 -05:00
4a69772cd2 remove N+1 queries on current user outfits page 2012-08-09 18:32:33 -04:00
38a9e620c4 Merge branch 'outfit_thumbnails' 2012-07-31 11:21:28 -04:00
42827362b6 optimize outfit image generation - 4x speed boost on my box
Use the ImageMagick flatten command to generate the output all at
once instead of compositing each layer individually, and download
the layers in parallel. On my box, saving roopal27 five times took
a total of 30 seconds before, whereas now it takes 7 seconds. I
expect it to be even better on the production box, where latency
is even lower.
2012-07-27 23:07:20 -04:00
0633f6012a fix cron job scheduler 2012-07-24 12:05:34 -04:00
220aca9311 outfit thumbnails initial commit 2012-07-16 16:45:26 -04:00
4e7e98beca use Neopets::User for username-based closet imports 2012-05-21 12:48:19 -04:00
64054d412e new relic 2012-04-08 16:37:32 -05:00
f8c8b04929 downgrade mysql2, oops 2012-01-12 20:31:50 -06:00
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
2be573423f update rocketamf repo 2011-07-31 23:20:04 -04:00
358840076c closet lists, round one 2011-07-29 10:52:04 -04:00
1c84a4bef9 closet page, closet hanger 2011-07-14 13:56:20 -04:00
74482dbf75 use dev version of resque-scheduler so we can use its pidfile option 2011-06-21 11:54:32 -04:00
43f373fc36 use resque-retry to reschedule failed jobs 2011-06-21 11:22:45 -04:00
cf94c7ef59 utf-8 support in both ruby 1.9 and 1.8 2011-06-04 18:40:15 -04:00
3db7e7c7b2 remove thin and memcache event machine gem requirements 2011-06-04 10:58:41 -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
7b1c775373 add production mysql2 dependency 2011-02-09 18:28:50 -05:00
b2732ef6d6 remove async gems from production group 2011-02-09 18:19:52 -05:00
cb0fb4bc86 security update: rails -> 3.0.4 2011-02-08 20:15:06 -05:00
8c8776ff63 devise implemented, but not remembering 2011-01-26 13:40:15 -05:00
1e8ec13bfe move to unstable rocketamf so that it builds hashes from registries, not arrays 2011-01-13 17:22:07 -05:00
ca9e1fb0ca cache item show pages as a first try :) 2010-12-08 20:15:46 -05:00
e32fcb24ca bump version on openneo auth signatory to ensure we load the correct version 2010-11-28 20:49:34 -05:00
0b6e22b8a6 cron via whenever for mall spider 2010-11-27 18:59:35 -05:00
d63da31ac2 add rake items:mall_spider
includes allowing null on some item fields, and putting the swf_assets
type and id index in an actual migration, or this commit would have removed
it upon migrating
2010-11-25 11:10:21 -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
7b2ed2cca4 include hoptoad 2010-11-14 16:06:31 -05:00
b2b9722d6a add thin to the bundle so that we can use bundle exec thin 2010-11-13 15:13:41 -05:00
895c6e721e auth works - yaaay 2010-10-18 17:58:45 -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
60f3d237e8 specify sqlite3-ruby required 2010-10-10 17:29:44 -04:00
bb233359d8 core of pet loading, still needs get image hash, download assets 2010-10-07 10:46:23 -04:00
531aac6523 upgrade to rails 3, make item tests pass 2010-10-03 19:50:32 -04:00
844be37abe is:nc filter 2010-07-10 12:42:18 -04:00
71f8ef04d9 prepare for deploy 2010-06-30 05:35:50 -04:00
d4705e26fa upgrade 3.0.0.beta3 2010-05-20 19:53:17 -04:00
ee1984a017 add version number to compass entry in gemfile 2010-05-15 19:06:22 -04:00
6397d8da32 add compass to gemfile 2010-05-15 18:58:28 -04:00
92996d56f8 add rdiscount to gemfile 2010-05-15 18:33:06 -04:00
a8318323ef will_paginate in gemfile 2010-05-15 14:08:35 -04:00
cee6ee68a1 hook up development database 2010-05-15 13:52:20 -04:00
9a010f0de2 add haml to gemfile 2010-05-15 13:28:39 -04:00
5b86e640b0 negate search conditions 2010-05-15 12:43:54 -04:00
d8e75e498a factory_girl gem 2010-05-14 18:32:58 -04:00
fbdd888e3b rspec-rails gem 2010-05-14 18:14:39 -04:00
87fc4bdf05 rails 3 2010-05-14 18:12:31 -04:00