Commit graph

586 commits

Author SHA1 Message Date
Zeusking19
78deb73e04 Resolve #26 - Get dates to display properly in Pony.fm 2015-12-26 15:20:31 +00:00
Peter Deltchev
ac6ce4bbb4 #8: Implemented auto-publishing and lots of optional fields for the upload endpoint. 2015-12-26 03:40:47 -08:00
Adam Lavin
378584261d Fixed playlist download url generation 2015-12-26 03:00:43 +00:00
Adam Lavin
590a691bc5 Corrected reference to TrackFileNotFoundException in Album and Playlist classes 2015-12-26 02:30:16 +00:00
Adam Lavin
ba29702be9 Corrected reference to TrackFileNotFoundException in Track class 2015-12-26 02:18:04 +00:00
Peter Deltchev
de88fe6fff #8: Updated the name of the track upload scope. 2015-12-25 01:25:22 -08:00
Peter Deltchev
7bd336ef55 #8: Implemented several tests for the API. 2015-12-24 18:08:49 -08:00
Peter Deltchev
4d119ff758 #8: Implemented the track upload API. 2015-12-24 04:14:55 -08:00
Peter Deltchev
e6c31a1500 Updated URL generation to use Laravel 5's helpers. 2015-12-20 07:07:36 -08:00
Peter Deltchev
91a4a2d660 Patched getID3() for PHP 7. 2015-12-20 03:33:22 -08:00
Peter Deltchev
476e6b4800 Updated getID3() to the latest version. 2015-12-20 03:20:04 -08:00
Peter Deltchev
c99ec8fc54 #39: Fixed a typing issue with database results. 2015-12-18 05:57:30 -08:00
Peter Deltchev
851dfff921 #39: Implemented asynchronous encoding in uploads. 2015-12-18 05:11:29 -08:00
Peter Deltchev
f01fcae3af Merge pull request #35 from Zeusking19/master
Closes #28 - Lightbox for cover art
2015-12-13 12:41:23 -08:00
Zeusking19
2de2b87653 Make changes in regards to #28 2015-12-13 13:42:37 +00:00
Peter Deltchev
3af70f8f90 #20: Allow the reuse of deleted genre names and slugs. 2015-12-11 06:07:47 -08:00
Peter Deltchev
e3fc8ee6d6 Added the new advertising program page, updated the FAQ, and revamped all the static pages. 2015-12-06 00:22:00 -08:00
Peter Deltchev
07bb5e2c3a #20: Implemented the genre merging tool. 2015-12-05 18:43:05 -08:00
Adam Lavin
3ba8467870 Return error message in profile exception handler response 2015-11-30 01:00:20 +00:00
Adam Lavin
3c0e922b28 Fixed mobile api endpoints 2015-11-30 00:59:59 +00:00
Peter Deltchev
77730e9fd9 #20: Fixed an n+1 query. 2015-11-24 10:00:59 -08:00
Peter Deltchev
be23475ae5 Include a link to the genre's content in the genre editor. 2015-11-24 03:37:33 -08:00
Peter Deltchev
2bd6a0b258 #2, #20: Added revision tracking to genres, tracks, albums, users, and playlists.
Also ordered genres alphabetically in the genre editor.
2015-11-24 03:15:50 -08:00
Peter Deltchev
4c660fcb71 #20: Implemented the genre renaming tool. 2015-11-24 02:49:47 -08:00
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
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
8bfddc7037 Fixes #10: Use the X-XSRF-TOKEN header globally for AJAX CSRF protection. 2015-11-11 13:45:44 -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
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
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
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
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
88b57a631a Update models with isCached 2015-10-29 14:36:13 +00:00
Kelvin Zhang
65159f31a3 Fix returning of cached tracks 2015-10-29 14:11:06 +00:00
Kelvin Zhang
629b9913ce Add cache handling for controllers 2015-10-28 17:55:21 +00:00
Kelvin Zhang
a03c44aadb Add cache routes 2015-10-28 17:32:44 +00:00
Peter Deltchev
88a787cde8 Closes #6: Implemented a "source" attribute for tracks. 2015-10-28 00:05:37 -07:00
Kelvin Zhang
f205cf6d93 Implement EncodeTrackFile job 2015-10-27 17:35:38 +00:00
Kelvin Zhang
43c45adece Fix options and imports for commands 2015-10-27 17:29:51 +00:00
Kelvin Zhang
683aa568e9 Revert to catch Exception in UploadTrackCommand 2015-10-27 17:21:14 +00:00
Kelvin Zhang
c651c44d34 Add EncodeTrackFile job 2015-10-27 17:20:43 +00:00
Kelvin Zhang
0970734648 Update UploadTrackCommand with selective uploading using Process 2015-10-27 16:21:03 +00:00
Kelvin Zhang
fdb95560e7 Add --force option to RebuildTrackCache 2015-10-26 19:50:58 +00:00
Kelvin Zhang
9470faaaa2 Add $CacheableFormats to Track.php 2015-10-26 19:48:55 +00:00
Kelvin Zhang
a9f80fde6e Add console commands 2015-10-26 19:47:42 +00: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
b00982cd61 Converted a bunch of tabs to spaces. 2015-10-24 19:35:37 -07:00
Peter Deltchev
a4c24a7d64 Updated Pony.fm's PHP namespace to Poniverse\Ponyfm. 2015-10-23 18:22:14 -07:00
Peter Deltchev
f7d128dbc5 T388: Albums, playlists, and artists are now sorted alphabetically; tracks have an alphabetical sort option; and a few new indices were added. 2015-09-28 21:10:35 -07:00
Peter Deltchev
ebf6448036 Added Poniverse API setup command. Closes T378. 2015-09-24 10:43:12 -07:00
Peter Deltchev
ae39784708 Updated the rebuild:tags command with a progress bar. 2015-09-24 09:59:45 -07:00
Peter Deltchev
7d76e2d74d Fixed a broken migration and cleaned up some leftover files from Laravel 4.. 2015-09-24 09:55:34 -07:00
Peter Deltchev
33725cf0dd Removed obsolete Laravel 4 config files. 2015-09-20 02:43:15 -07:00
Peter Deltchev
451cd699cb Fixed zeroed timestamps being recorded for statistics and added a script to fill in the missing data. 2015-09-20 02:38:17 -07:00
Peter Deltchev
97681212a4 Updated the SPA profiler as Laravel 5 middleware. 2015-09-20 01:47:24 -07:00
Peter Deltchev
7d047a41e4 Fixes T373: Moment.js now assumes whatever it's given is UTC. 2015-09-20 00:27:52 -07:00
Peter Deltchev
1aa0b5f9d7 Closes T360: Replace the dev blog feed with the Twitter feed. 2015-09-16 12:55:15 -07:00
Peter Deltchev
efa16a2baa T350: Fixed the broken show song filter. 2015-09-13 00:43:03 -07:00
Peter Deltchev
ba25beb09b T350: Fixed server-rendered profiles. 2015-09-12 22:26:46 -07:00
Peter Deltchev
5f865dca6b T357: Don't be picky about master files' sample rates anymore. 2015-09-12 22:21:17 -07:00
Peter Deltchev
583b03f132 T350: Removed some leftover files and corrected the MLPMA importer's reference to getID3. 2015-09-12 21:47:32 -07:00
Peter Deltchev
5188e4947c Fixes T372 for all content types. Also fixes album and playlist downloads following T350. 2015-09-12 21:33:56 -07:00
Peter Deltchev
01ebdf5ac0 Fixes T372: Comment counters are now updated when new comments are made. 2015-09-12 21:16:03 -07:00
Peter Deltchev
205e034174 T357, T350: Restore updates from rPFf088badebbbb. 2015-09-12 20:45:56 -07:00
Peter Deltchev
d9c66e9163 T350: Moved getid3 to its proper location. 2015-09-12 17:40:28 -07:00
Peter Deltchev
e057bde7f5 T350: Fixed the "library" directory's capitalization. 2015-09-12 17:34:32 -07:00
Peter Deltchev
86a3248a7c T350: Resolved merge conflicts. 2015-09-12 16:40:45 -07:00
Peter Deltchev
d3a79b2a74 Merge branch 'feature/laravel_5.1' of ssh://phabricator.poniverse.net/diffusion/PF/pony-fm into feature/laravel_5.1 2015-09-12 14:58:30 -07:00
Peter Deltchev
e2225e3378 T350: Updated configuration files for Laravel 5. 2015-09-12 14:56:09 -07:00
Peter Deltchev
7147d06ee7 T350: Upgraded getID3. 2015-09-12 14:43:01 -07:00
Adam Lavin
f088badebb Handle wav files and ignore any wmv files 2015-09-12 22:10:36 +01:00
Kelvin Zhang
7c2863b942 Merge rPF9b9f25dc512d: T357: Gracefully handle missing tags in M4A and OGG files. 2015-09-12 16:01:53 +01:00
Kelvin Zhang
5e4875b9ad Merge rPF5f69cdda5b2c: T357: Put the string cast in the right place. 2015-09-12 16:00:40 +01:00
Kelvin Zhang
616b6e9ccf Merge rPFf4f97acd9fc0: T357: Validate the length of a year correctly. 2015-09-12 15:59:19 +01:00
Kelvin Zhang
9468ced8c4 Merge rPF207569e5978d: T357: Ignore WMA files and added support for FLAC imports. 2015-09-12 15:53:22 +01:00
Kelvin Zhang
2ac9fd6967 Merge rPFd78c240a428a: T357: Gracefully handle obviously invalid year tags. 2015-09-12 15:51:21 +01:00
Kelvin Zhang
1952f01601 Merge rPF8a4b08738d8a: T357: The MLPMA importer now ignores RTF files. 2015-09-12 15:47:48 +01:00
Peter Deltchev
9b9f25dc51 T357: Gracefully handle missing tags in M4A and OGG files. 2015-09-12 02:11:52 -07:00
Peter Deltchev
5f69cdda5b T357: Put the string cast in the right place. 2015-09-11 14:10:45 -07:00
Peter Deltchev
f4f97acd9f T357: Validate the length of a year correctly. 2015-09-11 13:41:39 -07:00
Peter Deltchev
207569e597 T357: Ignore WMA files and added support for FLAC imports. 2015-09-11 10:47:40 -07:00
Peter Deltchev
d78c240a42 T357: Gracefully handle obviously invalid year tags. 2015-09-10 23:01:48 -07:00
Peter Deltchev
8a4b08738d T357: The MLPMA importer now ignores RTF files. 2015-09-10 11:34:48 -07:00
Kelvin Zhang
11d5724658 rPF838e7429f06a: T357: Removed an extraneous var_dump. 2015-09-10 13:05:42 +01:00
Kelvin Zhang
d77d895014 Merge rPF9b10161ca44c: T357: Made the importer's file type check case-insensitive. 2015-09-10 13:01:01 +01:00
Kelvin Zhang
5bc6dd78b0 Merge rPFa0fb15a86ae6: T357: Removed more characters from the fulltext query. 2015-09-10 12:59:33 +01:00
Kelvin Zhang
16db65d8bd Merge rPF6d1de13fd334: T357: The MLPMA importer now ignores .txt files. 2015-09-10 12:57:51 +01:00
Kelvin Zhang
416ce7ac6a Merge rPF9c520e71a551: T357: Handle malformed genres gracefully. 2015-09-10 12:56:33 +01:00
Kelvin Zhang
a8d7bd1935 Merge rPFc0e619aacd75: T357: Added an ID3v1 fallback and added more information to the… 2015-09-10 12:55:46 +01:00
Kelvin Zhang
e4ae56885f Merge rPFcd113e4d4bd3: T357: When reclassifying a show song remix, remove previous associations. 2015-09-10 12:51:26 +01:00
Kelvin Zhang
b846475f4f Merge rPF46ceab2b4ce0: T357: Remove tildes from the classifier's fulltext matcher. 2015-09-10 12:50:44 +01:00
Kelvin Zhang
0db774aadd Merge rPF76f1361ddafe: Change directory permissions to an octal value. 2015-09-10 12:50:04 +01:00
Kelvin Zhang
843eb4351a Merge rPF29527b4c880f: T357: Removed + symbols from the classifier's fulltext query. 2015-09-10 12:47:05 +01:00
Kelvin Zhang
cd12f58992 Merge rPF4b5547b10c7a: T357: Remove the dot at the end of a filename when generating a missing title… 2015-09-10 12:45:29 +01:00
Kelvin Zhang
bddfd6cae5 Merge rPF9cb13ee535e4: T357: The importer no longer assumes that a title tag is present. 2015-09-10 12:43:19 +01:00
Kelvin Zhang
05f1745b1f Merge rPF47b172ccc49d: T366: Explicitly return ints and boolean values as such in the website API. 2015-09-10 12:41:35 +01:00
Kelvin Zhang
5a2fb2f05e Merge rPFb66ec54221d5: T357: Added genre handling to the MLPMA importer. 2015-09-10 12:35:35 +01:00
Kelvin Zhang
1fe6aa98b5 rPF5d9b3f2d5bc8: Fixes T224. Also adds the rebuild:tags Artisan command and a missing ffmpeg… 2015-09-10 12:30:59 +01:00
Kelvin Zhang
92c2c43e58 Merge rPF91611faead64: Merge the MLP Music Archive import scripts. 2015-09-10 12:15:19 +01:00
Kelvin Zhang
6826770ace Merge rPFbe0bfa790ec5: Fixed an error with fetching the year and release date. 2015-09-10 11:30:48 +01:00
Kelvin Zhang
85586c17de Merge rPFfe22c9547edf: Fixed broken Year and Genre tags in tracks. 2015-09-10 11:27:04 +01:00
Kelvin Zhang
8de0cb1932 Merge rPFd86028310e5c: Added a Laravel IDE helper and type-hinted the cover art upload method. 2015-09-10 11:23:12 +01:00
Peter Deltchev
838e7429f0 T357: Removed an extraneous var_dump. 2015-09-09 20:06:11 -07:00
Peter Deltchev
50bba983e3 T357: Support OGG Vorbis master files in the MLPMA importer. 2015-09-09 19:08:46 -07:00
Peter Deltchev
f656c3aadf T357: Handle the complete lack of ID3 tags gracefully. 2015-09-09 09:05:15 -07:00
Peter Deltchev
9b10161ca4 T357: Made the importer's file type check case-insensitive. 2015-09-09 00:39:53 -07:00
Peter Deltchev
a0fb15a86a T357: Removed more characters from the fulltext query. 2015-09-08 23:17:13 -07:00
Peter Deltchev
6d1de13fd3 T357: The MLPMA importer now ignores .txt files. 2015-09-08 10:48:21 -07:00
Kelvin Zhang
33753d8411 Update Kernel.php for commands 2015-09-08 11:57:28 +01:00
Kelvin Zhang
1f6e6f9c7e Add commands 2015-09-08 11:56:38 +01:00
Peter Deltchev
9c520e71a5 T357: Handle malformed genres gracefully. 2015-09-08 01:03:05 -07:00
Peter Deltchev
c0e619aacd T357: Added an ID3v1 fallback and added more information to the classification script. 2015-09-07 23:01:01 -07:00
Peter Deltchev
cd113e4d4b T357: When reclassifying a show song remix, remove previous associations. 2015-09-07 22:32:40 -07:00
Peter Deltchev
46ceab2b4c T357: Remove tildes from the classifier's fulltext matcher. 2015-09-07 19:55:40 -07:00
Peter Deltchev
76f1361dda Change directory permissions to an octal value. 2015-09-07 18:46:39 -07:00
Peter Deltchev
50ca465835 T357: Sort tracks by publication date rather than creation date. 2015-09-07 18:40:11 -07:00
Peter Deltchev
29527b4c88 T357: Removed + symbols from the classifier's fulltext query. 2015-09-07 18:31:58 -07:00
Peter Deltchev
4b5547b10c T357: Remove the dot at the end of a filename when generating a missing title tag, and allow the importer to process tracks shorter than 30 seconds. 2015-09-07 17:48:48 -07:00
Peter Deltchev
9cb13ee535 T357: The importer no longer assumes that a title tag is present. 2015-09-07 17:42:05 -07:00
Peter Deltchev
47b172ccc4 T366: Explicitly return ints and boolean values as such in the website API. 2015-09-07 13:28:21 -07:00
Peter Deltchev
b66ec54221 T357: Added genre handling to the MLPMA importer. 2015-09-07 11:56:00 -07:00
Peter Deltchev
5d9b3f2d5b Fixes T224. Also adds the rebuild:tags Artisan command and a missing ffmpeg compilation flag. 2015-09-07 11:17:35 -07:00
Peter Deltchev
6911b3e560 T363: Fix tracks being unplayable when cover art is unavailable. 2015-09-07 08:22:19 -07:00
Peter Deltchev
82dc200f17 T357: Continue restricting lossy user-facing uploads. 2015-09-07 07:35:25 -07:00
Peter Deltchev
9d087a9415 T357: Actually classify tracks in the classifier and allow re-classification of published MLPMA tracks. 2015-09-07 07:11:28 -07:00
Peter Deltchev
15760a1040 T357, T125: Added SIGINT handling and a skip feature to the import script, implemented importing of lossy files, made the import script actually import tracks now, and other improvements. 2015-09-07 07:02:25 -07:00
Peter Deltchev
f17e824586 T357: Separated track publishing and classification into its own script, fixed an issue with reading comments from ID3 tags, and added lossy support to UploadTrackCommand. 2015-09-07 04:50:51 -07:00
Peter Deltchev
dbab3a9ecc T357: MLPMA import script is mostly implemented now. 2015-09-07 04:50:50 -07:00
Peter Deltchev
b7084de228 T357: Added track type constants and a progress commit for the importer script. 2015-09-07 04:50:50 -07:00
Peter Deltchev
447815c5ee T357: Initial commit of the MLPMA import script. 2015-09-07 04:50:50 -07:00
Kelvin
b33dcfd8c6 Update namespaces 2015-09-06 18:21:11 +01:00
Kelvin
ec93ebb8fe Add middleware 2015-09-06 16:57:20 +01:00
Kelvin Zhang
261b6abb18 Update config; change authentication method 2015-09-05 16:09:25 +01:00
Kelvin Zhang
93c3a2a69a Add routes 2015-09-05 15:59:36 +01:00
Peter Deltchev
be0bfa790e Fixed an error with fetching the year and release date. 2015-09-05 06:49:22 -07:00
Peter Deltchev
d86028310e Added a Laravel IDE helper and type-hinted the cover art upload method. 2015-09-04 09:56:22 -07:00
Peter Deltchev
7daecbdd30 Added encrypted production and staging configs. 2015-09-03 19:55:01 -07:00
Peter Deltchev
fe22c9547e Fixed broken Year and Genre tags in tracks. 2015-09-03 19:03:58 -07:00
Peter Deltchev
252f3ca727 Upgraded getID3 to the newest stable version. 2015-09-03 18:59:46 -07:00
Kelvin Zhang
1b30b0cf53 Add controllers 2015-08-31 15:30:02 +01:00
Kelvin Zhang
b6dad84d67 Add Commands 2015-08-31 15:19:23 +01:00
Kelvin Zhang
0f8d11fa83 Add Downloader models 2015-08-31 15:19:03 +01:00
Kelvin Zhang
32e19fb4e5 Fix SlugTrait 2015-08-31 13:53:22 +01:00
Kelvin Zhang
39290f8204 Update namespace to App 2015-08-31 13:35:47 +01:00
Kelvin Zhang
14125fb5c6 Upgrade User.php to 5.1 2015-08-31 12:19:29 +01:00
Kelvin Zhang
a3042c6288 Add libraries; adjust models to 5.0 2015-08-30 14:01:12 +01:00
Kelvin Zhang
b15b24b772 Create models 2015-08-30 13:29:12 +01:00
Kelvin Zhang
292d476210 Initial L5.1 commit 2015-08-30 12:26:03 +01:00
Peter Deltchev
a90e33bb04 T335: Moved the fix to the comparison where it's needed. 2015-08-12 20:29:51 -07:00
Peter Deltchev
6276f9b564 T335: Fix the inability to publish official song remixes in production. 2015-08-12 20:10:19 -07:00
Peter Deltchev
03df4d1ec9 T316: Fixed the logo in Microsoft Edge. 2015-08-03 00:36:56 -07: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
a6a78e667a Fix IE11 logo 2015-06-19 14:56:45 +01:00
Kelvin
a8cbe6d0b9 Implement appropriate behaviour to respond to tracks not being downloadable; fix album file size 2015-06-16 15:50:30 +01:00
Kelvin
318fc3c4e0 Add white logo 2015-06-15 14:27:24 +01:00
Kelvin
d0e1ef7af8 Add angular template cache to prevent XHR requests to fetch templates 2015-06-14 16:26:40 +01:00
Kelvin
c68b007ed7 Fix resource loading on IE 2015-06-14 16:23:20 +01:00
Kelvin
b98dc617e6 Fix sceDelegateProvider error 2015-06-14 15:27:56 +01:00
Peter Deltchev
adbb894873 T125: Properly 404 on a nonexistent TrackFile. 2015-05-26 15:41:55 -07:00
Peter Deltchev
3a9a659257 T125: Refactored track downloads with TrackFile::findOrFailByExtension(). 2015-05-25 22:45:31 -07:00
Peter Deltchev
9ade037820 T125: Replaced downloads and streams with TrackFiles. 2015-05-25 22:35:52 -07:00
Peter Deltchev
2e146df697 T125: Implemented TrackFile model to facilitate lossy master files. 2015-05-25 09:40:17 -07:00
Peter Deltchev
de313f6452 T126: Implemented archived profiles. 2015-05-20 19:54:24 -07:00
Nelson LaQuet
35af7bb681 Updated gravatars to use identicon when email address is redacted 2015-05-20 04:14:06 -05:00
Peter Deltchev
8cdf105c12 T16: Added metaflac and vorbis-comment, and fixed a directory creation error. 2015-05-19 04:32:26 -07:00
Peter Deltchev
9aded3e6f1 Minor copy tweaks. 2015-05-19 04:03:16 -07:00
Nelson LaQuet
893d8e20bb Fixed poniverse authentication. Now uses live API. 2015-04-30 01:50:15 -05:00
Nelson LaQuet
aff57a092c Got authentication working against live poniverse 2015-04-24 04:23:45 -05:00
Nelson LaQuet
f0fc0ec0bf Finished new asset pipeline using gulp 2015-04-23 04:17:05 -05:00
Nelson LaQuet
f484caf9e6 Added Vagrant file. 2015-04-11 20:22:15 -05:00
nelsonlaquet
d5fb0fe2ee Srsly. 2014-05-29 15:44:38 -05:00
nelsonlaquet
56f477f6de Updated API per Silver's requirements 2014-05-28 02:22:34 -05:00
nelsonlaquet
37313a7540 Fixed dashboard from crashing when RSS feed doesn't work 2014-01-04 23:09:03 -06:00
Adam Lavin
1b6032e9e3 Adding two of the mobile endpoints back, hopefully the data matches 2013-11-28 13:32:33 +00:00
Adam Lavin
3815016f3c Set the redirect uri in constructor 2013-10-19 02:37:44 +00:00
nelsonlaquet
2c19d4fcc0 trying something 2013-10-06 21:53:09 -05:00
nelsonlaquet
14ef6c7299 Fixed permission issue 2013-09-27 15:49:22 -05:00
nelsonlaquet
cca292049e Added is listed feature 2013-09-24 01:27:13 -05:00
nelsonlaquet
675ba17901 Fixed dropdown layout issue
Fixed show songs playing wrong track
2013-09-24 00:47:00 -05:00
nelsonlaquet
010836e69d Added description and lyrics to radio API 2013-09-22 23:24:40 -05:00
nelsonlaquet
a91d8cb259 added POST handler for radio details 2013-09-22 23:05:26 -05:00
nelsonlaquet
1f68c8dbcf Added radio station API endpoint 2013-09-22 22:44:37 -05:00
nelsonlaquet
4b5788fc74 added registration 2013-09-11 19:13:24 -05:00
nelsonlaquet
353c3a4f11 Added in is_latest feature 2013-09-09 21:25:49 -05:00
nelsonlaquet
b757addd72 fixed another thing 2013-09-08 03:20:28 -05:00
nelsonlaquet
bf8670bc7d fixed released_at validation on FF 2013-09-08 03:16:43 -05:00
nelsonlaquet
a5cd1b5c86 some visual things 2013-09-03 04:42:03 -05:00
nelsonlaquet
8431943351 Fixed track publishing on FF
Fixed date display on non-webkit browsers
2013-09-02 18:34:35 -05:00
Adam Lavin
1e45e5ddd1 Added Laravel-NewRelic to the app's ServiceProviders 2013-09-02 10:02:07 +00:00
nelsonlaquet
c59c51daa0 Fixed downloads 2013-09-02 04:17:58 -05:00
nelsonlaquet
3485f79c51 Many things 2013-09-01 21:11:29 -05:00
nelsonlaquet
84f6064a1b Don't want to lose these files 2013-09-01 19:11:33 -05:00
nelsonlaquet
1617b605f6 Maybe fixed mobile issue 2013-09-01 17:51:51 -05:00
nelsonlaquet
0000c4297d Added cute error pages 2013-09-01 16:54:33 -05:00
nelsonlaquet
37bf25293d added some things 2013-09-01 15:04:30 -05:00
nelsonlaquet
f4ee6c8add Fixed caching 2013-09-01 14:28:29 -05:00
nelsonlaquet
2604cdce47 Maybe fixed download names 2013-09-01 14:24:48 -05:00
nelsonlaquet
381184ae0f Fixed image caching issue 2013-09-01 14:08:28 -05:00
nelsonlaquet
6189a3f112 Fixed embeds harder 2013-09-01 14:02:18 -05:00
nelsonlaquet
908113aecb Hopefully fixed embeds 2013-09-01 13:59:13 -05:00
nelsonlaquet
f504c93520 fixed cap issue 2013-09-01 06:32:30 -05:00
nelsonlaquet
534df2ca32 fixed headers 2013-09-01 06:26:56 -05:00
nelsonlaquet
47f5bd64cb fixed script 2013-09-01 05:57:17 -05:00
nelsonlaquet
4fb9a6b737 Fixed 2013-09-01 05:51:10 -05:00
nelsonlaquet
6d8c7d9a38 Fixed title 2013-09-01 05:46:26 -05:00
nelsonlaquet
2d9208cb75 made images faster
fixed migration
2013-09-01 05:44:32 -05:00
nelsonlaquet
98eabe58de Fixed https issues 2013-09-01 04:55:59 -05:00
nelsonlaquet
78cb8420e2 Removed mp3s from being allowed to be uploaded 2013-09-01 04:05:23 -05:00
nelsonlaquet
3990637ce9 Come on 2013-09-01 03:53:55 -05:00
nelsonlaquet
34aaa881d8 Fixed 2013-09-01 03:07:59 -05:00
nelsonlaquet
aea643d9ba Added accel redirect support 2013-09-01 03:07:03 -05:00
nelsonlaquet
1a2cfb9104 Fixed display 2013-09-01 02:58:27 -05:00
nelsonlaquet
f2b74aecc2 fixed coffee 2013-09-01 02:27:04 -05:00
nelsonlaquet
1149675d61 fixed name of thing 2013-09-01 01:43:01 -05:00
nelsonlaquet
519c9344e0 Thigns 2013-09-01 00:39:56 -05:00
nelsonlaquet
fca0dccc01 fixed assets 2013-09-01 00:13:51 -05:00
nelsonlaquet
5f6282fa56 asd 2013-09-01 00:03:45 -05:00
nelsonlaquet
0655511574 asdf 2013-09-01 00:03:37 -05:00
nelsonlaquet
b15b804999 Poniverse auth 2013-08-31 21:59:12 -05:00
nelsonlaquet
018e880508 performance for when not logged in
simple style updates
2013-08-31 21:28:45 -05:00
nelsonlaquet
2d43bf64af finished embed code 2013-08-31 21:20:48 -05:00
nelsonlaquet
f9be5c4728 started work on embeds 2013-08-30 22:16:16 -05:00
nelsonlaquet
c2f482e8a8 Homepage, google analytics, basic responsiveness 2013-08-30 21:46:28 -05:00
nelsonlaquet
18e41d2af4 Logout
Volume Slider
Track Uploader
Fav list
A bunch of other things
And stuff.
2013-08-30 20:46:35 -05:00
nelsonlaquet
1dff7cb36f Mega commit... Following, design changes, share/embed code and more. 2013-08-28 22:19:24 -05:00
nelsonlaquet
04787e9f07 Design work 2013-08-27 01:53:37 -05:00
nelsonlaquet
4c025dd1e9 Further design changes 2013-08-22 19:48:40 -05:00
nelsonlaquet
22818261ee Further perf changes and more denormalization 2013-08-21 15:45:33 -05:00
nelsonlaquet
e06e7da234 added more db optimizations 2013-08-20 22:02:08 -05:00
nelsonlaquet
21be35a4a9 Sexy profiler and perf optimizations 2013-08-20 21:40:11 -05:00
nelsonlaquet
1c4bc006b7 Finished basic stats for tracks, playlists and albums
Finished downloading for albums and playlists
2013-08-18 23:19:04 -05:00
nelsonlaquet
2046b8e98d Intermediate commit 2013-08-18 22:39:29 -05:00
nelsonlaquet
13d46c6c3c Things 2013-08-17 23:18:41 -05:00
nelsonlaquet
d349fa1e6e Things 2013-08-15 18:49:20 -05:00
nelsonlaquet
a80de5ea8f More design work
Updated Angular to latest RC
2013-08-14 00:53:12 -05:00
nelsonlaquet
f4e6e87213 Much design work 2013-08-13 00:11:14 -05:00
nelsonlaquet
06b8ec1ee4 Merge branch 'spa-development'
Conflicts:
	app/commands/MigrateOldData.php
