update: laravel 7 support

This commit is contained in:
HDVinnie
2020-07-19 17:33:50 -04:00
parent 1727d15d6f
commit 41b617bb2e
402 changed files with 8074 additions and 11248 deletions

0
.phpstorm.meta.php Executable file → Normal file
View File

0
app/Console/Kernel.php Executable file → Normal file
View File

0
app/Exceptions/Handler.php Executable file → Normal file
View File

0
app/Helpers/Bencode.php Executable file → Normal file
View File

0
app/Helpers/MediaInfo.php Executable file → Normal file
View File

0
app/Helpers/TorrentTools.php Executable file → Normal file
View File

0
app/Http/Controllers/AchievementsController.php Executable file → Normal file
View File

0
app/Http/Controllers/ArticleController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/ForgotPasswordController.php Executable file → Normal file
View File

0
app/Http/Controllers/Auth/ResetPasswordController.php Executable file → Normal file
View File

0
app/Http/Controllers/CategoryController.php Executable file → Normal file
View File

0
app/Http/Controllers/Controller.php Executable file → Normal file
View File

0
app/Http/Controllers/HomeController.php Executable file → Normal file
View File

0
app/Http/Controllers/PageController.php Executable file → Normal file
View File

0
app/Http/Kernel.php Executable file → Normal file
View File

0
app/Http/Middleware/CheckForAdmin.php Executable file → Normal file
View File

0
app/Http/Middleware/EncryptCookies.php Executable file → Normal file
View File

0
app/Http/Middleware/RedirectIfAuthenticated.php Executable file → Normal file
View File

0
app/Http/Middleware/TrimStrings.php Executable file → Normal file
View File

0
app/Mail/Contact.php Executable file → Normal file
View File

0
app/Mail/InviteUser.php Executable file → Normal file
View File

0
app/Models/Category.php Executable file → Normal file
View File

0
app/Models/Forum.php Executable file → Normal file
View File

0
app/Models/Group.php Executable file → Normal file
View File

0
app/Models/History.php Executable file → Normal file
View File

0
app/Models/Invite.php Executable file → Normal file
View File

0
app/Models/Page.php Executable file → Normal file
View File

0
app/Models/Peer.php Executable file → Normal file
View File

0
app/Models/Permission.php Executable file → Normal file
View File

0
app/Models/Tag.php Executable file → Normal file
View File

0
app/Models/Topic.php Executable file → Normal file
View File

0
app/Models/TorrentFile.php Executable file → Normal file
View File

0
app/Providers/AppServiceProvider.php Executable file → Normal file
View File

0
app/Providers/AuthServiceProvider.php Executable file → Normal file
View File

0
app/Providers/BroadcastServiceProvider.php Executable file → Normal file
View File

0
app/Providers/EventServiceProvider.php Executable file → Normal file
View File

0
app/Providers/RouteServiceProvider.php Executable file → Normal file
View File

0
app/Services/Clients/AnnClient.php Executable file → Normal file
View File

0
app/Services/Clients/Client.php Executable file → Normal file
View File

0
app/Services/Clients/MangaCoverClient.php Executable file → Normal file
View File

0
app/Services/Clients/MangaUpdatesClient.php Executable file → Normal file
View File

0
app/Services/Clients/OmdbClient.php Executable file → Normal file
View File

0
app/Services/Clients/TmdbClient.php Executable file → Normal file
View File

0
app/Services/Contracts/MangaInterface.php Executable file → Normal file
View File

0
app/Services/Contracts/MovieTvInterface.php Executable file → Normal file
View File

0
app/Services/Data/Episode.php Executable file → Normal file
View File

0
app/Services/Data/Genre.php Executable file → Normal file
View File

0
app/Services/Data/Movie.php Executable file → Normal file
View File

0
app/Services/Data/Person.php Executable file → Normal file
View File

0
app/Services/Data/Tv.php Executable file → Normal file
View File

0
app/Services/MovieScrapper.php Executable file → Normal file
View File

0
artisan Executable file → Normal file
View File

0
bootstrap/app.php Executable file → Normal file
View File

0
bootstrap/autoload.php Executable file → Normal file
View File

0
bootstrap/cache/.gitignore vendored Executable file → Normal file
View File

1099
composer.lock generated

File diff suppressed because it is too large Load Diff

2
config/app.php Executable file → Normal file
View File

