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
374c7e6147
Sharing now fully supports saved outfits, not just shared ones
2012-07-26 23:47:22 -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
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
5a5b5fffc7
outfit default url
2012-07-16 16:45:26 -04:00
220aca9311
outfit thumbnails initial commit
2012-07-16 16:45:26 -04:00
22cfff66e9
outfits now know their own visible assets
2012-07-16 16:40:07 -04:00
644fac99da
improve gender/mood sorting using new labels
2012-06-20 16:10:53 -04:00
6cdf1567f8
fix error loading lookups when given pet name has trailing spaces
2012-06-05 13:28:59 -04:00
b25b6e55b3
ignore errors loading gender/mood data
...
For example, the site was throwing a 500 error when loading pets
belonging to frozen users. Instead, we'll now rescue that
Neopets::User::AccountDisabledError and ignore it, since it's not
*vital* that we load gender/mood data from this pet; we can still
proceed to load its customization data without it.
2012-06-05 13:02:49 -04:00
c2c6a800f2
track pet state gender/mood
2012-05-23 20:00:38 -04:00
4e7e98beca
use Neopets::User for username-based closet imports
2012-05-21 12:48:19 -04:00
f3d64840d6
filter lists on petpage export
2012-04-08 15:59:51 -05:00
44156c5b21
can now have the same item in more than one list
2012-03-23 16:25:10 -05:00
7795119a8c
fix gender/emotion states with corridor of chance effects sorting to the front
...
So it turns out this was just one of those things I forgot to fix
the big database restructure came along: we were comparing
swf_asset.remote_id against parents_swf_assets.swf_asset_id, which
are two different identifiers entirely. Now using swf_asset.id,
so fixed :)
2012-03-15 17:01:21 -05:00
baae0c9954
fix bug where some pet states would also show many items on top of them
...
At first I thought this was an error in the data migration process when moving SWF assets
to having their own unique IDs, but then realized that the query for a pet state's SWFs
didn't include the (parent_type = 'Item') condition. Oops. Turns out, I only connected the
items to parent_swf_asset_relationships polymorphically. Pet states were still doing it the
hackish way. Set the pet states to use the lovely polymorphic relationship and we're good
to go.
2012-02-21 13:25:11 -06:00
4d314417e2
fix parent-swf-asset-relationship destruction bug
...
After changing the database structure, we lost the feature where, once we discover
new assets for an item for a given body ID, we disconnect previously connected
assets. This commit reinstates that feature.
2012-01-26 13:51:30 -06:00
4566bca906
another attempt to fix pet state rel autosave
2012-01-13 16:11:44 -06:00
bcb5644b12
stop autosaving biology swf rels
2012-01-13 16:02:14 -06:00
ec3088fdec
ensure that pet state is saved before trying to save its assets
2012-01-13 15:56:31 -06:00
171d691a98
fix nc mall spider for remote ID
2012-01-13 15:27:30 -06:00
ec9e997ac5
fix user:owns id ambiguity
2012-01-13 15:20:47 -06:00
9c0c7b78cf
another oops, better fix
2012-01-12 22:02:12 -06:00
c2c0fe92e8
oops, be consistent in using remote ID when loading pets
2012-01-12 21:47:17 -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
cc23f7435b
automatically rezone bio
2011-10-31 16:22:24 -05:00
f7723ac1c8
automatically rezone items
2011-10-23 14:09:53 -05: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
4e74589118
privacy bug: would show hangers even in private lists as Trading if unlisted hangers were marked Trading
2011-08-06 23:15:32 -04:00
a4feee89b5
allow the new items migration to run. sigh
2011-08-04 10:04:15 -04:00
d99a1ad792
newest items
2011-08-04 10:01:44 -04:00
b939c7fce6
Merge branch 'closet'
2011-08-03 11:35:07 -04:00
2398f34071
import items from pets
2011-08-03 11:35:06 -04:00
c2648c5343
Merge branch 'closet'
2011-08-03 10:33:21 -04:00
63bc0067c0
user#assign_closeted_to_items! now assigns when there are duplicates
2011-08-03 10:18:03 -04:00
2dd6586ea6
Merge branch 'closet'
2011-08-02 22:42:59 -04:00
513711bf60
import sdb as well as closet
2011-08-02 22:42:56 -04:00
fed5ccb7fb
Merge branch 'closet'
2011-08-01 00:00:40 -04:00
2f0b0743e8
throw a search error on user:owns when user owns no items
2011-07-31 23:50:33 -04:00
f6ed50a62f
Merge branch 'closet'
2011-07-31 23:05:26 -04:00
30096f6b0a
items petpage export
2011-07-31 02:52:19 -04:00
137aeac8d4
show traders on items#show
2011-07-31 00:19:28 -04:00
0c92bf5987
set list visibility in closet_lists#edit
2011-07-30 22:34:27 -04:00
34a4ef201a
privacy dropdowns moved to be more out of the way
2011-07-30 22:08:38 -04:00
75961abc17
privacy for unlisted hangers
2011-07-30 19:45:28 -04:00
c76c261444
validate that closet hanger list belongs to the same user
2011-07-29 13:47:01 -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
033e71e9bf
parameterize user params like items, plus a cleaner parameterization scheme
2011-07-26 18:49:52 -04:00
c592459d02
improve Your Items copy given the different groups
2011-07-26 18:41:15 -04:00
d9f94ae3fa
Your Items page aware of wanting items
2011-07-22 17:55:05 -04:00
12f5b28c94
wardrobe now works with owned/wanted
2011-07-22 17:06:21 -04:00
6d155ecaf1
show owned/wanted icons and search filters
2011-07-22 16:52:40 -04:00
85af53417b
distinguish between owning and wanting an item
2011-07-22 15:35:38 -04:00
946001243a
attempt to fix production bug with relationships not always saving
2011-07-22 15:08:17 -04:00
c5103b6557
neomail link on closets
2011-07-20 15:16:22 -04:00
884ad2d5b8
user:owns in item search
2011-07-17 17:24:29 -04:00
fab612950a
basic hanger interface from item
2011-07-14 13:56:44 -04:00
3a193d534d
closeted icon, all over the place
2011-07-14 13:56:44 -04:00
a33898a393
import closet page
2011-07-14 13:56:20 -04:00
6ebacc99dd
closet page saving backend
2011-07-14 13:56:20 -04:00
1c84a4bef9
closet page, closet hanger
2011-07-14 13:56:20 -04:00
1caa296359
capitalize each word of a species/color name (for Swamp Gas)
2011-07-12 18:22:16 -04:00
714f2fddf5
sort unconverted to the end, too
2011-06-21 22:56:42 -04:00
99a23fc2cb
sort effects to the end of the gender/emotion list
2011-06-21 20:42:41 -04:00
43f373fc36
use resque-retry to reschedule failed jobs
2011-06-21 11:22:45 -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
4e919aca04
ree compatibility
2011-05-31 10:36:32 -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
926f2a5350
improve swf image request enqueue on creation
2011-05-22 13:10:29 -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
740693018b
sitemap.xml
2011-05-20 20:49:48 -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
c18a333bd2
pretty item urls
2011-05-20 19:29:04 -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
27f3111b65
remove warnings on each environment boot about modifying StandardBodyIds
2011-05-13 08:26:06 -04:00
648649f5cc
support special colors in the infinite closet
2011-05-02 18:07:56 -04:00
d7d2d5f0e5
include share button for logged in users, too
2011-03-28 17:29:03 -04:00
1207e84804
nice page to view current user's outfits
2011-03-23 18:23:01 -04:00
838f89c8fb
save user even if points do not change. oops
2011-03-01 15:32:26 -05:00
dfea1a1097
add extra error tracking to saving user, too
2011-02-23 16:01:43 -05:00
abb29aae4b
hopefully raise more descriptive error message when contribution fails to save
2011-02-22 18:45:53 -05:00
8ff6c5ad9c
pet state order fix, and maybe some contribution fixes
2011-02-22 17:54:20 -05:00
3aeeac3bfc
maybe the redundant += contributions for user is triggering the RecordNotSaved exception. remove that line and see what happens
2011-02-21 12:02:45 -05:00
a8ab993a31
support pet names with illegal characters by not including them in pet type image hash updates
2011-02-19 23:09:59 -05: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
fa14232473
allow guests to share outfits
2011-02-10 17:50:47 -05:00
bcffdc0630
stop using radio and label for pet states, to fix ie bug
2011-02-07 08:46:15 -05:00
bb1f10c60b
Merge branch 'fixleak'
2011-02-05 10:33:39 -05:00
b1015c9a5c
species check was in the wrong place. fixed
2011-01-27 17:50:08 -05:00
8a36155994
hopeful roulette species support ids fix
2011-01-27 17:46:20 -05:00
7152cd0c50
check species compatibility before adding to roulette list
2011-01-27 17:36:19 -05:00
d2e8e9e009
fix bug causing roulette to sometimes choose items in same zone
2011-01-27 16:52:43 -05:00