feat: Added ability to hide peer torrent client

This commit is contained in:
Roman Kelesidis 2025-05-04 10:15:09 +03:00
commit ab57cf1a05
2 changed files with 21 additions and 21 deletions

40
composer.lock generated
View file

@ -3145,16 +3145,16 @@
}, },
{ {
"name": "symfony/mailer", "name": "symfony/mailer",
"version": "v6.4.18", "version": "v6.4.21",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mailer.git", "url": "https://github.com/symfony/mailer.git",
"reference": "e93a6ae2767d7f7578c2b7961d9d8e27580b2b11" "reference": "ada2809ccd4ec27aba9fc344e3efdaec624c6438"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mailer/zipball/e93a6ae2767d7f7578c2b7961d9d8e27580b2b11", "url": "https://api.github.com/repos/symfony/mailer/zipball/ada2809ccd4ec27aba9fc344e3efdaec624c6438",
"reference": "e93a6ae2767d7f7578c2b7961d9d8e27580b2b11", "reference": "ada2809ccd4ec27aba9fc344e3efdaec624c6438",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3205,7 +3205,7 @@
"description": "Helps sending emails", "description": "Helps sending emails",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/mailer/tree/v6.4.18" "source": "https://github.com/symfony/mailer/tree/v6.4.21"
}, },
"funding": [ "funding": [
{ {
@ -3221,20 +3221,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-01-24T15:27:15+00:00" "time": "2025-04-26T23:47:35+00:00"
}, },
{ {
"name": "symfony/mime", "name": "symfony/mime",
"version": "v6.4.19", "version": "v6.4.21",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mime.git", "url": "https://github.com/symfony/mime.git",
"reference": "ac537b6c55ccc2c749f3c979edfa9ec14aaed4f3" "reference": "fec8aa5231f3904754955fad33c2db50594d22d1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/ac537b6c55ccc2c749f3c979edfa9ec14aaed4f3", "url": "https://api.github.com/repos/symfony/mime/zipball/fec8aa5231f3904754955fad33c2db50594d22d1",
"reference": "ac537b6c55ccc2c749f3c979edfa9ec14aaed4f3", "reference": "fec8aa5231f3904754955fad33c2db50594d22d1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3290,7 +3290,7 @@
"mime-type" "mime-type"
], ],
"support": { "support": {
"source": "https://github.com/symfony/mime/tree/v6.4.19" "source": "https://github.com/symfony/mime/tree/v6.4.21"
}, },
"funding": [ "funding": [
{ {
@ -3306,7 +3306,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-02-17T21:23:52+00:00" "time": "2025-04-27T13:27:38+00:00"
}, },
{ {
"name": "symfony/polyfill", "name": "symfony/polyfill",
@ -3648,16 +3648,16 @@
"packages-dev": [ "packages-dev": [
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v6.4.18", "version": "v6.4.21",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "4ad10cf8b020e77ba665305bb7804389884b4837" "reference": "22560f80c0c5cd58cc0bcaf73455ffd81eb380d5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/4ad10cf8b020e77ba665305bb7804389884b4837", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/22560f80c0c5cd58cc0bcaf73455ffd81eb380d5",
"reference": "4ad10cf8b020e77ba665305bb7804389884b4837", "reference": "22560f80c0c5cd58cc0bcaf73455ffd81eb380d5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3713,7 +3713,7 @@
"dump" "dump"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-dumper/tree/v6.4.18" "source": "https://github.com/symfony/var-dumper/tree/v6.4.21"
}, },
"funding": [ "funding": [
{ {
@ -3729,7 +3729,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2025-01-17T11:26:11+00:00" "time": "2025-04-09T07:34:50+00:00"
} }
], ],
"aliases": [], "aliases": [],
@ -3743,6 +3743,6 @@
"platform": { "platform": {
"php": ">=8.1" "php": ">=8.1"
}, },
"platform-dev": [], "platform-dev": {},
"plugin-api-version": "2.3.0" "plugin-api-version": "2.6.0"
} }

View file

@ -301,7 +301,7 @@ if ($tor_reged && $tor_info) {
$sql = "SELECT $sql = "SELECT
tr.user_id, tr.ip, tr.ipv6, tr.port, tr.peer_id, tr.uploaded, tr.downloaded, tr.remain, tr.user_id, tr.ip, tr.ipv6, tr.port, tr.peer_id, tr.uploaded, tr.downloaded, tr.remain,
tr.seeder, tr.releaser, tr.speed_up, tr.speed_down, tr.update_time, tr.seeder, tr.releaser, tr.speed_up, tr.speed_down, tr.update_time,
tr.complete_percent, u.username, u.user_rank tr.complete_percent, u.username, u.user_rank, u.user_opt
FROM " . BB_BT_TRACKER . " tr FROM " . BB_BT_TRACKER . " tr
LEFT JOIN " . BB_USERS . " u ON u.user_id = tr.user_id LEFT JOIN " . BB_USERS . " u ON u.user_id = tr.user_id
WHERE tr.topic_id = $tor_id WHERE tr.topic_id = $tor_id