@@ -232,7 +232,7 @@ return [
'Password' => Illuminate\Support\Facades\Password::class,
'Queue' => Illuminate\Support\Facades\Queue::class,
'Redirect' => Illuminate\Support\Facades\Redirect::class,
'Redis' => Illuminate\Support\Facades\Redis::class,
'RedisManager' => Illuminate\Support\Facades\Redis::class,
'Request' => Illuminate\Support\Facades\Request::class,
'Response' => Illuminate\Support\Facades\Response::class,
'Route' => Illuminate\Support\Facades\Route::class,

28
config/auth.php Executable file → Normal file
View File

@@ -114,4 +114,32 @@ return [
'password_timeout' => 10800,
/*
|--------------------------------------------------------------------------
| Verification Authentication Enabled
|--------------------------------------------------------------------------
*/
'TwoStepEnabled' => true,
/*
|--------------------------------------------------------------------------
| Verification Email Settings
|--------------------------------------------------------------------------
*/
'verificationEmailFrom' => env('MAIL_FROM_ADDRESS', env('MAIL_FROM_NAME')),
'verificationEmailFromName' => ' 2-Step Verification',
/*
|--------------------------------------------------------------------------
| Verification Timings Settings
|--------------------------------------------------------------------------
*/
'TwoStepExceededCount' => 3,
'TwoStepExceededCountdownMinutes' => 60 * 24,
'TwoStepVerifiedLifetimeMinutes' => 6 * 60,
'TwoStepTimeResetBufferSeconds' => 6 * 60,
];

0
config/broadcasting.php Executable file → Normal file
View File

0
config/cache.php Executable file → Normal file
View File

9
config/database.php Executable file → Normal file
View File

@@ -11,6 +11,8 @@
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
*/
use Illuminate\Support\Str;
return [
/*
@@ -134,7 +136,12 @@ return [
'redis' => [
'client' => env('REDIS_CLIENT', 'predis'),
'client' => env('REDIS_CLIENT', 'phpredis'),
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
],
'default' => [
'url' => env('REDIS_URL'),

15
config/filesystems.php Executable file → Normal file
View File

@@ -65,6 +65,21 @@ return [
'endpoint' => env('AWS_ENDPOINT'),
],
'backups' => [
'driver' => 'local',
'root' => storage_path('backups'),
],
'torrents' => [
'driver' => 'local',
'root' => public_path('files/torrents'),
],
'subtitles' => [
'driver' => 'local',
'root' => public_path('files/subtitles'),
],
],
/*

0
config/mail.php Executable file → Normal file
View File

0
config/other.php Executable file → Normal file
View File

0
config/queue.php Executable file → Normal file
View File

View File

@@ -121,7 +121,7 @@ return [
*/
'hsts' => [
'enable' => true,
'enable' => false,
'max-age' => 31536000,
@@ -330,7 +330,7 @@ return [
*/
'csp' => [
'enable' => true,
'enable' => false,
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
'report-only' => false,

0
config/services.php Executable file → Normal file
View File

2
config/session.php Executable file → Normal file
View File

@@ -46,7 +46,7 @@ return [
|
*/
'encrypt' => false,
'encrypt' => true,
/*
|--------------------------------------------------------------------------

0
config/view.php Executable file → Normal file
View File

0
database/seeds/DatabaseSeeder.php Executable file → Normal file
View File

10795
package-lock.json generated

File diff suppressed because it is too large Load Diff

0
phpunit.xml Executable file → Normal file
View File

0
public/.htaccess Executable file → Normal file
View File

0
public/favicon.ico Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

0
public/img/f_icon_read.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
public/img/flags/ar.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
public/img/flags/bg.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 563 B

After

Width:  |  Height:  |  Size: 563 B

0
public/img/flags/bn.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
public/img/flags/cs.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
public/img/flags/da.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 764 B

After

Width:  |  Height:  |  Size: 764 B

0
public/img/flags/de.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 546 B

After

Width:  |  Height:  |  Size: 546 B

0
public/img/flags/el.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 992 B

After

Width:  |  Height:  |  Size: 992 B

0
public/img/flags/en.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
public/img/flags/et.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 560 B

After

Width:  |  Height:  |  Size: 560 B

0
public/img/flags/fi.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 786 B

After

Width:  |  Height:  |  Size: 786 B

0
public/img/flags/fr.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 507 B

After

Width:  |  Height:  |  Size: 507 B

0
public/img/flags/hu.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 563 B

After

Width:  |  Height:  |  Size: 563 B

0
public/img/flags/id.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 494 B

After

Width:  |  Height:  |  Size: 494 B

0
public/img/flags/it.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 507 B

After

Width:  |  Height:  |  Size: 507 B

0
public/img/flags/ja.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
public/img/flags/lt.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 563 B

After

Width:  |  Height:  |  Size: 563 B

0
public/img/flags/nl.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 563 B

After

Width:  |  Height:  |  Size: 563 B

0
public/img/flags/pl.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 494 B

After

Width:  |  Height:  |  Size: 494 B

0
public/img/flags/pt.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
public/img/flags/ro.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 510 B

After

Width:  |  Height:  |  Size: 510 B

0
public/img/flags/ru.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 563 B

After

Width:  |  Height:  |  Size: 563 B

0
public/img/flags/th.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 525 B

After

Width:  |  Height:  |  Size: 525 B

0
public/img/flags/tr.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 956 B

After

Width:  |  Height:  |  Size: 956 B

0
public/img/flags/zh-CN.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 823 B

After

Width:  |  Height:  |  Size: 823 B

0
public/img/flags/zh-TW.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Some files were not shown because too many files have changed in this diff Show More