Commit graph

580 commits

Author SHA1 Message Date
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
Peter Deltchev
6aee13a500 Minor fixes 2017-10-28 16:50:15 -07:00
Peter Deltchev
dba9ae1b15 #58: Implemented a more stable and useful track details endpoint. 2017-10-28 16:44:08 -07:00
Josef Citrine
29cd3de86e Fixed encoding errors on import 2017-10-11 21:57:03 +01:00
Josef Citrine
1f46b3a85d Check if user exists before checking redirect 2017-09-28 23:18:38 +01:00
Josef Citrine
131211aec4 Added EQB command to list 2017-09-23 09:20:07 +01:00
Josef Citrine
c6dc6aae32 EQBeats import script and db migration 2017-09-23 09:20:07 +01: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
Josef Citrine
fc305034f5 Fixed query getting wrong user 2017-09-20 22:32:15 +01:00