mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
update AgentAllowedFamilyTableSeeder
This commit is contained in:
@@ -341,7 +341,7 @@ class AgentAllowedFamilyTableSeeder extends Seeder
|
|||||||
'exception' => 'no',
|
'exception' => 'no',
|
||||||
'allowhttps' => 'yes',
|
'allowhttps' => 'yes',
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
'hits' => 0,
|
'hits' => 1,
|
||||||
),
|
),
|
||||||
18 =>
|
18 =>
|
||||||
array (
|
array (
|
||||||
@@ -377,7 +377,7 @@ class AgentAllowedFamilyTableSeeder extends Seeder
|
|||||||
'exception' => 'no',
|
'exception' => 'no',
|
||||||
'allowhttps' => 'yes',
|
'allowhttps' => 'yes',
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
'hits' => 0,
|
'hits' => 6,
|
||||||
),
|
),
|
||||||
20 =>
|
20 =>
|
||||||
array (
|
array (
|
||||||
@@ -431,7 +431,7 @@ class AgentAllowedFamilyTableSeeder extends Seeder
|
|||||||
'exception' => 'no',
|
'exception' => 'no',
|
||||||
'allowhttps' => 'yes',
|
'allowhttps' => 'yes',
|
||||||
'comment' => '',
|
'comment' => '',
|
||||||
'hits' => 0,
|
'hits' => 3,
|
||||||
),
|
),
|
||||||
23 =>
|
23 =>
|
||||||
array (
|
array (
|
||||||
@@ -451,6 +451,42 @@ class AgentAllowedFamilyTableSeeder extends Seeder
|
|||||||
'comment' => '',
|
'comment' => '',
|
||||||
'hits' => 0,
|
'hits' => 0,
|
||||||
),
|
),
|
||||||
|
24 =>
|
||||||
|
array (
|
||||||
|
'id' => 25,
|
||||||
|
'family' => 'Transmission4.x',
|
||||||
|
'start_name' => 'Transmission 4.0.0',
|
||||||
|
'peer_id_pattern' => '/^-TR4([0-9])([0-9])([0-9])-/',
|
||||||
|
'peer_id_match_num' => 3,
|
||||||
|
'peer_id_matchtype' => 'dec',
|
||||||
|
'peer_id_start' => '-TR4000-',
|
||||||
|
'agent_pattern' => '/^Transmission\\/4\\.([0-9])\\.([0-9])/',
|
||||||
|
'agent_match_num' => 2,
|
||||||
|
'agent_matchtype' => 'dec',
|
||||||
|
'agent_start' => 'Transmission/4.0.0',
|
||||||
|
'exception' => 'no',
|
||||||
|
'allowhttps' => 'yes',
|
||||||
|
'comment' => NULL,
|
||||||
|
'hits' => 0,
|
||||||
|
),
|
||||||
|
25 =>
|
||||||
|
array (
|
||||||
|
'id' => 26,
|
||||||
|
'family' => 'qBittorrent 5.x',
|
||||||
|
'start_name' => 'qBittorrent 5.0.0',
|
||||||
|
'peer_id_pattern' => '/^-qB5([0-9])([0-9])/',
|
||||||
|
'peer_id_match_num' => 2,
|
||||||
|
'peer_id_matchtype' => 'dec',
|
||||||
|
'peer_id_start' => '-qB500',
|
||||||
|
'agent_pattern' => '/^qBittorrent\\/5\\.([0-9])\\.([0-9])/',
|
||||||
|
'agent_match_num' => 2,
|
||||||
|
'agent_matchtype' => 'dec',
|
||||||
|
'agent_start' => 'qBittorrent/5.0.0',
|
||||||
|
'exception' => 'no',
|
||||||
|
'allowhttps' => 'yes',
|
||||||
|
'comment' => NULL,
|
||||||
|
'hits' => 0,
|
||||||
|
),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -344,6 +344,7 @@ class Update extends Install
|
|||||||
Artisan::call("upgrade:migrate_torrents_table_text_column");
|
Artisan::call("upgrade:migrate_torrents_table_text_column");
|
||||||
}
|
}
|
||||||
Language::updateTransStatus();
|
Language::updateTransStatus();
|
||||||
|
$this->addSetting('main.complain_enabled', 'yes');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function runExtraMigrate()
|
public function runExtraMigrate()
|
||||||
|
|||||||
Reference in New Issue
Block a user