Compare commits

..

21 commits
2.6.0 ... main

Author SHA1 Message Date
yggverse
d72bda1e71 remove deprecated info 2025-08-05 21:46:49 +03:00
yggverse
085e6174d9 update readme 2025-08-05 21:45:08 +03:00
yggverse
7bcc52fcae update readme 2025-08-05 21:44:31 +03:00
yggverse
5a1ada42e7 update readme 2025-08-05 21:42:17 +03:00
yggverse
ee9b7be6ac fix github markdown 2025-08-05 21:30:58 +03:00
yggverse
09811cd801 add reference to btracker project 2025-08-05 21:30:28 +03:00
yggverse
1281acea22 remove deprecated info 2025-08-05 21:27:26 +03:00
ghost
95addf0c48 add crawler 2024-02-01 16:59:14 +02:00
ghost
e780c5b4b5 fix description variables 2023-12-23 08:18:25 +02:00
ghost
6c775f822c fix torrent description filters 2023-12-23 07:56:54 +02:00
ghost
bff1962071 undefined variable 2023-12-10 22:15:59 +02:00
ghost
10181a04f1 hide header description #32 2023-12-10 01:55:49 +02:00
ghost
7eb02d06cc update version 2023-12-08 20:18:53 +02:00
ghost
2f4dbff90d add trim filters 2023-12-08 20:18:28 +02:00
ghost
3c6b1d6ab7 allow markdown from whitelist only 2023-12-08 20:06:47 +02:00
ghost
9d596de610 update version 2023-12-08 04:10:51 +02:00
ghost
6603790aba disable markdown as unsafe for remote content without additional filters implementation 2023-12-08 04:09:38 +02:00
ghost
fe608cff8f update version 2023-12-08 02:19:01 +02:00
ghost
9814a56135 composer update 2023-12-07 02:30:15 +02:00
ghost
27e598fded add rel/nofollow for wanted links 2023-12-03 02:22:53 +02:00
ghost
f5d4c19eb9 add new crawler 2023-12-03 02:11:08 +02:00
7 changed files with 419 additions and 416 deletions

4
.env
View file

@ -48,7 +48,7 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
# YGGtracker # YGGtracker
# Application version, used for API and media cache # Application version, used for API and media cache
APP_VERSION='2.5.0' APP_VERSION=2.6.2
# Application name # Application name
APP_NAME=YGGtracker APP_NAME=YGGtracker
@ -88,7 +88,7 @@ APP_POSTERS=1
APP_TRACKERS=http://[201:23b4:991a:634d:8359:4521:5576:15b7]:2023/announce|http://[200:1e2f:e608:eb3a:2bf:1e62:87ba:e2f7]/announce|http://[316:c51a:62a3:8b9::5]/announce APP_TRACKERS=http://[201:23b4:991a:634d:8359:4521:5576:15b7]:2023/announce|http://[200:1e2f:e608:eb3a:2bf:1e62:87ba:e2f7]/announce|http://[316:c51a:62a3:8b9::5]/announce
# List of crawlers where ignored in actions and activity features # List of crawlers where ignored in actions and activity features
APP_CRAWLERS=201:23b4:991a:634d:8359:4521:5576:15b7|30a:5fad::e APP_CRAWLERS=201:23b4:991a:634d:8359:4521:5576:15b7|30a:5fad::e|202:f2bc:f800:7cc4:c109:7857:5cae:6630|200:1554:e730:4030:605b:47be:6fb6:7b11
# Max torrent filesize for uploads (check upload_max_filesize in the php.ini) # Max torrent filesize for uploads (check upload_max_filesize in the php.ini)
APP_TORRENT_FILE_SIZE_MAX=1024000 APP_TORRENT_FILE_SIZE_MAX=1024000

View file

