Commit graph

589 commits

Author SHA1 Message Date
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
Adam Lavin
15e01fcc8d
Updates after 8.0 shift 2021-02-14 19:34:53 +00:00
Laravel Shift
4a37c63876 Shift cleanup 2021-02-14 19:11:44 +00:00
Laravel Shift
635b39d109 Shift to class based factories 2021-02-14 19:11:17 +00:00
Laravel Shift
f2dc11ea5c Shift service providers 2021-02-14 19:11:15 +00:00
Laravel Shift
d947e5e069 Shift HTTP kernel and middleware 2021-02-14 19:11:14 +00:00
Laravel Shift
3cac627f82 Shift cleanup 2021-02-14 18:57:52 +00:00
Laravel Shift
f639c5653e Shift to Throwable 2021-02-14 18:57:24 +00:00
Laravel Shift
a6f58f867f Shift core files 2021-02-14 18:57:23 +00:00
Adam Lavin
301e6478cb
Updates after 6.0 shift 2021-02-14 18:53:00 +00:00
Laravel Shift
0c6c81bdc6 Shift cleanup 2021-02-14 18:21:58 +00:00
Laravel Shift
0c9447a817 Shift Input to Request facade
Laravel 5.2 no longer registers the `Input` facade by default. While
still available in Laravel 5, the `Input` facade is removed in
Laravel 6.
2021-02-14 18:21:31 +00:00
Laravel Shift
cd5e3e9030 Leverage HOME constant 2021-02-14 18:21:25 +00:00
Laravel Shift
ebac1ac435 Shift core files 2021-02-14 18:21:24 +00:00
Laravel Shift
00e7dcfa3d Shift cleanup 2021-02-14 18:01:59 +00:00
Laravel Shift
392f9ffd69 Shift Cache methods to use seconds
To conform with PSR-16 Laravel 5.8 changed the cache expiration time from minutes to seconds. If you were passing an integer, Shift converted this to its integer equivalent in seconds. If you were passing a "minutes" variable, Shift converted this to the relative date time equivalent for readability.
2021-02-14 18:01:31 +00:00
Laravel Shift
dfd55352e4 Shift SoftDeletes date cast 2021-02-14 18:01:29 +00:00
Laravel Shift
bf34794087 Shift deprecated helpers
Laravel recommends using the `Str` and `Arr` class methods directly instead of the respective helper functions. These helper functions are [deprecated in Laravel 5.8][1] and will be removed in a future version.

[1]: https://github.com/laravel/framework/pull/26898
2021-02-14 18:01:29 +00:00
Laravel Shift
62e45170c1 Shift middleware 2021-02-14 04:23:11 +00:00
Adam Lavin
76a01273f6
Updates following 5.6 shift 2021-02-14 04:17:45 +00:00
Laravel Shift
3573bed220 Shift bindings
PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.
2021-02-14 02:39:58 +00:00
Laravel Shift
6720c09a1c Shift middleware 2021-02-14 02:39:20 +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
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
Logic
0187f1268e Update copyright (#134) 2018-04-26 19:39:37 +01:00
Feld0
a0c68a9a6f Updating my copyright credits 2018-04-20 21:25:36 -07:00
Peter Deltchev
bd4b78c690
Merge pull request #124 from Lavoaster/laravel-upgrades
Upgrade to Laravel 5.5
2017-12-02 22:21:31 -08:00
Isaac
a74b5d6975 Merge branch 'master' of https://github.com/Poniverse/Pony.fm 2017-12-02 21:46:22 -08:00
Adam Lavin
081202e7e2
Merge branch 'master' into laravel-upgrades 2017-12-03 04:41:18 +00:00
Isaac
72117b000c Added a checks to buildCovers and processFile 2017-12-02 20:39:31 -08:00
Peter Deltchev
ae7ecea905
Merge pull request #123 from ILikePizza555/master
Changed Imagemagik parameters to stop cropping.
2017-12-02 19:58:28 -08:00
Isaac
d96fde1f55 Minor changes 2017-12-02 19:06:25 -08:00
Adam Lavin
950beec948 Fix API track validation 2017-11-29 04:27:42 +00: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
Adam Lavin
d2390868dd Fix scoped queries 2017-11-28 16:44:28 +00:00
Adam Lavin
9f1f78339f Sync models, and fix issue with ide-helper. 2017-11-28 16:24:32 +00:00
Adam Lavin
30f3ba952a Laravel 5.5 2017-11-28 07:00:11 +00:00
Adam Lavin
0cc03b509b Laravel 5.4 2017-11-28 05:45:47 +00: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
d8b9795ddc Created Image::clearExisting and refactored upload 2017-11-24 21:02:35 -08:00
Isaac
2f498f44d3 Removed getOriginalFiles and refactored image processing 2017-11-24 20:45:41 -08:00
Isaac
249b98311e Added getOriginalFiles() to Image 2017-11-24 20:17:44 -08:00
Isaac
7ae95fa46f Added ResizeImages command 2017-11-24 19:08:41 -08:00
Isaac
ccb7361547 Thumbs now crop while cover have variable height 2017-11-24 19:00:37 -08:00
Isaac
2733071468 Changed Imagemagik parameters to stop cropping. 2017-11-23 13:13:19 -08:00