Commit graph

73 commits

Author SHA1 Message Date
Josef Citrine
926e410721 Hearth's Warming Contest stuff 2016-11-21 00:42:43 +00: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
Kelvin Zhang
775de16bfe [#9] Add functionality to add/change versions of tracks 2016-08-30 21:17:34 -07:00
Peter Deltchev
185ead4ed0 Improved a bunch of use statements. 2016-06-12 04:49:24 -07: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
6c83936ce6 Unknown audio formats are gracefully handled now. 2016-02-15 07:18:31 -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
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
Kelvin Zhang
abedc47d7e Remove outdated code from ClearTrackCache.php 2016-01-18 07:32:20 +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
dbbaa03542 #1: Implemented Elasticsearch mappings for playlists and users. 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
eaa1cc39a9 Make it possible to rebuild deleted tracks, too. 2016-01-04 15:24:25 -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
5ff04ff08d Moved all database models into their own namespace. 2015-12-31 16:24:33 -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
Peter Deltchev
93b76d1954 Added support for JPEG cover art. 2015-12-27 01:43:43 -08:00
Buster Silver
a760527e49 Closes #42 -- Check for specific "null" string when doing string replacement. 2015-12-26 10:29:36 -06:00
Peter Deltchev
851dfff921 #39: Implemented asynchronous encoding in uploads. 2015-12-18 05:11:29 -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
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
Kelvin Zhang
80ad614b5f Merge branch 'master' into feature/cache_tracks 2015-11-08 17:40:24 +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
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
5a81908ed4 Add file size rebuilding command 2015-10-29 16:00:16 +00:00
Kelvin Zhang
43c45adece Fix options and imports for commands 2015-10-27 17:29:51 +00:00
Kelvin Zhang
fdb95560e7 Add --force option to RebuildTrackCache 2015-10-26 19:50:58 +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
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
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
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
205e034174 T357, T350: Restore updates from rPFf088badebbbb. 2015-09-12 20:45:56 -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