Commit graph

193 commits

Author SHA1 Message Date
Peter Deltchev
060b8e7121 Fixes #83: Album shortlinks work again. 2016-05-21 00:22:47 -07:00
Josef Citrine
44bcf87ddb New profiles, works better on mobile 2016-05-19 22:31:04 +01:00
Josef Citrine
87d25bb8b8 Admin album editing 2016-05-18 01:27:59 +01:00
Josef Citrine
fb7f291f31 Switch admin check to Gate 2016-05-17 13:00:57 +01:00
Josef Citrine
40122a9446 Admins can edit users 2016-05-17 00:30:05 +01:00
Josef Citrine
481a0a6b9f Admins can view all tracks 2016-05-11 17:41:49 +01:00
Josef Citrine
a6c9393e3d Cleaned up code, added caching for stats 2016-05-04 17:07:00 +01:00
Josef Citrine
7b4cf4adff Fixed error for unpublished tracks 2016-05-04 01:26:52 +01:00
Josef Citrine
2832ba5bd2 Fixed syntax error
I'm tired
2016-05-04 01:12:12 +01:00
Josef Citrine
563578c622 Code style fixes 2016-05-04 01:08:59 +01:00
Josef Citrine
88bee8c7ab Laravel-ised queries 2016-05-04 00:50:59 +01:00
Josef Citrine
473d1d7b38 Fixing data to accurately represent plays 2016-05-03 23:20:38 +01:00
Josef Citrine
7a73e20929 Added cumulative graph 2016-05-03 20:30:57 +01:00
Josef Citrine
97b4bb1b8b 'Functional' play charts
Needs styling
2016-05-03 13:01:50 +01:00
Josef Citrine
4ca904667b Hourly stats should only display a 24 hour period 2016-05-02 23:25:26 +01:00
Josef Citrine
3e874da868 Start of a stats API 2016-05-02 13:23:22 +01:00
Mihail-K
e63c18f6be Merge branch 'master' into feature/track-removals 2016-03-20 15:10:17 -04:00
Peter Deltchev
61ca938877 #2: Fixed up the album editor in its new home. 2016-03-19 01:10:33 -07:00
Peter Deltchev
d8933374ab #2: Rearranged various routes for account management + other cleanup.
The "Favourites" area within account management was removed as it duplicates
the functionality of the favourites area on public profiles.
2016-03-18 20:01:00 -07:00
Peter Deltchev
61e762dc13 #2: Nested all things account management under profile pages. 2016-03-18 20:00:30 -07:00
Peter Deltchev
b715422c24 #2: Properly handle editing tracks and albums that you don't own. 2016-03-12 17:27:49 -08:00
Peter Deltchev
9e753ec26e #2: Implemented track moderation. 2016-02-26 19:23:14 -08:00
Peter Deltchev
5451294dfc Replaced Pony.fm's profiler with @barryvdh's Laravel Debugbar. 2016-02-16 02:53:28 -08:00
Peter Deltchev
7176fb2bca #2: Implemented the inline track editor on track pages.
Also includes a fix for lyrics on track pages.
2016-02-15 23:50:36 -08:00
Peter Deltchev
20ef64988a Fixes #56: no more duplicate tracks when browsing! 2016-02-15 08:02:44 -08:00
Peter Deltchev
5314f5accb Fixed an n+1 query. 2016-02-15 07:51:26 -08:00
Peter Deltchev
72cdef8dae Fixed two regressions. 2016-02-08 05:29:58 -08:00
Peter Deltchev
09de55d14d Handle slug collisions with disabled accounts properly. 2016-01-24 22:05:08 -08:00
Peter Deltchev
a2b35ba8a3 #56: Fixed duplicate tracks in playlists. 2016-01-23 04:27:43 -08:00
Peter Deltchev
4585eb712e #1: SEARCH IS ALIVE. LET'S GO, YES! 2016-01-20 19:18:18 -08:00
Peter Deltchev
7a005bcf6b Silently enabled lossy uploads for users. 2016-01-18 02:16:56 -08:00
Scrutinizer Auto-Fixer
d655d0a151 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-01-18 01:21:39 +00:00
Peter Deltchev
845449c8cc #1: Reindexing now runs on its own queue + lots of code cleanup. 2016-01-17 07:16:16 -08:00
Peter Deltchev
33befbe3d0 #1: Darklaunched search to site staff. 2016-01-17 05:43:28 -08:00
Peter Deltchev
7a7f4ee02a #1: Moved the artists list into its own directive + visual cleanup of search. 2016-01-16 23:35:43 -08:00
Peter Deltchev
990916171c #1: Progress commit - some semblance of this is working now. 2016-01-16 01:13:53 -08:00
Peter Deltchev
e0faefee23 #1: Progress commit. 2016-01-16 01:13:53 -08:00
Peter Deltchev
bf831d839a #20: Added the genre creation tool. 2016-01-06 04:50:44 -08:00
Adam Lavin
3399f3e223 Added support for authorising oauth2 endpoints with the bearer header 2016-01-01 21:11:28 +00:00
Adam Lavin
6b026e8551 Remove reliance on facades/helpers, and added in a typehint, in AuthenticateOAuth middleware. 2016-01-01 20:58:52 +00:00
Adam Lavin
991f8df661 Security: Fix auth.outh2 generating a user session
If you are logged out of Pony.fm, made a request to an endpoint using this middleware in the browser with an access token with the appropriate scope, then went back to Pony.fm, you'd be logged in as the owner of the access token.
2016-01-01 20:55:00 +00:00
Peter Deltchev
e85b79a9e4 Fixed error on artist pages and an issue with profile URL generation. 2015-12-31 21:12:16 -08:00
Peter Deltchev
8ac590819f Fixed incorrect class references. 2015-12-31 18:27:21 -08:00
Peter Deltchev
5ff04ff08d Moved all database models into their own namespace. 2015-12-31 16:24:33 -08:00
Peter Deltchev
3b1fa792cf #29: This works because the only disabled accounts right now are merged ones. 2015-12-29 13:32:14 -08:00
Peter Deltchev
622dc2d577 #29: Implemented the auth:merge-duplicates CLI script to reconcile duplicate accounts. 2015-12-29 08:54:08 -08:00
Zeusking19
dfefb2ad81 Implement server-side track removal from playlist 2015-12-28 14:31:28 +00:00
Peter Deltchev
93b76d1954 Added support for JPEG cover art. 2015-12-27 01:43:43 -08:00
Zeusking19
8282e5752d Quickfix to some date issues 2015-12-26 21:01:46 +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
Peter Deltchev
de88fe6fff #8: Updated the name of the track upload scope. 2015-12-25 01:25:22 -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
851dfff921 #39: Implemented asynchronous encoding in uploads. 2015-12-18 05:11:29 -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
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
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
c28c887e29 #4: Refactored a bunch of common logic between albums and playlists into a trait. 2015-11-09 22:44:36 -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
Peter Deltchev
5583c59ec3 Merge branch 'master' into feature/cache_tracks 2015-11-05 17:15:28 -08:00
Peter Deltchev
72132d9505 Added a "secret" unclassified track type for MLPMA tracks. 2015-11-04 18:47:11 -08:00
Kelvin Zhang
b2408e3d84 Add in changes from code review 2015-11-01 16:49:28 +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
Peter Deltchev
ed0a5fb8ac Licensed Pony.fm under the GNU Affero General Public License (AGPL). 2015-10-24 22:17:45 -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
97681212a4 Updated the SPA profiler as Laravel 5 middleware. 2015-09-20 01:47:24 -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
ba25beb09b T350: Fixed server-rendered profiles. 2015-09-12 22:26:46 -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
e2225e3378 T350: Updated configuration files for Laravel 5. 2015-09-12 14:56:09 -07: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
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
93c3a2a69a Add routes 2015-09-05 15:59:36 +01:00
Kelvin Zhang
1b30b0cf53 Add controllers 2015-08-31 15:30:02 +01:00
Kelvin Zhang
292d476210 Initial L5.1 commit 2015-08-30 12:26:03 +01:00