Commit graph

47 commits

Author SHA1 Message Date
Alex I. Ramirez
f64400c46d
Update dev environment & add media player notifications (#139)
This changeset's key new feature is allowing web browsers to display media player notifications for Pony.fm by implementing the media session API. These notifications display Play/Pause, Previous, and Next controls that control Pony.fm's playback. This also makes Pony.fm controllable by automotive audio systems and other Bluetooth devices that expose their own (often physical) playback controls.

Other improvements in this changeset include:

- Update the automated dev environment setup to work in 2021

- Remove extraneous frontend logging

- Fix to consistently include album data with a track's data
2021-01-01 22:29:36 -08:00
Feld0
a0c68a9a6f Updating my copyright credits 2018-04-20 21:25:36 -07:00
Adam Lavin
9f1f78339f Sync models, and fix issue with ide-helper. 2017-11-28 16:24:32 +00:00
Peter Deltchev
dba9ae1b15 #58: Implemented a more stable and useful track details endpoint. 2017-10-28 16:44:08 -07:00
Peter Deltchev
df917890e3 Added genres to track pages 2017-09-22 05:10:26 -07:00
Peter Deltchev
8eaa22733b Documented the Track model's functions 2017-09-22 04:42:59 -07:00
Peter Deltchev
ab9dd7a1eb #25: Rewrote authentication to use the Poniverse API PHP library. 2016-12-29 08:07:29 -08:00
Josef Citrine
78501007ce Uploader for track versions, admin only for now 2016-11-28 00:19:16 +00:00
Josef Citrine
0e6afe372b Another attempted bug fix 2016-11-21 01:33:30 +00:00
Josef Citrine
f85b1ecdeb Attempt to fix playlist adding bug 2016-11-21 01:08:45 +00:00
Josef Citrine
926e410721 Hearth's Warming Contest stuff 2016-11-21 00:42:43 +00:00
Josef Citrine
3fa85e9fe7 Popular function respects track limit 2016-10-06 22:46:31 +01:00
Josef Citrine
568969f7e5 Popular tracks are now sorted by 'weight' 2016-10-06 22:11:19 +01:00
Josef Citrine
141282e8c7 God damn it Lavo 2016-10-01 17:59:30 +01:00
Adam Lavin
14211f4ea4 Initial Alexa integration 2016-09-30 22:21:17 +01:00
Laravel Shift
00f24a5c12 Laravel 5.2 Update (#106)
* Adopt PSR-2 coding style

The Laravel framework adopts the PSR-2 coding style in version 5.1.
Laravel apps *should* adopt this coding style as well. Read the
[PSR-2 coding style guide][1] for more details and check out [PHPCS][2]
to use as a code formatting tool.

[1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[2]: https://github.com/squizlabs/PHP_CodeSniffer

* Adopt PHP short array syntax

Laravel 5 adopted the short array syntax which became available in
PHP 5.4.

* Remove SelfHandling from Jobs

Jobs are self handling by default in Laravel 5.2.

* Add new exceptions to `$dontReport` property

* Shift core files

* Shift Middleware

Laravel 5.2 adjusts the `Guard` object used within middleware. In
addition, new `can` and `throttles` middleware were added.

* Shift Input to Request facade

Laravel 5.2 no longer registers the `Input` facade by default. Laravel
now prefers using the `Request` facade or the `$request` object within
*Controllers* instead. Review the [HTTP Requests][1] documentation for
more details.

[1]: https://laravel.com/docs/5.2/requests

* Shift configuration

Laravel 5.2 introduces the `env` app configuration option and removes
the `pretend` mail configuration option. In addition, a few of the
default `providers` and `aliases` bindings were removed.

* Shift Laravel dependencies

* Shift cleanup

* Updated composer.lock

* Updated Middleware to 5.2

* Config update for Laravel 5.2

* [Laravel 5.2] Updated validation strings

* Updated auth config

* Updated to use middleware groups

* Added laravel 5.2 sessions migration
2016-09-29 23:26:31 +01:00
Josef Citrine
d18d6bf23a Changing getMasterTrackFile back to protected 2016-08-30 21:17:34 -07:00
Josef Citrine
e6ee85d6d9 Album API now works with versioning system 2016-08-30 21:17:34 -07:00
Kelvin Zhang
775de16bfe [#9] Add functionality to add/change versions of tracks 2016-08-30 21:17:34 -07:00
Josef Citrine
52cdf621b3 Merge pull request #96 from Poniverse/postgres
The switch to PostgreSQL
2016-07-18 00:59:40 +01:00
Peter Deltchev
8c58d2f3cb #25: Hide notifications for deleted content. 2016-07-11 18:18:03 +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
6e8a9b34c6 #86: Modified a bunch of queries to work in PostgreSQL. 2016-06-26 19:20:10 -07:00
Peter Deltchev
9a9ac7e5a1 Lots of minor code cleanup. 2016-06-05 23:15:56 -07: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
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
17a9f6e50c Error handling and switched to username 2016-05-15 23:22:32 +01:00
Josef Citrine
481a0a6b9f Admins can view all tracks 2016-05-11 17:41:49 +01:00
Peter Deltchev
9e753ec26e #2: Implemented track moderation. 2016-02-26 19:23:14 -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
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
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
56edd5ec28 #1: Search relevancy improvements and other tweaks. 2016-01-17 02:33:58 -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
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
0eb96f0e83 Fixed track encodes. They work again! Also implemented a track re-encoding command. 2016-01-04 14:55:20 -08:00
Peter Deltchev
df5a911168 Fixed an explosion of queued encoding jobs. 2016-01-04 08:42:30 -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
Renamed from app/Track.php (Browse further)