From 337500a63573f996c8cd1b262c8dab8eedb6e5ab Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 26 Mar 2018 11:52:14 +0200 Subject: [PATCH] Fix admin area --- Blacklight/Contents.php | 1 + Blacklight/http/BasePage.php | 2 +- public/admin/content-add.php | 2 +- .../views/themes/admin/ajax_release-edit.tpl | 1 + resources/views/themes/admin/anidb-edit.tpl | 1 + resources/views/themes/admin/anidb-list.tpl | 1 + .../themes/admin/binaryblacklist-edit.tpl | 1 + resources/views/themes/admin/book-edit.tpl | 1 + .../views/themes/admin/category-edit.tpl | 1 + .../themes/admin/category_regexes-edit.tpl | 1 + .../themes/admin/category_regexes-list.tpl | 1 + .../themes/admin/collection_regexes-edit.tpl | 1 + .../themes/admin/collection_regexes-list.tpl | 1 + .../themes/admin/collection_regexes-test.tpl | 1 + resources/views/themes/admin/console-edit.tpl | 1 + resources/views/themes/admin/content-add.tpl | 3 +- resources/views/themes/admin/game-edit.tpl | 1 + resources/views/themes/admin/group-bulk.tpl | 1 + resources/views/themes/admin/group-edit.tpl | 1 + resources/views/themes/admin/group-list.tpl | 2 + resources/views/themes/admin/menu-edit.tpl | 1 + resources/views/themes/admin/movie-add.tpl | 1 + resources/views/themes/admin/movie-edit.tpl | 1 + resources/views/themes/admin/music-edit.tpl | 1 + resources/views/themes/admin/nzb-export.tpl | 1 + resources/views/themes/admin/nzb-import.tpl | 2 + resources/views/themes/admin/posters-edit.tpl | 1 + resources/views/themes/admin/predb.tpl | 1 + resources/views/themes/admin/release-edit.tpl | 1 + .../admin/release_naming_regexes-edit.tpl | 1 + .../admin/release_naming_regexes-list.tpl | 1 + .../admin/release_naming_regexes-test.tpl | 1 + resources/views/themes/admin/role-edit.tpl | 1 + resources/views/themes/admin/sharing.tpl | 1 + resources/views/themes/admin/show-edit.tpl | 1 + resources/views/themes/admin/show-list.tpl | 1 + resources/views/themes/admin/site-edit.tpl | 2881 +++++++++-------- resources/views/themes/admin/tmux-edit.tpl | 1 + resources/views/themes/admin/user-edit.tpl | 1 + resources/views/themes/admin/user-list.tpl | 1 + routes/web.php | 12 +- 41 files changed, 1596 insertions(+), 1342 deletions(-) diff --git a/Blacklight/Contents.php b/Blacklight/Contents.php index 710625b69..a5fd52fba 100755 --- a/Blacklight/Contents.php +++ b/Blacklight/Contents.php @@ -199,6 +199,7 @@ class Contents /** * @param $content + * * @return int */ public function data_update($content): int diff --git a/Blacklight/http/BasePage.php b/Blacklight/http/BasePage.php index 434faa668..db694a1d1 100644 --- a/Blacklight/http/BasePage.php +++ b/Blacklight/http/BasePage.php @@ -211,7 +211,7 @@ class BasePage */ public function show403($from_admin = false): void { - header( + request()->header( 'Location: '. ($from_admin ? str_replace('/admin', '', WWW_TOP) : WWW_TOP). '/login?redirect='. diff --git a/public/admin/content-add.php b/public/admin/content-add.php index 419326c9c..cc72c4673 100644 --- a/public/admin/content-add.php +++ b/public/admin/content-add.php @@ -45,7 +45,7 @@ switch ($action) { $content = $contents->update(request()->all()); $returnid = $content['id']; } - header('Location:content-add.php?id='.$returnid); + header('Location:'.WWW_TOP.'/content-add.php?id='.$returnid); break; case 'view': diff --git a/resources/views/themes/admin/ajax_release-edit.tpl b/resources/views/themes/admin/ajax_release-edit.tpl index 7e5e9fc0f..22f436df4 100644 --- a/resources/views/themes/admin/ajax_release-edit.tpl +++ b/resources/views/themes/admin/ajax_release-edit.tpl @@ -19,6 +19,7 @@ {/literal}
+ {{csrf_field()}} {foreach from=$idArr item=id} {/foreach} diff --git a/resources/views/themes/admin/anidb-edit.tpl b/resources/views/themes/admin/anidb-edit.tpl index 81805e16c..47bdeae99 100644 --- a/resources/views/themes/admin/anidb-edit.tpl +++ b/resources/views/themes/admin/anidb-edit.tpl @@ -4,6 +4,7 @@
+ {{csrf_field()}} diff --git a/resources/views/themes/admin/anidb-list.tpl b/resources/views/themes/admin/anidb-list.tpl index 0bc220f4d..bb1242ebe 100644 --- a/resources/views/themes/admin/anidb-list.tpl +++ b/resources/views/themes/admin/anidb-list.tpl @@ -6,6 +6,7 @@
+ {{csrf_field()}}    diff --git a/resources/views/themes/admin/binaryblacklist-edit.tpl b/resources/views/themes/admin/binaryblacklist-edit.tpl index 5fb06774c..4a6f4b769 100644 --- a/resources/views/themes/admin/binaryblacklist-edit.tpl +++ b/resources/views/themes/admin/binaryblacklist-edit.tpl @@ -4,6 +4,7 @@ {/if}
+ {{csrf_field()}} diff --git a/resources/views/themes/admin/book-edit.tpl b/resources/views/themes/admin/book-edit.tpl index 62a19025c..45cafb0de 100644 --- a/resources/views/themes/admin/book-edit.tpl +++ b/resources/views/themes/admin/book-edit.tpl @@ -3,6 +3,7 @@
+ {{csrf_field()}} diff --git a/resources/views/themes/admin/category-edit.tpl b/resources/views/themes/admin/category-edit.tpl index 826fe9dfe..0dfa91f38 100644 --- a/resources/views/themes/admin/category-edit.tpl +++ b/resources/views/themes/admin/category-edit.tpl @@ -8,6 +8,7 @@
Go back + {{csrf_field()}}
Group:
diff --git a/resources/views/themes/admin/category_regexes-edit.tpl b/resources/views/themes/admin/category_regexes-edit.tpl index f3c878930..5a0fa3053 100644 --- a/resources/views/themes/admin/category_regexes-edit.tpl +++ b/resources/views/themes/admin/category_regexes-edit.tpl @@ -5,6 +5,7 @@
Go back + {{csrf_field()}}
diff --git a/resources/views/themes/admin/category_regexes-list.tpl b/resources/views/themes/admin/category_regexes-list.tpl index 0c3ed0717..c1b120e73 100644 --- a/resources/views/themes/admin/category_regexes-list.tpl +++ b/resources/views/themes/admin/category_regexes-list.tpl @@ -6,6 +6,7 @@
+ {{csrf_field()}}    diff --git a/resources/views/themes/admin/collection_regexes-edit.tpl b/resources/views/themes/admin/collection_regexes-edit.tpl index 63b795c0d..7dd7393ca 100644 --- a/resources/views/themes/admin/collection_regexes-edit.tpl +++ b/resources/views/themes/admin/collection_regexes-edit.tpl @@ -5,6 +5,7 @@
Go back + {{csrf_field()}}
diff --git a/resources/views/themes/admin/collection_regexes-list.tpl b/resources/views/themes/admin/collection_regexes-list.tpl index a4eda7f0b..aff84fcf9 100644 --- a/resources/views/themes/admin/collection_regexes-list.tpl +++ b/resources/views/themes/admin/collection_regexes-list.tpl @@ -4,6 +4,7 @@
+ {{csrf_field()}}    diff --git a/resources/views/themes/admin/collection_regexes-test.tpl b/resources/views/themes/admin/collection_regexes-test.tpl index dba35eb16..070f92fde 100644 --- a/resources/views/themes/admin/collection_regexes-test.tpl +++ b/resources/views/themes/admin/collection_regexes-test.tpl @@ -3,6 +3,7 @@

This page is used for testing regex for grouping usenet collections.
Enter the group name to test and a regex. Limit is how many collections to show max on the page, 0 for no limit(slow).

+ {{csrf_field()}}
diff --git a/resources/views/themes/admin/console-edit.tpl b/resources/views/themes/admin/console-edit.tpl index 84f1af007..8013a2765 100644 --- a/resources/views/themes/admin/console-edit.tpl +++ b/resources/views/themes/admin/console-edit.tpl @@ -3,6 +3,7 @@
Go back + {{csrf_field()}} diff --git a/resources/views/themes/admin/content-add.tpl b/resources/views/themes/admin/content-add.tpl index ba80303a3..b5cfaf570 100644 --- a/resources/views/themes/admin/content-add.tpl +++ b/resources/views/themes/admin/content-add.tpl @@ -1,7 +1,8 @@

{$page->title}

Go back - + + {{csrf_field()}}
diff --git a/resources/views/themes/admin/game-edit.tpl b/resources/views/themes/admin/game-edit.tpl index a106cc71a..bae7f502f 100644 --- a/resources/views/themes/admin/game-edit.tpl +++ b/resources/views/themes/admin/game-edit.tpl @@ -2,6 +2,7 @@

{$page->title}

Go back + {{csrf_field()}}
diff --git a/resources/views/themes/admin/group-bulk.tpl b/resources/views/themes/admin/group-bulk.tpl index 1bfff89bc..a7944d693 100644 --- a/resources/views/themes/admin/group-bulk.tpl +++ b/resources/views/themes/admin/group-bulk.tpl @@ -24,6 +24,7 @@

Regex of groups to add to the site.

+ {{csrf_field()}}
diff --git a/resources/views/themes/admin/group-edit.tpl b/resources/views/themes/admin/group-edit.tpl index e10ff2889..7f0da73c3 100644 --- a/resources/views/themes/admin/group-edit.tpl +++ b/resources/views/themes/admin/group-edit.tpl @@ -2,6 +2,7 @@

{$page->title}

Go back + {{csrf_field()}}
diff --git a/resources/views/themes/admin/group-list.tpl b/resources/views/themes/admin/group-list.tpl index 02f73d2f8..2d7408e10 100644 --- a/resources/views/themes/admin/group-list.tpl +++ b/resources/views/themes/admin/group-list.tpl @@ -6,6 +6,7 @@ {if $grouplist}
+ {{csrf_field()}}    @@ -66,6 +67,7 @@
+ {{csrf_field()}}    diff --git a/resources/views/themes/admin/menu-edit.tpl b/resources/views/themes/admin/menu-edit.tpl index 0e66bf594..7515c22dc 100644 --- a/resources/views/themes/admin/menu-edit.tpl +++ b/resources/views/themes/admin/menu-edit.tpl @@ -2,6 +2,7 @@

{$page->title}

Go back + {{csrf_field()}}
Name:
diff --git a/resources/views/themes/admin/movie-add.tpl b/resources/views/themes/admin/movie-add.tpl index 0eebc3ac2..b72be671e 100644 --- a/resources/views/themes/admin/movie-add.tpl +++ b/resources/views/themes/admin/movie-add.tpl @@ -2,6 +2,7 @@

{$page->title}

+ {{csrf_field()}}
diff --git a/resources/views/themes/admin/movie-edit.tpl b/resources/views/themes/admin/movie-edit.tpl index 3f04ca311..a8de958cf 100644 --- a/resources/views/themes/admin/movie-edit.tpl +++ b/resources/views/themes/admin/movie-edit.tpl @@ -2,6 +2,7 @@

{$page->title}

Go back + {{csrf_field()}} diff --git a/resources/views/themes/admin/music-edit.tpl b/resources/views/themes/admin/music-edit.tpl index 74ac686b3..7d3bd86d7 100644 --- a/resources/views/themes/admin/music-edit.tpl +++ b/resources/views/themes/admin/music-edit.tpl @@ -2,6 +2,7 @@

{$page->title}

Go back + {{csrf_field()}} diff --git a/resources/views/themes/admin/nzb-export.tpl b/resources/views/themes/admin/nzb-export.tpl index 7955dedc4..f4013b234 100644 --- a/resources/views/themes/admin/nzb-export.tpl +++ b/resources/views/themes/admin/nzb-export.tpl @@ -13,6 +13,7 @@ If you are exporting a large number of nzb files, run this script from the comma + {{csrf_field()}}
diff --git a/resources/views/themes/admin/nzb-import.tpl b/resources/views/themes/admin/nzb-import.tpl index 87fe4d26a..09080d548 100644 --- a/resources/views/themes/admin/nzb-import.tpl +++ b/resources/views/themes/admin/nzb-import.tpl @@ -15,6 +15,7 @@
Import From Directory + {{csrf_field()}}
@@ -49,6 +50,7 @@
Import From Browser + {{csrf_field()}}
diff --git a/resources/views/themes/admin/posters-edit.tpl b/resources/views/themes/admin/posters-edit.tpl index b5f65dc22..7ff9a71c9 100644 --- a/resources/views/themes/admin/posters-edit.tpl +++ b/resources/views/themes/admin/posters-edit.tpl @@ -2,6 +2,7 @@

{$page->title}

Go back + {{csrf_field()}}
diff --git a/resources/views/themes/admin/predb.tpl b/resources/views/themes/admin/predb.tpl index b8262502d..059959bb4 100755 --- a/resources/views/themes/admin/predb.tpl +++ b/resources/views/themes/admin/predb.tpl @@ -1,6 +1,7 @@

{$page->title}

Poster name:
diff --git a/resources/views/themes/admin/release_naming_regexes-edit.tpl b/resources/views/themes/admin/release_naming_regexes-edit.tpl index 559b03e20..03047bb87 100644 --- a/resources/views/themes/admin/release_naming_regexes-edit.tpl +++ b/resources/views/themes/admin/release_naming_regexes-edit.tpl @@ -5,6 +5,7 @@ {/if} Go back + {{csrf_field()}}
diff --git a/resources/views/themes/admin/release_naming_regexes-list.tpl b/resources/views/themes/admin/release_naming_regexes-list.tpl index b20f2e4b0..1a494cd0d 100644 --- a/resources/views/themes/admin/release_naming_regexes-list.tpl +++ b/resources/views/themes/admin/release_naming_regexes-list.tpl @@ -4,6 +4,7 @@
+ {{csrf_field()}}    diff --git a/resources/views/themes/admin/release_naming_regexes-test.tpl b/resources/views/themes/admin/release_naming_regexes-test.tpl index 3c31a79a3..950217121 100644 --- a/resources/views/themes/admin/release_naming_regexes-test.tpl +++ b/resources/views/themes/admin/release_naming_regexes-test.tpl @@ -6,6 +6,7 @@

+ {{csrf_field()}}
diff --git a/resources/views/themes/admin/role-edit.tpl b/resources/views/themes/admin/role-edit.tpl index 5d98d6cf0..7992ad265 100644 --- a/resources/views/themes/admin/role-edit.tpl +++ b/resources/views/themes/admin/role-edit.tpl @@ -3,6 +3,7 @@ Go back + {{csrf_field()}} diff --git a/resources/views/themes/admin/sharing.tpl b/resources/views/themes/admin/sharing.tpl index 7bef34343..c234e039d 100644 --- a/resources/views/themes/admin/sharing.tpl +++ b/resources/views/themes/admin/sharing.tpl @@ -10,6 +10,7 @@
msg
{if $local} + {{csrf_field()}}
Local sharing settings.
diff --git a/resources/views/themes/admin/show-edit.tpl b/resources/views/themes/admin/show-edit.tpl index bc22c94f0..128e478f0 100755 --- a/resources/views/themes/admin/show-edit.tpl +++ b/resources/views/themes/admin/show-edit.tpl @@ -2,6 +2,7 @@

{$page->title}

Go back + {{csrf_field()}}
diff --git a/resources/views/themes/admin/show-list.tpl b/resources/views/themes/admin/show-list.tpl index e846046f7..953ea11de 100755 --- a/resources/views/themes/admin/show-list.tpl +++ b/resources/views/themes/admin/show-list.tpl @@ -3,6 +3,7 @@ {if $tvshowlist}
+ {{csrf_field()}}    diff --git a/resources/views/themes/admin/site-edit.tpl b/resources/views/themes/admin/site-edit.tpl index f05fccd6f..5e0440cf5 100644 --- a/resources/views/themes/admin/site-edit.tpl +++ b/resources/views/themes/admin/site-edit.tpl @@ -1,1342 +1,1547 @@

{$page->title}

- - {{csrf_field()}} - -{if isset ($error) && $error != ''} -
{$error}
-{/if} - -
-Main Site Settings, HTML Layout, Tags -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
: - -
Displayed around the site and contact form as the name for the site.
-
: - -
Displayed in the header on every public page.
-
: - -
Stem meta-tag appended to all page title tags.
-
: - -
Stem meta-description appended to all page meta description tags.
-
: - -
Stem meta-keywords appended to all page meta keyword tags.
-
: - -
Displayed in the footer section of every public page.
-
: - -
The relative path to a the landing page shown when a user logs in, or clicks the home link.
-
: - - -
A just for fun value shown in debug and not on public pages.
-
- -
The absolute path to the place covers will be stored.
-
: - {html_options class="siteeditstyle" id="style" name='style' values=$themelist output=$themelist selected=$site->style} -
The theme folder which will be loaded for css and images and overriden templates.
-
: - {html_radios id="userselstyle" name='userselstyle' values=$yesno_ids output=$yesno_names selected=$site->userselstyle separator='
'} -
Should users be allowed to change their site theme or not..
-
: - -
Optional URL to prepend to external links
-
: - -
The number of recent forum posts to show in the 'recent forum posts' widget. Set to 0 to disable.
-
: - -
Shown in the contact us page, and where the contact html form is sent to.
-
: - -
Text displayed in the terms and conditions page.
-
- - -
-Google Adsense, Analytics and 3rd Party Banners - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
: - -
e.g. UA-xxxxxx-x
-
: - -
e.g. pub-123123123123123
-
: - -
The id of the google search ad panel displayed at the bottom of the left menu.
-
: - -
The banner slot in the header.
-
: - -
The banner slot in the header.
-
: - -
The banner slot in the release details view.
-
-
- - -
-3rd Party API Keys - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
: - -
The api key used for access to tmdb
-
: - -
The api key used for access to rotten tomatoes
-
: - -
The amazon public api key. Used for cover lookups.
-
: - -
The amazon private api key. Used for cover lookups.
-
: - -
The amazon associate tag. Used for cover lookups.
-
- -
The Trakt.tv API v2 Client ID (SHA256 hash - 64 characters long string). Used for movie and tv lookups.
-
- - -
The Fanart.tv api key. Used for Fanart.tv lookups. Fanart.tv would appreciate it if - you use this service to help them out by adding high quality images not already available on TMDB. -
-
- - -
OmdbAPI key obtained from Omdb.Used for OmdbAPI lookups. This key is private and needs - monthly pledge. You can check the info on OmdbAPI site http://www.omdbapi.com/. You need an pledge - with poster api access (currently 5$/month). -
-
- - -
The giantbomb key. Used for game lookups.
-
- - -
The Anidb api key. Used for Anime lookups.
-
-
- -
-3rd Party Application Paths - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
: - -
The path to an unrar binary, used in deep password detection and media info grabbing. -
Use forward slashes in windows c:/path/to/unrar.exe
-
: - -
The path to where unrar puts files. WARNING: This directory will have its contents deleted. -
Use forward slashes in windows c:/temp/path/stuff/will/be/unpacked/to
-
: - -
The path to the mediainfo binary. Used for deep file media analysis. Use empty path to disable mediainfo checks -
Use forward slashes in windows c:/path/to/mediainfo.exe
-
- -
The path to the ffmpeg or avconv binary. Used for making thumbnails and video/audio - previews. -
Use forward slashes in windows c:/path/to/ffmpeg.exe -
-
: - -
The path to the lame binary. Used for audio manipulation. -
Use forward slashes in windows c:/path/to/lame.exe
-
- - -
The path to the 7za/p7zip in Ubuntu 13.10 (7zip command line in windows) binary, used - for grabbing nfos from compressed zip files. -
Use forward slashes in windows c:/path/to/7z.exe -
-
- -
The path to the timeout binary. - This is used to limit the amount of time unrar/7zip/mediainfo/ffmpeg/avconv can run. - You can the time limit in the process additional section. - You can leave this empty to disable this. -
Use forward slashes in windows c:/path/to/timeout.exe -
-
- -
Path to magic number database. Windows' users should set this if they have installed GNUWin file. *nix users can optionally set this to a file of their choice.
-
-
- - -
- Download Queue Integration Settings - - - - - - -
: - {html_radios id="sabintegrationtype" name='sabintegrationtype' values=$sabintegrationtype_ids output=$sabintegrationtype_names selected=$site->integrationtype separator='
'} -
Whether to allow integration with a SAB/NZBGet install or not
-
- -
- - -
-Usenet Settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
: - -
The directory where nzb files will be stored.
-
- -
Levels deep to store the nzb Files. -
If you change this you must run the misc/testing/DB/nzb-reorg.php script! -
-
- -
The number of hours incomplete parts and binaries will be retained.
-
: - -
The number of days releases will be retained for use throughout site. Set to 0 to disable.
-
- -
The number of hours releases categorized as Misc->Other will be retained. Set to 0 to disable.
-
- -
The number of hours releases categorized as Misc->Hashed will be retained. Set to 0 to disable.
-
: - -
Default is 0 (off), which will remove parts in one go. If backfilling or importing and parts table is large, using chunks of 5000+ will speed up removal. Normal indexing is fastest with this setting at 0.
-
: - -
The minimum number of files to make a release. i.e. if set to two, then releases which only contain one file will not be created.
-
: - -
The minimum total size in bytes to make a release. If set to 0, then ignored.
-
- -
The maximum total size in bytes to make a release. If set to 0, then ignored. Only deletes - during release creation. -
-
: - -
The minimum completion percent to make a release. i.e. if set to 97, then releases under 97% completion will not be created. If set to 0, then ignored.
-
- {html_radios id="grabstatus" name='grabstatus' values=$yesno_ids output=$yesno_names selected=$site->grabstatus separator='
'} -
Whether to update download counts when someone downloads a release.
-
- -
The time in hours to check for crossposted releases - this will delete 1 of the releases if the 2 are posted by the same person in the same time period.
-
: - {html_radios id="compressedheaders" name='compressedheaders' values=$yesno_ids output=$yesno_names selected=$site->compressedheaders separator='
'} -
Some servers allow headers to be sent over in a compressed format. If enabled this will use much less bandwidth, but processing times may increase.
-
: - -
The maximum number of messages to fetch at a time from the server.
-
: - -
The maximum number of headers that update binaries sees as the total range. This ensure that a total of no more than this is attempted to be downloaded at one time per group.
-
: - {html_radios id="newgroupscanmethod" name='newgroupscanmethod' values=$yesno_ids output=$newgroupscan_names selected=$site->newgroupscanmethod separator='
'} - Days or - Posts
-
Scan back X (posts/days) for each new group? Can backfill to scan further.
-
- - -
The target date for safe backfill. Format: YYYY-MM-DD
-
- {html_radios id="disablebackfillgroup" name='disablebackfillgroup' values=$yesno_ids output=$yesno_names selected=$site->disablebackfillgroup separator='
'} -
Whether to disable a group automatically during backfill if the target date has been reached.
-
- {html_radios id="allasmgr" name='allasmgr' values=$yesno_ids output=$yesno_names selected=$site->allasmgr separator='
'} -
This will make all releases to be treated as multigroup releases and go into one table for collection/binaries/parts/missed_parts processing.
- This setting will most likely cause higher load on server
-
-
- -
-Lookup Settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- {html_options style="width:180px;" id="lookuptvrage" name='lookuptvrage' values=$lookuptv_ids output=$lookuptv_names selected=$site->lookuptvrage} -
Whether to attempt to lookup TvRage ids on the web.
-
- {html_options style="width:180px;" id="lookupbooks" name='lookupbooks' values=$lookupbooks_ids output=$lookupbooks_names selected=$site->lookupbooks} -
Whether to attempt to lookup book information from Amazon.
-
- {html_options_multiple id="book_reqids" name='book_reqids' values=$book_reqids_ids output=$book_reqids_names selected=$book_reqids_selected} -
Categories of Books to lookup information for (only work if Lookup Books is set to yes).
-
- {html_options style="width:180px;" id="lookupimdb" name='lookupimdb' values=$lookupmovies_ids output=$lookupmovies_names selected=$site->lookupimdb} -
Whether to attempt to lookup film information from IMDB or TheMovieDB.
-
: - {html_options id="lookuplanguage" name='lookuplanguage' values=$lookuplanguage_iso output=$lookuplanguage_names selected=$site->lookuplanguage} -
Preferred language for scraping external sources.
-
: - {html_radios id="lookupanidb" name='lookupanidb' values=$yesno_ids output=$yesno_names selected=$site->lookupanidb separator='
'} -
Whether to attempt to lookup anime information from AniDB when processing binaries.
-
- {html_options style="width:180px;" id="lookupmusic" name='lookupmusic' values=$lookupmusic_ids output=$lookupmusic_names selected=$site->lookupmusic} -
Whether to attempt to lookup music information from Amazon.
-
: - {html_radios id="saveaudiopreview" name='saveaudiopreview' values=$yesno_ids output=$yesno_names selected=$site->saveaudiopreview separator='
'} -
Whether to save a preview of an audio release (requires deep rar inspection enabled).
It is advisable to specify a path to the lame binary to reduce the size of audio previews.
-
- {html_options style="width:180px;" id="lookupgames" name='lookupgames' values=$lookupgames_ids output=$lookupgames_names selected=$site->lookupgames} -
Whether to attempt to lookup game information from Amazon.
-
: - {html_radios id="lookupxxx" name='lookupxxx' values=$yesno_ids output=$yesno_names selected=$site->lookupxxx separator='
'} -
Whether to attempt to lookup XXX information when processing binaries.
-
-
-
- Language/Categorization options - - - - - - - - - -
- {html_radios id="categorizeforeign" name='categorizeforeign' values=$yesno_ids output=$yesno_names selected=$site->categorizeforeign separator='
'} -
Whether to send foreign movies/tv to - foreign sections or not. If set to true they will go in foreign categories. -
-
- {html_radios id="catwebdl" name='catwebdl' values=$yesno_ids output=$yesno_names selected=$site->catwebdl separator='
'} -
Whether to send WEB-DL to the WEB-DL section or not. If set to true they will go in - WEB-DL category, false will send them in HD TV.
This will also make them inaccessible to - Sickbeard and possibly Couchpotato. -
-
-
- -
-Password Settings - - - - - - - - - - - - - - - - - - - - - - - -
: - {html_radios id="checkpasswordedrar" name='checkpasswordedrar' values=$passwd_ids output=$passwd_names selected=$site->checkpasswordedrar separator='
'} -
Whether to attempt to peek into every release, to see if rar files are password protected.
-
- {html_radios id="fetchlastcompressedfiles" name='fetchlastcompressedfiles' values=$yesno_ids output=$yesno_names selected=$site->end separator='
'} -
Try to download the last rar or zip file? (This is good if most of the files are at the end.) Note: The first rar/zip is still downloaded. -
-
: - {html_radios id="deletepasswordedrelease" name='deletepasswordedrelease' values=$yesno_ids output=$yesno_names selected=$site->deletepasswordedrelease separator='
'} -
Whether to delete releases which are passworded or potentially passworded.
-
- {html_radios id="deletepossiblerelease" name='deletepossiblerelease' values=$yesno_ids output=$yesno_names selected=$site->deletepossiblerelease separator='
'} -
Whether to delete releases which are potentially passworded. This applies to your post process additional inner file blacklist.
-
: - {html_options id="showpasswordedrelease" name='showpasswordedrelease' values=$passworded_ids output=$passworded_names selected=$site->showpasswordedrelease} -
Whether to show passworded or potentially passworded releases in browse, search, api and rss - feeds. Potentially passworded means releases which contain .cab or .ace files which are - typically password protected. (*yes): Unprocessed releases are hidden. (*no): Unprocessed releases are displayed. -
-
-
- -
- IMDB.com URL - - - - - -
- {html_options style="width:180px;" class="imdburl" id="imdburl" name='imdburl' values=$imdb_urls output=$imdburl_names selected=$site->imdburl} -
Akas.imdb.com returns titles in their original title, imdb.com returns titles based on - your IP address (if you are in france, you will get french titles). -
-
-
- -
- Usenet Settings - - - - - - - - - - - - - - - - - - - - - - -
- - -
The maximum size in gigabytes to postprocess a release. If set to 0, then ignored. -
-
- -
The minimum size in megabytes to post process (additional) a release. If set to 0, then ignored.
-
- {html_radios id="lookuppar2" name='lookuppar2' values=$yesno_ids output=$yesno_names selected=$site->lookuppar2 separator='
'} -
Whether to attempt to find a better name for releases in misc->other using the PAR2 - file.
NOTE: this can be slow depending on the group!
-
- {html_radios id="addpar2" name='addpar2' values=$yesno_ids output=$yesno_names selected=$site->addpar2 separator='
'} -
When going through PAR2 files, add them to the RAR file content list of the NZB.
-
-
- -
- Advanced Settings - For advanced users - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
The maximum amount of NZB files to create on stage 5 at a time in update_releases. If more are to be created it will loop stage 5 until none remain.
-
- {html_radios id="partrepair" name='partrepair' values=$yesno_ids output=$yesno_names selected=$site->partrepair separator='
'} -
Whether to attempt to repair parts or not, increases backfill/binaries updating - time. -
-
- {html_radios id="safepartrepair" name='safepartrepair' values=$yesno_ids output=$yesno_names selected=$site->safepartrepair separator='
'} -
Whether to put unreceived parts into missed_parts table when running binaries(safe) or backfill scripts.
-
- -
The maximum amount of articles to attempt to repair at a time. If you notice that you - are getting a lot of parts into the missed_parts table, it is possible that you USP is not keeping up - with the requests. Try to reduce the threads to safe scripts or stop using safe scripts until improves. Ar least until the cause can be determined. -
-
- -
Maximum amount of times to try part repair.
-
- - -
- Leaving this empty will use PHP to decode yEnc, which is slow. -
Putting the path to yydecode will use yydecode, which is faster than PHP. Download yydecode - on sourceforce. -
-
- {html_radios id="processjpg" name='processjpg' values=$yesno_ids output=$yesno_names selected=$site->processjpg separator='
'} -
Whether to attempt to retrieve a JPG file while additional post processing, these are - usually on XXX releases.
-
- {html_radios id="processthumbnails" name='processthumbnails' values=$yesno_ids output=$yesno_names selected=$site->processthumbnails separator='
'} -
Whether to attempt to process a video thumbnail image. You must have ffmpeg for this.
-
- {html_radios id="processvideos" name='processvideos' values=$yesno_ids output=$yesno_names selected=$site->processvideos separator='
'} -
Whether to attempt to process a video sample, these videos are very short 1-3 seconds, - 100KB on average, in ogg video format. You must have ffmpeg for this.
-
- - -
The maximum number of segments to download to generate the sample video file or jpg - sample image. (Default 2) -
-
- - -
The maximum duration (In Seconds) for ffmpeg to generate the sample for. (Default 5) -
-
- {html_radios id="extractusingrarinfo" name='extractusingrarinfo' values=$yesno_ids output=$yesno_names selected=$site->extractusingrarinfo separator='
'} -
Whether to use rarinfo or 7zip/unrar directly to decompress zip/rar files. -
Using rarinfo is faster, but the extracted files are not as large which leads to smaller video samples/ potentially black preview screenshots. -
-
- -
If a rar/zip has rar/zip inside of it, how many times should we go in those inner rar/zip files.
-
- -
You can add a regex here to set releases to potentially passworded when a file name inside a rar/zip matches this regex. -
You must ensure this regex is valid, a non valid regex will cause errors during processing! -
-
-
-
- Movie Trailer settings - - - - - - - - - - - - - -
- {html_radios id="trailers_display" name='trailers_display' values=$yesno_ids output=$yesno_names selected=$site->trailers_display separator='
'} -
Fetch and display trailers from TraktTV (Requires API key) and/or TrailerAddict on the details page?
-
- -
Maximum width in pixels for the trailer window. (Default: 480)
-
- -
Maximum height in pixels for the trailer window. (Default: 345)
-
-
- -
- Advanced - Postprocessing Settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
How much time to wait for unrar/7zip/mediainfo/ffmpeg/avconv before killing it, set to 0 to disable. - 60 is a good value. Requires the GNU Timeout path to be set.
-
- - -
The maximum amount of releases to process for passwords/previews/mediainfo per run. - Every release gets processed here. This uses NNTP an connection, 1 per thread. This does not query - Amazon. -
-
- - -
If a part fails to download while post processing, this will retry up to the amount - you set, then give up. -
-
- - -
This overrides the above setting if set above 1. How many parts to check for a - password before giving up. This slows down post processing massively, better to leave it 1. -
-
- - -
The maximum amount of TV shows to process with TVRage per run. This does not use an - NNTP connection or query Amazon. -
-
- - -
The maximum amount of movies to process with IMDB per run. This does not use an NNTP - connection or query Amazon. -
-
- - -
The maximum amount of anime to process with anidb per run. This does not use an NNTP - connection or query Amazon. -
-
- - -
The maximum amount of music to process with amazon per run. This does not use an NNTP - connection. -
-
- - -
The maximum amount of games to process with amazon per run. This does not use an NNTP - connection. -
-
- - -
The maximum amount of books to process with amazon per run. This does not use an NNTP - connection -
-
- - -
The maximum amount of XXX to process per run. This does not use an NNTP - connection or query Amazon. -
-
- - -
The maximum number of releases to check per run(threaded script only).
-
- - -
Sleep time in milliseconds to wait in between amazon requests. If you thread - post-proc, multiply by the number of threads. ie Postprocessing Threads = 12, Amazon sleep time = - 12000
https://affiliate-program.amazon.com/gp/advertising/api/detail/faq.html -
-
-
- -
- NFO Processing Settings - - - - - - - - - - - - - - - - - - - - - -
- {html_radios id="lookupnfo" name='lookupnfo' values=$yesno_ids output=$yesno_names selected=$site->lookupnfo separator='
'} -
Whether to attempt to retrieve an nfo file from usenet.
- NOTE: disabling nfo lookups will disable movie lookups. -
-
- -
The maximum amount of NFO files to process per run. This uses NNTP an connection, 1 - per thread. This does not query Amazon. -
-
- -
The maximum size in gigabytes of a release to process it for NFOs. If set to 0, then ignored.
-
- -
The minimum size in megabytes of a release to process it for NFOs. If set to 0, then ignored.
-
- -
How many times to retry when a NFO fails to download. If set to 0, we will not retry. The max is 7.
-
-
- -
- Connection Settings - - - - - - - - - - - - - - - - - - - -
- - -
The maximum number of retry attmpts to connect to nntp provider. On error, each retry - takes approximately 5 seconds nntp returns reply. (Default 10) -
-
- {html_radios id="alternate_nntp" name='alternate_nntp' values=$yesno_ids output=$yesno_names selected=$site->alternate_nntp separator='
'} -
This sets Postproccessing Additional/Nfo to use the alternate NNTP provider as set in - config.php. -
-
- -
The time in hours to wait, since last activity, before releases without parts counts - in the subject are are created
Setting this below 2 hours could create incomplete releases.. -
-
- -
How many hours to wait before converting a collection into a release that is considered "stuck".
Default value is 48 hours. -
-
-
-
- Developer Settings - - - - - -
- {html_radios id="showdroppedyencparts" name='showdroppedyencparts' values=$yesno_ids output=$yesno_names selected=$site->showdroppedyencparts separator='
'} -
For developers. Whether to log all headers that have 'yEnc' and are dropped. Logged to not_yenc/groupname.dropped.txt.
-
-
- -
- Advanced - Threaded Settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
The number of threads for update_binaries. If you notice that you are getting a lot of - parts into the missed_parts table, it is possible that you USP is not keeping up with the requests. - Try to reduce the threads. At least until the cause can be determined. -
-
- - -
The number of threads for backfill.
-
- - -
The number of threads for releases update scripts. -
-
- - -
The number of threads for import-nzb(bulk). This will thread each subfolder.
-
- - -
The number of threads for additional postprocessing. This includes deep rar - inspection, preview and sample creation and nfo processing. -
-
- -
The number of threads for nfo postprocessing. - The max is 16, if you set anything higher it will use 16. -
-
- -
The number of threads for local Request id processing. -
-
- - -
The number of threads for non-amazon postprocessing. This includes movies, anime and - tv lookups. -
-
- - -
The number of threads for fixReleasesNames. This includes md5, nfos, par2 and - filenames. -
-
-
- -
-User Settings - - - - - - - - - - - - - - - - - - - - - - - - - - - -
: - {html_radios id="registerstatus" name='registerstatus' values=$registerstatus_ids output=$registerstatus_names selected=$site->registerstatus separator='
'} -
The status of registrations to the site.
-
: - {html_radios id="storeuserips" name='storeuserips' values=$yesno_ids output=$yesno_names selected=$site->storeuserips separator='
'} -
Whether to store the users ip address when they signup or login.
-
- {html_radios id="privateprofiles" name='privateprofiles' values=$yesno_ids output=$yesno_names selected=$site->privateprofiles separator='
'} -
Should we disallow users from accessing profiles other than their own? (regardless of this setting admin/mod can access).
-
: - -
The number of days to preserve user download history, for use when checking limits being hit. Set to zero will remove all records of what users download, but retain history of when, so that role based limits can still be applied.
-
: - -
A comma separated list of IP addresses which will be excluded from user limits on number of requests and downloads per IP address. Include values for google reader and other shared services which may be being used.
-
-
- - - - +
+ {{csrf_field()}} + + {if isset ($error) && $error != ''} +
{$error}
+ {/if} + +
+ Main Site Settings, HTML Layout, Tags + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + +
Displayed around the site and contact form as the name for the site.
+
: + +
Displayed in the header on every public page.
+
: + +
Stem meta-tag appended to all page title tags.
+
: + +
Stem meta-description appended to all page meta description tags.
+
: + +
Stem meta-keywords appended to all page meta keyword tags.
+
: + +
Displayed in the footer section of every public page.
+
: + +
The relative path to a the landing page shown when a user logs in, or clicks + the home link. +
+
: + + +
A just for fun value shown in debug and not on public pages.
+
+ +
The absolute path to the place covers will be stored.
+
: + {html_options class="siteeditstyle" id="style" name='style' values=$themelist output=$themelist selected=$site->style} +
The theme folder which will be loaded for css and images and overriden + templates. +
+
: + {html_radios id="userselstyle" name='userselstyle' values=$yesno_ids output=$yesno_names selected=$site->userselstyle separator='
'} +
Should users be allowed to change their site theme or not..
+
: + +
Optional URL to prepend to external links
+
: + +
The number of recent forum posts to show in the 'recent forum posts' widget. + Set to 0 to disable. +
+
: + +
Shown in the contact us page, and where the contact html form is sent to. +
+
: + +
Text displayed in the terms and conditions page.
+
+
+ +
+ Google Adsense, Analytics and 3rd Party Banners + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + +
e.g. UA-xxxxxx-x
+
: + +
e.g. pub-123123123123123
+
: + +
The id of the google search ad panel displayed at the bottom of the left + menu. +
+
: + +
The banner slot in the header.
+
: + +
The banner slot in the header.
+
: + +
The banner slot in the release details view.
+
+
+ + +
+ 3rd Party API Keys + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + +
The api key used for access to tmdb
+
: + +
The api key used for access to rotten tomatoes
+
: + +
The amazon public api key. Used for cover lookups.
+
: + +
The amazon private api key. Used for cover lookups.
+
: + +
The amazon associate tag. Used for cover lookups.
+
+ +
The Trakt.tv API v2 Client ID (SHA256 hash - 64 characters long string). Used + for movie and tv lookups. +
+
+ + +
The Fanart.tv api key. Used for Fanart.tv lookups. Fanart.tv would appreciate + it if + you use this service to help them out by adding high quality images not already available on + TMDB. +
+
+ + +
OmdbAPI key obtained from Omdb.Used for OmdbAPI lookups. This key is private + and needs + monthly pledge. You can check the info on OmdbAPI site http://www.omdbapi.com/. You need an + pledge + with poster api access (currently 5$/month). +
+
+ + +
The giantbomb key. Used for game lookups.
+
+ + +
The Anidb api key. Used for Anime lookups.
+
+
+ +
+ 3rd Party Application Paths + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + +
The path to an unrar binary, used in deep password detection and media info + grabbing. +
Use forward slashes in windows c:/path/to/unrar.exe
+
: + +
The path to where unrar puts files. WARNING: This directory will have its + contents deleted. +
Use forward slashes in windows c:/temp/path/stuff/will/be/unpacked/to +
+
: + +
The path to the mediainfo + binary. Used for deep file media analysis. Use empty path to disable mediainfo checks +
Use forward slashes in windows c:/path/to/mediainfo.exe +
+
+ +
The path to the ffmpeg or avconv binary. Used for making thumbnails and + video/audio + previews. +
Use forward slashes in windows c:/path/to/ffmpeg.exe +
+
: + +
The path to the lame + binary. Used for audio manipulation. +
Use forward slashes in windows c:/path/to/lame.exe
+
+ + +
The path to the 7za/p7zip in Ubuntu 13.10 (7zip command line in windows) + binary, used + for grabbing nfos from compressed zip files. +
Use forward slashes in windows c:/path/to/7z.exe +
+
+ +
The path to the timeout + binary. + This is used to limit the amount of time unrar/7zip/mediainfo/ffmpeg/avconv can run. + You can the time limit in the process additional section. + You can leave this empty to disable this. +
Use forward slashes in windows c:/path/to/timeout.exe +
+
+ +
Path to magic number database. Windows' users should set this if they + have installed GNUWin file. *nix users can optionally set this to a file of their choice. +
+
+
+ + +
+ Download Queue Integration Settings + + + + + + +
: + {html_radios id="sabintegrationtype" name='sabintegrationtype' values=$sabintegrationtype_ids output=$sabintegrationtype_names selected=$site->integrationtype separator='
'} +
Whether to allow integration with a SAB/NZBGet install or not
+
+ +
+ + +
+ Usenet Settings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + +
The directory where nzb files will be stored.
+
+ +
Levels deep to store the nzb Files. +
If you change this you must run the misc/testing/DB/nzb-reorg.php + script! +
+
+ +
The number of hours incomplete parts and binaries will be retained.
+
: + +
The number of days releases will be retained for use throughout site. Set to 0 + to disable. +
+
+ + +
The number of hours releases categorized as Misc->Other will be retained. Set + to 0 to disable. +
+
+ +
The number of hours releases categorized as Misc->Hashed will be retained. Set + to 0 to disable. +
+
: + +
Default is 0 (off), which will remove parts in one go. If backfilling or + importing and parts table is large, using chunks of 5000+ will speed up removal. Normal + indexing is fastest with this setting at 0. +
+
: + +
The minimum number of files to make a release. i.e. if set to two, then + releases which only contain one file will not be created. +
+
: + +
The minimum total size in bytes to make a release. If set to 0, then + ignored. +
+
+ +
The maximum total size in bytes to make a release. If set to 0, then ignored. + Only deletes + during release creation. +
+
: + +
The minimum completion percent to make a release. i.e. if set to 97, then + releases under 97% completion will not be created. If set to 0, then ignored. +
+
+ {html_radios id="grabstatus" name='grabstatus' values=$yesno_ids output=$yesno_names selected=$site->grabstatus separator='
'} +
Whether to update download counts when someone downloads a release.
+
+ +
The time in hours to check for crossposted releases - this will delete 1 of + the releases if the 2 are posted by the same person in the same time period. +
+
: + {html_radios id="compressedheaders" name='compressedheaders' values=$yesno_ids output=$yesno_names selected=$site->compressedheaders separator='
'} +
Some servers allow headers to be sent over in a compressed format. If enabled + this will use much less bandwidth, but processing times may increase. +
+
: + +
The maximum number of messages to fetch at a time from the server.
+
: + +
The maximum number of headers that update binaries sees as the total range. + This ensure that a total of no more than this is attempted to be downloaded at one time per + group. +
+
: + {html_radios id="newgroupscanmethod" name='newgroupscanmethod' values=$yesno_ids output=$newgroupscan_names selected=$site->newgroupscanmethod separator='
'} + Days or + Posts
+
Scan back X (posts/days) for each new group? Can backfill to scan further. +
+
+ + +
The target date for safe backfill. Format: YYYY-MM-DD
+
+ {html_radios id="disablebackfillgroup" name='disablebackfillgroup' values=$yesno_ids output=$yesno_names selected=$site->disablebackfillgroup separator='
'} +
Whether to disable a group automatically during backfill if the target date + has been reached. +
+
+ {html_radios id="allasmgr" name='allasmgr' values=$yesno_ids output=$yesno_names selected=$site->allasmgr separator='
'} +
This will make all releases to be treated as multigroup releases and go into + one table for collection/binaries/parts/missed_parts processing.
+ This setting will most likely cause higher load on server +
+
+
+ +
+ Lookup Settings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {html_options style="width:180px;" id="lookuptvrage" name='lookuptvrage' values=$lookuptv_ids output=$lookuptv_names selected=$site->lookuptvrage} +
Whether to attempt to lookup TvRage ids on the web.
+
+ {html_options style="width:180px;" id="lookupbooks" name='lookupbooks' values=$lookupbooks_ids output=$lookupbooks_names selected=$site->lookupbooks} +
Whether to attempt to lookup book information from Amazon.
+
+ {html_options_multiple id="book_reqids" name='book_reqids' values=$book_reqids_ids output=$book_reqids_names selected=$book_reqids_selected} +
Categories of Books to lookup information for (only work if Lookup Books is + set to yes). +
+
+ {html_options style="width:180px;" id="lookupimdb" name='lookupimdb' values=$lookupmovies_ids output=$lookupmovies_names selected=$site->lookupimdb} +
Whether to attempt to lookup film information from IMDB or TheMovieDB.
+
: + {html_options id="lookuplanguage" name='lookuplanguage' values=$lookuplanguage_iso output=$lookuplanguage_names selected=$site->lookuplanguage} +
Preferred language for scraping external sources.
+
: + {html_radios id="lookupanidb" name='lookupanidb' values=$yesno_ids output=$yesno_names selected=$site->lookupanidb separator='
'} +
Whether to attempt to lookup anime information from AniDB when processing + binaries. +
+
+ {html_options style="width:180px;" id="lookupmusic" name='lookupmusic' values=$lookupmusic_ids output=$lookupmusic_names selected=$site->lookupmusic} +
Whether to attempt to lookup music information from Amazon.
+
: + {html_radios id="saveaudiopreview" name='saveaudiopreview' values=$yesno_ids output=$yesno_names selected=$site->saveaudiopreview separator='
'} +
Whether to save a preview of an audio release (requires deep rar inspection + enabled).
It is advisable to specify a path to the lame binary to reduce the size of + audio previews. +
+
+ {html_options style="width:180px;" id="lookupgames" name='lookupgames' values=$lookupgames_ids output=$lookupgames_names selected=$site->lookupgames} +
Whether to attempt to lookup game information from Amazon.
+
: + {html_radios id="lookupxxx" name='lookupxxx' values=$yesno_ids output=$yesno_names selected=$site->lookupxxx separator='
'} +
Whether to attempt to lookup XXX information when processing binaries.
+
+
+
+ Language/Categorization options + + + + + + + + + +
+ {html_radios id="categorizeforeign" name='categorizeforeign' values=$yesno_ids output=$yesno_names selected=$site->categorizeforeign separator='
'} +
Whether to send foreign movies/tv to + foreign sections or not. If set to true they will go in foreign categories. +
+
+ {html_radios id="catwebdl" name='catwebdl' values=$yesno_ids output=$yesno_names selected=$site->catwebdl separator='
'} +
Whether to send WEB-DL to the WEB-DL section or not. If set to true they will + go in + WEB-DL category, false will send them in HD TV.
This will also make them inaccessible to + Sickbeard and possibly Couchpotato. +
+
+
+ +
+ Password Settings + + + + + + + + + + + + + + + + + + + + + + + +
: + {html_radios id="checkpasswordedrar" name='checkpasswordedrar' values=$passwd_ids output=$passwd_names selected=$site->checkpasswordedrar separator='
'} +
Whether to attempt to peek into every release, to see if rar files are + password protected.
+
+ {html_radios id="fetchlastcompressedfiles" name='fetchlastcompressedfiles' values=$yesno_ids output=$yesno_names selected=$site->end separator='
'} +
Try to download the last rar or zip file? (This is good if most of the files + are at the end.) Note: The first rar/zip is still downloaded. +
+
: + {html_radios id="deletepasswordedrelease" name='deletepasswordedrelease' values=$yesno_ids output=$yesno_names selected=$site->deletepasswordedrelease separator='
'} +
Whether to delete releases which are passworded or potentially + passworded.
+
+ {html_radios id="deletepossiblerelease" name='deletepossiblerelease' values=$yesno_ids output=$yesno_names selected=$site->deletepossiblerelease separator='
'} +
Whether to delete releases which are potentially passworded. This applies to + your post process additional inner file blacklist.
+
: + {html_options id="showpasswordedrelease" name='showpasswordedrelease' values=$passworded_ids output=$passworded_names selected=$site->showpasswordedrelease} +
Whether to show passworded or potentially passworded releases in browse, + search, api and rss + feeds. Potentially passworded means releases which contain .cab or .ace files which are + typically password protected. (*yes): Unprocessed releases are hidden. (*no): Unprocessed + releases are displayed. +
+
+
+ +
+ IMDB.com URL + + + + + +
+ {html_options style="width:180px;" class="imdburl" id="imdburl" name='imdburl' values=$imdb_urls output=$imdburl_names selected=$site->imdburl} +
Akas.imdb.com returns titles in their original title, imdb.com returns titles + based on + your IP address (if you are in france, you will get french titles). +
+
+
+ +
+ Usenet Settings + + + + + + + + + + + + + + + + + + + + + + +
+ + +
The maximum size in gigabytes to postprocess a release. If set to 0, then + ignored. +
+
+ +
The minimum size in megabytes to post process (additional) a release. If set + to 0, then ignored. +
+
+ {html_radios id="lookuppar2" name='lookuppar2' values=$yesno_ids output=$yesno_names selected=$site->lookuppar2 separator='
'} +
Whether to attempt to find a better name for releases in misc->other using the + PAR2 + file.
NOTE: this can be slow depending on the group!
+
+ {html_radios id="addpar2" name='addpar2' values=$yesno_ids output=$yesno_names selected=$site->addpar2 separator='
'} +
When going through PAR2 files, add them to the RAR file content list of the + NZB. +
+
+
+ +
+ Advanced Settings - For advanced users + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
The maximum amount of NZB files to create on stage 5 at a time in + update_releases. If more are to be created it will loop stage 5 until none remain. +
+
+ {html_radios id="partrepair" name='partrepair' values=$yesno_ids output=$yesno_names selected=$site->partrepair separator='
'} +
Whether to attempt to repair parts or not, increases backfill/binaries + updating + time. +
+
+ {html_radios id="safepartrepair" name='safepartrepair' values=$yesno_ids output=$yesno_names selected=$site->safepartrepair separator='
'} +
Whether to put unreceived parts into missed_parts table when running + binaries(safe) or backfill scripts. +
+
+ +
The maximum amount of articles to attempt to repair at a time. If you notice + that you + are getting a lot of parts into the missed_parts table, it is possible that you USP is not + keeping up + with the requests. Try to reduce the threads to safe scripts or stop using safe scripts + until improves. Ar least until the cause can be determined. +
+
+ +
Maximum amount of times to try part repair.
+
+ + +
+ Leaving this empty will use PHP to decode yEnc, which is slow. +
Putting the path to yydecode will use yydecode, which is faster than PHP. Download + yydecode + on sourceforce. +
+
+ {html_radios id="processjpg" name='processjpg' values=$yesno_ids output=$yesno_names selected=$site->processjpg separator='
'} +
Whether to attempt to retrieve a JPG file while additional post processing, + these are + usually on XXX releases.
+
+ {html_radios id="processthumbnails" name='processthumbnails' values=$yesno_ids output=$yesno_names selected=$site->processthumbnails separator='
'} +
Whether to attempt to process a video thumbnail image. You must have ffmpeg + for this.
+
+ {html_radios id="processvideos" name='processvideos' values=$yesno_ids output=$yesno_names selected=$site->processvideos separator='
'} +
Whether to attempt to process a video sample, these videos are very short 1-3 + seconds, + 100KB on average, in ogg video format. You must have ffmpeg for this.
+
+ + +
The maximum number of segments to download to generate the sample video file + or jpg + sample image. (Default 2) +
+
+ + + +
The maximum duration (In Seconds) for ffmpeg to generate the sample for. + (Default 5) +
+
+ + {html_radios id="extractusingrarinfo" name='extractusingrarinfo' values=$yesno_ids output=$yesno_names selected=$site->extractusingrarinfo separator='
'} +
Whether to use rarinfo or 7zip/unrar directly to decompress zip/rar files. +
Using rarinfo is faster, but the extracted files are not as large which leads + to smaller video samples/ potentially black preview screenshots. +
+
+ +
If a rar/zip has rar/zip inside of it, how many times should we go in those + inner rar/zip files. +
+
+ +
You can add a regex here to set releases to potentially passworded when a file + name inside a rar/zip matches this regex. +
You must ensure this regex is valid, a non valid regex will cause errors during + processing! +
+
+
+
+ Movie Trailer settings + + + + + + + + + + + + + +
+ {html_radios id="trailers_display" name='trailers_display' values=$yesno_ids output=$yesno_names selected=$site->trailers_display separator='
'} +
Fetch and display trailers from TraktTV (Requires API key) and/or + TrailerAddict on the details page? +
+
+ +
Maximum width in pixels for the trailer window. (Default: 480)
+
+ +
Maximum height in pixels for the trailer window. (Default: 345)
+
+
+ +
+ Advanced - Postprocessing Settings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
How much time to wait for unrar/7zip/mediainfo/ffmpeg/avconv before killing + it, set to 0 to disable. + 60 is a good value. Requires the GNU Timeout path to be set. +
+
+ + +
The maximum amount of releases to process for passwords/previews/mediainfo per + run. + Every release gets processed here. This uses NNTP an connection, 1 per thread. This does not + query + Amazon. +
+
+ + + +
If a part fails to download while post processing, this will retry up to the + amount + you set, then give up. +
+
+ + +
This overrides the above setting if set above 1. How many parts to check for a + password before giving up. This slows down post processing massively, better to leave it 1. +
+
+ + +
The maximum amount of TV shows to process with TVRage per run. This does not + use an + NNTP connection or query Amazon. +
+
+ + +
The maximum amount of movies to process with IMDB per run. This does not use + an NNTP + connection or query Amazon. +
+
+ + +
The maximum amount of anime to process with anidb per run. This does not use + an NNTP + connection or query Amazon. +
+
+ + +
The maximum amount of music to process with amazon per run. This does not use + an NNTP + connection. +
+
+ + +
The maximum amount of games to process with amazon per run. This does not use + an NNTP + connection. +
+
+ + +
The maximum amount of books to process with amazon per run. This does not use + an NNTP + connection +
+
+ + +
The maximum amount of XXX to process per run. This does not use an NNTP + connection or query Amazon. +
+
+ + +
The maximum number of releases to check per run(threaded script only).
+
+ + +
Sleep time in milliseconds to wait in between amazon requests. If you thread + post-proc, multiply by the number of threads. ie Postprocessing Threads = 12, Amazon sleep + time = + 12000
https://affiliate-program.amazon.com/gp/advertising/api/detail/faq.html +
+
+
+ +
+ NFO Processing Settings + + + + + + + + + + + + + + + + + + + + + +
+ {html_radios id="lookupnfo" name='lookupnfo' values=$yesno_ids output=$yesno_names selected=$site->lookupnfo separator='
'} +
Whether to attempt to retrieve an nfo file from usenet.
+ NOTE: disabling nfo lookups will disable movie lookups. +
+
+ +
The maximum amount of NFO files to process per run. This uses NNTP an + connection, 1 + per thread. This does not query Amazon. +
+
+ +
The maximum size in gigabytes of a release to process it for NFOs. If set to + 0, then ignored. +
+
+ +
The minimum size in megabytes of a release to process it for NFOs. If set to + 0, then ignored. +
+
+ +
How many times to retry when a NFO fails to download. If set to 0, we will not + retry. The max is 7. +
+
+
+ +
+ Connection Settings + + + + + + + + + + + + + + + + + + + +
+ + +
The maximum number of retry attmpts to connect to nntp provider. On error, + each retry + takes approximately 5 seconds nntp returns reply. (Default 10) +
+
+ {html_radios id="alternate_nntp" name='alternate_nntp' values=$yesno_ids output=$yesno_names selected=$site->alternate_nntp separator='
'} +
This sets Postproccessing Additional/Nfo to use the alternate NNTP provider as + set in + config.php. +
+
+ +
The time in hours to wait, since last activity, before releases without parts + counts + in the subject are are created
Setting this below 2 hours could create incomplete + releases.. +
+
+ +
How many hours to wait before converting a collection into a release that is + considered "stuck".
Default value is 48 hours. +
+
+
+
+ Developer Settings + + + + + +
+ {html_radios id="showdroppedyencparts" name='showdroppedyencparts' values=$yesno_ids output=$yesno_names selected=$site->showdroppedyencparts separator='
'} +
For developers. Whether to log all headers that have 'yEnc' and are dropped. + Logged to not_yenc/groupname.dropped.txt. +
+
+
+ +
+ Advanced - Threaded Settings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
The number of threads for update_binaries. If you notice that you are getting + a lot of + parts into the missed_parts table, it is possible that you USP is not keeping up with the + requests. + Try to reduce the threads. At least until the cause can be determined. +
+
+ + +
The number of threads for backfill.
+
+ + +
The number of threads for releases update scripts. +
+
+ + +
The number of threads for import-nzb(bulk). This will thread each subfolder. +
+
+ + +
The number of threads for additional postprocessing. This includes deep rar + inspection, preview and sample creation and nfo processing. +
+
+ +
The number of threads for nfo postprocessing. + The max is 16, if you set anything higher it will use 16. +
+
+ +
The number of threads for local Request id processing. +
+
+ + +
The number of threads for non-amazon postprocessing. This includes movies, + anime and + tv lookups. +
+
+ + +
The number of threads for fixReleasesNames. This includes md5, nfos, par2 and + filenames. +
+
+
+ +
+ User Settings + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + {html_radios id="registerstatus" name='registerstatus' values=$registerstatus_ids output=$registerstatus_names selected=$site->registerstatus separator='
'} +
The status of registrations to the site.
+
: + {html_radios id="storeuserips" name='storeuserips' values=$yesno_ids output=$yesno_names selected=$site->storeuserips separator='
'} +
Whether to store the users ip address when they signup or login.
+
+ {html_radios id="privateprofiles" name='privateprofiles' values=$yesno_ids output=$yesno_names selected=$site->privateprofiles separator='
'} +
Should we disallow users from accessing profiles other than + their own? (regardless of this setting admin/mod can access). +
+
: + +
The number of days to preserve user download history, for use when checking + limits being hit. Set to zero will remove all records of what users download, but retain + history of when, so that role based limits can still be applied. +
+
: + +
A comma separated list of IP addresses which will be excluded from user limits + on number of requests and downloads per IP address. Include values for google reader and + other shared services which may be being used. +
+
+
+ + + +
diff --git a/resources/views/themes/admin/tmux-edit.tpl b/resources/views/themes/admin/tmux-edit.tpl index 5ee3576cd..f1d20f726 100644 --- a/resources/views/themes/admin/tmux-edit.tpl +++ b/resources/views/themes/admin/tmux-edit.tpl @@ -2,6 +2,7 @@

{$page->title}

+ {{csrf_field()}} {if isset($error) && $error != ''}
{$error}
diff --git a/resources/views/themes/admin/user-edit.tpl b/resources/views/themes/admin/user-edit.tpl index 5d02a1fb4..3479f3898 100644 --- a/resources/views/themes/admin/user-edit.tpl +++ b/resources/views/themes/admin/user-edit.tpl @@ -5,6 +5,7 @@ {/if} Go back + {{csrf_field()}} diff --git a/resources/views/themes/admin/user-list.tpl b/resources/views/themes/admin/user-list.tpl index 884792df1..aff99b026 100644 --- a/resources/views/themes/admin/user-list.tpl +++ b/resources/views/themes/admin/user-list.tpl @@ -4,6 +4,7 @@
+ {{csrf_field()}}    diff --git a/routes/web.php b/routes/web.php index bd348b234..adde271b3 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,6 +15,16 @@ Route::get('/', function () { redirect('/'); }); +/* +| +| We need to allow the post route to '/' +| as admin area needs the permission +| +*/ +Route::post('/', function () { + redirect('/'); +})->middleware('auth'); + Auth::routes(); Route::get('/login', function () { @@ -155,4 +165,4 @@ Route::post('/rss', function () { redirect('/rss'); })->middleware('auth', 'api'); -Route::get('/logout', 'Auth\LoginController@logout')->name('logout'); +Route::get('/logout', 'Auth\LoginController@logout')->name('logout'); \ No newline at end of file
Name: