mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Merge branch 'dev' of https://github.com/NNTmux/newznab-tmux into dev
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use nntmux\NZB;
|
||||
use nntmux\NNTP;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\Releases;
|
||||
use nntmux\ReleaseImage;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\NNTP;
|
||||
use nntmux\NZB;
|
||||
use nntmux\ReleaseImage;
|
||||
use nntmux\Releases;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Group extends Model
|
||||
{
|
||||
@@ -43,7 +43,6 @@ class Group extends Model
|
||||
*/
|
||||
protected static $allasmgr = (int) Settings::settingValue('..allasmgr') === 1;
|
||||
|
||||
|
||||
public function release()
|
||||
{
|
||||
return $this->hasMany(Release::class, 'groups_id');
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
|
||||
|
||||
use App\Models\Group;
|
||||
use nntmux\NNTP;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\Binaries;
|
||||
use nntmux\ColorCLI;
|
||||
use App\Models\Group;
|
||||
use App\Models\Settings;
|
||||
|
||||
$pdo = new DB();
|
||||
|
||||
+1
-1
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace nntmux;
|
||||
|
||||
use App\Models\Group;
|
||||
use nntmux\db\DB;
|
||||
use App\Models\Group;
|
||||
use App\Models\Settings;
|
||||
|
||||
class Backfill
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace nntmux;
|
||||
|
||||
use App\Models\Group;
|
||||
use nntmux\db\DB;
|
||||
use App\Models\Group;
|
||||
use App\Models\Predb;
|
||||
use App\Models\Release;
|
||||
use App\Models\Category;
|
||||
|
||||
+1
-1
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace nntmux;
|
||||
|
||||
use App\Models\Group;
|
||||
use nntmux\db\DB;
|
||||
use App\Models\Group;
|
||||
use App\Models\Release;
|
||||
use App\Models\Category;
|
||||
|
||||
|
||||
+1
-1
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace nntmux;
|
||||
|
||||
use App\Models\Group;
|
||||
use nntmux\db\DB;
|
||||
use App\Models\Group;
|
||||
use App\Models\Release;
|
||||
use App\Models\Category;
|
||||
use App\Models\Settings;
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace nntmux\processing;
|
||||
|
||||
use App\Models\Group;
|
||||
use nntmux\Nfo;
|
||||
use nntmux\XXX;
|
||||
use nntmux\NNTP;
|
||||
@@ -13,6 +12,7 @@ use nntmux\Movie;
|
||||
use nntmux\Music;
|
||||
use nntmux\Console;
|
||||
use nntmux\Sharing;
|
||||
use App\Models\Group;
|
||||
use nntmux\NameFixer;
|
||||
use App\Models\Release;
|
||||
use App\Models\Category;
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
namespace nntmux\processing;
|
||||
|
||||
use App\Models\Group;
|
||||
use nntmux\NZB;
|
||||
use nntmux\NNTP;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\Genres;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\Releases;
|
||||
use App\Models\Group;
|
||||
use App\Models\Predb;
|
||||
use nntmux\Categorize;
|
||||
use App\Models\Release;
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
namespace nntmux\processing\post;
|
||||
|
||||
use App\Models\Group;
|
||||
use nntmux\Nfo;
|
||||
use nntmux\NZB;
|
||||
use nntmux\NNTP;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\Releases;
|
||||
use App\Models\Group;
|
||||
use nntmux\NameFixer;
|
||||
use nntmux\Categorize;
|
||||
use App\Models\Release;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Group;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\Regexes;
|
||||
use nntmux\Sharing;
|
||||
use nntmux\Binaries;
|
||||
use App\Models\Group;
|
||||
use App\Models\ReleaseComment;
|
||||
|
||||
// This script waits for ajax queries from the web.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Group;
|
||||
use App\Models\User;
|
||||
use App\Models\Group;
|
||||
|
||||
if (! User::isLoggedIn()) {
|
||||
$page->show403();
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Group;
|
||||
use App\Models\User;
|
||||
use nntmux\Releases;
|
||||
use App\Models\Group;
|
||||
use App\Models\Category;
|
||||
use nntmux\ReleaseSearch;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user