Matchu
c5c587fab1
stop crashing when trying to translate item names
2015-07-27 13:23:46 -04:00
7c6e607612
basic neopia api integration
2014-01-10 16:25:02 -05:00
082119afe1
fix some mall spider bugs, including not having all the attributes it needed for search indexing
2013-07-09 21:00:36 -07:00
9bd49aa85d
first step in repairing mall spider
2013-07-09 20:01:55 -07:00
6cad85cec1
iron out some rails 3.1 compatibility issues
2013-03-05 15:41:55 -06:00
f547a75c40
ruby 2.0.0 compatibility... hopefully.
2013-02-25 01:14:45 -05:00
2cc688f7ff
bump up pet load timeout
2013-01-28 17:52:10 -06:00
f59fa92aa1
oops, dont include duplicate items in wardrobe after translating
2013-01-28 17:02:33 -06:00
eab14e31fd
waaay speed up Pet#translate_items
...
A few key changes:
* Don't reload the whole pet 8 times!! Sooo many bad things
happen, including redundant lookups of everything else and
too many item saves and reindexes. Instead, fetch the item
data, apply it to the items, and then save the items (once
each!)
* Updated my branch of globalize3 to be even better at avoiding
redundant queries when saving. Woo.
* Last realization: wrapping all the item saves in a single
transaction works wonders. COMMIT seems to have high overhead,
so doing only one took it from 50ms * 10 or whatever to 60ms.
Good stuff.
2013-01-28 15:18:11 -06:00
482b1a155d
ugh, fine, save the pets sequentially
2013-01-28 03:02:20 -06:00
a39110884d
cut down on pets#load queries
2013-01-28 02:10:25 -06:00
6c3ff09f5d
make en-MEEP translatable - because sorting by translations doesnt work well with fallbacks
2013-01-27 20:43:08 -06:00
573e8a6459
use I18n.with_locale wherever possible, since it catches errors properly
...
In particular, pet#load was handling locale-switching itself, but wasn't
switching back to original locale on error. We could've used a rescue
block, but, when I18n.with_locale is so cool, may as well use it fully.
2013-01-25 15:09:56 -06:00
dd30fbe0d7
move from with_translations to includes(:translations), since we dont usually care about requiring
2013-01-24 18:26:00 -06:00
c9ae7155b1
locale metadata, including hidden locales for item loading and selection
2013-01-24 18:24:34 -06:00
ef2423e87f
globalize3 for items
2013-01-24 18:24:34 -06:00
29ed401238
load pet by locale, prepare needed translations
2013-01-24 18:24:34 -06:00
7dfc6d81a2
add timeout to pet load
2012-08-11 18:47:25 -04:00
c2c6a800f2
track pet state gender/mood
2012-05-23 20:00:38 -04:00
ec3088fdec
ensure that pet state is saved before trying to save its assets
2012-01-13 15:56:31 -06:00
cc23f7435b
automatically rezone bio
2011-10-31 16:22:24 -05:00
4e919aca04
ree compatibility
2011-05-31 10:36:32 -04:00
3d05bbeeed
instead of crashing in mall spider when pet not found, delete pet and find a new one
2011-05-21 22:32:01 -04:00
8ff6c5ad9c
pet state order fix, and maybe some contribution fixes
2011-02-22 17:54:20 -05:00
2a7fea11e6
handle timeout errors for pet data, swfs, pet images
2011-02-19 22:49:13 -05:00
3d29f7784f
asset spider, yaaay
2010-11-27 18:41:06 -05:00
8e6a34b69c
fix contributions for pet states and items
...
dependent contributables would only count as contributed if their parent
was being contributed for the first time, too. the trick was to delay
actually *assigning* them to their parents until the very, very end
2010-11-15 17:56:16 -05:00
7db0beec75
points for bulk pet adding
2010-11-06 19:07:15 -04:00
d10ab2615f
actually contributing things, yay
2010-11-06 18:08:45 -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
33711f6fc6
quick pets controller to redirect to wardrobe
2010-10-10 14:33:54 -04:00
16629926fb
ignore effects in pet biology
2010-10-09 12:40:55 -04:00
04138ac4a7
full saving pets, serving assets directly from this domain
2010-10-09 10:53:58 -04:00
ff629b9419
pet type now loads image hash on save
2010-10-08 10:53:28 -04:00
bb233359d8
core of pet loading, still needs get image hash, download assets
2010-10-07 10:46:23 -04:00