Pony.fm/app/models
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 T125: Replaced downloads and streams with TrackFiles. 2015-05-25 22:35:52 -07:00
Entities T126: Fixed standard profiles appearing as archived profiles. 2015-06-25 21:06:00 -07:00
Traits Lots of playlist things 2013-07-28 12:45:21 -05:00
AlbumDownloader.php Intermediate commit 2013-08-18 22:39:29 -05:00
PlaylistDownloader.php Finished basic stats for tracks, playlists and albums 2013-08-18 23:19:04 -05:00