mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
Compare commits
15 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d72bda1e71 | ||
|
|
085e6174d9 | ||
|
|
7bcc52fcae | ||
|
|
5a1ada42e7 | ||
|
|
ee9b7be6ac | ||
|
|
09811cd801 | ||
|
|
1281acea22 | ||
|
|
95addf0c48 | ||
|
|
e780c5b4b5 | ||
|
|
6c775f822c | ||
|
|
bff1962071 | ||
|
|
10181a04f1 | ||
|
|
7eb02d06cc | ||
|
|
2f4dbff90d | ||
|
|
3c6b1d6ab7 |
5 changed files with 19 additions and 34 deletions
4
.env
4
.env
|
|
@ -48,7 +48,7 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
|
|||
# YGGtracker
|
||||
|
||||
# Application version, used for API and media cache
|
||||
APP_VERSION=2.6.1
|
||||
APP_VERSION=2.6.2
|
||||
|
||||
# Application name
|
||||
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
|
||||
|
||||
# List of crawlers where ignored in actions and activity features
|
||||
APP_CRAWLERS=201:23b4:991a:634d:8359:4521:5576:15b7|30a:5fad::e|202:f2bc:f800:7cc4:c109:7857:5cae:6630
|
||||
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)
|
||||
APP_TORRENT_FILE_SIZE_MAX=1024000
|
||||
|
|
|
|||
25
README.md
25
README.md
|
|
@ -1,22 +1,16 @@
|
|||
# YGGtracker
|
||||
|
||||
[](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.
|
||||
|
||||
Engine uses IPv6 `0200::/7` addresses to identify users without registration.
|
||||
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.
|
||||
|
||||
#### [Showcase](https://github.com/YGGverse/YGGtracker/wiki/Showcase)
|
||||
|
||||

|
||||
|
||||
#### 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
|
||||
|
||||
```
|
||||
|
|
@ -70,7 +64,7 @@ Custom settings could be provided in the `/.env.local` file by overwriting defau
|
|||
|
||||
#### Localization
|
||||
|
||||
Join community translations by [Crowdin](https://crowdin.com/project/yggtracker)
|
||||
[](https://crowdin.com/project/yggtracker)
|
||||
|
||||
#### API
|
||||
|
||||
|
|
@ -85,15 +79,6 @@ git checkout main
|
|||
git checkout -b my-pr-branch-name
|
||||
```
|
||||
|
||||
#### Donate to contributors
|
||||
|
||||
* @d47081:
|
||||
|
||||
+ 
|
||||
+ [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
|
||||
|
||||
* Engine sources [MIT License](https://github.com/YGGverse/YGGtracker/blob/main/LICENSE)
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ class SearchController extends AbstractController
|
|||
// Defaults
|
||||
$locales = [];
|
||||
$categories = [];
|
||||
$sensitive = [];
|
||||
|
||||
// Request
|
||||
$query = $request->get('query') ? urldecode($request->get('query')) : '';
|
||||
|
|
@ -65,7 +66,7 @@ class SearchController extends AbstractController
|
|||
$keywords,
|
||||
[$locale],
|
||||
$request->get('categories') ? $request->get('categories') : $user->getCategories(),
|
||||
$sensitive,
|
||||
$request->get('sensitive') ? null : false,
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
)
|
||||
|
|
@ -94,7 +95,7 @@ class SearchController extends AbstractController
|
|||
$keywords,
|
||||
$request->get('locales') ? $request->get('locales') : $user->getLocales(),
|
||||
[$category],
|
||||
$sensitive,
|
||||
$request->get('sensitive') ? null : false,
|
||||
!$user->isModerator() ? true : null,
|
||||
!$user->isModerator() ? true : null,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -16,12 +16,14 @@
|
|||
<header>
|
||||
<div class="container">
|
||||
<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
|
||||
</a>
|
||||
{#32
|
||||
<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 }}
|
||||
</div>
|
||||
#}
|
||||
{% block header_search %}
|
||||
{{ render(controller(
|
||||
'App\\Controller\\SearchController::module',
|
||||
|
|
|
|||
|
|
@ -238,9 +238,8 @@
|
|||
{{ 'Source' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
{# disable markdown as unsafe for unfiltered content #}
|
||||
{#{{ file.source | url_to_markdown | markdown_to_html }}#}
|
||||
{{ file.source }}
|
||||
{# 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>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
|
@ -250,9 +249,8 @@
|
|||
{{ 'Software' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
{# disable markdown as unsafe for unfiltered content #}
|
||||
{#{{ file.software | url_to_markdown | markdown_to_html }}#}
|
||||
{{ file.software }}
|
||||
{# 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>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
|
@ -262,9 +260,8 @@
|
|||
{{ 'Comment' | trans }}
|
||||
</td>
|
||||
<td>
|
||||
{# disable markdown as unsafe for unfiltered content #}
|
||||
{#{{ file.comment | url_to_markdown | markdown_to_html }}#}
|
||||
{{ file.comment }}
|
||||
{# 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>
|
||||
</tr>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue