Commit graph

1105 commits

Author SHA1 Message Date
Josef Citrine
568969f7e5 Popular tracks are now sorted by 'weight' 2016-10-06 22:11:19 +01:00
Josef Citrine
e5c9ff3e71 Added dialog for track load errors 2016-10-01 18:20:49 +01:00
Josef Citrine
141282e8c7 God damn it Lavo 2016-10-01 17:59:30 +01:00
Adam Lavin
95a209aeab Merge branch 'feature/alexa' 2016-09-30 22:22:56 +01:00
Adam Lavin
14211f4ea4 Initial Alexa integration 2016-09-30 22:21:17 +01:00
Adam Lavin
d0a6022ed8 Added basic hardcoded alexa endpoints 2016-09-30 02:36:44 +01:00
Josef Citrine
94643e3674 Small tweak to the player service 2016-09-30 01:48:32 +01:00
Josef Citrine
7a0cf5a921 Fixed notification thing about followers being related to themselves 2016-09-30 01:10:45 +01:00
Laravel Shift
c420d3955b Laravel 5.3 Update (#107)
* Shift core files

* Shift app folder structure

Laravel 5.3 no longer includes the `Events`, `Jobs`, `Listeners`, and
`Policies` folders by default. Instead, they are created when you make
them using `artisan`.

* Shift Middleware

* Shift Providers

* Shift configuration

* Shift Routes

Laravel 5.3 now stores Routes in a top-level `routes` folder and
separates them into API, console, and web files.

* Shift deprecations

The `Str::randomBytes` and `Str::equals` methods were deprecated in
Laravel 5.2 and removed in Laravel 5.3 in favor of the native
`random_bytes` and `hash_equals` PHP functions.

In addition, the Collection method `lists()` was replaced with
`pluck()`.

* Shift Laravel dependencies

* Shift cleanup

* Updated composer.json

* Updated providers to 5.3 style

* Removed events folder and extend correct exceptions handler

* Updated configuration

* Shift back our method names from ending in "pluck" to "list"

* Temporarily add back in old mcrypt encrypter
2016-09-30 00:56:25 +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
9b31b48f37 Check if genre exists before creating a new one 2016-09-25 15:07:20 +01:00
Josef Citrine
66ffd7714d Ensure column does not exist before creation 2016-09-22 23:28:24 +01:00
Joe Citrine
abdfe2f698 Merge pull request #105 from Poniverse/feature/replace_master_track_file
Feature/replace master track file
2016-09-22 22:45:40 +01:00
Josef Citrine
d6a80cd684 Updated contact email 2016-09-21 01:32:47 +01:00
Peter Deltchev
78c2f4f6d1 Show archived tracks by default in the track browser.
Reverts part of 995cc40a5f.
2016-09-11 16:52:57 -07:00
Josef Citrine
995cc40a5f Hidden archived artists' tracks from recent tracks 2016-09-09 21:37:07 +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
cf7bd8b9e6 Fixed override detection 2016-08-29 23:32:58 +01:00
Josef Citrine
2c87852c66 Cleaned up the code. Whoops :P 2016-08-29 23:12:01 +01:00
Josef Citrine
aa1f4181ce Added inline track editor to admin classifier 2016-08-29 23:02:14 +01:00
Josef Citrine
726097bc7b Only show unclassified tracks if they are part of MLPMA 2016-08-29 01:03:26 +01:00
Josef Citrine
727a83d95b Merge branch 'feature/mlpma-classifier' 2016-08-29 00:12:12 +01:00
Josef Citrine
ff7b6fca3f Fixed paged tracks directive 2016-08-29 00:09:01 +01:00
Kelvin Zhang
deaf14f53c Postgres migration improvement; prevent MysqlToPostgres from being run 2016-08-28 20:24:28 +01:00
Josef Citrine
bce22d6877 Attempting (and failing) to fix pagination 2016-08-28 04:14:48 +01:00
Josef Citrine
bdbaca7a19 Attempted fix for paged track lists not having functional page lists 2016-08-28 03:21:01 +01:00
Josef Citrine
9de1d53cd7 Track classification queue and directified track list 2016-08-28 02:59:10 +01:00
Josef Citrine
d0b356be2c Notification API correctly handles invalid resources 2016-08-28 01:01:37 +01:00
Josef Citrine
5311577aa2 Fixed null detection 2016-08-28 00:40:25 +01:00
Josef Citrine
555aa35c34 Fixed notification thumbnail url being null 2016-08-28 00:39:24 +01:00
Peter Deltchev
bd6657f002 Fixed Supervisor not being started at boot. 2016-08-15 09:49:53 -07:00
Peter Deltchev
efea3cda2f Fixes #102: Tagging tracks with multiple show songs works again.
This was broken during the MySQL -> PostgreSQL migration.
2016-08-07 16:31:09 -07:00
Peter Deltchev
d19e986a3e Fixed favouriting notification texts. 2016-08-07 08:42:36 -07:00
Josef Citrine
11e5bb0384 Fixed album favouriting 2016-07-19 16:23:06 +01:00
Josef Citrine
63562f9338 Corrected error code 2016-07-18 02:20:10 +01:00
Josef Citrine
6c2039159f New maintenance page 2016-07-18 01:46:17 +01:00
Josef Citrine
52cdf621b3 Merge pull request #96 from Poniverse/postgres
The switch to PostgreSQL
2016-07-18 00:59:40 +01:00
Josef Citrine
e4fe1dc0e8 #86: Migration improvements 2016-07-17 23:31:14 +01:00
Josef Citrine
c3ad562a8e Added pgloader to vagrant install 2016-07-17 21:34:40 +01:00
Josef Citrine
7f2be0d6b6 #86: Url encode db password 2016-07-16 14:24:26 +01:00
Josef Citrine
06afc0c9d7 #86: Automatic MySQL to PostgreSQL import 2016-07-14 23:26:11 +01:00
Josef Citrine
5f60afbe8f Merge pull request #94 from Poniverse/feature/lossy_download_tweaks
Add tweaks to lossy downloads, closes #7
2016-07-11 22:12:23 +01:00
Josef Citrine
4c6aeb1a6e #86: Updated stats API to work with Postgres 2016-07-11 21:12:02 +01:00
Josef Citrine
a57c1640e8 #86: Fixed editing albums with more than 1 track 2016-07-11 21:07:45 +01:00
Josef Citrine
b467d329a3 Fix for notification images being too large 2016-07-11 18:18:03 +01:00
Peter Deltchev
8c58d2f3cb #25: Hide notifications for deleted content. 2016-07-11 18:18:03 +01:00
Peter Deltchev
6c4f7b962b Run asynchronous workers in the dev environment.
This better matches how Pony.fm is deployed in production and avoids issues
with the database being reconnected in the middle of a database transaction.
2016-07-11 18:18:02 +01:00
Josef Citrine
6b26256233 Ignore MP3 requests 2016-07-11 18:18:01 +01:00