Commit graph

10 commits

Author SHA1 Message Date
Peter Deltchev
8bfddc7037 Fixes #10: Use the X-XSRF-TOKEN header globally for AJAX CSRF protection. 2015-11-11 13:45:44 -08:00
Peter Deltchev
ed0a5fb8ac Licensed Pony.fm under the GNU Affero General Public License (AGPL). 2015-10-24 22:17:45 -07:00
Peter Deltchev
f502cb9665 Updated indents in the gulpfile. 2015-10-24 19:43:37 -07:00
Kelvin
b33dcfd8c6 Update namespaces 2015-09-06 18:21:11 +01:00
Kelvin Zhang
292d476210 Initial L5.1 commit 2015-08-30 12:26:03 +01:00
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