mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Fix editing of MGR posters
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ test.php
|
||||
*.orig
|
||||
|
||||
/.idea/
|
||||
/app/libraries/*
|
||||
/app/Libraries/*
|
||||
/app/resources/tmp/*
|
||||
/nntmux/config/settings.php
|
||||
/nntmux/config/ircscraper_settings.php
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
2017-17-16 DariusIII
|
||||
2017-07-17 DariusIII
|
||||
* Chg: Change folder names in app to upper case first letter
|
||||
* Chg: Replace app with App in classes used
|
||||
* Chg: Update composer.lock
|
||||
2017-07-14 DariusIII
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console;
|
||||
|
||||
use Illuminate\Console\Scheduling\Schedule;
|
||||
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
||||
|
||||
class Kernel extends ConsoleKernel
|
||||
{
|
||||
/**
|
||||
* The Artisan commands provided by your application.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $commands = [
|
||||
//
|
||||
];
|
||||
|
||||
/**
|
||||
* Define the application's command schedule.
|
||||
*
|
||||
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
||||
* @return void
|
||||
*/
|
||||
protected function schedule(Schedule $schedule)
|
||||
{
|
||||
// $schedule->command('inspire')
|
||||
// ->hourly();
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the Closure based commands for the application.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function commands()
|
||||
{
|
||||
require base_path('routes/console.php');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use Illuminate\Auth\AuthenticationException;
|
||||
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
|
||||
|
||||
class Handler extends ExceptionHandler
|
||||
{
|
||||
/**
|
||||
* A list of the exception types that should not be reported.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $dontReport = [
|
||||
\Illuminate\Auth\AuthenticationException::class,
|
||||
\Illuminate\Auth\Access\AuthorizationException::class,
|
||||
\Symfony\Component\HttpKernel\Exception\HttpException::class,
|
||||
\Illuminate\Database\Eloquent\ModelNotFoundException::class,
|
||||
\Illuminate\Session\TokenMismatchException::class,
|
||||
\Illuminate\Validation\ValidationException::class,
|
||||
];
|
||||
|
||||
/**
|
||||
* Report or log an exception.
|
||||
*
|
||||
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
|
||||
*
|
||||
* @param \Exception $exception
|
||||
* @return void
|
||||
*/
|
||||
public function report(Exception $exception)
|
||||
{
|
||||
parent::report($exception);
|
||||
}
|
||||
|
||||
/**
|
||||
* Render an exception into an HTTP response.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Exception $exception
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function render($request, Exception $exception)
|
||||
{
|
||||
return parent::render($request, $exception);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert an authentication exception into an unauthenticated response.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Illuminate\Auth\AuthenticationException $exception
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
protected function unauthenticated($request, AuthenticationException $exception)
|
||||
{
|
||||
if ($request->expectsJson()) {
|
||||
return response()->json(['error' => 'Unauthenticated.'], 401);
|
||||
}
|
||||
|
||||
return redirect()->guest(route('login'));
|
||||
}
|
||||
}
|
||||
@@ -19,7 +19,7 @@
|
||||
namespace App\extensions\command;
|
||||
|
||||
use App\extensions\console\Command;
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
|
||||
|
||||
/**
|
||||
@@ -16,13 +16,15 @@
|
||||
*
|
||||
* @link <http://www.gnu.org/licenses/>.
|
||||
* @author niel
|
||||
* @copyright 2014 nZEDb
|
||||
* @edited by DariusIII
|
||||
* @copyright 2014 nZEDb, 2017 NNTmux
|
||||
*/
|
||||
namespace App\extensions\console;
|
||||
|
||||
use Symfony\Component\Console\Output\ConsoleOutput;
|
||||
use Illuminate\Console\Command as LaravelCommand;
|
||||
|
||||
class Command extends \Illuminate\Console\Command
|
||||
class Command extends LaravelCommand
|
||||
{
|
||||
/**
|
||||
* Command constructor.
|
||||
@@ -36,7 +38,11 @@ class Command extends \Illuminate\Console\Command
|
||||
$this->output = new ConsoleOutput();
|
||||
}
|
||||
|
||||
public function info($text, $verbosity = null)
|
||||
/**
|
||||
* @param string $text
|
||||
* @param null $verbosity
|
||||
*/
|
||||
public function info($text, $verbosity = null): void
|
||||
{
|
||||
if ($this->output->isQuiet()) {
|
||||
return;
|
||||
@@ -44,6 +50,9 @@ class Command extends \Illuminate\Console\Command
|
||||
$this->output->writeln('<info>' . $text . '</info>', $verbosity);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $text
|
||||
*/
|
||||
public function primary($text)
|
||||
{
|
||||
if ($this->output->isQuiet()) {
|
||||
@@ -52,7 +61,11 @@ class Command extends \Illuminate\Console\Command
|
||||
$this->output->writeln('<comment>' . $text . '</comment>');
|
||||
}
|
||||
|
||||
public function error($text, $verbosity = null)
|
||||
/**
|
||||
* @param string $text
|
||||
* @param null $verbosity
|
||||
*/
|
||||
public function error($text, $verbosity = null): void
|
||||
{
|
||||
if ($this->output->isQuiet()) {
|
||||
return;
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
namespace App\extensions\util;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Auth;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
|
||||
|
||||
class ForgotPasswordController extends Controller
|
||||
{
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reset Controller
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This controller is responsible for handling password reset emails and
|
||||
| includes a trait which assists in sending these notifications from
|
||||
| your application to your users. Feel free to explore this trait.
|
||||
|
|
||||
*/
|
||||
|
||||
use SendsPasswordResetEmails;
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('guest');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Auth;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Foundation\Auth\AuthenticatesUsers;
|
||||
|
||||
class LoginController extends Controller
|
||||
{
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Login Controller
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This controller handles authenticating users for the application and
|
||||
| redirecting them to your home screen. The controller uses a trait
|
||||
| to conveniently provide its functionality to your applications.
|
||||
|
|
||||
*/
|
||||
|
||||
use AuthenticatesUsers;
|
||||
|
||||
/**
|
||||
* Where to redirect users after login.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $redirectTo = '/home';
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('guest')->except('logout');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Auth;
|
||||
|
||||
use App\User;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Support\Facades\Validator;
|
||||
use Illuminate\Foundation\Auth\RegistersUsers;
|
||||
|
||||
class RegisterController extends Controller
|
||||
{
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register Controller
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This controller handles the registration of new users as well as their
|
||||
| validation and creation. By default this controller uses a trait to
|
||||
| provide this functionality without requiring any additional code.
|
||||
|
|
||||
*/
|
||||
|
||||
use RegistersUsers;
|
||||
|
||||
/**
|
||||
* Where to redirect users after registration.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $redirectTo = '/home';
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('guest');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a validator for an incoming registration request.
|
||||
*
|
||||
* @param array $data
|
||||
* @return \Illuminate\Contracts\Validation\Validator
|
||||
*/
|
||||
protected function validator(array $data)
|
||||
{
|
||||
return Validator::make($data, [
|
||||
'name' => 'required|string|max:255',
|
||||
'email' => 'required|string|email|max:255|unique:users',
|
||||
'password' => 'required|string|min:6|confirmed',
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a new user instance after a valid registration.
|
||||
*
|
||||
* @param array $data
|
||||
* @return User
|
||||
*/
|
||||
protected function create(array $data)
|
||||
{
|
||||
return User::create([
|
||||
'name' => $data['name'],
|
||||
'email' => $data['email'],
|
||||
'password' => bcrypt($data['password']),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Auth;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Foundation\Auth\ResetsPasswords;
|
||||
|
||||
class ResetPasswordController extends Controller
|
||||
{
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reset Controller
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This controller is responsible for handling password reset requests
|
||||
| and uses a simple trait to include this behavior. You're free to
|
||||
| explore this trait and override any methods you wish to tweak.
|
||||
|
|
||||
*/
|
||||
|
||||
use ResetsPasswords;
|
||||
|
||||
/**
|
||||
* Where to redirect users after resetting their password.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $redirectTo = '/home';
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('guest');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Foundation\Bus\DispatchesJobs;
|
||||
use Illuminate\Routing\Controller as BaseController;
|
||||
use Illuminate\Foundation\Validation\ValidatesRequests;
|
||||
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
|
||||
|
||||
class Controller extends BaseController
|
||||
{
|
||||
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http;
|
||||
|
||||
use Illuminate\Foundation\Http\Kernel as HttpKernel;
|
||||
|
||||
class Kernel extends HttpKernel
|
||||
{
|
||||
/**
|
||||
* The application's global HTTP middleware stack.
|
||||
*
|
||||
* These middleware are run during every request to your application.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $middleware = [
|
||||
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
|
||||
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
|
||||
\App\Http\Middleware\TrimStrings::class,
|
||||
\Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
|
||||
];
|
||||
|
||||
/**
|
||||
* The application's route middleware groups.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $middlewareGroups = [
|
||||
'web' => [
|
||||
\App\Http\Middleware\EncryptCookies::class,
|
||||
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
||||
\Illuminate\Session\Middleware\StartSession::class,
|
||||
// \Illuminate\Session\Middleware\AuthenticateSession::class,
|
||||
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
||||
\App\Http\Middleware\VerifyCsrfToken::class,
|
||||
\Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||
],
|
||||
|
||||
'api' => [
|
||||
'throttle:60,1',
|
||||
'bindings',
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* The application's route middleware.
|
||||
*
|
||||
* These middleware may be assigned to groups or used individually.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $routeMiddleware = [
|
||||
'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
|
||||
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
|
||||
'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
|
||||
'can' => \Illuminate\Auth\Middleware\Authorize::class,
|
||||
'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
|
||||
'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Illuminate\Cookie\Middleware\EncryptCookies as BaseEncrypter;
|
||||
|
||||
class EncryptCookies extends BaseEncrypter
|
||||
{
|
||||
/**
|
||||
* The names of the cookies that should not be encrypted.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $except = [
|
||||
//
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
|
||||
class RedirectIfAuthenticated
|
||||
{
|
||||
/**
|
||||
* Handle an incoming request.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param \Closure $next
|
||||
* @param string|null $guard
|
||||
* @return mixed
|
||||
*/
|
||||
public function handle($request, Closure $next, $guard = null)
|
||||
{
|
||||
if (Auth::guard($guard)->check()) {
|
||||
return redirect('/home');
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;
|
||||
|
||||
class TrimStrings extends BaseTrimmer
|
||||
{
|
||||
/**
|
||||
* The names of the attributes that should not be trimmed.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $except = [
|
||||
'password',
|
||||
'password_confirmation',
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
|
||||
|
||||
class VerifyCsrfToken extends BaseVerifier
|
||||
{
|
||||
/**
|
||||
* The URIs that should be excluded from CSRF verification.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $except = [
|
||||
//
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
// autoload.php @generated by Composer
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit3981219d70bc76bb0a9347e11fb0f76e::getLoader();
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../libraries/lithium/console/li3
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../phpunit/phpunit/phpunit
|
||||
@@ -16,7 +16,7 @@
|
||||
* @author niel
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
namespace App\models;
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* @author DariusIII
|
||||
* @copyright 2017 NNTmux/nZEDb
|
||||
*/
|
||||
namespace App\models;
|
||||
namespace App\Models;
|
||||
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
@@ -16,7 +16,7 @@
|
||||
* @author niel
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
namespace App\models;
|
||||
namespace App\Models;
|
||||
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
@@ -17,7 +17,7 @@
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
|
||||
namespace App\models;
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use nntmux\utility\Utility;
|
||||
@@ -16,7 +16,7 @@
|
||||
* @author DariusIII
|
||||
* @copyright 2016 NNTmux/nZEDb
|
||||
*/
|
||||
namespace App\models;
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Register any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\Facades\Gate;
|
||||
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
|
||||
|
||||
class AuthServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* The policy mappings for the application.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $policies = [
|
||||
'App\Model' => 'App\Policies\ModelPolicy',
|
||||
];
|
||||
|
||||
/**
|
||||
* Register any authentication / authorization services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
$this->registerPolicies();
|
||||
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Illuminate\Support\Facades\Broadcast;
|
||||
|
||||
class BroadcastServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
Broadcast::routes();
|
||||
|
||||
require base_path('routes/channels.php');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\Facades\Event;
|
||||
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
|
||||
|
||||
class EventServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* The event listener mappings for the application.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $listen = [
|
||||
'App\Events\Event' => [
|
||||
'App\Listeners\EventListener',
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* Register any events for your application.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
parent::boot();
|
||||
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
|
||||
|
||||
class RouteServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* This namespace is applied to your controller routes.
|
||||
*
|
||||
* In addition, it is set as the URL generator's root namespace.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $namespace = 'App\Http\Controllers';
|
||||
|
||||
/**
|
||||
* Define your route model bindings, pattern filters, etc.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
|
||||
parent::boot();
|
||||
}
|
||||
|
||||
/**
|
||||
* Define the routes for the application.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function map()
|
||||
{
|
||||
$this->mapApiRoutes();
|
||||
|
||||
$this->mapWebRoutes();
|
||||
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Define the "web" routes for the application.
|
||||
*
|
||||
* These routes all receive session state, CSRF protection, etc.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function mapWebRoutes()
|
||||
{
|
||||
Route::middleware('web')
|
||||
->namespace($this->namespace)
|
||||
->group(base_path('routes/web.php'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Define the "api" routes for the application.
|
||||
*
|
||||
* These routes are typically stateless.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function mapApiRoutes()
|
||||
{
|
||||
Route::prefix('api')
|
||||
->middleware('api')
|
||||
->namespace($this->namespace)
|
||||
->group(base_path('routes/api.php'));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register The Auto Loader
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Composer provides a convenient, automatically generated class loader
|
||||
| for our application. We just need to utilize it! We'll require it
|
||||
| into the script here so that we do not have to worry about the
|
||||
| loading of any our classes "manually". Feels great to relax.
|
||||
|
|
||||
*/
|
||||
|
||||
require __DIR__.'/bootstrap/autoload.php';
|
||||
|
||||
$app = require_once __DIR__.'/bootstrap/app.php';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Run The Artisan Application
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When we run the console application, the current CLI command will be
|
||||
| executed in this console and the response sent back to a terminal
|
||||
| or another output device for the developers. Here goes nothing!
|
||||
|
|
||||
*/
|
||||
|
||||
$kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
|
||||
|
||||
$status = $kernel->handle(
|
||||
$input = new Symfony\Component\Console\Input\ArgvInput,
|
||||
new Symfony\Component\Console\Output\ConsoleOutput
|
||||
);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Shutdown The Application
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Once Artisan has finished running, we will fire off the shutdown events
|
||||
| so that any final work may be done by the application before we shut
|
||||
| down the process. This is the last thing to happen to the request.
|
||||
|
|
||||
*/
|
||||
|
||||
$kernel->terminate($input, $status);
|
||||
|
||||
exit($status);
|
||||
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Create The Application
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The first thing we will do is create a new Laravel application instance
|
||||
| which serves as the "glue" for all the components of Laravel, and is
|
||||
| the IoC container for the system binding all of the various parts.
|
||||
|
|
||||
*/
|
||||
|
||||
$app = new Illuminate\Foundation\Application(
|
||||
realpath(__DIR__.'/../')
|
||||
);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Bind Important Interfaces
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Next, we need to bind some important interfaces into the container so
|
||||
| we will be able to resolve them when needed. The kernels serve the
|
||||
| incoming requests to this application from both the web and CLI.
|
||||
|
|
||||
*/
|
||||
|
||||
$app->singleton(
|
||||
Illuminate\Contracts\Http\Kernel::class,
|
||||
App\Http\Kernel::class
|
||||
);
|
||||
|
||||
$app->singleton(
|
||||
Illuminate\Contracts\Console\Kernel::class,
|
||||
App\Console\Kernel::class
|
||||
);
|
||||
|
||||
$app->singleton(
|
||||
Illuminate\Contracts\Debug\ExceptionHandler::class,
|
||||
App\Exceptions\Handler::class
|
||||
);
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Return The Application
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This script returns the application instance. The instance is given to
|
||||
| the calling script so we can separate the building of the instances
|
||||
| from the actual running of the application and sending responses.
|
||||
|
|
||||
*/
|
||||
|
||||
return $app;
|
||||
@@ -10,4 +10,4 @@ if (!defined('NN_ROOT')) {
|
||||
define('NN_ROOT', dirname(NN_APP_PATH, 2));
|
||||
}
|
||||
|
||||
require_once NN_APP_PATH . DS . 'libraries' . DS . 'autoload.php';
|
||||
require_once NN_APP_PATH . DS . 'Libraries' . DS . 'autoload.php';
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
*
|
||||
!.gitignore
|
||||
+11
-3
@@ -6,8 +6,8 @@
|
||||
],
|
||||
"autoload": {
|
||||
"files": [
|
||||
"app/libraries/laravel/framework/src/Illuminate/Support/helpers.php",
|
||||
"app/extensions/helper/helpers.php"
|
||||
"app/Libraries/laravel/framework/src/Illuminate/Support/helpers.php",
|
||||
"app/Extensions/helper/helpers.php"
|
||||
],
|
||||
"psr-4": {
|
||||
"nntmux\\": "nntmux/",
|
||||
@@ -24,13 +24,15 @@
|
||||
"preferred-install": {
|
||||
"*": "source"
|
||||
},
|
||||
"sort-packages": true,
|
||||
"optimize-autoloader": true,
|
||||
"fxp-asset" : {
|
||||
"installer-paths": {
|
||||
"npm-asset-library": "www/themes/shared/assets",
|
||||
"bower-asset-library": "www/themes/shared/assets"
|
||||
}
|
||||
},
|
||||
"vendor-dir": "app/libraries"
|
||||
"vendor-dir": "app/Libraries"
|
||||
},
|
||||
"description": "A Usenet Indexer",
|
||||
"extra": {
|
||||
@@ -140,6 +142,12 @@
|
||||
},
|
||||
|
||||
"scripts": {
|
||||
"post-install-cmd": [
|
||||
"Illuminate\\Foundation\\ComposerScripts::postInstall"
|
||||
],
|
||||
"post-update-cmd": [
|
||||
"Illuminate\\Foundation\\ComposerScripts::postUpdate"
|
||||
]
|
||||
},
|
||||
"suggest": {
|
||||
"ext-xdebug": "For developement work",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'app' . DIRECTORY_SEPARATOR . 'libraries' . DIRECTORY_SEPARATOR . 'autoload.php';
|
||||
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'app/Libraries' . DIRECTORY_SEPARATOR . 'autoload.php';
|
||||
|
||||
use Illuminate\Database\Capsule\Manager as Capsule;
|
||||
use Dotenv\Dotenv;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\Groups;
|
||||
use nntmux\ConsoleTools;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\db\DB;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\NZB;
|
||||
use nntmux\ReleaseImage;
|
||||
use nntmux\Releases;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\NameFixer;
|
||||
use nntmux\NNTP;
|
||||
|
||||
@@ -4,7 +4,7 @@ require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
use ApaiIO\ApaiIO;
|
||||
use ApaiIO\Configuration\GenericConfiguration;
|
||||
use ApaiIO\Operations\Search;
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
|
||||
|
||||
$pubkey = Settings::value('APIs..amazonpubkey');
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\libraries\FanartTV;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
|
||||
$pdo = new DB();
|
||||
|
||||
@@ -27,7 +27,7 @@ if (!isset($argv[1]) || !in_array($argv[1], ['1'])) {
|
||||
}
|
||||
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
|
||||
$pdo = new DB();
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
require_once dirname(__DIR__, 3) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
|
||||
$pdo = new DB();
|
||||
|
||||
@@ -8,7 +8,7 @@ Author: lordgnu <lordgnu@me.com>
|
||||
|
||||
require_once dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\NZB;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ if (!isset($argv[1])) {
|
||||
|
||||
require_once dirname(__DIR__, 5) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use \nntmux\db\DB;
|
||||
use \nntmux\processing\PostProcess;
|
||||
use \nntmux\processing\ProcessReleases;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__, 5) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\Category;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\MiscSorter;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__, 4) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\Category;
|
||||
use nntmux\Tmux;
|
||||
use nntmux\TmuxOutput;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__, 4) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
use nntmux\Tmux;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\processing\PostProcess;
|
||||
use nntmux\NNTP;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
require_once dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\NNTP;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
|
||||
class Backfill
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\processing\ProcessReleasesMultiGroup;
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ namespace nntmux;
|
||||
|
||||
use ApaiIO\Request\GuzzleRequest;
|
||||
use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject;
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use GuzzleHttp\Client;
|
||||
use nntmux\db\DB;
|
||||
use ApaiIO\Configuration\GenericConfiguration;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
|
||||
/**
|
||||
* Categorizing of releases by name/group.
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ namespace nntmux;
|
||||
|
||||
use ApaiIO\Request\GuzzleRequest;
|
||||
use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject;
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use GuzzleHttp\Client;
|
||||
use nntmux\db\DB;
|
||||
use ApaiIO\Configuration\GenericConfiguration;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use DBorsatto\GiantBomb\Config;
|
||||
use DBorsatto\GiantBomb\Client;
|
||||
use nntmux\db\DB;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
namespace nntmux;
|
||||
|
||||
use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject;
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use ApaiIO\Configuration\GenericConfiguration;
|
||||
use ApaiIO\ApaiIO;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use aharen\OMDbAPI;
|
||||
use GuzzleHttp\Client;
|
||||
use GuzzleHttp\Exception\RequestException;
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ namespace nntmux;
|
||||
|
||||
use ApaiIO\Request\GuzzleRequest;
|
||||
use ApaiIO\ResponseTransformer\XmlToSimpleXmlObject;
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use GuzzleHttp\Client;
|
||||
use nntmux\db\DB;
|
||||
use ApaiIO\Configuration\GenericConfiguration;
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
namespace nntmux;
|
||||
|
||||
use App\extensions\util\Yenc;
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
namespace nntmux;
|
||||
|
||||
use App\extensions\util\Versions as li3Versions;
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\processing\PostProcess;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use dariusiii\rarinfo\Par2Info;
|
||||
use dariusiii\rarinfo\SfvInfo;
|
||||
use nntmux\db\DB;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use GuzzleHttp\Exception\RequestException;
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use GuzzleHttp\Client;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\SteamApps;
|
||||
use App\models\Settings;
|
||||
use App\Models\SteamApps;
|
||||
use App\Models\Settings;
|
||||
use b3rs3rk\steamfront\Main;
|
||||
use nntmux\db\DB;
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace nntmux;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\processing\adult\AEBN;
|
||||
use nntmux\processing\adult\ADM;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
* @author niel
|
||||
* @copyright 2016 nZEDb
|
||||
*/
|
||||
require_once NN_ROOT . 'app/libraries/autoload.php';
|
||||
require_once NN_ROOT . 'app/Libraries/autoload.php';
|
||||
|
||||
use nntmux\config\Configure;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux\db;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\ConsoleTools;
|
||||
use nntmux\Logger;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
namespace nntmux\db;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Git;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace nntmux\db\populate;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\ReleaseImage;
|
||||
use nntmux\db\DB;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
namespace nntmux\http;
|
||||
|
||||
use App\extensions\util\Versions;
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\Category;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux\libraries;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\Category;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\MiscSorter;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux\processing;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use dariusiii\rarinfo\Par2Info;
|
||||
use nntmux\ADE;
|
||||
use nntmux\ADM;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
namespace nntmux\processing;
|
||||
|
||||
use App\models\MultigroupPosters;
|
||||
use App\models\ReleasesGroups;
|
||||
use App\models\ReleaseRegexes;
|
||||
use App\models\Settings;
|
||||
use App\Models\MultigroupPosters;
|
||||
use App\Models\ReleasesGroups;
|
||||
use App\Models\ReleaseRegexes;
|
||||
use App\Models\Settings;
|
||||
use nntmux\Categorize;
|
||||
use nntmux\Category;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace nntmux\processing;
|
||||
|
||||
use App\models\MultigroupPosters;
|
||||
use App\Models\MultigroupPosters;
|
||||
use nntmux\NZBMultiGroup;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace nntmux\processing\post;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\Category;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\NZB;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux\processing\post;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use dariusiii\rarinfo\ArchiveInfo;
|
||||
use dariusiii\rarinfo\Par2Info;
|
||||
use nntmux\Categorize;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux\processing\tv;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\ReleaseImage;
|
||||
use Tmdb\ApiToken;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux\processing\tv;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\processing\Videos;
|
||||
use nntmux\utility\Country;
|
||||
use nntmux\utility\Utility;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux\processing\tv;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use nntmux\libraries\TraktAPI;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\ReleaseImage;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace nntmux\utility;
|
||||
|
||||
use App\models\Settings;
|
||||
use App\Models\Settings;
|
||||
use App\extensions\util\Versions;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\ColorCLI;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user