2013-08-09 17:58:28 -05:00
nelsonlaquet
7945638e31 Things 2013-08-09 17:57:30 -05:00
nelsonlaquet
353fee693d trying something 2013-08-01 13:09:23 -05:00
nelsonlaquet
c17980287e Fixed casing 2013-08-01 12:35:38 -05:00
nelsonlaquet
6f392bed02 blegh 2013-08-01 12:35:16 -05:00
nelsonlaquet
e6143f7c06 Migrate command 2013-08-01 11:58:47 -05:00
nelsonlaquet
b71efac59f Many things 2013-08-01 03:57:08 -05:00
nelsonlaquet
1aac8a8f64 Work on artists 2013-07-31 21:47:21 -05:00
nelsonlaquet
70dccafa9c Albums and artists 2013-07-31 21:01:41 -05:00
nelsonlaquet
21009713f3 Intermediate commit (power is going on and off) 2013-07-31 18:04:04 -05:00
nelsonlaquet
8d3d126550 Track searching stuff 2013-07-31 06:47:16 -05:00
nelsonlaquet
d4789ebda3 Fixed album/track controllers 2013-07-29 23:53:57 -05:00
nelsonlaquet
d9d44f9e6e Killing animations... 2013-07-29 15:54:53 -05:00
nelsonlaquet
9c9aeabf30 Just some styling 2013-07-28 16:51:35 -05:00
nelsonlaquet
ab3f15b5bf Account Settings 2013-07-28 13:50:02 -05:00
nelsonlaquet
2a8bd3c85c Lots of playlist things 2013-07-28 12:45:21 -05:00
nelsonlaquet
e2bb57922a Commit for things 2013-07-28 03:35:31 -05:00
nelsonlaquet
f093d7a570 Working on albums 2013-07-28 02:09:10 -05:00
nelsonlaquet
f2b1bc82cf Finished show songs 2013-07-28 01:07:25 -05:00
nelsonlaquet
c3744e2931 Started on show songs 2013-07-27 23:37:32 -05:00
nelsonlaquet
3b291f3b8f Image things 2013-07-26 22:00:45 -05:00
nelsonlaquet
c56568b6f5 Further things 2013-07-26 19:15:07 -05:00
nelsonlaquet
8d834f41db before mass replace 2013-07-26 05:29:58 -05:00
nelsonlaquet
a7fdff3b1e Things 2013-07-26 04:20:34 -05:00
nelsonlaquet
b35a132876 Inital commit 2013-07-25 16:33:12 -05:00