Commit graph

105 commits

Author SHA1 Message Date
Laravel Shift
3c43124446 Streamline calls to orderBy 2021-02-14 19:45:58 +00:00
Laravel Shift
2a62eaa50a Global Facades 2021-02-14 19:45:51 +00:00
Laravel Shift
f87b29d064 Shift to new helper methods
Laravel 5 added several new helper functions, including:

- `view()`
- `response()`
- `redirect()`
- `config()`
- `abort()`

Review the [helpers][1] documentation for more details.

[1]: https://laravel.com/docs/5.0/helpers
2021-02-14 19:38:28 +00:00
Laravel Shift
263ea48c5b Adopt Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
2021-02-14 02:39:15 +00:00
Adam Lavin
a1522f3cd7
Change namespace to App 2021-02-14 02:34:58 +00:00
Feld0
a0c68a9a6f Updating my copyright credits 2018-04-20 21:25:36 -07:00
Isaac
821b5c5bdd Moved rebuilding code into Image and added error handling. 2017-11-28 13:47:37 -08:00
Isaac
e5c5dec14a Some small changes 2017-11-28 11:21:24 -08:00
Isaac
cd348dff7d Added copyright to RebuildImages.php 2017-11-28 11:01:17 -08:00
Isaac
e6103bbd54 Fixed an issue with Image::clearExisting
Now no longer deletes original image regardless of paramter
2017-11-24 22:18:31 -08:00
Isaac
e502785c2d Renamed to RebuildImages and added to Kernel 2017-11-24 21:23:44 -08:00
Isaac
917aea2f2d Implemented Commands/resizeImages 2017-11-24 21:20:44 -08:00
Isaac
7ae95fa46f Added ResizeImages command 2017-11-24 19:08:41 -08:00
Josef Citrine
29cd3de86e Fixed encoding errors on import 2017-10-11 21:57:03 +01:00
Josef Citrine
c6dc6aae32 EQBeats import script and db migration 2017-09-23 09:20:07 +01:00
Josef Citrine
1f74636a39 Importer can restore deleted genres if needed 2017-05-15 21:01:59 +01:00
Josef Citrine
2ca0ec1f77 Downgraded some errors to warnings 2017-05-15 20:17:42 +01:00
Josef Citrine
61e907ca37 Fixed some null errors 2017-05-15 20:13:00 +01:00
Josef Citrine
23acd16b64 Typo 2017-05-15 19:47:19 +01:00
Josef Citrine
15bbad77dc Added null checks 2017-05-15 19:46:18 +01:00
Josef Citrine
cbcd5b1c91 Fixed title parsing and removed old id3 code 2017-05-15 19:37:36 +01:00
Josef Citrine
9616538d9c Switched to a file whitelist 2017-05-15 18:17:09 +01:00
Josef Citrine
c510dd7dfc Added ID3v2 support and some stuff from the MLPMA script 2017-05-15 17:59:51 +01:00
Josef Citrine
373703990c Added ponify directory in config 2017-05-15 12:18:04 +01:00
Josef Citrine
ede7780874 #100: Don't know why this was missing 2017-03-27 19:44:20 +01:00
Josef Citrine
1e153a614c #100: Progress commit 2 2017-02-28 22:49:46 +00:00
Josef Citrine
8841bd2dc7 #100: Progress commit 2017-02-21 17:16:29 +00:00
Josef Citrine
3526403661 #100: Duplication detection 2017-02-02 01:35:53 +00:00
Josef Citrine
d7a59b4131 #100: Start of Ponify import 2017-02-02 00:08:29 +00:00
Peter Deltchev
7ebab328d4 #25: Enabled email notifications for all users.
This also includes some fixes to the account merging script.
2016-12-30 12:19:10 -08:00
Peter Deltchev
1e670b673f #25: Implemented a command to ensure all users have valid refresh tokens and email addresses. 2016-12-30 08:13:10 -08:00
Josef Citrine
19d6dd7890 #108: Switching to Laravel's new encryption 2016-12-10 19:58:48 +00:00
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