Commit graph

484 commits

Author SHA1 Message Date
Peter Deltchev
395a894bdd Removed obsolete CSRF validation middleware. CSRF tokens are validated on all requests. 2015-11-23 21:47:26 -08:00
Peter Deltchev
35cd4d65e4 Updated all endpoints that are supposed to use middleware to actually use it. 2015-11-23 21:39:03 -08:00
Peter Deltchev
c4e31a6431 #2, #20: Laid the groundwork for an admin area. Includes the addition of Laravel's authorization system. 2015-11-23 21:19:23 -08:00
Peter Deltchev
80838eab69 Fix #11: Added a show song table seeder. 2015-11-23 19:26:27 -08:00
Peter Deltchev
72b3056712 #11: Added a genre table seeder and made "vagrant provision" idempotent. 2015-11-23 19:07:24 -08:00
Peter Deltchev
b2c5a2233e Fixes issue #30: Weirdness in the embedded player's timestamp. 2015-11-21 18:34:06 -08:00
Peter Deltchev
88b034ea6c Use a sensible filename for image downloads. 2015-11-21 18:16:44 -08:00
Peter Deltchev
8d7f36c375 Fixes #29: Usernames are now used to check if a Pony.fm account already exists. The username column was also renamed. 2015-11-20 18:25:11 -08:00
Peter Deltchev
9d0b2e598d Improved the README's "Contributing" section.
Also tweaked formatting in a few places and changed the IP address for the dev environment's database to the hostname.
2015-11-16 04:20:15 -08:00
Peter Deltchev
8245734c75 Added a sidebar link to the Pony.fm forum. 2015-11-15 16:25:37 -08:00
Peter Deltchev
ac533a6eeb Simplified the transaction names we send to NewRelic. 2015-11-15 00:52:48 -08:00
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
6f62b61915 Updated the favicon to match Pony.fm's logo. 2015-11-11 03:37:01 -08:00
Peter Deltchev
87f796f50b #4: Don't try re-encoding master files when rebuilding the track cache. 2015-11-10 00:09:39 -08:00
Peter Deltchev
74ae2931dc Merge pull request #17 from Poniverse/feature/cache_tracks
feature/cache_tracks
2015-11-09 22:47:23 -08:00
Peter Deltchev
4214dde7b0 #4: The file size updating method no longer overwrites file size estimates for un-cached files with null. 2015-11-09 22:44:41 -08:00
Peter Deltchev
2d93ed0ef4 #4: Fixed an error in the cache polling callback. 2015-11-09 22:44:38 -08:00
Peter Deltchev
c28c887e29 #4: Refactored a bunch of common logic between albums and playlists into a trait. 2015-11-09 22:44:36 -08:00
Peter Deltchev
3456e6b499 #4: Fixed playlists that have a mix of lossy and lossless master files, added a bunch of typehinting, and fixed the reversal of a migration. 2015-11-09 22:44:32 -08:00
Kelvin Zhang
214880ec2c #4: Remove re-thrown ModelNotFoundException 2015-11-09 22:44:30 -08:00
Kelvin Zhang
b7f2b62587 #4: Add indexes to track_files migration 2015-11-09 22:44:26 -08:00
Kelvin Zhang
a46882d928 #17/#4: Add dropdown box persistence with to playlists 2015-11-08 17:55:00 +00:00
Kelvin Zhang
6c5155f583 #4: Implement cached playlist downloads 2015-11-08 17:46:35 +00:00
Kelvin Zhang
80ad614b5f Merge branch 'master' into feature/cache_tracks 2015-11-08 17:40:24 +00:00
Kelvin Zhang
90e369e6b8 #17: Add index to is_cacheable 2015-11-08 14:03:44 +00:00
Kelvin Zhang
f69240064a #18: Make playlist accessible conditional one line 2015-11-08 13:45:59 +00:00
Kelvin Zhang
8df11e9616 Merge remote-tracking branch 'origin/master' 2015-11-07 17:55:35 +00:00
Kelvin Zhang
dc117351ce Fixes #18: Fix downloading of private playlists for playlist owners 2015-11-07 17:54:58 +00:00
Kelvin Zhang
41bcdcaf91 #4: Cast track output formats to correct types 2015-11-07 17:01:53 +00:00
Peter Deltchev
7dfb80f13b Fixes #5: Implemented a rebuild:artists command to recount all users' tracks. 2015-11-06 03:26:23 -08:00
Peter Deltchev
5583c59ec3 Merge branch 'master' into feature/cache_tracks 2015-11-05 17:15:28 -08:00
Peter Deltchev
a62fca7212 Added missing copyright notices. 2015-11-05 17:10:33 -08:00
Peter Deltchev
72132d9505 Added a "secret" unclassified track type for MLPMA tracks. 2015-11-04 18:47:11 -08:00
Peter Deltchev
9cff18f5fc #4: Removed a line of dead code and fixed the rebuild process for deleted tracks. 2015-11-02 20:48:15 -08:00
Peter Deltchev
c7bca18b5e Added AAC to the list of cacheable formats and wrote some inline documentation. 2015-11-02 20:28:39 -08:00
Peter Deltchev
b441a58819 #4: Keep the dropdown menu open after selecting a track or album download in a cacheable format. 2015-11-02 20:15:26 -08:00
Kelvin Zhang
b2408e3d84 Add in changes from code review 2015-11-01 16:49:28 +00:00
Kelvin Zhang
eca01b5f29 Change rebuild commands to rebuild:command 2015-10-31 12:19:12 +00:00
Kelvin Zhang
98e069e6a2 Update copyright notices for created files 2015-10-30 15:29:18 +00:00
Kelvin Zhang
df930d629b Add missing copyright notices 2015-10-29 16:48:45 +00:00
Kelvin Zhang
f5987db735 Add file size addition during uploading 2015-10-29 16:26:01 +00:00
Kelvin Zhang
7fd13632eb Add file size caching for track encoding 2015-10-29 16:10:55 +00:00
Kelvin Zhang
4f9046af6e Update file size caching for tracks 2015-10-29 16:10:38 +00:00
Kelvin Zhang
5a81908ed4 Add file size rebuilding command 2015-10-29 16:00:16 +00:00
Kelvin Zhang
90de9cf840 Add filesize column to track_files 2015-10-29 15:39:39 +00:00
Kelvin Zhang
7686533d64 Implement templates for frontend 2015-10-29 14:37:25 +00:00
Kelvin Zhang
58e49cc2f5 Implement ng-controllers for cached track downloads 2015-10-29 14:37:00 +00:00
Kelvin Zhang
a5bc7491e0 Fix URL for download-cached service 2015-10-29 14:36:36 +00:00
Kelvin Zhang
88b57a631a Update models with isCached 2015-10-29 14:36:13 +00:00
Kelvin Zhang
4876775f31 Add copyright notice to download-cached.coffee 2015-10-29 14:16:58 +00:00