mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
implement node info page
This commit is contained in:
parent
96a03ec4ec
commit
f0c8bd968d
9 changed files with 414 additions and 12 deletions
|
|
@ -59,8 +59,6 @@ define('WEBSITE_CSS_VERSION', 1);
|
|||
|
||||
define('WEBSITE_PAGINATION_LIMIT', 20);
|
||||
|
||||
define('WEBSITE_MAGNET_SHORT_META_DESCRIPTION_LENGTH', 480);
|
||||
|
||||
// Moderation
|
||||
define('MODERATOR_IP_LIST', (array)
|
||||
[
|
||||
|
|
@ -87,7 +85,11 @@ define('MAGNET_DEFAULT_SENSITIVE', false);
|
|||
define('MAGNET_EDITOR_LOCK_TIMEOUT', 60*60);
|
||||
|
||||
define('MAGNET_META_TITLE_MIN_LENGTH', 10);
|
||||
define('MAGNET_META_TITLE_MAX_LENGTH', 255);
|
||||
|
||||
define('MAGNET_META_DESCRIPTION_MIN_LENGTH', 0);
|
||||
define('MAGNET_META_DESCRIPTION_MAX_LENGTH', 10000);
|
||||
|
||||
|
||||
define('MAGNET_STOP_WORDS_SIMILAR',
|
||||
[
|
||||
|
|
@ -113,11 +115,13 @@ define('TRACKER_LINKS', (object)
|
|||
[
|
||||
'announce' => 'http://[201:23b4:991a:634d:8359:4521:5576:15b7]/announce',
|
||||
'stats' => 'http://[201:23b4:991a:634d:8359:4521:5576:15b7]/stats',
|
||||
'scrape' => 'http://[201:23b4:991a:634d:8359:4521:5576:15b7]/scrape',
|
||||
],
|
||||
'Tracker 2' => (object)
|
||||
[
|
||||
'announce' => 'http://[200:1e2f:e608:eb3a:2bf:1e62:87ba:e2f7]/announce',
|
||||
'stats' => 'http://[200:1e2f:e608:eb3a:2bf:1e62:87ba:e2f7]/stats',
|
||||
'scrape' => 'http://[200:1e2f:e608:eb3a:2bf:1e62:87ba:e2f7]/scrape',
|
||||
],
|
||||
// ...
|
||||
]
|
||||
|
|
@ -128,4 +132,8 @@ define('YGGDRASIL_URL_REGEX', '/^0{0,1}[2-3][a-f0-9]{0,2}:/'); // thanks to @ygg
|
|||
|
||||
// Crawler
|
||||
define('CRAWLER_SCRAPE_QUEUE_LIMIT', 1);
|
||||
define('CRAWLER_SCRAPE_TIME_OFFLINE_TIMEOUT', 60*60*24);
|
||||
define('CRAWLER_SCRAPE_TIME_OFFLINE_TIMEOUT', 60*60*24);
|
||||
|
||||
// Rules
|
||||
define('RULE_SUBJECT', 'Common');
|
||||
define('RULE_LANGUAGES', 'All');
|
||||
Loading…
Add table
Add a link
Reference in a new issue