@ -1,22 +1,16 @@
# YGGtracker # YGGtracker
[![Crowdin](https://badges.crowdin.net/yggtracker/localized.svg)](https://crowdin.com/project/yggtracker) > [!NOTE]
> Take a look at [βtracker](https://github.com/yggverse/btracker) - the modern aggregation alternative written in Rust!
BitTorrent Network for Yggdrasil A social-oriented BitTorrent catalog for the [Yggdrasil](https://github.com/yggdrasil-network) network, written in the Symfony framework.
YGGtracker is catalog, open tracker and social network with many features that allow to convert, filter and download any torrent in [Yggdrasil network](https://github.com/yggdrasil-network) by community. YGGtracker is a manually operated catalog and social network that allows users to share their torrents in the local network. Engine uses IPv6 `0200::/7` addresses to identify users without registration.
Engine uses IPv6 `0200::/7` addresses to identify users without registration.
#### [Showcase](https://github.com/YGGverse/YGGtracker/wiki/Showcase) #### [Showcase](https://github.com/YGGverse/YGGtracker/wiki/Showcase)
![Pasted image 1](https://github.com/YGGverse/YGGtracker/assets/108541346/962f7850-01e1-4add-9dbe-c11b80108a75) ![Pasted image 1](https://github.com/YGGverse/YGGtracker/assets/108541346/962f7850-01e1-4add-9dbe-c11b80108a75)
#### Instances
* `http://[201:23b4:991a:634d:8359:4521:5576:15b7]/yggtracker/` | [tracker.ygg](http://tracker.ygg)
+ `ftp://[201:23b4:991a:634d:8359:4521:5576:15b7]:21/yggtracker/` - wanted torrents
#### Installation #### Installation
``` ```
@ -70,7 +64,7 @@ Custom settings could be provided in the `/.env.local` file by overwriting defau
#### Localization #### Localization
Join community translations by [Crowdin](https://crowdin.com/project/yggtracker) [![Crowdin](https://badges.crowdin.net/yggtracker/localized.svg)](https://crowdin.com/project/yggtracker)
#### API #### API
@ -85,15 +79,6 @@ git checkout main
git checkout -b my-pr-branch-name git checkout -b my-pr-branch-name
``` ```
#### Donate to contributors
* @d47081:
+ ![wakatime](https://wakatime.com/badge/user/0b7fe6c1-b091-4c98-b930-75cfee17c7a5/project/059ec567-2c65-4c65-a48e-51dcc366f1a0.svg)
+ [BTC](https://www.blockchain.com/explorer/addresses/btc/bc1qngdf2kwty6djjqpk0ynkpq9wmlrmtm7e0c534y) | [LTC](https://live.blockcypher.com/ltc/address/LUSiqzKsfB1vBLvpu515DZktG9ioKqLyj7) | [XMR](835gSR1Uvka19gnWPkU2pyRozZugRZSPHDuFL6YajaAqjEtMwSPr4jafM8idRuBWo7AWD3pwFQSYRMRW9XezqrK4BEXBgXE) | [ZEPH](ZEPHsADHXqnhfWhXrRcXnyBQMucE3NM7Ng5ZVB99XwA38PTnbjLKpCwcQVgoie8EJuWozKgBiTmDFW4iY7fNEgSEWyAy4dotqtX)
+ Support our server by order [Linux VPS](https://www.yourserver.se/portal/aff.php?aff=610)
+ Inspiration by [SomaFM Deep Space One](https://somafm.com/deepspaceone/)
#### License #### License
* Engine sources [MIT License](https://github.com/YGGverse/YGGtracker/blob/main/LICENSE) * Engine sources [MIT License](https://github.com/YGGverse/YGGtracker/blob/main/LICENSE)

785
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -24,6 +24,7 @@ class SearchController extends AbstractController
// Defaults // Defaults
$locales = []; $locales = [];
$categories = []; $categories = [];
$sensitive = [];
// Request // Request
$query = $request->get('query') ? urldecode($request->get('query')) : ''; $query = $request->get('query') ? urldecode($request->get('query')) : '';
@ -65,7 +66,7 @@ class SearchController extends AbstractController
$keywords, $keywords,
[$locale], [$locale],
$request->get('categories') ? $request->get('categories') : $user->getCategories(), $request->get('categories') ? $request->get('categories') : $user->getCategories(),
$sensitive, $request->get('sensitive') ? null : false,
!$user->isModerator() ? true : null, !$user->isModerator() ? true : null,
!$user->isModerator() ? true : null, !$user->isModerator() ? true : null,
) )
@ -94,7 +95,7 @@ class SearchController extends AbstractController
$keywords, $keywords,
$request->get('locales') ? $request->get('locales') : $user->getLocales(), $request->get('locales') ? $request->get('locales') : $user->getLocales(),
[$category], [$category],
$sensitive, $request->get('sensitive') ? null : false,
!$user->isModerator() ? true : null, !$user->isModerator() ? true : null,
!$user->isModerator() ? true : null, !$user->isModerator() ? true : null,
) )

View file

@ -16,12 +16,14 @@
<header> <header>
<div class="container"> <div class="container">
<div class="row margin-y-16-px text-center"> <div class="row margin-y-16-px text-center">
<a class="logo display-inline-block margin-b-8-px" href="{{ path('torrent_recent') }}"> <a class="logo display-inline-block{#32 margin-b-8-px #}" href="{{ path('torrent_recent') }}">
<span>YGG</span>tracker <span>YGG</span>tracker
</a> </a>
{#32
<div class="font-size-10-px text-center text-color-night"> <div class="font-size-10-px text-center text-color-night">
{{ '<a href="%s">Upload</a> any torrent - download with Yggdrasil' | trans | format(path('torrent_submit')) | raw }} {{ '<a href="%s">Upload</a> any torrent - download with Yggdrasil' | trans | format(path('torrent_submit')) | raw }}
</div> </div>
#}
{% block header_search %} {% block header_search %}
{{ render(controller( {{ render(controller(
'App\\Controller\\SearchController::module', 'App\\Controller\\SearchController::module',

View file

@ -238,7 +238,8 @@
{{ 'Source' | trans }} {{ 'Source' | trans }}
</td> </td>
<td> <td>
{{ file.source | url_to_markdown | markdown_to_html }} {# strip all tags then apply whitelist markdown filters to prevent ping from remote #}
{{ file.source | trim | striptags | url_to_markdown | markdown_to_html | nl2br }}
</td> </td>
</tr> </tr>
{% endif %} {% endif %}
@ -248,7 +249,8 @@
{{ 'Software' | trans }} {{ 'Software' | trans }}
</td> </td>
<td> <td>
{{ file.software | url_to_markdown | markdown_to_html }} {# strip all tags then apply whitelist markdown filters to prevent ping from remote #}
{{ file.software | trim | striptags | url_to_markdown | markdown_to_html | nl2br }}
</td> </td>
</tr> </tr>
{% endif %} {% endif %}
@ -258,7 +260,8 @@
{{ 'Comment' | trans }} {{ 'Comment' | trans }}
</td> </td>
<td> <td>
{{ file.comment | url_to_markdown | markdown_to_html }} {# strip all tags then apply whitelist markdown filters to prevent ping from remote #}
{{ file.comment | trim | striptags | url_to_markdown | markdown_to_html | nl2br }}
</td> </td>
</tr> </tr>
{% endif %} {% endif %}

View file

@ -58,7 +58,8 @@
{% if torrent.scrape.leechers > 0 and torrent.scrape.seeders == 0 %} {% if torrent.scrape.leechers > 0 and torrent.scrape.seeders == 0 %}
<a href="{{ path('torrent_file_wanted', { torrentId : torrent.id }) }}" <a href="{{ path('torrent_file_wanted', { torrentId : torrent.id }) }}"
class="label label-green font-size-10-px position-relative display-inline-block" class="label label-green font-size-10-px position-relative display-inline-block"
title="{{ 'Active leechers waiting for seeders' | trans }}"> title="{{ 'Active leechers waiting for seeders' | trans }}"
rel="nofollow">
{{ 'wanted' | trans }} {{ 'wanted' | trans }}
</a> </a>
{% endif %} {% endif %}