Commit graph

534 commits

Author SHA1 Message Date
Kelvin
0ee7e4a315 #7: Implement front-end handling of mixed losslessness track collections 2016-07-11 13:40:31 +01:00
Josef Citrine
45dae68497 #86: Fixed track uploading SQL errors 2016-07-11 13:00:29 +01:00
Kelvin
63d4063ccc #7: Implement back-end handling of mixed losslessness track collections 2016-07-11 12:43:10 +01:00
Kelvin
2c3ef557af #7: Implement CR changes 2016-07-11 11:25:45 +01:00
Kelvin
05c66ca5dd [#7] Prevent completely lossy albums/playlists from being downloaded as lossless 2016-07-10 15:20:22 +01:00
Peter Deltchev
0427658dbf #86: Fixed more queries for PostgreSQL. 2016-07-09 06:44:49 -07:00
Josef Citrine
7b521f5733 #86: This causes some issue with Postgres. Commenting for now 2016-07-05 01:40:55 +01:00
Josef Citrine
c36a7145a5 Sanitise track numbers 2016-06-29 20:05:58 +01:00
Josef Citrine
4b0ed2fd1b #86: More Postgres tweaks 2016-06-28 18:53:53 +01:00
Peter Deltchev
6e8a9b34c6 #86: Modified a bunch of queries to work in PostgreSQL. 2016-06-26 19:20:10 -07:00
Josef Citrine
336e04a0c1 Disabling notifications until they're stable on Chrome 2016-06-20 01:38:07 +01:00
Peter Deltchev
64a44fff4f Made avatars optional. Useful for archived profiles!
Also took the opportunity to refactor SaveAccountSettingsCommand somewhat.
2016-06-19 13:13:47 -07:00
Josef Citrine
60f55e6223 Ignore requests with no subscription data 2016-06-15 13:44:54 +01:00
Josef Citrine
0c1a283867 Removed old developement API key 2016-06-15 13:44:54 +01:00
Josef Citrine
61520815de #25: Basic service worker notifications 2016-06-15 13:44:28 +01:00
Josef Citrine
2b72b4dcdb #25: Service worker subscription 2016-06-15 13:44:28 +01:00
Peter Deltchev
a482a183dc #2: Admins can now manage other users' content. 2016-06-14 01:27:56 -07:00
Peter Deltchev
185ead4ed0 Improved a bunch of use statements. 2016-06-12 04:49:24 -07:00
Peter Deltchev
09effb6955 #2: Implemented the user creation tool. 2016-06-12 04:16:03 -07:00
Josef Citrine
4714f04a80 Added follower count 2016-06-07 19:31:32 +01:00
Josef Citrine
bd330a1089 Mark as read and notification count 2016-06-07 17:49:00 +01:00
Josef Citrine
d33985325e New notification look. Mark as read feature (disabled for now due to issues) 2016-06-07 00:37:41 +01:00
Scrutinizer Auto-Fixer
3b1b03e12b Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-06-06 06:29:37 +00:00
Peter Deltchev
9a9ac7e5a1 Lots of minor code cleanup. 2016-06-05 23:15:56 -07:00
Peter Deltchev
b46ba956d0 Fixes #51: Slugs are now unique and user-changeable. 2016-06-05 20:05:57 -07:00
Josef Citrine
59b0ebd64e Admins can modify show songs 2016-06-06 00:12:10 +01:00
Peter Deltchev
73de10cff4 Don't list albums and playlists with only one track. 2016-06-05 12:27:04 -07:00
Josef Citrine
9eac8153db Switched error handler to Whoops 2016-06-05 19:45:21 +01:00
Josef Citrine
4e564aed0c Merge pull request #88 from Poniverse/feature-playlist-sort
Feature playlist sort
2016-06-02 17:03:11 +01:00
Peter Deltchev
3b3863f030 #25: Notification texts are simple plaintext for now. 2016-06-01 20:12:56 -07:00
Maximilian Walter
d735cb6816 update: implemeted playlist sort functionality 2016-06-01 21:02:16 +02:00
Maximilian Walter
b73d1753b3 update: added playlist sort logic to laravel controller
update: implemented basic filter functions to angular
2016-06-01 19:40:49 +02:00
Maximilian Walter
2d458c3d80 Merge branch 'master' of https://github.com/Poniverse/Pony.fm into feature-playlist-sort 2016-05-31 15:03:26 +02:00
Peter Deltchev
716eff3955 Fixed a bad query. 2016-05-28 12:53:18 -07:00
Peter Deltchev
27f19f9dc7 Added a bunch of eager-loading. 2016-05-28 12:29:06 -07:00
Peter Deltchev
fc4ae856f8 #25: Made the SendNotifications job in line with the rest of the notification system's design. 2016-05-27 22:21:35 -07:00
Josef Citrine
ef598a72ef Test UI for notifications 2016-05-27 20:38:59 +01:00
Peter Deltchev
0109244115 Feature/notifications (#87)
* #25: Implemented enough of the notification system to start writing drivers.

* #25: Implemented most of the Pony.fm notification driver's backend.

* #25: Abstracted the logic for building lists of notification recipients.

* #25: Implemented notification API endpoints for the SPA.

* Front end setup for notifications

* #25: Implemented notification API endpoints for the SPA.
2016-05-27 20:12:40 +01:00
Josef Citrine
7786950990 Icon for admins 2016-05-25 23:57:46 +01:00
Maximilian Walter
950ef3b585 added: playlist sort by favourite_count on initial request
update: added composer lock file to gitignore
2016-05-25 22:58:41 +02:00
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
0c2b46dd20 Revert "Merge branch 'feature-remote-dev' of https://github.com/Poniverse/Pony.fm"
This reverts commit 1a77341ce2, reversing
changes made to d01b24a91f.
2016-05-16 01:00:37 +01:00
Josef Citrine
17a9f6e50c Error handling and switched to username 2016-05-15 23:22:32 +01:00
Maximilian Walter
1a77341ce2 Merge branch 'feature-remote-dev' of https://github.com/Poniverse/Pony.fm
merged: simple config changes to enable a remote development install
2016-05-16 00:12:33 +02:00
root
9364b52f95 update: added new config variables to support dev installation on remote host 2016-05-16 00:09:30 +02:00
Josef Citrine
d01b24a91f Admins can assign tracks to accounts 2016-05-15 23:03:49 +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
Kelvin
327588aa6c Make lyrics optional 2016-04-03 17:57:00 +01:00
Kelvin
22a81e42e0 Add creation of tmp folder under datastore 2016-04-03 17:55:53 +01:00
Mihail-K
e7ed44d7de Clean up loose code. 2016-03-20 16:42:58 -04:00
Mihail-K
4a5c2418eb Update references to models. 2016-03-20 16:05:57 -04:00
Mihail-K
e63c18f6be Merge branch 'master' into feature/track-removals 2016-03-20 15:10:17 -04:00
Peter Deltchev
8d29b39ea5 #2: Fixed album editing URL + ui-sref cleanup. 2016-03-19 01:29:29 -07: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
af760aa13f Made the image re-importer more robust + fixed a typo. 2016-03-16 09:32:39 -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
4f0aab6db9 Avoid destroying the test database in the middle of tests. All tests now pass! 2016-02-21 20:47:52 -08:00
Peter Deltchev
32a3b07f55 Fixed pagination. 2016-02-16 05:04:00 -08:00
Peter Deltchev
840e233acf Added cache busters for Webpack scripts. 2016-02-16 04:05:39 -08:00
Peter Deltchev
4f6f64a3c0 Integrated Webpack for the embedded player. 2016-02-16 03:35:52 -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
fee58d0055 Improved release date parsing and error display on the upload screen. 2016-02-16 01:20:23 -08:00
Peter Deltchev
5a063e32c3 Refactored tag parsing for uploaded files into its own command. 2016-02-16 01:20:23 -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
093f7ffb9d Added ALAC upload support and improved the upload page. 2016-02-15 12:16:04 -08:00
Peter Deltchev
4b3a0808a0 Updated getID3() - this fixes Atom tag parsing. 2016-02-15 11:53:42 -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
6c83936ce6 Unknown audio formats are gracefully handled now. 2016-02-15 07:18:31 -08:00
Peter Deltchev
815b505e87 Code style improvements. 2016-02-15 05:15:40 -08:00
Peter Deltchev
5edcde3a8d The rebuild:track command properly deals with unfinished uploads now.
This commit involved a huge refactoring of UploadTrackCommand.
2016-02-15 05:06:06 -08:00
Peter Deltchev
5588b836a0 Pony.fm should accept all PCM and ADPCM files now. 2016-02-15 02:21:43 -08:00
Peter Deltchev
cbce336478 Converted uses of bindonce to Angular one-time bindings. 2016-02-14 02:53:27 -08:00
Peter Deltchev
7ab0b907c5 Fixed the release date picker.
- upgraded ui-date to the newest version
- made adjustments to keep this date in UTC
- fixed the picker's broken images
2016-02-14 01:29:02 -08:00
Peter Deltchev
72cdef8dae Fixed two regressions. 2016-02-08 05:29:58 -08:00
Peter Deltchev
3f7a63dd58 Implemented a script to fix broken MLPMA cover art. 2016-02-05 14:01:45 -08:00
Peter Deltchev
09de55d14d Handle slug collisions with disabled accounts properly. 2016-01-24 22:05:08 -08:00
Peter Deltchev
4e540de38e Implemented an account merging CLI tool. 2016-01-24 21:04:57 -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
Kelvin Zhang
abedc47d7e Remove outdated code from ClearTrackCache.php 2016-01-18 07:32:20 +00:00
Peter Deltchev
e35752d11a Prepared asynchronous jobs to run in daemon mode. 2016-01-17 18:01:58 -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
004c236ed4 #1: There's room for two more tracks in the search UI. 2016-01-17 08:45:44 -08: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
56edd5ec28 #1: Search relevancy improvements and other tweaks. 2016-01-17 02:33:58 -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
6b5d3f67a3 #1: Beginning of the search front-end. 2016-01-16 01:13:53 -08:00
Peter Deltchev
dbbaa03542 #1: Implemented Elasticsearch mappings for playlists and users. 2016-01-16 01:13:53 -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
9eb0da9a13 Removed unused Artisan commands. 2016-01-15 14:40:58 -08:00
Peter Deltchev
84ab0a3b38 Improved the tag rebuild command's output. 2016-01-06 06:13:54 -08:00
Peter Deltchev
95090fb334 Include the original-size cover art when tagging tracks.
Also, use Symfony to run external commands.
2016-01-06 05:52:09 -08:00
Peter Deltchev
0a078adab3 #20: Genre tags in files are now updated when a genre is renamed. 2016-01-06 05:33:23 -08:00
Peter Deltchev
bf831d839a #20: Added the genre creation tool. 2016-01-06 04:50:44 -08:00
Peter Deltchev
96be3224e4 Deleting stuff actually can be undone. 2016-01-05 07:53:01 -08:00
Peter Deltchev
eaa1cc39a9 Make it possible to rebuild deleted tracks, too. 2016-01-04 15:24:25 -08:00
Peter Deltchev
4394d0131b Only log ffmpeg output if encoding fails. 2016-01-04 15:22:15 -08:00
Peter Deltchev
0eb96f0e83 Fixed track encodes. They work again! Also implemented a track re-encoding command. 2016-01-04 14:55:20 -08:00
Peter Deltchev
a2b450baa6 The array has strings in it, not datetime objects. 2016-01-04 09:12:21 -08:00
Peter Deltchev
df5a911168 Fixed an explosion of queued encoding jobs. 2016-01-04 08:42:30 -08:00
Peter Deltchev
cf85ee69d7 Octal values... 2016-01-03 11:10:48 -08:00
Peter Deltchev
933f3f60c5 Fixed full-size JPEG covers not being accessible by nginx. 2016-01-03 10:50:16 -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
d0c81f78dc Use the absolute path to the document root when generating asset URL's. 2015-12-31 18:52:56 -08:00
Peter Deltchev
8ac590819f Fixed incorrect class references. 2015-12-31 18:27:21 -08:00
Peter Deltchev
f61771db09 Made avatars local-environment-friendly. 2015-12-31 17:23:41 -08:00
Peter Deltchev
3b7d060b73 Removed libraries that aren't used anymore. 2015-12-31 17:18:01 -08:00
Peter Deltchev
cb27cddac7 Typehinted the database models. 2015-12-31 16:36:08 -08:00
Peter Deltchev
5ff04ff08d Moved all database models into their own namespace. 2015-12-31 16:24:33 -08:00
Peter Deltchev
79a0129e6d Reversed the order that the top X tracks show up in. 2015-12-31 04:20:04 -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
a9bc69ec02 #29: Exclude null usernames from the account merging script. 2015-12-29 09:15:32 -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
Zeusking19
286fd9354b Merge pull request #47 from Poniverse/feature/markdown
Implement markdown, remove disfunctional newlines.coffee
2015-12-27 18:29:49 +00:00
Peter Deltchev
8f7e4366f3 #40: Handle the release date tag better. 2015-12-27 09:11:07 -08:00
Zeusking19
605c8b7f99 Resolve #43 - Implement markdown, remove disfunctional newlines.coffee 2015-12-27 15:59:38 +00:00
Peter Deltchev
5989b36aa8 Resolves #40: Tags included with a file upload are now used and stored.
Also made our ffmpeg commands more robust - they now ignore cover art and strip metadata.
2015-12-27 07:31:54 -08:00
Peter Deltchev
454411b24b Added the ability to the API to include cover art with a track upload. 2015-12-27 02:36:49 -08:00
Peter Deltchev
93b76d1954 Added support for JPEG cover art. 2015-12-27 01:43:43 -08:00
Zeusking19
17810942b4 Emergency fix - Can't call format on null object 2015-12-26 22:11:17 +00:00
Zeusking19
8282e5752d Quickfix to some date issues 2015-12-26 21:01:46 +00:00
Buster Silver
a760527e49 Closes #42 -- Check for specific "null" string when doing string replacement. 2015-12-26 10:29:36 -06:00
Adam Lavin
f30f17e80a Merge pull request #41 from Poniverse/feature/fixed-dates
Get dates to display properly in Pony.fm
2015-12-26 15:31:47 +00:00
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