Commit graph

5 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
Kelvin
d0e1ef7af8 Add angular template cache to prevent XHR requests to fetch templates 2015-06-14 16:26:40 +01:00
Nelson LaQuet
0004a15b9c Sped up less compilation, added livereload and autoprefixer, cleaned up gulpfile a bit.
Note: this commit requires a Vagrant reprovision.
2015-04-24 02:53:24 -05:00
Nelson LaQuet
4e1b60706f Uncommented out uglify 2015-04-23 04:27:10 -05:00
Nelson LaQuet
f0fc0ec0bf Finished new asset pipeline using gulp 2015-04-23 04:17:05 -05:00