Commit graph

12 commits

Author SHA1 Message Date
Peter Deltchev
4b40c55512 T126: Fixed standard profiles appearing as archived profiles.
Summary:
The `is_archived` attribute on the `User` model did not explicitly come
back as any particular type. The resulting JSON had the string `"0"` for what's
meant to be a falsey value, but it evaluated to truthy in JS.

`is_archived` now has a getter which explicitly casts it to `boolean` before being
returned anywhere.

Test Plan: Manually tested in dev.

Reviewers: Feld0

Reviewed By: Feld0

Subscribers: #pony.fm

Projects: #pony.fm

Maniphest Tasks: T126

Differential Revision: https://phabricator.poniverse.net/D6
2015-06-25 21:06:00 -07:00
Nelson LaQuet
35af7bb681 Updated gravatars to use identicon when email address is redacted 2015-05-20 04:14:06 -05:00
Nelson LaQuet
893d8e20bb Fixed poniverse authentication. Now uses live API. 2015-04-30 01:50:15 -05:00
Nelson LaQuet
aff57a092c Got authentication working against live poniverse 2015-04-24 04:23:45 -05:00
nelsonlaquet
cca292049e Added is listed feature 2013-09-24 01:27:13 -05:00
nelsonlaquet
1dff7cb36f Mega commit... Following, design changes, share/embed code and more. 2013-08-28 22:19:24 -05:00
nelsonlaquet
2046b8e98d Intermediate commit 2013-08-18 22:39:29 -05:00
nelsonlaquet
b71efac59f Many things 2013-08-01 03:57:08 -05:00
nelsonlaquet
9c9aeabf30 Just some styling 2013-07-28 16:51:35 -05:00
nelsonlaquet
ab3f15b5bf Account Settings 2013-07-28 13:50:02 -05:00
nelsonlaquet
c56568b6f5 Further things 2013-07-26 19:15:07 -05:00
nelsonlaquet
b35a132876 Inital commit 2013-07-25 16:33:12 -05:00