cf2550c7bc
for large donations, show a banner instead of their placeholder outfits
2014-09-13 20:54:39 -05:00
51700a7386
better donation feature outfit validation
...
In particular, outfit_id == 0 would cause outfit_id? to
return false, so it wouldn't run the outfit presence
validation, so /donations/features would try to load
outfit #0 and fail.
Also, flash[:alert] instead of flash[:error] when outfit_id
is bad.
2014-09-13 14:16:50 -05:00
485a679f5e
better fit longer names in donated outfit footer
2014-09-12 16:37:49 -05:00
d179ffd9b6
whoops; get the To address right for donation notifications
2014-09-12 14:29:20 -05:00
75e9fcbe5a
when there are no donors yet, draw less attention to that fact :P
2014-09-11 20:58:43 -05:00
be87039cba
copy edits
2014-09-11 20:43:40 -05:00
94d9aab547
campaign bar in infinite closet
2014-09-11 20:12:43 -05:00
8f0f37b4c8
campaign for outfit pages
2014-09-11 20:10:48 -05:00
eb2a42b1d1
better campaign bar layout, on donate page and in general
2014-09-11 20:10:32 -05:00
8775bfb9fd
but don't freak out on the homepage if there's no active campaign
2014-09-11 18:12:07 -05:00
d588253c4c
campaign banner on homepage is pretty
2014-09-11 18:09:00 -05:00
2e08a1261b
don't overflow the progress bar
2014-09-11 17:47:42 -05:00
8e22c271a4
track campaign progress
2014-09-11 17:40:37 -05:00
04a328e6ee
homepage outfit features
2014-09-10 15:38:26 -05:00
f11f6374da
donation mailer
2014-09-10 14:32:54 -05:00
90b45dcecd
edit featured outfits on donation page
2014-09-09 23:16:02 -05:00
59d5e99312
donation show form and basic name updating
2014-09-09 22:04:17 -05:00
595b1c2fc5
charge and record donations
2014-09-09 21:11:55 -05:00
2a1a3c61fa
stripe checkout image; breaks in development because dev copy of image is not public :P
2014-09-09 20:41:58 -05:00
0afc8ddb2b
stripe checkout; tokens not yet passed anywhere
2014-09-09 20:24:27 -05:00
1d7ca7cec2
new donations page mockup; temporary outfits and old campaign as placeholders
2014-09-09 18:02:49 -05:00
fffd3ac2e6
typo in CSS selector: chrome interprets the intent, but firefox errors out
2014-08-25 21:16:53 -05:00
05841d091b
update terms
2014-08-25 20:57:07 -05:00
2594497434
whoops; if page 2 of a search had 1 item, we jumped right to it, as if it
...
were the *only* result. now only do that redirect if *total* results == 1.
Mad props to diceroll123. Welcome to the commit log, bro.
2014-06-15 17:35:08 -07:00
5644ecd67b
fall back to image if flash unsupported in outfits#show (e.g. mobile)
2014-05-29 23:00:03 -07:00
e0ddf543ee
increase outfits#show preview size to 600x600
2014-05-29 22:59:36 -07:00
79a96b7670
lookup link alongside neomail
2014-05-15 22:34:00 -07:00
ebb0a75b72
whoops; if no contact neopets username, return nil
2014-04-25 23:04:59 -05:00
dd0a3cd350
dont allow blank name submissions in modeling hub small form
2014-04-16 11:11:15 -05:00
b429c30d3b
if user submits outfits#new name form with no name, use the fallback job
2014-04-16 11:02:44 -05:00
eda80a8dc7
double whoops; the actual problem was that i hadnt restarted the background workers :P
2014-04-05 23:52:24 -05:00
9fe19e00c7
whoops; now that we index by item fit, update item after asset save
2014-04-05 23:48:36 -05:00
4338ae8b15
default fits checkbox to on
2014-04-05 20:02:24 -05:00
a8a02cca01
also strip autofilter from query on page reload
2014-04-05 18:57:03 -05:00
44ff466a64
advanced search by pet type fit :)
2014-04-05 18:48:20 -05:00
e5771e6f1d
double yum, autofiltering in basic searches! not yet in advanced
2014-04-05 18:13:42 -05:00
0310598403
whoops; body_id=0 also fits everyone
2014-04-05 17:58:05 -05:00
0fe31ee79a
basic fits functionality in search
2014-04-05 17:43:54 -05:00
acbec2ad5e
design mockup for autofilter; no new behavior yet
2014-04-05 17:16:35 -05:00
a375707e40
handle errors from neopia, finally!
2014-04-04 15:53:53 -05:00
d25d2b3398
big picture mode
2014-04-04 14:36:35 -05:00
868bbcdd41
yank tips in favor of border and autofocus for item search
2014-04-04 14:17:57 -05:00
3650525671
make those tips big font now that theres no image in the way
2014-04-02 23:53:43 -05:00
83e5e5eb5a
move tip navigator to upper right
2014-04-02 23:48:26 -05:00
131b6a9ce9
ya know what? the module and image draw too much attention.
...
tips on plain white look much nicer.
2014-04-02 23:45:59 -05:00
cc786c4241
navigate tips
2014-04-02 23:37:19 -05:00
f00a8f5d3b
yum, tip styling
2014-04-02 23:26:51 -05:00
8fc156833f
basic tip functionality
2014-04-02 23:00:50 -05:00
7e73313d43
remove Go button from locale form on noscript
...
primarily because it's confusing for advanced search and looks like
the form's submit button - at least according to lavelle ;P
2014-04-02 22:15:15 -05:00
ad1aa8e42c
advanced search i18n
2014-04-02 22:06:45 -05:00
250af4487c
remove search.examples i18n
2014-04-02 21:35:08 -05:00
77497cd471
lol, turns out i was smart about return_to links before. remove todo
2014-04-02 21:32:43 -05:00
7c0983ed45
separate np/nc and current species a bit from the elements below
2014-04-02 21:28:14 -05:00
ecacb44153
update current species name
2014-04-02 21:14:58 -05:00
d4b65ecf62
remove some todos
2014-04-02 21:09:15 -05:00
d557daadf4
filter by user owns/wants
2014-04-02 21:08:35 -05:00
afface7fa7
filter by current species
2014-04-02 21:01:12 -05:00
3c36cd6aef
assign biology assets to restricts and item assets to occupies
2014-04-02 20:56:42 -05:00
fc76e7cfe3
yank console.log
2014-04-02 20:43:13 -05:00
d47ec7a0cd
when advanced query is empty, go blank instead of saying no results
2014-04-02 20:42:49 -05:00
d7af6cfd4a
populate occupies/restricts selects
2014-04-02 20:26:53 -05:00
769f5d19e2
advanced nc filter
2014-04-02 20:11:17 -05:00
bce7f6b383
advanced search queries now appear in hash
2014-04-02 20:09:33 -05:00
9cae578ef7
basic advanced search behavior; only name supported right now
2014-04-02 20:05:18 -05:00
3f4f0eb06e
ohh, top padding on search is important. can only see with a full bleed pet :P
2014-04-02 19:34:35 -05:00
8f90f35c62
ack, unrelated, fix the outfit not logged in x scrollbar :/
2014-04-02 19:32:11 -05:00
a02fa461e5
put textbox labels always above the boxes
2014-04-02 19:27:11 -05:00
93a732e027
fix display bug with narrower screens
2014-04-02 19:25:51 -05:00
c20ac77fdd
actually, drop the extra form and just keep the search bar always large :/
2014-04-02 19:21:18 -05:00
ce734fae7e
advanced search behaves toggle-like in that the link stays in place, and OMG pagination on the right is sooo much better!
2014-04-02 19:04:47 -05:00
f12b579c29
whoops, switch from advanced on form submit so that window resizes don't
...
also trigger it :P
2014-04-02 15:15:17 -05:00
2a82e4badd
switch out of advanced search when a submission from the other form completes
2014-04-02 15:00:54 -05:00
67d47bfc4f
the search results tend to pad themselves with their fixed height;
...
remove the extra padding when there are results
2014-04-02 14:56:37 -05:00
c1d9133451
add an item search form to closet so that new users will be less stumped
2014-04-02 14:53:58 -05:00
0868351fff
unrelated fixit: finally get rid of that scrollbar in outfits when not logged in
2014-04-02 14:36:08 -05:00
5b378d99ed
give empty search form more space
2014-04-02 14:35:55 -05:00
bda9f69ce9
reorganize form a bit; group like things
2014-04-02 14:18:14 -05:00
bf009faaa8
more spacing for advanced form
2014-04-02 14:12:49 -05:00
c7fb61aea5
smaller text for closet items too for consistency
2014-04-02 14:12:39 -05:00
122df1e19d
keep a relatively constant search result height, because moving pagination is bleh
2014-04-02 14:05:54 -05:00
4ad806847b
switch between basic and advanced forms
2014-04-02 13:54:27 -05:00
e0b5d3e73f
advanced search fields mockup
2014-04-02 13:21:42 -05:00
125b799b64
move search motion to fullscreen view
2014-04-02 11:11:18 -05:00
66d045df05
footer, stop getting in search's way!
2014-04-02 11:09:10 -05:00
39f5284752
first draft of advanced search form
2014-04-02 10:32:13 -05:00
f4c435c3cd
handle user filters
2014-04-02 10:32:13 -05:00
1d11cf6edc
better handling of i18n and labels and resource filters and junk
2014-04-02 10:32:13 -05:00
170b7fa6f5
can search items with a form-based query instead of text-based
2014-04-02 10:32:13 -05:00
a326f09eda
lolwhoops, measure prank-funniness in PST
2014-04-01 19:10:44 -05:00
4532ecccd5
lolwhoops, make nebula previews clickable - and all pet type previews for that matter
2014-03-31 23:07:55 -05:00
f9fa3eb596
prank color artist credit
2014-03-31 21:05:28 -05:00
6e80c228c1
include prank message on wardrobe page
2014-03-30 22:37:33 -05:00
2ed3f3d4c6
more abstraction
2014-03-28 15:22:21 -05:00
8781d58540
extract prank_color_message to helper
2014-03-28 15:19:45 -05:00
32bab89ed4
add prank messages to outfits#show
2014-03-28 15:15:04 -05:00
528fffce52
lame code to show prank pets on homepage :P
2014-03-28 00:12:18 -05:00
338b9c2b3f
use funny ordering in wardrobe, too
2014-03-27 22:45:34 -05:00
8e93d603fa
list prank colors as fake on the homepage, unless pranks are funny today
2014-03-27 22:44:18 -05:00
b583254397
create colors from rake
2014-03-27 22:28:48 -05:00
58c9d6cfab
always include state in wardrobe url, even if it's the default
...
Mostly this was because of Mac's bug where you, in Firefox:
1. Load a real pet with the default appearance (probs Happy Male) into the wardrobe
2. Use a search query containing ":"
3. See the pet biology vanish before your eyes!
I observed that this only happened in cases where the biology stuff in the URL
wasn't replaced by a state number, so figured that it'd probably be good to do
that anyway because biology fields are annoying, and it for some reason seemed
to fix the bug. (Something to do with query parsing and stupid internal state
issues, probably. Ugh. One of these days, I'll re-rewrite all this :P)
2014-03-06 16:22:30 -05:00
b0fc2df8b6
oops: neopia uses query key "biology", but we used "biologies"
2014-02-19 15:58:39 -06:00
2df0133cff
Oops, using item proxies broke closet comparison. Fix.
...
Turns out we need to assign closeted to actual items, not
the item proxies, since that's what we check against. (I
would've thought they're backed by the same instance of
the item anyway, but, whatever. The fix works :P)
2014-02-04 16:29:59 -06:00
62f584e366
triple oops; stop using removed field neopets_username in NeopetsUsers#new
2014-01-20 16:31:15 -06:00
eba53433be
double oops; impress_user for fancy modeling buttons
2014-01-20 16:08:57 -06:00
8ace3111f7
oops; put impress_user field on model-a-pet homepage form
2014-01-20 16:03:40 -06:00
b0b840741b
reload pet thumbnail when and only when its appearance changes
2014-01-20 15:51:51 -06:00
03c76fe882
Update missing body ID prediction to handle, say, the Maraquan Mynci.
...
It turns out that some pets for seemingly nonstandard colors have the
standard body type anyway, and vice-versa. This implies that we should
stop relying on a color's standardness, but, for the time being, we've
just revised the prediction model:
Old model:
* If I see a body_id, I find the corresponding color_ids, and it's wearable
by all pet types with those color_ids.
New model:
* If I see a body_id,
* If it also belongs to a basic pet type, it's a standard body ID.
* It therefore fits all pet types of standard color (if there's
more than one body ID modeled already). (Not really,
because of weird exceptions like Orange Chia. Should that be
standard or not?)
* If it doesn't also belong to a basic pet type, it's a nonstandard
body ID.
* It therefore only belongs to one color, and therefore the item
fits all pet types of the same color.
2014-01-20 15:29:01 -06:00
fb6df82570
ugh, push temporary version without new items
2014-01-20 14:46:50 -06:00
63b34435c7
ugh, add react.js manually :(
2014-01-20 14:35:28 -06:00
00841e45d2
modeling i18n
2014-01-20 13:56:19 -06:00
194ee8a5b1
better alignment of add neopets username form
2014-01-18 22:52:00 -06:00
b2fca6b6c1
closet hangers index uses neopets connections dropdown
2014-01-18 22:50:14 -06:00
72b174c9b3
store all neopets usernames for logged-in users, but breaks closet_hangers#index
2014-01-18 21:55:01 -06:00
8288b8a10d
username form, backed by localstorage for guests; not yet backed by db for logged-in users
2014-01-17 11:12:56 -06:00
72b7ce1ac6
yay, load pets and junk
2014-01-17 10:16:49 -06:00
0e9b76b4d4
include item name and junk in model button title
2014-01-10 16:25:03 -05:00
eede0b0718
better console polyfill scoping
2014-01-10 16:25:03 -05:00
813cfbddea
filter customizations by missing body ids
2014-01-10 16:25:03 -05:00
fd106d7dba
basic modeling buttons
...
no behavior yet, nor are they filtered
2014-01-10 16:25:03 -05:00
99b2acd419
attach body id to newest unmodeled item species names
2014-01-10 16:25:03 -05:00
1b0a636fab
i18n the unmodeled newest items content
2014-01-10 16:25:03 -05:00
949fa2a77a
i18n newest items headers
2014-01-10 16:25:02 -05:00
342f8ef859
remove unused outfits.new.newest_items.header i18n key
2014-01-10 16:25:02 -05:00
7dd2646dbb
add basic caching - TODO: avoid these computations in the controller
2014-01-10 16:25:02 -05:00
9a4e114964
oh yum, this is really starting to come together :)
2014-01-10 16:25:02 -05:00
85e1973f55
yummy mockups for newest items progress bars
2014-01-10 16:25:02 -05:00
7c6e607612
basic neopia api integration
2014-01-10 16:25:02 -05:00
4a49ad2fe8
oh poo, didn't commit these properly with the closet hanger caching :(
2013-12-27 21:48:38 -05:00
b6247fa22f
prepare partials for closet_hangers#index, too
2013-12-27 21:48:28 -05:00
1ce32e5867
Use item proxies better for items#index?format=html :D
...
We used get_multi when preparing the proxies to decide which to
load from the database, but then sent multiple get requests to
Memcache to re-fetch the same data from that get_multi. Silly!
Use the data that's already stored on the proxy anyway.
2013-12-27 21:11:03 -05:00
6b340f906e
Cache trade info on items#show, finally! I think it's the performance culprit.
2013-12-27 14:49:46 -05:00
5f95ef7e56
make userbar area more compact, including removing favicon
2013-12-26 13:08:51 -05:00
10b3f49249
finally fix bottom border on default preview (beach)
2013-12-26 12:56:15 -05:00
12a1c0f500
monocle favicon
2013-12-26 12:44:03 -05:00
cdffcfbcfd
TIL item proxies can read from the cache in bulk
2013-12-09 01:15:57 -06:00
728ff60c5f
move item cache sweeping and flex syncing to background tasks
2013-12-09 00:12:05 -06:00
4144b4dc74
only send cache deletions for usable locales
...
Right now we're spending too much time expiring cache keys when
getting contributions. The longer-term fix is to move it to a
background task, but it's good to restrict deletions only to usable
locales rather than all the ones that Rails theoretically supports.
2013-12-08 23:44:25 -06:00
f07996d762
cache pet images on items#show, in case that's what's being a super-slow jerkface
2013-12-05 15:22:43 -06:00
cc7ac363dd
WIP commit for speeding up item show pages
2013-12-05 13:27:56 -06:00
0cdbe99c88
use yesterday's notables for spotlights, because I never update spotlight pets :P
2013-12-05 13:08:46 -06:00
2b870cf91b
add pet state replacement task
2013-11-30 20:33:48 -05:00
8bd7ad5a1e
support manually uploaded swf asset images - not the actual uploading, but block them from being reconverted
2013-10-16 15:50:48 -05:00
0cb7fc87df
include zones_restrict in item selector when mall spidering, to avoid flex_source errors
2013-10-08 14:42:46 -05:00
2f607036f2
Bug fix: wardrobe's AJAX load order won't affect closet behavior
...
Fun bug! If you edit an outfit, but the outfit loads before the
closet items do, then we clone the outfit to give it its new
identity and therefore forget about its item load callbacks.
Now we have a cheap hack to forward item load data to the
outfit's clones. Hooray! Hope this doesn't break tons of things!
2013-08-23 15:58:49 -04:00
019303031b
choose list when importing from pets
2013-08-17 12:07:04 -04:00
1dd3acbe92
oops, items that restrict the same zones don't conflict
2013-08-13 00:45:55 -04:00
00b0394d01
include zone restrictions in item conflict checks
...
That is, Neopets.com will raise an error when you try to equip a
Kyrii Mage Cape to a pet who's already wearing Ceremonial Shenkuu
Warrior Armour, since the armor restricts the Collar zone which
the cape occupies. DTI, however, would just hide the Collar zone,
as if it were biology. Now, however, DTI will unwear the armor
when you wear the cape, and vice-versa (despite the restriction
relationship being one-directional).
2013-08-12 20:30:38 -04:00
e48d00294d
fix silly closet hanger merge bug involving flex
2013-07-28 23:30:29 -07: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