Pony.fm/app
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
..
commands fixed script 2013-09-01 05:57:17 -05:00
config Added Laravel-NewRelic to the app's ServiceProviders 2013-09-02 10:02:07 +00:00
controllers Implement appropriate behaviour to respond to tracks not being downloadable; fix album file size 2015-06-16 15:50:30 +01:00
database T125: Implemented TrackFile model to facilitate lossy master files. 2015-05-25 09:40:17 -07:00
lang/en Inital commit 2013-07-25 16:33:12 -05:00
library Add angular template cache to prevent XHR requests to fetch templates 2015-06-14 16:26:40 +01:00
models T126: Fixed standard profiles appearing as archived profiles. 2015-06-25 21:06:00 -07:00
scripts Fix resource loading on IE 2015-06-14 16:23:20 +01:00
start Added Vagrant file. 2015-04-11 20:22:15 -05:00
storage Inital commit 2013-07-25 16:33:12 -05:00
styles Fix IE11 logo 2015-06-19 14:56:45 +01:00
tests Inital commit 2013-07-25 16:33:12 -05:00
views Add white logo 2015-06-15 14:27:24 +01:00
filters.php Don't want to lose these files 2013-09-01 19:11:33 -05:00
routes.php Adding two of the mobile endpoints back, hopefully the data matches 2013-11-28 13:32:33 +00:00