Compare commits

...

166 commits
2.0.1 ... 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
ghost
9081acebb3 update readme 2023-12-01 15:57:00 +02:00
ghost
3b832c94bc add rel="nofollow" to the action links 2023-11-19 23:05:47 +02:00
ghost
110976c619 add clickable links support for software info 2023-11-19 19:25:27 +02:00
ghost
2afaf2f618 fix links regex condition 2023-11-19 19:24:23 +02:00
ghost
8aff756e30 apply search filter for RSS #35 2023-11-18 09:27:33 +02:00
ghost
7177cdb4fe add torrent private info 2023-11-15 09:52:49 +02:00
ghost
3ce3dfe77b fix contributors list by integrate new features 2023-11-13 19:38:05 +02:00
ghost
5523034307 add search filters counter #35 2023-11-13 11:23:37 +02:00
ghost
e3503bc4bd add rel/nofollow to the filter link #35 2023-11-13 10:50:41 +02:00
ghost
002a41da87 add filter link #35 2023-11-13 10:37:16 +02:00
ghost
deb35d5013 add filter attributes support for pagination and tag links #35 2023-11-13 10:11:48 +02:00
ghost
1ae5d324c2 remove h2 tag from filter headers #35 2023-11-13 09:39:10 +02:00
ghost
5a0342a998 init extended search feature #35 2023-11-13 09:35:04 +02:00
ghost
7a1fa12271 fix locales sort order 2023-11-13 08:24:12 +02:00
ghost
77616c3c8a fix sensitive access condition and disable on direct request #37 2023-11-11 04:17:57 +02:00
ghost
b96ed08694 apply Bencode library update 2023-11-04 15:02:38 +02:00
ghost
ff565ac33b add categories feature translation #26 2023-11-04 13:51:41 +02:00
ghost
d1e9e72401 disallow toggleStar method for crawlers 2023-11-04 11:04:05 +02:00
ghost
178ab23031 update version 2023-11-04 09:58:16 +02:00
ghost
e1e3bfb2ce update json api #26 2023-11-04 09:57:42 +02:00
ghost
31aad63399 add category edition events support #26 2023-11-04 07:45:58 +02:00
ghost
2e9b119733 fix comma separator 2023-11-04 07:03:53 +02:00
ghost
0247e0e064 add new localization 2023-11-04 06:35:09 +02:00
ghost
701b448cd6 init torrent categories feature #26 2023-11-04 06:26:01 +02:00
ghost
35babed517 add missed locale 2023-11-04 03:30:32 +02:00
ghost
f8e0890966 update composer 2023-11-03 15:36:35 +02:00
ghost
261031dc50 unify syntax style 2023-11-03 15:36:24 +02:00
ghost
6dcbd6de40 make description links clickable #30 2023-11-03 15:35:46 +02:00
ghost
ad5b075878 add poster settings to the user profile page 2023-11-03 14:54:12 +02:00
ghost
7796aba342 append torrent filename to the manual wanted downloads 2023-11-03 14:06:15 +02:00
ghost
2e4129927d set app IDs in the filename postfix, remove lowercase 2023-11-03 13:59:50 +02:00
ghost
258d206f2e unify torrent filenames to prevent encoding issues on FTP connection 2023-11-03 13:44:49 +02:00
ghost
4f2879fdef set users approved by default 2023-11-02 19:15:01 +02:00
ghost
e788744a0f add configuration tip for upload_max_filesize 2023-11-02 01:38:55 +02:00
ghost
986f6678f8 add new locale 2023-11-01 23:23:43 +02:00
ghost
514b1ebc5d fix event message 2023-11-01 05:11:25 +02:00
ghost
3589d2eef4 set new users as sensitive by default 2023-10-31 23:05:48 +02:00
ghost
69309b9a98 update readme 2023-10-31 20:20:26 +02:00
ghost
5c76a17df5 implement poster position settings #18 2023-10-31 02:06:58 +02:00
ghost
cfeeabee72 fix posters event translation #18 2023-10-30 21:04:11 +02:00
ghost
cef76daa49 fix deleted event id info #18 2023-10-30 19:40:49 +02:00
ghost
446da9eb0b fix method data type #18 2023-10-30 19:32:58 +02:00
ghost
99ea797699 fix torrent poster update on last poster delete #18 2023-10-30 19:12:09 +02:00
ghost
8742c91f9f fix poster sub-directories initiation #18 2023-10-30 07:00:38 +02:00
ghost
ed3803df95 update version 2023-10-30 05:37:26 +02:00
ghost
1b8deb439b update strings translation #18 2023-10-30 05:36:01 +02:00
ghost
706ea40eec add poster event support #18 2023-10-30 05:14:46 +02:00
ghost
bd5191e894 implement torrent posters feature #18 2023-10-30 04:44:44 +02:00
ghost
8ae1b3f0b7 init torrent poster database #18 2023-10-29 20:00:27 +02:00
ghost
997666ab8e implement transliteration word forms in search #33 2023-10-28 00:03:42 +03:00
ghost
c7c5d7340c implement additional torrent fields index, add indexer configuration #31 2023-10-27 21:22:16 +03:00
ghost
afcacebe26 update version 2023-10-27 01:40:07 +03:00
ghost
989f2f3311 implement torrent statuses management #28 2023-10-27 01:36:50 +03:00
ghost
3cbc6ea90f add NL locale 2023-10-26 19:05:19 +03:00
ghost
dbc37da63d fix sensitive settings description 2023-10-26 18:37:48 +03:00
ghost
be248963e9 rollback commit 246fdda4fb causes error 2023-10-26 18:31:21 +03:00
ghost
246fdda4fb fix sensitive content visibility for publication owners 2023-10-26 06:57:10 +03:00
ghost
5c4e949269 update file tree view 2023-10-26 06:37:41 +03:00
ghost
0b77a5d171 add line break support for torrent comments 2023-10-26 05:52:08 +03:00
ghost
79886c0d77 fix request scrape update on torrent download 2023-10-26 04:09:42 +03:00
ghost
a47893ff9b request scrape update on torrent download 2023-10-26 04:02:35 +03:00
ghost
83ea09adad fix event margin 2023-10-26 03:58:51 +03:00
ghost
82f69c64a6 fix line break for wanted label 2023-10-26 02:32:11 +03:00
ghost
4969d33f57 fix long filename out of container width 2023-10-25 19:34:07 +03:00
ghost
1d6a7b03b2 fix long filename out of container width 2023-10-25 19:27:43 +03:00
ghost
1c9de9b275 fix activity template 2023-10-25 18:49:56 +03:00
ghost
6bc2c360a3 fix activity template 2023-10-25 18:48:31 +03:00
ghost
341c3a70a5 update readme 2023-10-25 02:16:22 +03:00
ghost
fa1f1f18c6 update readme 2023-10-24 04:59:36 +03:00
ghost
b4c6a98d49 fix announcement generation for wanted torrents #27 2023-10-24 01:48:26 +03:00
ghost
0d96cd3e3a update version 2023-10-24 01:13:48 +03:00
ghost
5ecf8461b4 update string translations, fix activity margin #27 2023-10-24 01:13:20 +03:00
ghost
a72413706d fix dependencies 2023-10-24 01:08:53 +03:00
ghost
dd04922cc0 update readme 2023-10-24 00:58:25 +03:00
ghost
24c58d4301 add wanted events support #27 2023-10-24 00:12:13 +03:00
ghost
5f4a14ebe2 add APP_TORRENT_WANTED_FTP_FOLDER setting #27 2023-10-23 23:37:15 +03:00
ghost
78a7134ced update readme 2023-10-23 23:24:52 +03:00
ghost
09bd7ecf34 update readme 2023-10-23 23:17:26 +03:00
ghost
7373f622e4 update readme 2023-10-23 23:14:11 +03:00
ghost
35bf1a8814 update readme 2023-10-23 23:10:18 +03:00
ghost
d40436db00 update readme 2023-10-23 23:09:21 +03:00
ghost
6bfd230915 add header description (bridge tip) #27 2023-10-23 22:26:00 +03:00
ghost
8190fc1914 implement FTP storage for wanted feature #27 2023-10-23 21:16:40 +03:00
ghost
c70205e204 remove duplicates from announcement list 2023-10-23 07:40:03 +03:00
ghost
a128cb7cb3 add wanted raw file with download feature 2023-10-23 07:31:07 +03:00
ghost
2d2c6be016 improve yggdrasil filters on torrent/magnet download 2023-10-23 07:07:43 +03:00
ghost
8affbe8644 update version 2023-10-20 02:08:59 +03:00
ghost
e6fac3d298 update readme 2023-10-20 01:58:15 +03:00
ghost
371dda9d31 update readme 2023-10-20 00:22:18 +03:00
ghost
5d8988719a add qBittorrent search plugin link 2023-10-20 00:12:20 +03:00
ghost
0b316734b8 fix warning notice 2023-10-20 00:12:15 +03:00
ghost
314320c554 add Semantic Versioning 2.0.0 notice 2023-10-19 05:14:06 +03:00
ghost
51ee02201a add magnet urn link #25 2023-10-19 04:58:29 +03:00
ghost
31bed20b4b update download routes #25 2023-10-19 04:41:19 +03:00
ghost
4c519a56ba add torrent / magnet download links, remove locale references #25 2023-10-19 04:36:12 +03:00
ghost
d794e48a54 implement torrents API #25 2023-10-19 03:53:32 +03:00
ghost
3a14f29b38 add search results RSS feed support 2023-10-18 22:25:49 +03:00
ghost
b9111213b2 fix comment 2023-10-18 19:55:50 +03:00
ghost
891868eccd implement sitemap 2023-10-18 19:54:57 +03:00
ghost
d3cdbc831c fix offset/limit 2023-10-18 19:41:08 +03:00
ghost
33e950bb42 add yggo crawler address 2023-10-18 18:01:27 +03:00
ghost
4a801fa809 disable activity log by crawler requests #24 2023-10-18 15:17:41 +03:00
ghost
2524a30476 add meta keywords support 2023-10-17 03:24:24 +03:00
ghost
306ccb6078 fix margins 2023-10-16 21:27:01 +03:00
ghost
1c869fd78e update link 2023-10-16 20:39:55 +03:00
ghost
29553c75c8 update readme 2023-10-16 20:35:02 +03:00
ghost
70ce180765 update translations 2023-10-16 18:03:16 +03:00
ghost
2acfc06ca6 add missed bittorrent protocol info on search page 2023-10-16 18:00:12 +03:00
ghost
4cafc51b67 remove opacity style from sensitive content 2023-10-16 17:56:06 +03:00
ghost
99eb0ddcb2 update translations 2023-10-16 04:18:14 +03:00
ghost
8e069c7997 update translation strings 2023-10-16 04:08:46 +03:00
ghost
8c48e3b40e update string translation 2023-10-16 04:04:59 +03:00
ghost
fd17185a9e fix activity event margins 2023-10-16 04:01:01 +03:00
ghost
5161becd60 pull new translations 2023-10-16 04:00:46 +03:00
ghost
9c0b10b283 update version 2023-10-16 02:55:50 +03:00
ghost
b7238eaf9f fix plural forms in ukrainian translation 2023-10-16 02:37:23 +03:00
ghost
453d70b7cb add cyrillic plural forms support 2023-10-16 02:30:55 +03:00
ghost
3005b16c94 update translation strings 2023-10-16 01:45:12 +03:00
ghost
1f51c56c0d fix time ago strings interpretation 2023-10-16 01:42:42 +03:00
ghost
8e204312e0 update menu position 2023-10-16 01:35:52 +03:00
ghost
1cd252b610 remove deprecated construction 2023-10-16 01:23:13 +03:00
ghost
bc67ae2198 require allowed locales in routing requests 2023-10-16 01:19:54 +03:00
ghost
7dfb133328 add localization badge 2023-10-16 01:08:45 +03:00
ghost
111fe6a7b5 add new strings translation 2023-10-16 01:06:18 +03:00
ghost
7587b38831 extract new strings 2023-10-16 00:42:38 +03:00
ghost
69a463f0b0 complete ukrainian localization 2023-10-16 00:37:11 +03:00
ghost
dfcd5c438e update 404 message string 2023-10-15 23:07:53 +03:00
ghost
9925d4f57c implement 404, 500 error pages #20 2023-10-15 23:02:28 +03:00
ghost
0923eb2234 fix contributors selection 2023-10-15 22:15:09 +03:00
ghost
6bda9c733c update localization strings 2023-10-15 21:42:50 +03:00
ghost
b0f7202c82 add ukrainian translation 2023-10-15 21:33:16 +03:00
ghost
4c521aef99 add bittorrent protocol version labels notice 2023-10-15 18:47:52 +03:00
ghost
8cf9905846 order tags by file size 2023-10-15 07:03:23 +03:00
ghost
6ab4dc87c2 add rel/nofollow attributes to the action links 2023-10-15 06:51:22 +03:00
ghost
8308ab28f9 order keywords by quantity matches in content 2023-10-15 06:37:22 +03:00
ghost
2682666b94 decrease listings padding 2023-10-15 05:47:38 +03:00
ghost
bd7fe4cf04 generate keywords based on content extensions 2023-10-15 05:39:32 +03:00
ghost
07262f4486 require app key on crontab/tool http requests 2023-10-15 04:30:19 +03:00
ghost
f5d8759dfe add filename to keywords index 2023-10-15 03:36:18 +03:00
ghost
5168280519 replace keywords match mode from OR to AND condition 2023-10-15 03:32:07 +03:00
ghost
d0096cbfe2 make search keywords case insensitive 2023-10-15 03:28:56 +03:00
ghost
a285aa3158 fix cyrillic tags highlight 2023-10-15 03:25:23 +03:00
ghost
06dd75eb1e fix cyrilic keywords extraction, add reindex all torrents toolkit 2023-10-15 03:21:55 +03:00
ghost
e5855d06b5 add /tool/torrent/reindex 2023-10-15 03:20:56 +03:00
d47081
6a3c810da7
Update README.md 2023-10-15 02:37:12 +03:00
111 changed files with 13842 additions and 2199 deletions

70
.env
View file

@ -17,6 +17,7 @@
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=EDITME
APP_KEY=EDITME
###< symfony/framework-bundle ###
###> doctrine/doctrine-bundle ###
@ -45,22 +46,81 @@ MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
###< symfony/crowdin-translation-provider ###
# YGGtracker
APP_VERSION='2.0.1'
# Application version, used for API and media cache
APP_VERSION=2.6.2
# Application name
APP_NAME=YGGtracker
# Default locale
APP_LOCALE=en
APP_LOCALES=en|cs|eo|fr|ka|de|he|it|lv|pl|pt|ru|es|uk
# Supported locales for interface and content filters
APP_LOCALES=en|cs|nl|eo|fr|ja|ka|de|he|it|lv|pl|pt|ru|es|uk
# Content categories, lowercase, enabled by default for new users
# src/Twig/AppExtension.php:transCategory
APP_CATEGORIES=movie|series|tv|animation|music|game|audiobook|podcast|book|archive|picture|software|other
# Items per page on pagination
APP_PAGINATION=10
# Default application theme
APP_THEME=default
# Additional themes, stored in /src/templates, /public/asset
APP_THEMES=default
APP_SENSITIVE=0
APP_APPROVED=0
# Default sensitive status for new users
APP_SENSITIVE=1
# Default approved status for new users
APP_APPROVED=1
# Default Yggdrasil filters status for new users
APP_YGGDRASIL=1
# Default posters status for new users
APP_POSTERS=1
# Build-in trackers append to downloads
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_TORRENT_FILE_SIZE_MAX=1024000
# 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|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
# Max torrent poster filesize for uploads (check upload_max_filesize in the php.ini)
APP_TORRENT_POSTER_FILE_SIZE_MAX=10240000
# Store wanted torrent files in /app/var/ftp by /app/crontab/torrent/scrape/{key}
APP_TORRENT_WANTED_FTP_ENABLED=1
APP_TORRENT_WANTED_FTP_FOLDER=/yggtracker
APP_TORRENT_WANTED_FTP_APPROVED_ONLY=1
# Enable search index for torrent name
APP_INDEX_TORRENT_NAME_ENABLED=1
# Enable search index for torrent info hash v1
APP_INDEX_TORRENT_HASH_V1_ENABLED=1
# Enable search index for torrent info hash v2
APP_INDEX_TORRENT_HASH_V2_ENABLED=1
# Enable search index for torrent filenames
APP_INDEX_TORRENT_FILENAMES_ENABLED=1
# Enable search index for torrent source
APP_INDEX_TORRENT_SOURCE_ENABLED=1
# Enable search index for torrent comment
APP_INDEX_TORRENT_COMMENT_ENABLED=1
# Enable search index for words length greater than N chars
APP_INDEX_WORD_LENGTH_MIN=3
# Enable search index for words length not greater than N chars
APP_INDEX_WORD_LENGTH_MAX=255

View file

@ -1,12 +1,16 @@
# YGGtracker
BitTorrent Registry for Yggdrasil
> [!NOTE]
> Take a look at [βtracker](https://github.com/yggverse/btracker) - the modern aggregation alternative written in Rust!
YGGtracker uses [Yggdrasil](https://github.com/yggdrasil-network/yggdrasil-go) IPv6 addresses to identify users without registration.
A social-oriented BitTorrent catalog for the [Yggdrasil](https://github.com/yggdrasil-network) network, written in the Symfony framework.
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)
![Pasted image 1](https://github.com/YGGverse/YGGtracker/assets/108541346/962f7850-01e1-4add-9dbe-c11b80108a75)
#### Installation
```
@ -48,7 +52,11 @@ php bin/console doctrine:migrations:migrate
##### Crontab
* `* * * * * /crontab/torrent/scrape` - update seeding stats
* `* * * * * /crontab/torrent/scrape/{%app.key%}` - update seeding stats
##### FTP
Setup anonymous read-only access to `/var/ftp` catalog ([read more](https://github.com/YGGverse/YGGtracker/wiki/Features#the-wanted))
##### App settings
@ -56,7 +64,11 @@ Custom settings could be provided in the `/.env.local` file by overwriting defau
#### 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
[Wiki reference](https://github.com/YGGverse/YGGtracker/wiki/API)
#### Contribution
@ -67,39 +79,37 @@ git checkout main
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
* Engine sources [MIT License](https://github.com/YGGverse/YGGtracker/blob/main/LICENSE)
#### Versioning
[Semantic Versioning 2.0.0](https://semver.org/#semantic-versioning-200)
#### Components
* [Symfony Framework](https://symfony.com)
* [SVG icons](https://icons.getbootstrap.com)
* [Scrapper](https://github.com/medariox/scrapeer) / [Composer Edition](https://github.com/YGGverse/scrapeer)
* [Bencode Library](https://github.com/Rhilip/Bencode)
* [Bencode](https://github.com/Rhilip/Bencode)
* [Transliteration](https://github.com/ashtokalo/php-translit)
* [Identicons](https://github.com/dmester/jdenticon-php)
#### Support
* [Issues](https://github.com/YGGverse/YGGtracker/issues)
* [Wiki](https://github.com/YGGverse/YGGtracker/wiki)
* [Documentation](https://github.com/YGGverse/YGGtracker/wiki)
* [HowTo Yggdrasil](https://ygg.work.gd/yggdrasil:bittorrent:yggtracker)
#### Community
#### Blog
* [Mastodon](https://mastodon.social/@YGGverse)
#### Instances
#### Integrations
* [http://[201:23b4:991a:634d:8359:4521:5576:15b7]/yggtracker/](http://[201:23b4:991a:634d:8359:4521:5576:15b7]/yggtracker/)
* [YGGtracker Search Plugin for qBittorrent](https://github.com/YGGverse/qbittorrent-yggtracker-search-plugin)
* [Crontab script that allows to receive wanted torrents from multiple YGGtracker nodes](https://github.com/YGGverse/yggtracker-wanted-torrents-receiver)
#### See also

View file

@ -9,11 +9,13 @@
"php": ">=8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"ashtokalo/php-translit": "^0.2.0",
"doctrine/annotations": "^2.0",
"doctrine/doctrine-bundle": "^2.10",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.16",
"jdenticon/jdenticon": "^1.0",
"league/commonmark": "^2.4",
"phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.24",
"rhilip/bencode": "^2.3",
@ -44,8 +46,9 @@
"symfony/validator": "6.3.*",
"symfony/web-link": "6.3.*",
"symfony/yaml": "6.3.*",
"twig/extra-bundle": "^2.12|^3.0",
"twig/extra-bundle": "^3.7",
"twig/intl-extra": "^3.7",
"twig/markdown-extra": "^3.7",
"twig/string-extra": "^3.7",
"twig/twig": "^2.12|^3.0",
"yggverse/scrapeer": "^0.5.4"

1399
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@ framework:
crowdin:
dsn: '%env(CROWDIN_DSN)%'
domains: ['messages']
locales: ['en','cs','eo','fr','ka','de','he','it','lv','pl','pt','ru','es','uk']
locales: ['en','cs','nl','eo','fr', 'ja', 'ka','de','he','it','lv','pl','pt','ru','es','uk']
# loco:
# dsn: '%env(LOCO_DSN)%'
# lokalise:

View file

@ -6,16 +6,32 @@
parameters:
app.version: '%env(APP_VERSION)%'
app.name: '%env(APP_NAME)%'
app.key: '%env(APP_KEY)%'
app.pagination: '%env(APP_PAGINATION)%'
app.trackers: '%env(APP_TRACKERS)%'
app.crawlers: '%env(APP_CRAWLERS)%'
app.locales: '%env(APP_LOCALES)%'
app.categories: '%env(APP_CATEGORIES)%'
app.themes: '%env(APP_THEMES)%'
app.locale: '%env(APP_LOCALE)%'
app.theme: '%env(APP_THEME)%'
app.sensitive: '%env(APP_SENSITIVE)%'
app.approved: '%env(APP_APPROVED)%'
app.yggdrasil: '%env(APP_YGGDRASIL)%'
app.posters: '%env(APP_POSTERS)%'
app.torrent.size.max: '%env(APP_TORRENT_FILE_SIZE_MAX)%'
app.torrent.poster.size.max: '%env(APP_TORRENT_POSTER_FILE_SIZE_MAX)%'
app.torrent.wanted.ftp.enabled: '%env(APP_TORRENT_WANTED_FTP_ENABLED)%'
app.torrent.wanted.ftp.folder: '%env(APP_TORRENT_WANTED_FTP_FOLDER)%'
app.torrent.wanted.ftp.approved: '%env(APP_TORRENT_WANTED_FTP_APPROVED_ONLY)%'
app.index.torrent.name.enabled: '%env(APP_INDEX_TORRENT_NAME_ENABLED)%'
app.index.torrent.filenames.enabled: '%env(APP_INDEX_TORRENT_FILENAMES_ENABLED)%'
app.index.torrent.hash.v1.enabled: '%env(APP_INDEX_TORRENT_HASH_V1_ENABLED)%'
app.index.torrent.hash.v2.enabled: '%env(APP_INDEX_TORRENT_HASH_V2_ENABLED)%'
app.index.torrent.source.enabled: '%env(APP_INDEX_TORRENT_SOURCE_ENABLED)%'
app.index.torrent.comment.enabled: '%env(APP_INDEX_TORRENT_COMMENT_ENABLED)%'
app.index.word.length.min: '%env(APP_INDEX_WORD_LENGTH_MIN)%'
app.index.word.length.max: '%env(APP_INDEX_WORD_LENGTH_MAX)%'
services:
# default configuration for services in *this* file

View file

@ -0,0 +1,37 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20231026163131 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE torrent ADD COLUMN status BOOLEAN DEFAULT 1');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TEMPORARY TABLE __temp__torrent AS SELECT id, user_id, added, scraped, locales, sensitive, approved, md5file, keywords, seeders, peers, leechers FROM torrent');
$this->addSql('DROP TABLE torrent');
$this->addSql('CREATE TABLE torrent (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, user_id INTEGER NOT NULL, added INTEGER NOT NULL, scraped INTEGER DEFAULT NULL, locales CLOB NOT NULL --(DC2Type:simple_array)
, sensitive BOOLEAN NOT NULL, approved BOOLEAN NOT NULL, md5file VARCHAR(32) NOT NULL, keywords CLOB DEFAULT NULL --(DC2Type:simple_array)
, seeders INTEGER DEFAULT NULL, peers INTEGER DEFAULT NULL, leechers INTEGER DEFAULT NULL)');
$this->addSql('INSERT INTO torrent (id, user_id, added, scraped, locales, sensitive, approved, md5file, keywords, seeders, peers, leechers) SELECT id, user_id, added, scraped, locales, sensitive, approved, md5file, keywords, seeders, peers, leechers FROM __temp__torrent');
$this->addSql('DROP TABLE __temp__torrent');
}
}

View file

@ -0,0 +1,35 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20231029184600 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE torrent_poster (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, torrent_id INTEGER NOT NULL, user_id INTEGER NOT NULL, added INTEGER NOT NULL, approved BOOLEAN NOT NULL, md5file VARCHAR(32) NOT NULL)');
$this->addSql('ALTER TABLE user ADD COLUMN posters BOOLEAN NOT NULL DEFAULT 1');
$this->addSql('ALTER TABLE torrent ADD COLUMN torrent_poster_id BOOLEAN NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP TABLE torrent_poster');
$this->addSql('ALTER TABLE user DROP COLUMN posters');
$this->addSql('ALTER TABLE torrent DROP COLUMN torrent_poster_id');
}
}

View file

@ -0,0 +1,31 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20231030225418 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE torrent_poster ADD COLUMN position BOOLEAN NOT NULL DEFAULT "center"');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE torrent_poster DROP COLUMN position');
}
}

View file

@ -0,0 +1,37 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20231103235504 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE torrent_categories (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, torrent_id INTEGER NOT NULL, user_id INTEGER NOT NULL, added INTEGER NOT NULL, value CLOB NOT NULL --(DC2Type:simple_array)
, approved BOOLEAN NOT NULL)');
$this->addSql('ALTER TABLE user ADD COLUMN categories CLOB DEFAULT "other"');
$this->addSql('ALTER TABLE torrent ADD COLUMN categories CLOB DEFAULT "other"');
$this->addSql('UPDATE user SET categories = "movie,series,tv,animation,music,game,audiobook,podcast,book,archive,picture,software,other"');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP TABLE torrent_categories');
$this->addSql('ALTER TABLE user DROP COLUMN categories');
$this->addSql('ALTER TABLE torrent DROP COLUMN categories');
}
}

View file

@ -15,6 +15,18 @@
float: left;
}
.word-break {
word-break: break-word;
}
.overflow-auto {
overflow: auto;
}
.float-left {
float: left;
}
.float-right {
float: right;
}
@ -148,10 +160,6 @@ a.button-green:hover {
vertical-align: middle;
}
.top--2-px {
top: -2px;
}
.top-2-px {
top: 2px;
}
@ -189,21 +197,36 @@ a.button-green:hover {
}
.border-color-default {
border: 1px #5d627d solid;
border: 1px rgba(93, 98, 125, .6) solid;
}
.border-bottom-default {
border-bottom: 1px #5d627d solid;
border-bottom: 1px rgba(93, 98, 125, .6) solid;
}
.border-top-default {
border-top: 1px #5d627d solid;
border-top: 1px rgba(93, 98, 125, .6) solid;
}
.border-bottom-dashed {
border-bottom: 1px rgba(93, 98, 125, .6) dashed;
}
.border-top-dashed {
border-top: 1px rgba(93, 98, 125, .6) dashed;
}
.border-width-2-px {
border-width: 2px;
}
.background-poster {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-blend-mode: soft-light;
}
.background-color-night {
background-color: #34384f;
}
@ -354,6 +377,15 @@ a:visited.background-color-hover-night-light:hover {
padding-right: 24px;
}
.padding-y-24-px {
padding-top: 24px;
padding-bottom: 24px;
}
.margin-t-4-px {
margin-top: 4px;
}
.margin-l-4-px {
margin-left: 4px;
}

View file

@ -17,6 +17,9 @@ class ActivityController extends AbstractController
#[Route(
'/{_locale}/activity',
name: 'activity_all',
requirements: [
'_locale' => '%app.locales%'
],
methods:
[
'GET'
@ -64,9 +67,6 @@ class ActivityController extends AbstractController
#[Route(
'/{_locale}/rss/activity',
name: 'rss_activity',
defaults: [
'_locale' => '%app.locale%'
],
requirements: [
'_locale' => '%app.locales%'
],
@ -112,7 +112,6 @@ class ActivityController extends AbstractController
'/{_locale}/rss/activity/user/{userId}',
name: 'rss_activity_user',
defaults: [
'_locale' => '%app.locale%',
'userId' => 0
],
requirements: [
@ -170,11 +169,8 @@ class ActivityController extends AbstractController
#[Route(
'/{_locale}/rss/activity/torrent/{torrentId}',
name: 'rss_activity_torrent',
defaults: [
'_locale' => '%app.locale%',
],
requirements: [
'_locale' => '%app.locales%',
'_locale' => '%app.locales%',
'torrentId' => '\d+'
],
methods:
@ -564,6 +560,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
@ -610,6 +607,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
@ -656,6 +654,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
@ -703,6 +702,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
@ -749,6 +749,141 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
// Torrent Wanted
case $activity::EVENT_TORRENT_WANTED_ADD:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/wanted/add' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
// Torrent Status
case $activity::EVENT_TORRENT_STATUS_ADD:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/status/add' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
case $activity::EVENT_TORRENT_STATUS_DELETE:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/status/delete' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
@ -796,6 +931,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
@ -848,6 +984,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
@ -900,6 +1037,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
@ -952,6 +1090,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
@ -977,6 +1116,219 @@ class ActivityController extends AbstractController
break;
/// Torrent Categories
case $activity::EVENT_TORRENT_CATEGORIES_ADD:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/categories/add' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
'categories' => [
'id' => $activity->getData()['torrentCategoriesId'],
'exist' => $torrentService->getTorrentCategories(
$activity->getData()['torrentCategoriesId'] // could be deleted by moderator, remove links
)
]
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
case $activity::EVENT_TORRENT_CATEGORIES_DELETE:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/categories/delete' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
'categories' => [
'id' => $activity->getData()['torrentCategoriesId'],
'exist' => $torrentService->getTorrentCategories(
$activity->getData()['torrentCategoriesId'] // could be deleted by moderator, remove links
)
]
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
case $activity::EVENT_TORRENT_CATEGORIES_APPROVE_ADD:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/categories/approve/add' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
'categories' => [
'id' => $activity->getData()['torrentCategoriesId'],
'exist' => $torrentService->getTorrentCategories(
$activity->getData()['torrentCategoriesId'] // could be deleted by moderator, remove links
)
]
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
case $activity::EVENT_TORRENT_CATEGORIES_APPROVE_DELETE:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/categories/approve/delete' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
'categories' => [
'id' => $activity->getData()['torrentCategoriesId'],
'exist' => $torrentService->getTorrentCategories(
$activity->getData()['torrentCategoriesId'] // could be deleted by moderator, remove links
)
]
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
/// Torrent Sensitive
case $activity::EVENT_TORRENT_SENSITIVE_ADD:
@ -1005,6 +1357,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
@ -1057,6 +1410,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
@ -1109,6 +1463,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
@ -1161,6 +1516,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
@ -1186,6 +1542,219 @@ class ActivityController extends AbstractController
break;
/// Torrent Poster
case $activity::EVENT_TORRENT_POSTER_ADD:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/poster/add' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
'poster' => [
'id' => $activity->getData()['torrentPosterId'],
'exist' => $torrentService->getTorrentPoster(
$activity->getData()['torrentPosterId'] // could be deleted by moderator, remove links
)
]
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
case $activity::EVENT_TORRENT_POSTER_DELETE:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/poster/delete' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
'poster' => [
'id' => $activity->getData()['torrentPosterId'],
'exist' => $torrentService->getTorrentPoster(
$activity->getData()['torrentPosterId'] // could be deleted by moderator, remove links
)
]
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
case $activity::EVENT_TORRENT_POSTER_APPROVE_ADD:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/poster/approve/add' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
'poster' => [
'id' => $activity->getData()['torrentPosterId'],
'exist' => $torrentService->getTorrentPoster(
$activity->getData()['torrentPosterId'] // could be deleted by moderator, remove links
)
]
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
case $activity::EVENT_TORRENT_POSTER_APPROVE_DELETE:
// Init torrent
if (!$torrent = $torrentService->getTorrent($activity->getTorrentId()))
{
throw $this->createNotFoundException();
}
return $this->render(
'default/activity/event/torrent/poster/approve/delete' . $extension,
[
'id' => $activity->getId(),
'added' => $activity->getAdded(),
'user' =>
[
'id' => $activity->getUserId(),
'identicon' => $userService->identicon(
$userService->getUser(
$activity->getUserId()
)->getAddress()
)
],
'torrent' =>
[
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName(),
'poster' => [
'id' => $activity->getData()['torrentPosterId'],
'exist' => $torrentService->getTorrentPoster(
$activity->getData()['torrentPosterId'] // could be deleted by moderator, remove links
)
]
],
'session' =>
[
'user' =>
[
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'moderator' => $user->isModerator(),
'owner' => $user->getId() === $torrent->getUserId(),
]
]
]
);
break;
/// Torrent star
case $activity::EVENT_TORRENT_STAR_ADD:
@ -1214,6 +1783,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
@ -1260,6 +1830,7 @@ class ActivityController extends AbstractController
'id' => $torrent->getId(),
'sensitive' => $torrent->isSensitive(),
'approved' => $torrent->isApproved(),
'status' => $torrent->isStatus(),
'name' => $torrentService->readTorrentFileByTorrentId(
$torrent->getId()
)->getName()
@ -1318,6 +1889,7 @@ class ActivityController extends AbstractController
$this->getParameter('app.theme'),
$this->getParameter('app.sensitive'),
$this->getParameter('app.yggdrasil'),
$this->getParameter('app.posters'),
$this->getParameter('app.approved')
);

View file

@ -9,20 +9,156 @@ use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use App\Service\UserService;
use App\Service\TorrentService;
use App\Service\ActivityService;
class SearchController extends AbstractController
{
public function module(
?string $query,
?string $type
Request $request,
UserService $userService,
TorrentService $torrentService,
ActivityService $activityService
): Response
{
// Defaults
$locales = [];
$categories = [];
$sensitive = [];
// Request
$query = $request->get('query') ? urldecode($request->get('query')) : '';
$filter = $request->get('filter') ? true : false;
// Extended search
if ($filter)
{
// Init user
$user = $this->initUser(
$request,
$userService,
$activityService
);
// Keywords
$keywords = explode(' ', $query);
// Locales
foreach (explode('|', $this->getParameter('app.locales')) as $locale)
{
if ($request->get('locales'))
{
$checked = in_array($locale, (array) $request->get('locales'));
}
else
{
$checked = in_array($locale, $user->getLocales());
}
$locales[] =
[
'value' => $locale,
'checked' => $checked,
'total' => $torrentService->findTorrentsTotal(
0,
$keywords,
[$locale],
$request->get('categories') ? $request->get('categories') : $user->getCategories(),
$request->get('sensitive') ? null : false,
!$user->isModerator() ? true : null,
!$user->isModerator() ? true : null,
)
];
}
// Categories
foreach (explode('|', $this->getParameter('app.categories')) as $category)
{
if ($request->get('categories'))
{
$checked = in_array($category, (array) $request->get('categories'));
}
else
{
$checked = in_array($category, $user->getCategories());
}
$categories[] =
[
'value' => $category,
'checked' => $checked,
'total' => $torrentService->findTorrentsTotal(
0,
$keywords,
$request->get('locales') ? $request->get('locales') : $user->getLocales(),
[$category],
$request->get('sensitive') ? null : false,
!$user->isModerator() ? true : null,
!$user->isModerator() ? true : null,
)
];
}
// Sensitive
$sensitive =
[
'checked' => $request->get('sensitive'),
'total' => $torrentService->findTorrentsTotal(
0,
$keywords,
$request->get('locales') ? $request->get('locales') : $user->getLocales(),
$request->get('categories') ? $request->get('categories') : $user->getCategories(),
true,
!$user->isModerator() ? true : null,
!$user->isModerator() ? true : null,
)
];
}
return $this->render(
'default/search/module.html.twig',
[
'query' => $query ? urldecode($query) : '',
'query' => $query,
'filter' => $filter,
'sensitive' => $sensitive,
'locales' => $locales,
'categories' => $categories,
]
);
}
private function initUser(
Request $request,
UserService $userService,
ActivityService $activityService
): ?\App\Entity\User
{
// Init user
if (!$user = $userService->findUserByAddress($request->getClientIp()))
{
$user = $userService->addUser(
$request->getClientIp(),
time(),
$this->getParameter('app.locale'),
explode('|', $this->getParameter('app.locales')),
$activityService->getEventCodes(),
$this->getParameter('app.theme'),
$this->getParameter('app.sensitive'),
$this->getParameter('app.yggdrasil'),
$this->getParameter('app.posters'),
$this->getParameter('app.approved')
);
// Add user join event
$activityService->addEventUserAdd(
$user->getId(),
time()
);
}
return $user;
}
}

File diff suppressed because it is too large Load diff

View file

@ -40,9 +40,6 @@ class UserController extends AbstractController
#[Route(
'/{_locale}/settings',
name: 'user_settings',
defaults: [
'_locale' => '%app.locale%'
],
requirements: [
'_locale' => '%app.locales%',
],
@ -88,6 +85,23 @@ class UserController extends AbstractController
);
}
// Update categories
if ($request->get('categories'))
{
$categories = [];
foreach ((array) $request->get('categories') as $category)
{
if (in_array($category, explode('|', $this->getParameter('app.categories'))))
{
$categories[] = $category;
}
}
$user->setCategories(
$categories
);
}
// Update theme
if (in_array($request->get('theme'), explode('|', $this->getParameter('app.themes'))))
{
@ -120,6 +134,11 @@ class UserController extends AbstractController
$request->get('yggdrasil') === 'true'
);
// Update posters
$user->setPosters(
$request->get('posters') === 'true'
);
// Save changes to DB
$userService->save($user);
@ -137,18 +156,21 @@ class UserController extends AbstractController
'default/user/settings.html.twig',
[
'user' => [
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'yggdrasil' => $user->isYggdrasil(),
'locale' => $user->getLocale(),
'locales' => $user->getLocales(),
'events' => $user->getEvents(),
'theme' => $user->getTheme(),
'added' => $user->getAdded()
'id' => $user->getId(),
'sensitive' => $user->isSensitive(),
'yggdrasil' => $user->isYggdrasil(),
'posters' => $user->isPosters(),
'locale' => $user->getLocale(),
'locales' => $user->getLocales(),
'categories' => $user->getCategories(),
'events' => $user->getEvents(),
'theme' => $user->getTheme(),
'added' => $user->getAdded()
],
'locales' => explode('|', $this->getParameter('app.locales')),
'themes' => explode('|', $this->getParameter('app.themes')),
'events' => $activityService->getEventsTree()
'locales' => explode('|', $this->getParameter('app.locales')),
'categories' => explode('|', $this->getParameter('app.categories')),
'themes' => explode('|', $this->getParameter('app.themes')),
'events' => $activityService->getEventsTree()
]
);
}
@ -157,7 +179,6 @@ class UserController extends AbstractController
'/{_locale}/profile/{userId}',
name: 'user_info',
defaults: [
'_locale' => '%app.locale%',
'userId' => 0,
],
requirements: [
@ -215,19 +236,21 @@ class UserController extends AbstractController
'moderator' => $user->isModerator()
],
'user' => [
'id' => $userTarget->getId(),
'address' => $userTarget->getAddress(),
'moderator' => $userTarget->isModerator(),
'approved' => $userTarget->isApproved(),
'status' => $userTarget->isStatus(),
'sensitive' => $userTarget->isSensitive(),
'yggdrasil' => $userTarget->isYggdrasil(),
'locale' => $userTarget->getLocale(),
'locales' => $userTarget->getLocales(),
'events' => $userTarget->getEvents(),
'theme' => $userTarget->getTheme(),
'added' => $userTarget->getAdded(),
'identicon' => $userService->identicon(
'id' => $userTarget->getId(),
'address' => $userTarget->getAddress(),
'moderator' => $userTarget->isModerator(),
'approved' => $userTarget->isApproved(),
'status' => $userTarget->isStatus(),
'posters' => $userTarget->isPosters(),
'sensitive' => $userTarget->isSensitive(),
'yggdrasil' => $userTarget->isYggdrasil(),
'locale' => $userTarget->getLocale(),
'locales' => $userTarget->getLocales(),
'categories' => $user->getCategories(),
'events' => $userTarget->getEvents(),
'theme' => $userTarget->getTheme(),
'added' => $userTarget->getAdded(),
'identicon' => $userService->identicon(
$userTarget->getAddress(),
48
),
@ -265,7 +288,8 @@ class UserController extends AbstractController
name: 'user_star_toggle',
requirements:
[
'userId' => '\d+',
'_locale' => '%app.locales%',
'userId' => '\d+',
],
methods:
[
@ -294,6 +318,12 @@ class UserController extends AbstractController
);
}
// Block crawler requests
if (in_array($request->getClientIp(), explode('|', $this->getParameter('app.crawlers'))))
{
throw $this->createNotFoundException();
}
// Init target user
if (!$userTarget = $userService->getUser($request->get('userId')))
{
@ -341,7 +371,8 @@ class UserController extends AbstractController
name: 'user_moderator_toggle',
requirements:
[
'userId' => '\d+',
'_locale' => '%app.locales%',
'userId' => '\d+',
],
methods:
[
@ -415,7 +446,8 @@ class UserController extends AbstractController
name: 'user_status_toggle',
requirements:
[
'userId' => '\d+',
'_locale' => '%app.locales%',
'userId' => '\d+',
],
methods:
[
@ -489,7 +521,8 @@ class UserController extends AbstractController
name: 'user_approved_toggle',
requirements:
[
'userId' => '\d+',
'_locale' => '%app.locales%',
'userId' => '\d+',
],
methods:
[
@ -538,11 +571,21 @@ class UserController extends AbstractController
true
);
$torrentService->setTorrentCategoriesApprovedByUserId(
$userTarget->getId(),
true
);
$torrentService->setTorrentSensitivesApprovedByUserId(
$userTarget->getId(),
true
);
$torrentService->setTorrentPostersApprovedByUserId(
$userTarget->getId(),
true
);
// @TODO make event for each item
}
@ -613,6 +656,7 @@ class UserController extends AbstractController
$this->getParameter('app.theme'),
$this->getParameter('app.sensitive'),
$this->getParameter('app.yggdrasil'),
$this->getParameter('app.posters'),
$this->getParameter('app.approved')
);

View file

@ -20,42 +20,57 @@ class Activity
// Event codes
/// User
public const EVENT_USER_ADD = 1000;
public const EVENT_USER_ADD = 1000;
public const EVENT_USER_APPROVE_ADD = 1200;
public const EVENT_USER_APPROVE_DELETE = 1201;
public const EVENT_USER_APPROVE_ADD = 1200;
public const EVENT_USER_APPROVE_DELETE = 1201;
public const EVENT_USER_MODERATOR_ADD = 1300;
public const EVENT_USER_MODERATOR_DELETE = 1301;
public const EVENT_USER_MODERATOR_ADD = 1300;
public const EVENT_USER_MODERATOR_DELETE = 1301;
public const EVENT_USER_STATUS_ADD = 1400;
public const EVENT_USER_STATUS_DELETE = 1401;
public const EVENT_USER_STATUS_ADD = 1400;
public const EVENT_USER_STATUS_DELETE = 1401;
public const EVENT_USER_STAR_ADD = 1500;
public const EVENT_USER_STAR_DELETE = 1501;
public const EVENT_USER_STAR_ADD = 1500;
public const EVENT_USER_STAR_DELETE = 1501;
/// Torrent
public const EVENT_TORRENT_ADD = 2000;
public const EVENT_TORRENT_ADD = 2000;
public const EVENT_TORRENT_APPROVE_ADD = 1100;
public const EVENT_TORRENT_APPROVE_DELETE = 1101;
public const EVENT_TORRENT_APPROVE_ADD = 1100;
public const EVENT_TORRENT_APPROVE_DELETE = 1101;
public const EVENT_TORRENT_LOCALES_ADD = 2200;
public const EVENT_TORRENT_LOCALES_DELETE = 2201;
public const EVENT_TORRENT_LOCALES_APPROVE_ADD = 2210;
public const EVENT_TORRENT_LOCALES_APPROVE_DELETE = 2211;
public const EVENT_TORRENT_LOCALES_ADD = 2200;
public const EVENT_TORRENT_LOCALES_DELETE = 2201;
public const EVENT_TORRENT_LOCALES_APPROVE_ADD = 2210;
public const EVENT_TORRENT_LOCALES_APPROVE_DELETE = 2211;
public const EVENT_TORRENT_SENSITIVE_ADD = 2300;
public const EVENT_TORRENT_SENSITIVE_DELETE = 2301;
public const EVENT_TORRENT_SENSITIVE_APPROVE_ADD = 2310;
public const EVENT_TORRENT_SENSITIVE_APPROVE_DELETE = 2311;
public const EVENT_TORRENT_SENSITIVE_ADD = 2300;
public const EVENT_TORRENT_SENSITIVE_DELETE = 2301;
public const EVENT_TORRENT_SENSITIVE_APPROVE_ADD = 2310;
public const EVENT_TORRENT_SENSITIVE_APPROVE_DELETE = 2311;
public const EVENT_TORRENT_STAR_ADD = 2400;
public const EVENT_TORRENT_STAR_DELETE = 2401;
public const EVENT_TORRENT_STAR_ADD = 2400;
public const EVENT_TORRENT_STAR_DELETE = 2401;
public const EVENT_TORRENT_DOWNLOAD_FILE_ADD = 2500;
public const EVENT_TORRENT_DOWNLOAD_FILE_ADD = 2500;
public const EVENT_TORRENT_DOWNLOAD_MAGNET_ADD = 2600;
public const EVENT_TORRENT_DOWNLOAD_MAGNET_ADD = 2600;
public const EVENT_TORRENT_WANTED_ADD = 2700;
public const EVENT_TORRENT_STATUS_ADD = 1800;
public const EVENT_TORRENT_STATUS_DELETE = 1801;
public const EVENT_TORRENT_POSTER_ADD = 2800;
public const EVENT_TORRENT_POSTER_DELETE = 2801;
public const EVENT_TORRENT_POSTER_APPROVE_ADD = 2810;
public const EVENT_TORRENT_POSTER_APPROVE_DELETE = 2811;
public const EVENT_TORRENT_CATEGORIES_ADD = 2900;
public const EVENT_TORRENT_CATEGORIES_DELETE = 2901;
public const EVENT_TORRENT_CATEGORIES_APPROVE_ADD = 2910;
public const EVENT_TORRENT_CATEGORIES_APPROVE_DELETE = 2911;
// ...

View file

@ -33,6 +33,9 @@ class Torrent
#[ORM\Column]
private ?bool $approved = null;
#[ORM\Column]
private ?bool $status = null;
#[ORM\Column(length: 32)]
private ?string $md5file = null;
@ -48,6 +51,12 @@ class Torrent
#[ORM\Column(nullable: true)]
private ?int $leechers = null;
#[ORM\Column(nullable: true)]
private ?int $torrentPosterId = null;
#[ORM\Column(type: Types::SIMPLE_ARRAY)]
private ?array $categories = null;
public function getId(): ?int
{
return $this->id;
@ -156,6 +165,18 @@ class Torrent
return $this;
}
public function isStatus(): ?bool
{
return $this->status;
}
public function setStatus(bool $status): static
{
$this->status = $status;
return $this;
}
public function getSeeders(): ?int
{
return $this->seeders;
@ -191,4 +212,28 @@ class Torrent
return $this;
}
public function getTorrentPosterId(): ?int
{
return $this->torrentPosterId;
}
public function setTorrentPosterId(?int $torrentPosterId): static
{
$this->torrentPosterId = $torrentPosterId;
return $this;
}
public function getCategories(): ?array
{
return $this->categories;
}
public function setCategories(?array $categories): static
{
$this->categories = $categories;
return $this;
}
}

View file

@ -0,0 +1,103 @@
<?php
namespace App\Entity;
use App\Repository\TorrentCategoriesRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TorrentCategoriesRepository::class)]
class TorrentCategories
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?int $torrentId = null;
#[ORM\Column]
private ?int $userId = null;
#[ORM\Column]
private ?int $added = null;
#[ORM\Column(type: Types::SIMPLE_ARRAY)]
private array $value = [];
#[ORM\Column]
private ?bool $approved = null;
public function getId(): ?int
{
return $this->id;
}
public function setId(string $id): static
{
$this->id = $id;
return $this;
}
public function getTorrentId(): ?int
{
return $this->torrentId;
}
public function setTorrentId(int $torrentId): static
{
$this->torrentId = $torrentId;
return $this;
}
public function getUserId(): ?int
{
return $this->userId;
}
public function setUserId(int $userId): static
{
$this->userId = $userId;
return $this;
}
public function getAdded(): ?int
{
return $this->added;
}
public function setAdded(int $added): static
{
$this->added = $added;
return $this;
}
public function getValue(): array
{
return $this->value;
}
public function setValue(array $value): static
{
$this->value = $value;
return $this;
}
public function isApproved(): ?bool
{
return $this->approved;
}
public function setApproved(bool $approved): static
{
$this->approved = $approved;
return $this;
}
}

View file

@ -0,0 +1,117 @@
<?php
namespace App\Entity;
use App\Repository\TorrentPosterRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: TorrentPosterRepository::class)]
class TorrentPoster
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column]
private ?int $torrentId = null;
#[ORM\Column]
private ?int $userId = null;
#[ORM\Column]
private ?int $added = null;
#[ORM\Column]
private ?bool $approved = null;
#[ORM\Column(length: 32)]
private ?string $md5file = null;
#[ORM\Column(length: 255)]
private ?string $position = null;
public function getId(): ?int
{
return $this->id;
}
public function setId(string $id): static
{
$this->id = $id;
return $this;
}
public function getTorrentId(): ?int
{
return $this->torrentId;
}
public function setTorrentId(int $torrentId): static
{
$this->torrentId = $torrentId;
return $this;
}
public function getUserId(): ?int
{
return $this->userId;
}
public function setUserId(int $userId): static
{
$this->userId = $userId;
return $this;
}
public function getAdded(): ?int
{
return $this->added;
}
public function setAdded(int $added): static
{
$this->added = $added;
return $this;
}
public function isApproved(): ?bool
{
return $this->approved;
}
public function setApproved(bool $approved): static
{
$this->approved = $approved;
return $this;
}
public function getMd5file(): ?string
{
return $this->md5file;
}
public function setMd5file(string $md5file): static
{
$this->md5file = $md5file;
return $this;
}
public function getPosition(): ?string
{
return $this->position;
}
public function setPosition(string $position): static
{
$this->position = $position;
return $this;
}
}

View file

@ -47,6 +47,12 @@ class User
#[ORM\Column]
private ?bool $yggdrasil = null;
#[ORM\Column]
private ?bool $posters = null;
#[ORM\Column(type: Types::SIMPLE_ARRAY)]
private ?array $categories = null;
public function getId(): ?int
{
return $this->id;
@ -190,4 +196,28 @@ class User
return $this;
}
public function isPosters(): ?bool
{
return $this->posters;
}
public function setPosters(bool $posters): static
{
$this->posters = $posters;
return $this;
}
public function getCategories(): ?array
{
return $this->categories;
}
public function setCategories(?array $categories): static
{
$this->categories = $categories;
return $this;
}
}

View file

@ -0,0 +1,23 @@
<?php
namespace App\Repository;
use App\Entity\TorrentCategories;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<TorrentCategories>
*
* @method TorrentCategories|null find($id, $lockMode = null, $lockVersion = null)
* @method TorrentCategories|null findOneBy(array $criteria, array $orderBy = null)
* @method TorrentCategories[] findAll()
* @method TorrentCategories[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class TorrentCategoriesRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, TorrentCategories::class);
}
}

View file

@ -0,0 +1,23 @@
<?php
namespace App\Repository;
use App\Entity\TorrentPoster;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<TorrentPoster>
*
* @method TorrentPoster|null find($id, $lockMode = null, $lockVersion = null)
* @method TorrentPoster|null findOneBy(array $criteria, array $orderBy = null)
* @method TorrentPoster[] findAll()
* @method TorrentPoster[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class TorrentPosterRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, TorrentPoster::class);
}
}

View file

@ -22,93 +22,220 @@ class TorrentRepository extends ServiceEntityRepository
}
public function findTorrentsTotal(
int $userId,
array $keywords,
array $locales,
?array $locales,
?array $categories,
?bool $sensitive = null,
?bool $approved = null,
int $limit = 0,
int $offset = 10
?bool $approved = null,
?bool $status = null,
int $limit = 10,
int $offset = 0
): int
{
return $this->getTorrentsQueryByFilter(
$userId,
$keywords,
$locales,
$categories,
$sensitive,
$approved,
$status,
)->select('count(t.id)')
->getQuery()
->getSingleScalarResult();
}
public function findTorrents(
int $userId,
array $keywords,
array $locales,
?array $locales,
?array $categories,
?bool $sensitive = null,
?bool $approved = null,
int $limit = 0,
int $offset = 10
?bool $approved = null,
?bool $status = null,
int $limit = 10,
int $offset = 0
): array
{
return $this->getTorrentsQueryByFilter(
$userId,
$keywords,
$locales,
$categories,
$sensitive,
$approved,
$status,
)->setMaxResults($limit)
->setFirstResult($offset)
->orderBy('t.id', 'DESC') // same as t.added
->getQuery()
->getResult();
->setFirstResult($offset)
->orderBy('t.id', 'DESC') // same as t.added
->getQuery()
->getResult();
}
private function getTorrentsQueryByFilter(
array $keywords,
array $locales,
?bool $sensitive = null,
?bool $approved = null,
int $userId,
?array $keywords,
?array $locales,
?array $categories,
?bool $sensitive = null,
?bool $approved = null,
?bool $status = null
): \Doctrine\ORM\QueryBuilder
{
$query = $this->createQueryBuilder('t');
if ($keywords) // @TODO ANY or DTS
if (is_array($keywords))
{
$orX = $query->expr()->orX();
foreach ($keywords as $i => $keyword)
{
$orX->add("t.keywords LIKE :keyword{$i}");
$query->setParameter(":keyword{$i}", "%{$keyword}%");
}
// Make query to the index case insensitive
$keyword = mb_strtolower($keyword);
$query->andWhere($orX);
// Init OR condition for each word form
$orKeywords = $query->expr()->orX();
$orKeywords->add("t.keywords LIKE :keyword{$i}");
$query->setParameter(":keyword{$i}", "%{$keyword}%");
// Generate word forms for each transliteration locale #33
foreach ($this->generateWordForms($keyword) as $j => $wordForm)
{
$orKeywords->add("t.keywords LIKE :keyword{$i}{$j}");
$query->setParameter(":keyword{$i}{$j}", "%{$wordForm}%");
}
// Append AND condition
$query->andWhere($orKeywords);
}
}
if ($locales) // @TODO ANY or DTS
if (is_array($locales))
{
$orX = $query->expr()->orX();
$orLocales = $query->expr()->orX();
foreach ($locales as $i => $locale)
{
$orX->add("t.locales LIKE :locale{$i}");
$orLocales->add("t.locales LIKE :locale{$i}");
$orLocales->add("t.userId = :userId");
$query->setParameter(":locale{$i}", "%{$locale}%");
$query->setParameter('userId', $userId);
}
$query->andWhere($orX);
$query->andWhere($orLocales);
}
if (is_array($categories))
{
$orCategories = $query->expr()->orX();
foreach ($categories as $i => $category)
{
$orCategories->add("t.categories LIKE :category{$i}");
$orCategories->add("t.userId = :userId");
$query->setParameter(":category{$i}", "%{$category}%");
$query->setParameter('userId', $userId);
}
$query->andWhere($orCategories);
}
if (is_bool($sensitive))
{
$query->andWhere('t.sensitive = :sensitive')
->setParameter('sensitive', $sensitive);
$orSensitive = $query->expr()->orX();
$orSensitive->add("t.sensitive = :sensitive");
$orSensitive->add("t.userId = :userId");
$query->setParameter('sensitive', $sensitive);
$query->setParameter('userId', $userId);
$query->andWhere($orSensitive);
}
if (is_bool($approved))
{
$query->andWhere('t.approved = :approved')
->setParameter('approved', $approved);
$orApproved = $query->expr()->orX();
$orApproved->add("t.approved = :approved");
$orApproved->add("t.userId = :userId");
$query->setParameter('approved', $approved);
$query->setParameter('userId', $userId);
$query->andWhere($orApproved);
}
if (is_bool($status))
{
$orStatus = $query->expr()->orX();
$orStatus->add("t.status = :status");
$orStatus->add("t.userId = :userId");
$query->setParameter('status', $status);
$query->setParameter('userId', $userId);
$query->andWhere($orStatus);
}
return $query;
}
// Word forms generator to improve search results
// e.g. transliteration rules for latin filenames
private function generateWordForms(
string $keyword,
// #33 supported locales:
// https://github.com/ashtokalo/php-translit
array $transliteration = [
'be',
'bg',
'el',
'hy',
'kk',
'mk',
'ru',
'ka',
'uk'
],
// Additional char forms
array $charForms =
[
'c' => 'k',
'k' => 'c',
]
): array
{
$wordForms = [];
// Apply transliteration
foreach ($transliteration as $locale)
{
$wordForms[] = \ashtokalo\translit\Translit::object()->convert(
$keyword,
$locale
);
}
// Apply char forms
foreach ($wordForms as $wordForm)
{
foreach ($charForms as $from => $to)
{
$wordForms[] = str_replace(
$from,
$to,
$wordForm
);
}
}
// Remove duplicates
return array_unique(
$wordForms
);
}
}

View file

@ -51,16 +51,31 @@ class ActivityService
Activity::EVENT_TORRENT_LOCALES_APPROVE_ADD,
Activity::EVENT_TORRENT_LOCALES_APPROVE_DELETE,
Activity::EVENT_TORRENT_CATEGORIES_ADD,
Activity::EVENT_TORRENT_CATEGORIES_DELETE,
Activity::EVENT_TORRENT_CATEGORIES_APPROVE_ADD,
Activity::EVENT_TORRENT_CATEGORIES_APPROVE_DELETE,
Activity::EVENT_TORRENT_SENSITIVE_ADD,
Activity::EVENT_TORRENT_SENSITIVE_DELETE,
Activity::EVENT_TORRENT_SENSITIVE_APPROVE_ADD,
Activity::EVENT_TORRENT_SENSITIVE_APPROVE_DELETE,
Activity::EVENT_TORRENT_POSTER_ADD,
Activity::EVENT_TORRENT_POSTER_DELETE,
Activity::EVENT_TORRENT_POSTER_APPROVE_ADD,
Activity::EVENT_TORRENT_POSTER_APPROVE_DELETE,
Activity::EVENT_TORRENT_STAR_ADD,
Activity::EVENT_TORRENT_STAR_DELETE,
Activity::EVENT_TORRENT_DOWNLOAD_FILE_ADD,
Activity::EVENT_TORRENT_DOWNLOAD_MAGNET_ADD,
Activity::EVENT_TORRENT_STATUS_ADD,
Activity::EVENT_TORRENT_STATUS_DELETE,
Activity::EVENT_TORRENT_WANTED_ADD,
];
}
@ -267,6 +282,55 @@ class ActivityService
break;
/// Torrent categories
case Activity::EVENT_TORRENT_CATEGORIES_ADD:
$events
[
$this->translatorInterface->trans('Torrent categories')
]
[
$this->translatorInterface->trans('Added')
] = $code;
break;
case Activity::EVENT_TORRENT_CATEGORIES_DELETE:
$events
[
$this->translatorInterface->trans('Torrent categories')
]
[
$this->translatorInterface->trans('Deleted')
] = $code;
break;
case Activity::EVENT_TORRENT_CATEGORIES_APPROVE_ADD:
$events
[
$this->translatorInterface->trans('Torrent categories')
]
[
$this->translatorInterface->trans('Approved')
] = $code;
break;
case Activity::EVENT_TORRENT_CATEGORIES_APPROVE_DELETE:
$events
[
$this->translatorInterface->trans('Torrent categories')
]
[
$this->translatorInterface->trans('Disapproved')
] = $code;
break;
/// Torrent sensitive
case Activity::EVENT_TORRENT_SENSITIVE_ADD:
@ -316,6 +380,55 @@ class ActivityService
break;
/// Torrent poster
case Activity::EVENT_TORRENT_POSTER_ADD:
$events
[
$this->translatorInterface->trans('Torrent posters')
]
[
$this->translatorInterface->trans('Added')
] = $code;
break;
case Activity::EVENT_TORRENT_POSTER_DELETE:
$events
[
$this->translatorInterface->trans('Torrent posters')
]
[
$this->translatorInterface->trans('Deleted')
] = $code;
break;
case Activity::EVENT_TORRENT_POSTER_APPROVE_ADD:
$events
[
$this->translatorInterface->trans('Torrent posters')
]
[
$this->translatorInterface->trans('Approved')
] = $code;
break;
case Activity::EVENT_TORRENT_POSTER_APPROVE_DELETE:
$events
[
$this->translatorInterface->trans('Torrent posters')
]
[
$this->translatorInterface->trans('Disapproved')
] = $code;
break;
/// Torrent stars
case Activity::EVENT_TORRENT_STAR_ADD:
@ -365,6 +478,42 @@ class ActivityService
] = $code;
break;
case Activity::EVENT_TORRENT_WANTED_ADD:
$events
[
$this->translatorInterface->trans('Torrents')
]
[
$this->translatorInterface->trans('Wanted')
] = $code;
break;
case Activity::EVENT_TORRENT_STATUS_ADD:
$events
[
$this->translatorInterface->trans('Torrents')
]
[
$this->translatorInterface->trans('Enabled')
] = $code;
break;
case Activity::EVENT_TORRENT_STATUS_DELETE:
$events
[
$this->translatorInterface->trans('Torrents')
]
[
$this->translatorInterface->trans('Disabled')
] = $code;
break;
}
}
@ -847,6 +996,96 @@ class ActivityService
return $activity;
}
public function addEventTorrentStatusAdd(
int $userId,
int $torrentId,
int $added
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_STATUS_ADD
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
public function addEventTorrentStatusDelete(
int $userId,
int $torrentId,
int $added
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_STATUS_DELETE
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
public function addEventTorrentWantedAdd(
int $userId,
int $added,
int $torrentId
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_WANTED_ADD
);
$activity->setUserId(
$userId
);
$activity->setAdded(
$added
);
$activity->setTorrentId(
$torrentId
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
/// Torrent Download
public function addEventTorrentDownloadFileAdd(
int $userId,
@ -1118,6 +1357,155 @@ class ActivityService
return $activity;
}
/// Torrent categories
public function addEventTorrentCategoriesAdd(
int $userId,
int $torrentId,
int $added,
int $torrentCategoriesId,
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_CATEGORIES_ADD
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$activity->setData(
[
'torrentCategoriesId' => $torrentCategoriesId
]
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
public function addEventTorrentCategoriesDelete(
int $userId,
int $torrentId,
int $added,
int $torrentCategoriesId,
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_CATEGORIES_DELETE
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$activity->setData(
[
'torrentCategoriesId' => $torrentCategoriesId
]
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
public function addEventTorrentCategoriesApproveAdd(
int $userId,
int $torrentId,
int $added,
int $torrentCategoriesId,
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_CATEGORIES_APPROVE_ADD
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$activity->setData(
[
'torrentCategoriesId' => $torrentCategoriesId
]
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
public function addEventTorrentCategoriesApproveDelete(
int $userId,
int $torrentId,
int $added,
int $torrentCategoriesId,
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_CATEGORIES_APPROVE_DELETE
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$activity->setData(
[
'torrentCategoriesId' => $torrentCategoriesId
]
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
/// Torrent sensitive
public function addEventTorrentSensitiveAdd(
int $userId,
@ -1266,4 +1654,153 @@ class ActivityService
return $activity;
}
/// Torrent poster
public function addEventTorrentPosterAdd(
int $userId,
int $torrentId,
int $added,
int $torrentPosterId,
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_POSTER_ADD
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$activity->setData(
[
'torrentPosterId' => $torrentPosterId
]
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
public function addEventTorrentPosterDelete(
int $userId,
int $torrentId,
int $added,
int $torrentPosterId,
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_POSTER_DELETE
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$activity->setData(
[
'torrentPosterId' => $torrentPosterId
]
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
public function addEventTorrentPosterApproveAdd(
int $userId,
int $torrentId,
int $added,
int $torrentPosterId,
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_POSTER_APPROVE_ADD
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$activity->setData(
[
'torrentPosterId' => $torrentPosterId
]
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
public function addEventTorrentPosterApproveDelete(
int $userId,
int $torrentId,
int $added,
int $torrentPosterId,
): ?Activity
{
$activity = new Activity();
$activity->setEvent(
Activity::EVENT_TORRENT_POSTER_APPROVE_DELETE
);
$activity->setUserId(
$userId
);
$activity->setTorrentId(
$torrentId
);
$activity->setAdded(
$added
);
$activity->setData(
[
'torrentPosterId' => $torrentPosterId
]
);
$this->entityManagerInterface->persist($activity);
$this->entityManagerInterface->flush();
return $activity;
}
}

File diff suppressed because it is too large Load diff

View file

@ -32,6 +32,7 @@ class UserService
string $theme,
bool $sensitive = true,
bool $yggdrasil = true,
bool $posters = true,
bool $approved = false,
bool $moderator = false,
bool $status = true
@ -84,6 +85,10 @@ class UserService
$yggdrasil
);
$user->setPosters(
$posters
);
$this->entityManagerInterface->persist($user);
$this->entityManagerInterface->flush();

View file

@ -39,13 +39,27 @@ class AppExtension extends AbstractExtension
'formatAgo'
]
),
new TwigFilter(
'url_to_markdown',
[
$this,
'urlToMarkdown'
]
),
new TwigFilter(
'trans_category',
[
$this,
'transCategory'
]
),
];
}
public function formatBytes(
int $bytes,
int $precision = 2
) : string
): string
{
$size = [
$this->translator->trans('B'),
@ -66,7 +80,7 @@ class AppExtension extends AbstractExtension
public function formatAgo(
int $time,
) : string
): string
{
$diff = time() - $time;
@ -77,21 +91,42 @@ class AppExtension extends AbstractExtension
$values =
[
365 * 24 * 60 * 60 => $this->translator->trans('year'),
30 * 24 * 60 * 60 => $this->translator->trans('month'),
24 * 60 * 60 => $this->translator->trans('day'),
60 * 60 => $this->translator->trans('hour'),
60 => $this->translator->trans('minute'),
1 => $this->translator->trans('second')
];
$plural = [
$this->translator->trans('year') => $this->translator->trans('years'),
$this->translator->trans('month') => $this->translator->trans('months'),
$this->translator->trans('day') => $this->translator->trans('days'),
$this->translator->trans('hour') => $this->translator->trans('hours'),
$this->translator->trans('minute') => $this->translator->trans('minutes'),
$this->translator->trans('second') => $this->translator->trans('seconds')
365 * 24 * 60 * 60 =>
[
$this->translator->trans('year ago'),
$this->translator->trans('years ago'),
$this->translator->trans(' years ago')
],
30 * 24 * 60 * 60 =>
[
$this->translator->trans('month ago'),
$this->translator->trans('months ago'),
$this->translator->trans(' months ago')
],
24 * 60 * 60 =>
[
$this->translator->trans('day ago'),
$this->translator->trans('days ago'),
$this->translator->trans(' days ago')
],
60 * 60 =>
[
$this->translator->trans('hour ago'),
$this->translator->trans('hours ago'),
$this->translator->trans(' hours ago')
],
60 =>
[
$this->translator->trans('minute ago'),
$this->translator->trans('minutes ago'),
$this->translator->trans(' minutes ago')
],
1 =>
[
$this->translator->trans('second ago'),
$this->translator->trans('seconds ago'),
$this->translator->trans(' seconds ago')
]
];
foreach ($values as $key => $value)
@ -103,12 +138,55 @@ class AppExtension extends AbstractExtension
$round = round($result);
return sprintf(
'%s %s %s',
'%s %s',
$round,
$round > 1 ? $plural[$value] : $value,
$this->translator->trans('ago')
$this->plural(
$round,
$value
)
);
}
}
}
public function urlToMarkdown(
string $text
): string
{
return preg_replace(
'~(https?://(?:www\.)?[^\(\s\)]+)~i',
'[$1]($1)',
$text
);
}
public function transCategory(
string $name
): string
{
switch ($name)
{
case 'movie': return $this->translator->trans('movie');
case 'series': return $this->translator->trans('series');
case 'tv': return $this->translator->trans('tv');
case 'animation': return $this->translator->trans('animation');
case 'music': return $this->translator->trans('music');
case 'game': return $this->translator->trans('game');
case 'audiobook': return $this->translator->trans('audiobook');
case 'podcast': return $this->translator->trans('podcast');
case 'book': return $this->translator->trans('book');
case 'archive': return $this->translator->trans('archive');
case 'picture': return $this->translator->trans('picture');
case 'software': return $this->translator->trans('software');
case 'other': return $this->translator->trans('other');
default: return $name;
}
}
private function plural(int $number, array $texts)
{
$cases = [2, 0, 1, 1, 1, 2];
return $texts[(($number % 100) > 4 && ($number % 100) < 20) ? 2 : $cases[min($number % 10, 5)]];
}
}

View file

@ -0,0 +1,14 @@
{% extends theme ~ '/layout.html.twig' %}
{% block title %}{{ 'Not found' | trans }} - {{ name }}{% endblock %}
{% block main_content %}
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night">
<div class="text-center">
<h1 class="display-block margin-b-16-px">
404
</h1>
<div class="text-color-night margin-y-16-px">
{{ 'Page not found!' | trans }}
</div>
</div>
<div>
{% endblock %}

View file

@ -0,0 +1,17 @@
{% extends theme ~ '/layout.html.twig' %}
{% block title %}{{ 'Error' | trans }} - {{ name }}{% endblock %}
{% block main_content %}
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night">
<div class="text-center">
<h1 class="display-block margin-b-16-px">
{{ 'Oops!' | trans }}
</h1>
<div class="text-color-night">
{{ 'Internal server error' | trans }}
</div>
<a class="button button-green margin-y-16-px" href="https://github.com/YGGverse/YGGtracker/issues">
{{ 'Report' | trans }}
</a>
</div>
<div>
{% endblock %}

View file

@ -1,22 +1,19 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-l-4-px">
{{ 'have added torrent' | trans }}
</span>
{{ 'have added torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -6,9 +6,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -11,7 +11,11 @@
{{ torrent.name }}
</a>
{% else %}
{% if torrent.sensitive == true %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -6,7 +6,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.sensitive == true %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -10,13 +10,12 @@
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -6,7 +6,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.sensitive == true %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -0,0 +1,39 @@
<div class="row">
<div class="column width-80">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have added categories edition' | trans }}
{% if torrent.categories.exist %}
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}">
#{{ torrent.categories.id }}
</a>
{% else %}
#{{ torrent.categories.id }}
{% endif %}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have added categories edition' | trans }}
#{{ torrent.categories.id }}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity</link>
</item>

View file

@ -0,0 +1,39 @@
<div class="row">
<div class="column width-80">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have approved categories edition' | trans }}
{% if torrent.categories.exist %}
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}">
#{{ torrent.categories.id }}
</a>
{% else %}
#{{ torrent.categories.id }}
{% endif %}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have approved categories edition' | trans }}
#{{ torrent.categories.id }}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity</link>
</item>

View file

@ -0,0 +1,41 @@
<div class="row">
<div class="column width-80">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-l-4-px">
{{ 'have disapproved categories edition' | trans }}
</span>
{% if torrent.categories.exist %}
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}">
#{{ torrent.categories.id }}
</a>
{% else %}
#{{ torrent.categories.id }}
{% endif %}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have disapproved categories edition' | trans }}
#{{ torrent.categories.id }}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity</link>
</item>

View file

@ -0,0 +1,39 @@
<div class="row">
<div class="column width-80">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have deleted categories edition' | trans }}
{% if torrent.categories.exist %}
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id }) }}">
#{{ torrent.categories.id }}
</a>
{% else %}
#{{ torrent.categories.id }}
{% endif %}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have deleted categories edition' | trans }}
#{{ torrent.categories.id }}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_categories_edit', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id }) }}#activity</link>
</item>

View file

@ -3,7 +3,7 @@
<a href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-x-l-px">
<span class="margin-l-4-px">
{{ 'have downloaded torrent file' | trans }}
</span>
{% if session.user.moderator or session.user.owner %}
@ -11,12 +11,14 @@
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -6,9 +6,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -11,12 +11,14 @@
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -6,9 +6,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -1,11 +1,9 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-l-4-px">
{{ 'have added locales edition' | trans }}
</span>
{{ 'have added locales edition' | trans }}
{% if torrent.locales.exist %}
<a href="{{ path('torrent_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}">
#{{ torrent.locales.id }}
@ -22,9 +20,11 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -8,9 +8,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -1,6 +1,6 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have approved locales edition' | trans }}
@ -20,9 +20,11 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -8,9 +8,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -1,6 +1,6 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-l-4-px">
@ -22,9 +22,11 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -8,9 +8,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -1,6 +1,6 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have deleted locales edition' | trans }}
@ -20,9 +20,11 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -8,9 +8,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -0,0 +1,39 @@
<div class="row">
<div class="column width-80">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have added poster edition' | trans }}
{% if torrent.poster.exist %}
<a href="{{ path('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}">
#{{ torrent.poster.id }}
</a>
{% else %}
#{{ torrent.poster.id }}
{% endif %}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have added poster edition' | trans }}
#{{ torrent.poster.id }}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
{{ torrent.name }}
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}#activity</link>
</item>

View file

@ -0,0 +1,39 @@
<div class="row">
<div class="column width-80">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have approved poster edition' | trans }}
{% if torrent.poster.exist %}
<a href="{{ path('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}">
#{{ torrent.poster.id }}
</a>
{% else %}
#{{ torrent.poster.id }}
{% endif %}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have approved poster edition' | trans }}
#{{ torrent.poster.id }}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
{{ torrent.name }}
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}#activity</link>
</item>

View file

@ -0,0 +1,39 @@
<div class="row">
<div class="column width-80">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have disapproved poster edition' | trans }}
{% if torrent.poster.exist %}
<a href="{{ path('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}">
#{{ torrent.poster.id }}
</a>
{% else %}
#{{ torrent.poster.id }}
{% endif %}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have disapproved poster edition' | trans }}
#{{ torrent.poster.id }}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
{{ torrent.name }}
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}#activity</link>
</item>

View file

@ -0,0 +1,39 @@
<div class="row">
<div class="column width-80">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have deleted poster edition' | trans }}
{% if torrent.poster.exist %}
<a href="{{ path('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}">
#{{ torrent.poster.id }}
</a>
{% else %}
#{{ torrent.poster.id }}
{% endif %}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% if torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have deleted poster edition' | trans }}
#{{ torrent.poster.id }}
{{ 'for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
{{ torrent.name }}
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_poster_edit', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_poster_edit', { torrentId : torrent.id }) }}#activity</link>
</item>

View file

@ -1,6 +1,6 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have added sensitive edition' | trans }}
@ -20,10 +20,12 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}

View file

@ -8,10 +8,12 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
{{ torrent.name }}
{% endif %}

View file

@ -1,6 +1,6 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have approved sensitive edition' | trans }}
@ -20,10 +20,12 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}

View file

@ -8,10 +8,12 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
{{ torrent.name }}
{% endif %}

View file

@ -1,6 +1,6 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have disapproved sensitive edition' | trans }}
@ -20,10 +20,12 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}

View file

@ -8,10 +8,12 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
{{ torrent.name }}
{% endif %}

View file

@ -1,6 +1,6 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
{{ 'have deleted sensitive edition' | trans }}
@ -20,10 +20,12 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}

View file

@ -8,10 +8,12 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }}
{% else %}
{{ torrent.name }}
{% endif %}

View file

@ -1,11 +1,9 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-l-4-px">
{{ 'have added star for torrent' | trans }}
</span>
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
@ -14,9 +12,11 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -6,9 +6,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -1,12 +1,10 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<a class="margin-r-4-px" href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-l-4-px">
{{ 'have removed star from torrent' | trans }}
</span>
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
@ -15,9 +13,11 @@
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% endif %}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">

View file

@ -6,9 +6,11 @@
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.approved == false %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true %}
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}

View file

@ -0,0 +1,30 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-l-4-px">
{{ 'have enabled torrent' | trans }}
</span>
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have enabled torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
</item>

View file

@ -0,0 +1,30 @@
<div class="row">
<div class="column width-80">
<a href="{{ path('user_info', { userId : user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-l-4-px">
{{ 'have disabled torrent' | trans }}
</span>
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }}
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,26 @@
<item>
<title>
{{ 'User' | trans }}
#{{ user.id }}
{{ 'have disabled torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }}
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
</item>

View file

@ -0,0 +1,25 @@
<div class="row">
<div class="column width-80">
{{ 'Seeders wanted for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
{{ torrent.name }}
</a>
{% endif %}
{% endif %}
</div>
<div class="column width-20 text-right">
{{ added | format_ago }}
</div>
</div>

View file

@ -0,0 +1,21 @@
<item>
<title>
{{ 'Seeders wanted for torrent' | trans }}
{% if session.user.moderator or session.user.owner %}
{{ torrent.name }}
{% else %}
{% if torrent.status == false %}
#{{ torrent.id }} ({{ 'disabled' | trans }})
{% elseif torrent.approved == false %}
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
#{{ torrent.id }} ({{ 'sensitive' | trans }})
{% else %}
{{ torrent.name }}
{% endif %}
{% endif %}
</title>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
</item>

View file

@ -5,7 +5,7 @@
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
<span class="margin-l-4-px">
{{ 'have joined' | trans }} {{ name }}
{{ 'have joined' | trans }}
</span>
</div>
<div class="column width-20 text-right">

View file

@ -1,5 +1,5 @@
<item>
<title>{{ 'User' | trans }} #{{ user.id }} {{ 'have joined' | trans }} {{ name }}</title>
<title>{{ 'User' | trans }} #{{ user.id }} {{ 'have joined' | trans }}</title>
<author>#{{ user.id }}</author>
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
<guid>{{ url('user_info', { userId : user.id }) }}#activity-{{ id }}</guid>

View file

@ -3,6 +3,9 @@
<head>
<meta charset="UTF-8" />
<title>{% block title %}{{ name }}{% endblock %}</title>
{% block keywords %}
<meta name="keywords" content="yggverse,yggtracker,yggdrasil,bittorrent,magnet,tracker" />
{% endblock %}
{% block stylesheets %}
<link href="{{ asset('asset/' ~ theme ~ '/css/framework.css') }}?{{ version }}" rel="stylesheet" />
<link href="{{ asset('asset/' ~ theme ~ '/css/common.css') }}?{{ version }}" rel="stylesheet" />
@ -13,15 +16,19 @@
<header>
<div class="container">
<div class="row margin-y-16-px text-center">
<a class="logo" 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',
{
query : app.request.get('query'),
type : app.request.get('type')
request: app.request
}
)) }}
{% endblock %}

View file

@ -1,4 +1,69 @@
<form class="margin-t-16-px" name="search" method="get" action="{{ path('torrent_search') }}">
<input class="min-width-200-px" type="text" name="query" value="{{ query }}" placeholder="{{ 'Keyword, file, hash...' | trans }}" />
<input {% if query %}class="button-green"{% endif %} type="submit" value="{{ 'Search' | trans }}" />
{% if filter %}
<input type="hidden" name="filter" value="true" />
<div class="text-left">
<div class="margin-t-16-px margin-b-4-px padding-x-4-px text-right">
{{ 'Locales' | trans }}
</div>
<div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default">
{% for locale in locales | sort %}
{#{% if locale.total %}#}
<div class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
{% if locale.checked %}
<input name="locales[]" id="{{ locale.value }}" type="checkbox" value="{{ locale.value }}" checked="checked" />
{% else %}
<input name="locales[]" id="{{ locale.value }}" type="checkbox" value="{{ locale.value }}" />
{% endif %}
<label class="margin-x-4-px" for="{{ locale.value }}">
{{ locale.value | locale_name(locale.value) | u.title }}
<span class="text-color-night">
({{ locale.total }})
</span>
</label>
</div>
{#{% endif %}#}
{% endfor %}
</div>
<div class="margin-b-4-px padding-x-4-px text-right">
{{ 'Categories' | trans }}
</div>
<div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default">
{% for category in categories | sort %}
{#{% if category.total %}#}
<div class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
{% if category.checked %}
<input name="categories[]" id="{{ category.value }}" type="checkbox" value="{{ category.value }}" checked="checked" />
{% else %}
<input name="categories[]" id="{{ category.value }}" type="checkbox" value="{{ category.value }}" />
{% endif %}
<label class="margin-x-4-px" for="{{ category.value }}">
{{ category.value | trans_category | u.title }}
<span class="text-color-night">
({{ category.total }})
</span>
</label>
</div>
{#{% endif %}#}
{% endfor %}
</div>
<div class="margin-b-4-px padding-x-4-px text-right">
{{ 'other' | trans | u.title }}
</div>
<div class="padding-t-16-px padding-b-8-px padding-x-24-px border-top-default">
{% if sensitive.checked %}
<input name="sensitive" id="sensitive" type="checkbox" value="true" checked="checked" />
{% else %}
<input name="sensitive" id="sensitive" type="checkbox" value="true" />
{% endif %}
<label class="margin-x-4-px" for="sensitive">
{{ 'Sensitive' | trans }}
<span class="text-color-night">
({{ sensitive.total }})
</span>
</label>
</div>
</div>
{% endif %}
</form>

View file

@ -0,0 +1,109 @@
{% extends 'default/layout.html.twig' %}
{% block title %}{{'Edit categories'|trans }} - {{'Torrent'|trans }} #{{ torrentId }} - {{ name }}{% endblock %}
{% block main_content %}
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night">
<div class="margin-b-16-px padding-b-16-px border-bottom-default">
<h1>
{{'Edit categories for torrent' | trans }}
<a href="{{ path('torrent_info', { torrentId : torrentId }) }}">#{{ torrentId }}</a>
</h1>
</div>
<form name="categories" method="post" action="{{ path('torrent_categories_edit', { torrentId : torrentId }) }}">
<div class="margin-y-16-px">
<label for="categories">
{{'Content category'|trans }}
</label>
<sub class="opacity-0 parent-hover-opacity-09" title="{{ 'This torrent have selected categories' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/>
</svg>
</sub>
{% for error in form.categories.error %}
<div class="text-color-red margin-y-8-px">
{{ error }}
</div>
{% endfor %}
<div class="margin-t-8-px margin-b-16-px">
{% for category in categories | sort %}
<div class="margin-t-8-px margin-b-4-px margin-r-8-px display-inline-block min-width-120-px">
{% if category in form.categories.attribute.value %}
<input type="checkbox" name="categories[]" id="{{ category }}" value="{{ category }}" checked="checked" />
{% else %}
<input type="checkbox" name="categories[]" id="{{ category }}" value="{{ category }}" />
{% endif %}
<label class="margin-l-4-px" for="{{ category }}">
{{ category | trans_category | u.title }}
</label>
</div>
{% endfor %}
{#
<option class="padding-x-8-px padding-y-8-px" value="other">
{{'Other...'|trans }}
</option>
#}
</div>
<div class="margin-b-16-px border-bottom-default"></div>
</div>
<div class="text-right">
<a class="margin-r-8-px" href="{{ path('torrent_info', { torrentId : torrentId }) }}">
{{'cancel'|trans }}
</a>
<input class="button-green" type="submit" value="{{'Submit'|trans }}" />
</div>
</form>
</div>
{% for edition in editions %}
<div class="padding-x-24-px padding-y-16-px margin-y-8-px border-radius-3-px {% if edition.active %}background-color-night-light{% else %}background-color-night{% endif %} ">
{% if edition.active %}
{{ edition.added | format_ago }}
{% else %}
<a href="{{ path('torrent_categories_edit', { torrentId : torrentId, torrentCategoriesId : edition.id }) }}">
{{ edition.added | format_ago }}
</a>
{% endif %}
{{ 'by'|trans }}
<a href="{{ path('user_info', { userId : edition.user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ edition.user.identicon }}" alt="{{'identicon'|trans }}" />
</a>
<div class="float-right">
{% if session.moderator or session.owner %}
<a class="margin-r-8-px text-color-red" href="{{ path('torrent_categories_delete', { torrentId : torrentId, torrentCategoriesId : edition.id }) }}" title="{{ 'Delete' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>
</svg>
</a>
{% endif %}
{% if edition.approved %}
{% if session.moderator %}
<a href="{{ path('torrent_categories_approve', { torrentId : torrentId, torrentCategoriesId : edition.id }) }}" title="{{ 'Disapprove' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
</svg>
</a>
{% else %}
<span title="{{ 'Approved' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
</svg>
</span>
{% endif %}
{% else %}
{% if session.moderator %}
<a href="{{ path('torrent_categories_approve', { torrentId : torrentId, torrentCategoriesId : edition.id }) }}" title="{{ 'Approve' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hourglass" viewBox="0 0 16 16">
<path d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702c0 .7-.478 1.235-1.011 1.491A3.5 3.5 0 0 0 4.5 13v1h7v-1a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351v-.702c0-.7.478-1.235 1.011-1.491A3.5 3.5 0 0 0 11.5 3V2h-7z"/>
</svg>
</a>
{% else %}
<span title="{{ 'Waiting for approve' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hourglass" viewBox="0 0 16 16">
<path d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702c0 .7-.478 1.235-1.011 1.491A3.5 3.5 0 0 0 4.5 13v1h7v-1a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351v-.702c0-.7.478-1.235 1.011-1.491A3.5 3.5 0 0 0 11.5 3V2h-7z"/>
</svg>
</span>
{% endif %}
{% endif %}
</div>
</div>
{% endfor %}
{% endblock %}

View file

@ -24,7 +24,7 @@
</div>
{% endfor %}
<div class="margin-t-8-px margin-b-16-px">
{% for locale in locales %}
{% for locale in locales | sort %}
<div class="margin-t-8-px margin-b-4-px margin-r-8-px display-inline-block min-width-120-px">
{% if locale in form.locales.attribute.value %}
<input type="checkbox" name="locales[]" id="{{ locale }}" value="{{ locale }}" checked="checked" />

View file

@ -0,0 +1,121 @@
{% extends 'default/layout.html.twig' %}
{% block title %}{{ 'Edit torrent poster' | trans }} - {{ 'Torrent' | trans }} #{{ torrentId }} - {{ name }}{% endblock %}
{% block main_content %}
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night">
<div class="margin-b-24-px padding-b-16-px border-bottom-default">
<h1>
{{'Edit poster for torrent' | trans }}
<a href="{{ path('torrent_info', { torrentId : torrentId }) }}">#{{ torrentId }}</a>
</h1>
</div>
<form name="poster" method="post" enctype="multipart/form-data" action="{{ path('torrent_poster_edit', { torrentId : torrentId }) }}">
<div class="margin-y-16-px">
{% for error in form.poster.error %}
<div class="text-color-red margin-b-8-px">
{{ error }}
</div>
{% endfor %}
<input class="width-100" type="file" name="poster" value="" />
</div>
<div class="margin-y-16-px">
<input type="radio" name="position" id="position-center" value="center" {% if form.position.attribute.value == 'center' %}checked="checked"{% endif %} />
<label class="margin-x-4-px" for="position-center">
{{ 'Center' | trans }}
</label>
<input type="radio" name="position" id="position-top" value="top" {% if form.position.attribute.value == 'top' %}checked="checked"{% endif %} />
<label class="margin-x-4-px" for="position-top">
{{ 'Top' | trans }}
</label>
<input type="radio" name="position" id="position-bottom" value="bottom" {% if form.position.attribute.value == 'bottom' %}checked="checked"{% endif %} />
<label class="margin-x-4-px" for="position-bottom">
{{ 'Bottom' | trans }}
</label>
</div>
<div class="padding-t-4-px margin-b-16-px border-bottom-default"></div>
<div class="text-right">
<a class="margin-r-8-px" href="{{ path('torrent_info', { torrentId : torrentId }) }}">
{{ 'cancel' | trans }}
</a>
<input class="button-green" type="submit" value="{{'Submit'|trans }}" />
</div>
</form>
</div>
{% for edition in editions %}
<div class="padding-x-24-px padding-y-16-px margin-y-8-px border-radius-3-px {% if edition.active %}background-color-night-light{% else %}background-color-night{% endif %} {% if edition.poster %}background-poster{% endif %}"
{% if edition.poster %}style="background-image:url('{{ edition.poster }}');background-position:{{ edition.position }}"{% endif %}>
{% if edition.active %}
{{ edition.added | format_ago }}
{% else %}
<a href="{{ path('torrent_poster_edit', { torrentId : torrentId, torrentPosterId : edition.id }) }}">
{{ edition.added | format_ago }}
</a>
{% endif %}
{{ 'by' | trans }}
<a href="{{ path('user_info', { userId : edition.user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ edition.user.identicon }}" alt="{{'identicon'|trans }}" />
</a>
<div class="float-right">
{% if session.moderator or session.owner %}
<a class="margin-r-8-px text-color-red" href="{{ path('torrent_poster_delete', { torrentId : torrentId, torrentPosterId : edition.id }) }}" title="{{ 'Delete' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>
</svg>
</a>
{% endif %}
{% if edition.approved %}
{% if session.moderator %}
<a href="{{ path('torrent_poster_approve', { torrentId : torrentId, torrentPosterId : edition.id }) }}" title="{{ 'Disapprove' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
</svg>
</a>
{% else %}
<span title="{{ 'Approved' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"/>
</svg>
</span>
{% endif %}
{% else %}
{% if session.moderator %}
<a href="{{ path('torrent_poster_approve', { torrentId : torrentId, torrentPosterId : edition.id }) }}" title="{{ 'Approve' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hourglass" viewBox="0 0 16 16">
<path d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702c0 .7-.478 1.235-1.011 1.491A3.5 3.5 0 0 0 4.5 13v1h7v-1a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351v-.702c0-.7.478-1.235 1.011-1.491A3.5 3.5 0 0 0 11.5 3V2h-7z"/>
</svg>
</a>
{% else %}
<span title="{{ 'Waiting for approve' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-hourglass" viewBox="0 0 16 16">
<path d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702c0 .7-.478 1.235-1.011 1.491A3.5 3.5 0 0 0 4.5 13v1h7v-1a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351v-.702c0-.7.478-1.235 1.011-1.491A3.5 3.5 0 0 0 11.5 3V2h-7z"/>
</svg>
</span>
{% endif %}
{% endif %}
</div>
{% if edition.active %}
<form name="poster-edition-{{ edition.id }}" method="post" action="{{ path('torrent_poster_edit', { torrentId : torrentId }) }}">
<input type="hidden" name="id" value="{{ edition.id }}" />
<div class="margin-y-16-px">
<input type="radio" name="position" id="poster-edition-{{ edition.id }}-position-center" value="center" {% if edition.position == 'center' %}checked="checked"{% endif %} />
<label class="margin-x-4-px" for="poster-edition-{{ edition.id }}-position-center">
{{ 'Center' | trans }}
</label>
<input type="radio" name="position" id="poster-edition-{{ edition.id }}-position-top" value="top" {% if edition.position == 'top' %}checked="checked"{% endif %} />
<label class="margin-x-4-px" for="poster-edition-{{ edition.id }}-position-top">
{{ 'Top' | trans }}
</label>
<input type="radio" name="position" id="poster-edition-{{ edition.id }}-position-bottom" value="bottom" {% if edition.position == 'bottom' %}checked="checked"{% endif %} />
<label class="margin-x-4-px" for="poster-edition-{{ edition.id }}-position-bottom">
{{ 'Bottom' | trans }}
</label>
</div>
<div class="padding-t-4-px margin-b-16-px border-bottom-default"></div>
<div class="text-right">
<input class="button-green" type="submit" value="{{'Submit'|trans }}" />
</div>
</form>
{% endif %}
</div>
{% endfor %}
{% endblock %}

View file

@ -2,16 +2,18 @@
{% import _self as self %}
{% for key, value in tree %}
{% if value is iterable %}
<div class="padding-l-8-px cursor-default">
<div class="padding-y-4-px">
{{ key }}
</div>
<div class="padding-x-4-px margin-b-4-px cursor-default line-height-20-px word-break">
{{ key }}
</div>
<div class="padding-l-8-px">
{{ self.recursive_file_tree(value) }}
</div>
{% else %}
<div class="padding-y-4-px padding-l-8-px background-color-hover-night-light cursor-default">
{{ key }}
<div class="float-right padding-x-8-px">
<div class="row padding-x-4-px margin-b-4-px cursor-default background-color-hover-night-light word-break">
<div class="column width-80 line-height-20-px">
{{ key }}
</div>
<div class="column width-20 line-height-20-px text-right">
{{ value | format_bytes }}
</div>
</div>
@ -21,14 +23,20 @@
{% from _self import recursive_file_tree %}
{% extends 'default/layout.html.twig' %}
{% block title %}{{ file.name }} - {{ 'Torrent' | trans }} #{{ torrent.id }}{% if pagination.page > 1 %} - {{ 'Page' | trans }} {{ pagination.page }}{% endif %} - {{ name }}{% endblock %}
{% block keywords %}
{% if torrent.keywords %}
<meta name="keywords" content="{{ torrent.keywords | join(',') }}" />
{% endif %}
{% endblock %}
{% block main_content %}
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night">
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night {% if torrent.poster %}background-poster{% endif %}"
{% if torrent.poster %}style="background-image:url('{{ torrent.poster.url }}');background-position:{{ torrent.poster.position }}"{% endif %}>
<h1 class="display-block text-center margin-b-16-px">
{{ file.name }}
{#{{ 'Torrent' | trans }} #{{ torrent.id }}#}
</h1>
<div class="text-center">
<a class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_download_magnet', {torrentId : torrent.id}) }}" title="{{ 'Open magnet link' | trans }}">
<a rel="nofollow" class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_magnet', {torrentId : torrent.id}) }}" title="{{ 'Open magnet link' | trans }}">
{% if torrent.download.magnet.exist %}
<svg class="vertical-align-middle" xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16">
<path d="M15 12h-4v3h4v-3ZM5 12H1v3h4v-3ZM0 8a8 8 0 1 1 16 0v8h-6V8a2 2 0 1 0-4 0v8H0V8Z"/>
@ -42,7 +50,7 @@
<small class="cursor-default" title="{{ 'Total' | trans }}">
{{ torrent.download.magnet.total }}
</small>
<a class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_download_file', {torrentId : torrent.id}) }}" title="{{ 'Download torrent file' | trans }}">
<a rel="nofollow" class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_file', {torrentId : torrent.id}) }}" title="{{ 'Download torrent file' | trans }}">
{% if torrent.download.file.exist %}
<svg class="vertical-align-middle" xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/>
@ -56,7 +64,7 @@
<small class="cursor-default" title="{{ 'Total' | trans }}">
{{ torrent.download.file.total }}
</small>
<a class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_star_toggle', {torrentId : torrent.id}) }}" title="{{ 'Star' | trans }}">
<a rel="nofollow" class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_star_toggle', {torrentId : torrent.id}) }}" title="{{ 'Star' | trans }}">
{% if torrent.star.exist %}
<svg class="vertical-align-middle" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>
@ -73,7 +81,7 @@
</div>
<table class="width-100">
<tbody>
{% if session.moderator %}
{% if session.moderator or session.owner %}
<tr>
<td colspan="2">
<div class="padding-y-8-px border-bottom-default text-right">
@ -83,19 +91,19 @@
</tr>
<tr>
<td class="padding-t-16-px">
{{ 'Approved' | trans }}
{{ 'Enabled' | trans }}
</td>
<td class="padding-t-16-px">
{% if torrent.approved %}
{% if torrent.status %}
{{ 'Yes' | trans }}
<a class="float-right" href="{{ path('torrent_approve_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
<a rel="nofollow" class="float-right" href="{{ path('torrent_status_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M5 3a5 5 0 0 0 0 10h6a5 5 0 0 0 0-10H5zm6 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/>
</svg>
</a>
{% else %}
{{ 'No' | trans }}
<a class="float-right text-color-red" href="{{ path('torrent_approve_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
<a rel="nofollow" class="float-right text-color-red" href="{{ path('torrent_status_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M11 4a4 4 0 0 1 0 8H8a4.992 4.992 0 0 0 2-4 4.992 4.992 0 0 0-2-4h3zm-6 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zM0 8a5 5 0 0 0 5 5h6a5 5 0 0 0 0-10H5a5 5 0 0 0-5 5z"/>
</svg>
@ -103,6 +111,30 @@
{% endif %}
</td>
</tr>
{% if session.moderator %}
<tr>
<td>
{{ 'Approved' | trans }}
</td>
<td>
{% if torrent.approved %}
{{ 'Yes' | trans }}
<a rel="nofollow" class="float-right" href="{{ path('torrent_approve_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M5 3a5 5 0 0 0 0 10h6a5 5 0 0 0 0-10H5zm6 9a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/>
</svg>
</a>
{% else %}
{{ 'No' | trans }}
<a rel="nofollow" class="float-right text-color-red" href="{{ path('torrent_approve_toggle', { torrentId : torrent.id }) }}" title="{{ 'Toggle' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M11 4a4 4 0 0 1 0 8H8a4.992 4.992 0 0 0 2-4 4.992 4.992 0 0 0-2-4h3zm-6 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zM0 8a5 5 0 0 0 5 5h6a5 5 0 0 0 0-10H5a5 5 0 0 0-5 5z"/>
</svg>
</a>
{% endif %}
</td>
</tr>
{% endif %}
{% endif %}
<tr>
<td colspan="2">
@ -188,13 +220,26 @@
</td>
</tr>
{% endif %}
<tr>
<td>
{{ 'Private' | trans }}
</td>
<td>
{% if file.private %}
{{ 'Yes' | trans }}
{% else %}
{{ 'No' | trans }}
{% endif %}
</td>
</tr>
{% if file.source %}
<tr>
<td>
{{ 'Source' | trans }}
</td>
<td>
{{ 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 %}
@ -204,7 +249,8 @@
{{ 'Software' | trans }}
</td>
<td>
{{ 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 %}
@ -214,7 +260,8 @@
{{ 'Comment' | trans }}
</td>
<td>
{{ 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 %}
@ -285,7 +332,7 @@
</div>
<div class="padding-y-16-px">
{% for tracker, status in trackers %}
<div class="padding-y-4-px">
<div class="padding-y-4-px word-break">
{% if status %}
{{ tracker }}
{% else %}
@ -302,23 +349,41 @@
{% endfor %}
</div>
<div class="text-right">
<a class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_locales_edit', { torrentId : torrent.id }) }}" title="{{'Edit'|trans }}">
<a rel="nofollow" class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_locales_edit', { torrentId : torrent.id }) }}" title="{{ 'Edit' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
</svg>
</a>
{{ 'Locales' | trans }}
{{ 'Locale' | trans }}
<div class="padding-b-8-px border-bottom-default"></div>
<div class="padding-t-16-px text-left">
{% if torrent.locales %}
<div class="padding-y-4-px">
{% for i, locale in torrent.locales %}{% if i > 0 %},{% endif %} {{ locale|locale_name(locale)|u.title }}{% endfor %}
{% set i = 0 %}
{% for locale in torrent.locales | sort %}{% if i > 0 %},{% endif %} {{ locale | locale_name(locale) | u.title }}{% set i = i + 1 %}{% endfor %}
</div>
{% endif %}
</div>
</div>
<div class="text-right">
<a class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_sensitive_edit', { torrentId : torrent.id }) }}" title="{{'Edit'|trans }}">
<a rel="nofollow" class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_categories_edit', { torrentId : torrent.id }) }}" title="{{ 'Edit' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
</svg>
</a>
{{ 'Category' | trans }}
<div class="padding-b-8-px border-bottom-default"></div>
<div class="padding-t-16-px text-left">
{% if torrent.categories %}
<div class="padding-y-4-px">
{% set i = 0 %}
{% for category in torrent.categories | sort %}{% if i > 0 %},{% endif %} {{ category | trans_category | u.title }}{% set i = i + 1 %}{% endfor %}
</div>
{% endif %}
</div>
</div>
<div class="text-right">
<a rel="nofollow" class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_sensitive_edit', { torrentId : torrent.id }) }}" title="{{ 'Edit' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
</svg>
@ -333,6 +398,22 @@
{% endif %}
</div>
</div>
<div class="text-right">
<a rel="nofollow" class="margin-r-4-px{#opacity-0 parent-hover-opacity-09#}" href="{{ path('torrent_poster_edit', { torrentId : torrent.id }) }}" title="{{ 'Edit' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793 14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708l-3-3zm.646 6.061L9.793 2.5 3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207l6.5-6.5zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.499.499 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11l.178-.178z"/>
</svg>
</a>
{{ 'Poster' | trans }}
<div class="padding-b-8-px border-bottom-default"></div>
<div class="padding-t-16-px text-left">
{% if torrent.poster %}
{{ 'Yes' | trans }}
{% else %}
{{ 'No' | trans }}
{% endif %}
</div>
</div>
</div>
<a name="activity"></a>
<div class="padding-t-16-px padding-b-8-px text-right">

View file

@ -2,18 +2,52 @@
{% block title %}{% if query %}{{ query }} - {{ 'Search' | trans }} - {% endif %}{{ name }}{% endblock %}
{% block main_content %}
<div class="text-right">
<h2>{{ 'Recent uploads' | trans }}</h2>
<sub>
<a class="text-color-night margin-x-4-px" href="{{ path('rss_torrents_recent') }}" title="RSS">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm1.5 2.5c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1 0-2zm0 4a6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1 0-2zm.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
</svg>
</a>
</sub>
{% if query %}
<h2>{{ 'Search results' | trans }}</h2>
<sub>
{% if app.request.get('filter') %}
<a class="margin-l-4-px" rel="nofollow" href="{{ path('torrent_search', { query : query | url_encode(true) }) }}" title="{{ 'Hide filter' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-filter-square-fill" viewBox="0 0 16 16">
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm.5 5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1zM4 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm2 3a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"/>
</svg>
</a>
<a class="text-color-night margin-x-4-px" href="{{ path('rss_torrents_recent', { query : query | url_encode(true),
locales : app.request.get('locales'),
categories : app.request.get('categories'),
sensitive : app.request.get('sensitive'),
filter : app.request.get('filter') }) }}" title="RSS">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm1.5 2.5c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1 0-2zm0 4a6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1 0-2zm.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
</svg>
</a>
{% else %}
<a class="text-color-night margin-l-4-px" rel="nofollow" href="{{ path('torrent_search', { query : query | url_encode(true), filter : 'true' }) }}" title="{{ 'Show filter' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-filter-square-fill" viewBox="0 0 16 16">
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm.5 5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1zM4 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm2 3a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5z"/>
</svg>
</a>
<a class="text-color-night margin-x-4-px" href="{{ path('rss_torrents_recent', { query : query | url_encode(true) }) }}" title="RSS">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm1.5 2.5c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1 0-2zm0 4a6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1 0-2zm.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
</svg>
</a>
{% endif %}
</sub>
{% else %}
<h2>{{ 'Recent uploads' | trans }}</h2>
<sub>
<a class="text-color-night margin-x-4-px" href="{{ path('rss_torrents_recent') }}" title="RSS">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm1.5 2.5c5.523 0 10 4.477 10 10a1 1 0 1 1-2 0 8 8 0 0 0-8-8 1 1 0 0 1 0-2zm0 4a6 6 0 0 1 6 6 1 1 0 1 1-2 0 4 4 0 0 0-4-4 1 1 0 0 1 0-2zm.5 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z"/>
</svg>
</a>
</sub>
{% endif %}
</div>
{% if torrents %}
{% for torrent in torrents %}
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night{% if torrent.sensitive == true or torrent.approved == false %} opacity-06{% endif %}">
<div class="padding-24-px margin-y-8-px border-radius-3-px background-color-night {% if torrent.poster %}background-poster{% endif %}"
{% if torrent.poster %}style="background-image:url('{{ torrent.poster.url }}');background-position:{{ torrent.poster.position }}"{% endif %}>
<a name="{{ torrent.id }}"></a>
<div class="margin-b-16-px">
<h2>
@ -22,45 +56,64 @@
</a>
</h2>
{% if torrent.scrape.leechers > 0 and torrent.scrape.seeders == 0 %}
<span class="label label-green margin-l-4-px font-size-10-px position-relative top--2 cursor-default"
title="{{ 'Active leechers waiting for seeders' | trans }}">
<a href="{{ path('torrent_file_wanted', { torrentId : torrent.id }) }}"
class="label label-green font-size-10-px position-relative display-inline-block"
title="{{ 'Active leechers waiting for seeders' | trans }}"
rel="nofollow">
{{ 'wanted' | trans }}
</span>
</a>
{% endif %}
{% if torrent.status == false %}
<sub class="margin-l-8-px float-right opacity-06 hover-opacity-1" title="{{ 'Disabled' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16">
<path d="m10.79 12.912-1.614-1.615a3.5 3.5 0 0 1-4.474-4.474l-2.06-2.06C.938 6.278 0 8 0 8s3 5.5 8 5.5a7.029 7.029 0 0 0 2.79-.588zM5.21 3.088A7.028 7.028 0 0 1 8 2.5c5 0 8 5.5 8 5.5s-.939 1.721-2.641 3.238l-2.062-2.062a3.5 3.5 0 0 0-4.474-4.474L5.21 3.089z"/>
<path d="M5.525 7.646a2.5 2.5 0 0 0 2.829 2.829l-2.83-2.829zm4.95.708-2.829-2.83a2.5 2.5 0 0 1 2.829 2.829zm3.171 6-12-12 .708-.708 12 12-.708.708z"/>
</svg>
</sub>
{% endif %}
{% if torrent.approved == false %}
<sub class="margin-l-8-px float-right" title="{{ 'Waiting for approve' | trans }}">
<sub class="margin-l-8-px float-right opacity-06 hover-opacity-1" title="{{ 'Waiting for approve' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16">
<path d="M2 1.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-1v1a4.5 4.5 0 0 1-2.557 4.06c-.29.139-.443.377-.443.59v.7c0 .213.154.451.443.59A4.5 4.5 0 0 1 12.5 13v1h1a.5.5 0 0 1 0 1h-11a.5.5 0 1 1 0-1h1v-1a4.5 4.5 0 0 1 2.557-4.06c.29-.139.443-.377.443-.59v-.7c0-.213-.154-.451-.443-.59A4.5 4.5 0 0 1 3.5 3V2h-1a.5.5 0 0 1-.5-.5zm2.5.5v1a3.5 3.5 0 0 0 1.989 3.158c.533.256 1.011.791 1.011 1.491v.702c0 .7-.478 1.235-1.011 1.491A3.5 3.5 0 0 0 4.5 13v1h7v-1a3.5 3.5 0 0 0-1.989-3.158C8.978 9.586 8.5 9.052 8.5 8.351v-.702c0-.7.478-1.235 1.011-1.491A3.5 3.5 0 0 0 11.5 3V2h-7z"/>
</svg>
</sub>
{% endif %}
{% if torrent.sensitive == true %}
<sub class="margin-l-8-px float-right" title="{{ 'Content visible for non sensitive users only' | trans }}">
<sub class="margin-l-8-px float-right opacity-06 hover-opacity-1" title="{{ 'Sensitive' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16">
<path d="m9.97 4.88.953 3.811C10.159 8.878 9.14 9 8 9c-1.14 0-2.158-.122-2.923-.309L6.03 4.88C6.635 4.957 7.3 5 8 5s1.365-.043 1.97-.12zm-.245-.978L8.97.88C8.718-.13 7.282-.13 7.03.88L6.275 3.9C6.8 3.965 7.382 4 8 4c.618 0 1.2-.036 1.725-.098zm4.396 8.613a.5.5 0 0 1 .037.96l-6 2a.5.5 0 0 1-.316 0l-6-2a.5.5 0 0 1 .037-.96l2.391-.598.565-2.257c.862.212 1.964.339 3.165.339s2.303-.127 3.165-.339l.565 2.257 2.391.598z"/>
</svg>
</sub>
{% endif %}
{% if torrent.file.hash.v2 %}
<sub class="margin-l-8-px float-right opacity-06 hover-opacity-1" title="{{ 'BitTorrent protocol version 2' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM6.646 6.24c0-.691.493-1.306 1.336-1.306.756 0 1.313.492 1.313 1.236 0 .697-.469 1.23-.902 1.705l-2.971 3.293V12h5.344v-1.107H7.268v-.077l1.974-2.22.096-.107c.688-.763 1.287-1.428 1.287-2.43 0-1.266-1.031-2.215-2.613-2.215-1.758 0-2.637 1.19-2.637 2.402v.065h1.271v-.07Z"/>
</svg>
</sub>
{% endif %}
{% if torrent.file.hash.v1 and torrent.file.hash.v2 %}
<sub class="margin-l-8-px float-right opacity-06 hover-opacity-1" title="{{ 'BitTorrent protocol version 1' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0ZM9.283 4.002H7.971L6.072 5.385v1.271l1.834-1.318h.065V12h1.312V4.002Z"/>
</svg>
</sub>
{% endif %}
</div>
{% if torrent.keywords %}
<div class="margin-b-16-px">
{% for keyword in torrent.keywords %}
<a href="{{ path('torrent_search', { query : keyword }) }}">
{% for keyword, quantity in torrent.keywords %}
<a href="{{ path('torrent_search', { query : keyword | url_encode(true),
locales : app.request.get('locales'),
categories : app.request.get('categories'),
sensitive : app.request.get('sensitive'),
filter : app.request.get('filter') }) }}">
#{{ keyword }}
</a>
{% endfor %}
</div>
{% endif %}
<div class="margin-b-16-px border-bottom-default"></div>
{#
<sup>
{{ torrent.added | format_ago }}
{{ 'by' | trans }}
<a href="{{ path('user_info', { userId : torrent.user.id }) }}">
<img class="border-radius-50 border-color-default vertical-align-middle margin-x-4-px" src="{{ torrent.user.identicon }}" alt="{{ 'identicon' | trans }}" />
</a>
</sup>
#}
<span class="margin-r-4-px cursor-default" title="{{ 'Size' | trans }}">
<small>
{{ torrent.file.size | format_bytes }}
@ -92,7 +145,7 @@
</small>
</span>
<div class="float-right">
<a class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_download_magnet', {torrentId : torrent.id}) }}" title="{{ 'Open magnet link' | trans }}">
<a rel="nofollow" class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_magnet', {torrentId : torrent.id}) }}" title="{{ 'Open magnet link' | trans }}">
{% if torrent.download.magnet.exist %}
<svg class="vertical-align-middle" xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16">
<path d="M15 12h-4v3h4v-3ZM5 12H1v3h4v-3ZM0 8a8 8 0 1 1 16 0v8h-6V8a2 2 0 1 0-4 0v8H0V8Z"/>
@ -106,7 +159,7 @@
<small class="cursor-default" title="{{ 'Total' | trans }}">
{{ torrent.download.magnet.total }}
</small>
<a class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_download_file', {torrentId : torrent.id}) }}" title="{{ 'Download torrent file' | trans }}">
<a rel="nofollow" class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_file', {torrentId : torrent.id}) }}" title="{{ 'Download torrent file' | trans }}">
{% if torrent.download.file.exist %}
<svg class="vertical-align-middle" xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="currentColor" viewBox="0 0 16 16">
<path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM8.5 4.5a.5.5 0 0 0-1 0v5.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V4.5z"/>
@ -120,7 +173,7 @@
<small class="cursor-default" title="{{ 'Total' | trans }}">
{{ torrent.download.file.total }}
</small>
<a class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_star_toggle', {torrentId : torrent.id}) }}" title="{{ 'Star' | trans }}">
<a rel="nofollow" class="margin-l-8-px margin-r-4-px" href="{{ path('torrent_star_toggle', {torrentId : torrent.id}) }}" title="{{ 'Star' | trans }}">
{% if torrent.star.exist %}
<svg class="vertical-align-middle" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>
@ -143,17 +196,31 @@
{% if query %}
{% if pagination.page > 1 %}
{% if pagination.page == 2 %}
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true) | raw }) }}">
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true),
locales : app.request.get('locales'),
categories : app.request.get('categories'),
sensitive : app.request.get('sensitive'),
filter : app.request.get('filter') }) }}">
{{ 'Back' | trans | lower }}
</a>
{% else %}
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true), page : pagination.page - 1 }) }}">
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true),
page : pagination.page - 1,
locales : app.request.get('locales'),
categories : app.request.get('categories'),
sensitive : app.request.get('sensitive'),
filter : app.request.get('filter') }) }}">
{{ 'Back' | trans | lower }}
</a>
{% endif %}
{% endif %}
{% if pagination.page < pagination.pages %}
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true), page : pagination.page + 1 }) }}">
<a rel="nofollow" class="button margin-l-8-px" href="{{ path('torrent_search', { query : query | url_encode(true),
page : pagination.page + 1,
locales : app.request.get('locales'),
categories : app.request.get('categories'),
sensitive : app.request.get('sensitive'),
filter : app.request.get('filter') }) }}">
{{ 'Next' | trans | lower }}
</a>
{% endif %}

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
{% for torrent in torrents %}
<url>
<lastmod>{{ torrent.added | date('Y-m-d') }}</lastmod>
{% for code in locales %}
{% if code == locale %}
<loc>{{ url('torrent_info', { '_locale': code , torrentId : torrent.id }) }}</loc>
{% else %}
<xhtml:link rel="alternate" hreflang="{{ code }}" href="{{ url('torrent_info', { '_locale': code , torrentId : torrent.id }) }}" />
{% endif %}
{% endfor %}
</url>
{% endfor %}
</urlset>

View file

@ -31,7 +31,7 @@
</div>
{% endfor %}
</div>
{% for locale in locales %}
{% for locale in locales | sort %}
<div class="margin-t-8-px margin-b-4-px margin-r-8-px display-inline-block min-width-120-px">
{% if locale in form.locales.attribute.value %}
<input type="checkbox" name="locales[]" id="{{ locale }}" value="{{ locale }}" checked="checked" />
@ -48,9 +48,42 @@
#}
</div>
<div class="margin-b-16-px border-bottom-default"></div>
<div class="margin-y-16-px">
<div class="margin-b-8-px">
<label for="categories">
{{'Content category' | trans }}
</label>
<sub class="opacity-0 parent-hover-opacity-09" title="{{ 'This torrent have selected categories' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="currentColor" viewBox="0 0 16 16">
<path d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/>
</svg>
</sub>
{% for error in form.categories.error %}
<div class="text-color-red margin-y-8-px">
{{ error }}
</div>
{% endfor %}
</div>
{% for category in categories | sort %}
<div class="margin-t-8-px margin-b-4-px margin-r-8-px display-inline-block min-width-120-px">
{% if category in form.categories.attribute.value %}
<input type="checkbox" name="categories[]" id="{{ category }}" value="{{ category }}" checked="checked" />
{% else %}
<input type="checkbox" name="categories[]" id="{{ category }}" value="{{ category }}" />
{% endif %}
<label class="margin-l-4-px" for="{{ category }}">
{{ category | trans_category | u.title }}
</label>
</div>
{% endfor %}
{#
{{'Other...'|trans }}
#}
</div>
<div class="margin-b-16-px border-bottom-default"></div>
<div>
<input type="checkbox" name="sensitive" id="sensitive" value="true" {% if form.sensitive.attribute.value %}checked="checked"{% endif %} />
<label for="sensitive">
<label class="margin-l-4-px" for="sensitive">
{{'Sensitive'|trans }}
</label>
<sub class="opacity-0 parent-hover-opacity-09" title="{{ 'Mark torrent content as sensitive' | trans }}">

View file

@ -13,7 +13,7 @@
</div>
#}
<div class="text-center">
<a class="margin-l-8-px margin-r-4-px" href="{{ path('user_star_toggle', {userId : user.id}) }}" title="{{ 'Bookmark' | trans }}">
<a rel="nofollow" class="margin-l-8-px margin-r-4-px" href="{{ path('user_star_toggle', {userId : user.id}) }}" title="{{ 'Bookmark' | trans }}">
{% if user.star.exist %}
<svg class="vertical-align-middle" xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
<path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>
@ -172,7 +172,29 @@
{{ 'Languages' | trans }}
</td>
<td class="width-80 line-height-20-px">
{% for i, locale in user.locales %}{% if i > 0 %},{% endif %} {{ locale|locale_name(locale)|u.title }}{% endfor %}
{% set i = 0 %}
{% for locale in user.locales | sort %}{% if i > 0 %},{% endif %} {{ locale | locale_name(locale) | u.title }}{% set i = i + 1 %}{% endfor %}
</td>
</tr>
<tr>
<td class="width-20">
{{ 'Categories' | trans }}
</td>
<td class="width-80 line-height-20-px">
{% set i = 0 %}
{% for category in user.categories | sort %}{% if i > 0 %},{% endif %} {{ category | trans_category | u.title }}{% set i = i + 1 %}{% endfor %}
</td>
</tr>
<tr>
<td>
{{ 'Posters' | trans }}
</td>
<td>
{% if user.posters %}
{{ 'Yes' | trans }}
{% else %}
{{ 'No' | trans }}
{% endif %}
</td>
</tr>
<tr>

View file

@ -1,4 +1,4 @@
<div class="padding-y-6-px margin-y-16-px margin-l--48-px position-fixed">
<div class="padding-y-24-px margin-y-16-px margin-l--48-px position-fixed">
{% if route == 'torrent_recent' %}
<span class="padding-8-px display-block cursor-default" title="{{ 'Home' | trans }}">
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 16 16">

View file

@ -58,6 +58,23 @@
</div>
</td>
</tr>
<tr>
<td class="padding-y-12-px">
{{ 'Posters' | trans }}
</td>
<td class="padding-y-12-px">
<div class="margin-r-8-px">
{% if user.posters %}
<input name="posters" id="posters" type="checkbox" value="true" checked="checked" />
{% else %}
<input name="posters" id="posters" type="checkbox" value="true" />
{% endif %}
<label class="margin-x-4-px" for="posters">
{{ 'Enabled' | trans }}
</label>
</div>
</td>
</tr>
<tr>
<td class="padding-b-8-px border-bottom-default text-right" colspan="2">
{{ 'Search' | trans }}
@ -65,34 +82,60 @@
</tr>
<tr>
<td class="padding-t-16-px">
{{ 'Content' | trans }}
<div class="margin-t-4-px">
{{ 'Locales' | trans }}
</div>
</td>
<td class="padding-t-16-px">
{% for locale in locales %}
<div class="margin-t-8-px margin-b-4-px margin-r-8-px display-inline-block min-width-120-px">
<td class="padding-t-16-px padding-b-8-px">
{% for locale in locales | sort %}
<div class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
{% if locale in user.locales %}
<input name="locales[]" id="{{ locale }}" type="checkbox" value="{{ locale }}" checked="checked" />
{% else %}
<input name="locales[]" id="{{ locale }}" type="checkbox" value="{{ locale }}" />
{% endif %}
<label for="{{ locale }}">
{{ locale|locale_name(locale)|u.title }}
<label class="margin-x-4-px" for="{{ locale }}">
{{ locale | locale_name(locale) | u.title }}
</label>
</div>
{% endfor %}
</td>
</tr>
<tr>
<td class="padding-t-8-px">
<td class="padding-y-16-px">
<div class="margin-t-4-px">
{{ 'Categories' | trans }}
</div>
</td>
<td class="padding-t-16-px padding-b-8-px border-top-default">
{% for category in categories | sort %}
<div class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
{% if category in user.categories %}
<input name="categories[]" id="{{ category }}" type="checkbox" value="{{ category }}" checked="checked" />
{% else %}
<input name="categories[]" id="{{ category }}" type="checkbox" value="{{ category }}" />
{% endif %}
<label class="margin-x-4-px" for="{{ category }}">
{{ category | trans_category | u.title }}
</label>
</div>
{% endfor %}
</td>
</tr>
<tr>
<td class="padding-y-16-px">
{{ 'Sensitive' | trans }}
</td>
<td>
<div class="padding-t-8-px">
<td class="padding-t-16-px padding-b-8-px border-top-default">
<div class="margin-r-8-px">
{% if user.sensitive %}
<input name="sensitive" type="checkbox" value="true" checked="checked" />
<input name="sensitive" id="sensitive" type="checkbox" value="true" checked="checked" />
{% else %}
<input name="sensitive" type="checkbox" value="true" />
<input name="sensitive" id="sensitive" type="checkbox" value="true" />
{% endif %}
<label class="margin-x-4-px" for="sensitive">
{{ 'Hide' | trans }}
</label>
</div>
</td>
</tr>
@ -104,20 +147,22 @@
<tr>
<td colspan="2"></td>
</tr>
{% set i = 0 %}
{% for group, event in events %}
{% set i = i + 1 %}
<tr>
<td class="padding-t-8-px">
<td class="padding-y-12-px">
{{ group }}
</td>
<td class="padding-t-8-px">
<td class="padding-t-8-px {% if i > 1 %}border-top-default{% endif %}">
{% for key, value in event %}
<span class="margin-r-8-px">
<span class="margin-t-4-px margin-b-8-px margin-r-8-px display-inline-block min-width-120-px">
{% if value in user.events %}
<input name="events[]" id="event-{{ value }}" type="checkbox" value="{{ value }}" checked="checked" />
{% else %}
<input name="events[]" id="event-{{ value }}" type="checkbox" value="{{ value }}" />
{% endif %}
<label for="event-{{ value }}">
<label class="margin-x-4-px" for="event-{{ value }}">
{{ key }}
</label>
</span>
@ -136,10 +181,13 @@
</td>
<td class="padding-y-16-px">
{% if user.yggdrasil %}
<input name="yggdrasil" type="checkbox" value="true" checked="checked" />
<input name="yggdrasil" id="yggdrasil" type="checkbox" value="true" checked="checked" />
{% else %}
<input name="yggdrasil" type="checkbox" value="true" />
<input name="yggdrasil" id="yggdrasil" type="checkbox" value="true" />
{% endif %}
<label class="margin-x-4-px" for="yggdrasil">
{{ 'Enabled' | trans }}
</label>
</td>
</tr>
</tbody>

View file

@ -5,10 +5,6 @@
<tool tool-id="symfony" tool-name="Symfony"/>
</header>
<body>
<trans-unit id="NSECGi6" resname="File not found">
<source>File not found</source>
<target>File not found</target>
</trans-unit>
<trans-unit id="awzJBNC" resname="Users">
<source>Users</source>
<target>Users</target>
@ -149,58 +145,6 @@
<source>now</source>
<target>now</target>
</trans-unit>
<trans-unit id="TLTqJVg" resname="year">
<source>year</source>
<target>year</target>
</trans-unit>
<trans-unit id="pcfRcZ4" resname="month">
<source>month</source>
<target>month</target>
</trans-unit>
<trans-unit id="lEwn5bl" resname="day">
<source>day</source>
<target>day</target>
</trans-unit>
<trans-unit id="msCt1HX" resname="hour">
<source>hour</source>
<target>hour</target>
</trans-unit>
<trans-unit id="KM3SDq8" resname="minute">
<source>minute</source>
<target>minute</target>
</trans-unit>
<trans-unit id="FjZ6rLZ" resname="second">
<source>second</source>
<target>second</target>
</trans-unit>
<trans-unit id="HFCZOwC" resname="years">
<source>years</source>
<target>years</target>
</trans-unit>
<trans-unit id="FoN0M0Q" resname="months">
<source>months</source>
<target>months</target>
</trans-unit>
<trans-unit id="q1EATp1" resname="days">
<source>days</source>
<target>days</target>
</trans-unit>
<trans-unit id="QEMUsfS" resname="hours">
<source>hours</source>
<target>hours</target>
</trans-unit>
<trans-unit id="kOY9hfo" resname="minutes">
<source>minutes</source>
<target>minutes</target>
</trans-unit>
<trans-unit id="WfAG1jv" resname="seconds">
<source>seconds</source>
<target>seconds</target>
</trans-unit>
<trans-unit id="HY4I.WM" resname="ago">
<source>ago</source>
<target>ago</target>
</trans-unit>
<trans-unit id="aw2VQXS" resname="Keyword, file, hash...">
<source>Keyword, file, hash...</source>
<target>Keyword, file, hash...</target>
@ -225,10 +169,6 @@
<source>Waiting for approve</source>
<target>Waiting for approve</target>
</trans-unit>
<trans-unit id="uP0WnsM" resname="Content visible for non sensitive users only">
<source>Content visible for non sensitive users only</source>
<target>Content visible for non sensitive users only</target>
</trans-unit>
<trans-unit id="GvhRkHM" resname="Size">
<source>Size</source>
<target>Size</target>
@ -453,10 +393,6 @@
<source>Join translation</source>
<target>Join translation</target>
</trans-unit>
<trans-unit id="R70pB1_" resname="Content">
<source>Content</source>
<target>Content</target>
</trans-unit>
<trans-unit id="ONoVBcq" resname="Activity">
<source>Activity</source>
<target>Activity</target>
@ -665,6 +601,318 @@
<source>have added star for user</source>
<target>have added star for user</target>
</trans-unit>
<trans-unit id="VKDowX6" resname="Error">
<source>Error</source>
<target>Error</target>
</trans-unit>
<trans-unit id="g0SUekA" resname="Oops!">
<source>Oops!</source>
<target>Oops!</target>
</trans-unit>
<trans-unit id="9010RFH" resname="Internal server error">
<source>Internal server error</source>
<target>Internal server error</target>
</trans-unit>
<trans-unit id="ts54jZe" resname="Report">
<source>Report</source>
<target>Report</target>
</trans-unit>
<trans-unit id="4_uqFt2" resname="Not found">
<source>Not found</source>
<target>Not found</target>
</trans-unit>
<trans-unit id="hestk9M" resname="Page not found!">
<source>Page not found!</source>
<target>Page not found!</target>
</trans-unit>
<trans-unit id="HfJe0N1" resname="BitTorrent protocol version 2">
<source>BitTorrent protocol version 2</source>
<target>BitTorrent protocol version 2</target>
</trans-unit>
<trans-unit id="U4t_NWU" resname="BitTorrent protocol version 1">
<source>BitTorrent protocol version 1</source>
<target>BitTorrent protocol version 1</target>
</trans-unit>
<trans-unit id="FEgqWb_" resname="year ago">
<source>year ago</source>
<target>year ago</target>
</trans-unit>
<trans-unit id="pfk9V_Q" resname="month ago">
<source>month ago</source>
<target>month ago</target>
</trans-unit>
<trans-unit id="5rpeYTJ" resname="day ago">
<source>day ago</source>
<target>day ago</target>
</trans-unit>
<trans-unit id="hM62aMH" resname="hour ago">
<source>hour ago</source>
<target>hour ago</target>
</trans-unit>
<trans-unit id="r2QgE4i" resname="minute ago">
<source>minute ago</source>
<target>minute ago</target>
</trans-unit>
<trans-unit id="RbqRzDS" resname="second ago">
<source>second ago</source>
<target>second ago</target>
</trans-unit>
<trans-unit id="TQof7nK" resname="years ago">
<source>years ago</source>
<target>years ago</target>
</trans-unit>
<trans-unit id="fEGjy26" resname="months ago">
<source>months ago</source>
<target>months ago</target>
</trans-unit>
<trans-unit id="N9rZHfe" resname="days ago">
<source>days ago</source>
<target>days ago</target>
</trans-unit>
<trans-unit id="JQ76A_T" resname="hours ago">
<source>hours ago</source>
<target>hours ago</target>
</trans-unit>
<trans-unit id="HhrazP8" resname="minutes ago">
<source>minutes ago</source>
<target>minutes ago</target>
</trans-unit>
<trans-unit id="IsfvBWU" resname="seconds ago">
<source>seconds ago</source>
<target>seconds ago</target>
</trans-unit>
<trans-unit id="KGg3UPj" resname=" years ago">
<source> years ago</source>
<target> years ago</target>
</trans-unit>
<trans-unit id="LJz20sI" resname=" months ago">
<source> months ago</source>
<target> months ago</target>
</trans-unit>
<trans-unit id="r7fyHp0" resname=" days ago">
<source> days ago</source>
<target> days ago</target>
</trans-unit>
<trans-unit id="mga12oW" resname=" hours ago">
<source> hours ago</source>
<target> hours ago</target>
</trans-unit>
<trans-unit id="BAlvYYB" resname=" minutes ago">
<source> minutes ago</source>
<target> minutes ago</target>
</trans-unit>
<trans-unit id="m4YrK9n" resname=" seconds ago">
<source> seconds ago</source>
<target> seconds ago</target>
</trans-unit>
<trans-unit id="6XiwDeR" resname="Search results">
<source>Search results</source>
<target>Search results</target>
</trans-unit>
<trans-unit id="HSCiIv7" resname="&lt;a href=&quot;%s&quot;&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil">
<source>&lt;a href="%s"&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil</source>
<target><![CDATA[<a href="%s">Upload</a> any torrent - download with Yggdrasil]]></target>
</trans-unit>
<trans-unit id="wpaDJlY" resname="Wanted">
<source>Wanted</source>
<target>Wanted</target>
</trans-unit>
<trans-unit id="SK4nQBL" resname="Seeders wanted for torrent">
<source>Seeders wanted for torrent</source>
<target>Seeders wanted for torrent</target>
</trans-unit>
<trans-unit id="rCCle.3" resname="Hide">
<source>Hide</source>
<target>Hide</target>
</trans-unit>
<trans-unit id="m11TRpU" resname="have disabled torrent">
<source>have disabled torrent</source>
<target>have disabled torrent</target>
</trans-unit>
<trans-unit id="qfr4ljO" resname="have enabled torrent">
<source>have enabled torrent</source>
<target>have enabled torrent</target>
</trans-unit>
<trans-unit id="F_s8AWj" resname="disabled">
<source>disabled</source>
<target>disabled</target>
</trans-unit>
<trans-unit id="3HqhHgY" resname="Poster file out of size limit">
<source>Poster file out of size limit</source>
<target>Poster file out of size limit</target>
</trans-unit>
<trans-unit id="xKW1PAN" resname="Image file not supported">
<source>Image file not supported</source>
<target>Image file not supported</target>
</trans-unit>
<trans-unit id=".r0pj7s" resname="Poster file required">
<source>Poster file required</source>
<target>Poster file required</target>
</trans-unit>
<trans-unit id="OpO8m_n" resname="Edit torrent poster">
<source>Edit torrent poster</source>
<target>Edit torrent poster</target>
</trans-unit>
<trans-unit id="hO4zays" resname="Edit poster for torrent">
<source>Edit poster for torrent</source>
<target>Edit poster for torrent</target>
</trans-unit>
<trans-unit id="G6dup_P" resname="Poster">
<source>Poster</source>
<target>Poster</target>
</trans-unit>
<trans-unit id="HHOEGv4" resname="Posters">
<source>Posters</source>
<target>Posters</target>
</trans-unit>
<trans-unit id="dv2khYF" resname="have deleted poster edition">
<source>have deleted poster edition</source>
<target>have deleted poster edition</target>
</trans-unit>
<trans-unit id="CaAjDOQ" resname="have disapproved poster edition">
<source>have disapproved poster edition</source>
<target>have disapproved poster edition</target>
</trans-unit>
<trans-unit id="u26pehE" resname="have approved poster edition">
<source>have approved poster edition</source>
<target>have approved poster edition</target>
</trans-unit>
<trans-unit id="_jJysd3" resname="have added poster edition">
<source>have added poster edition</source>
<target>have added poster edition</target>
</trans-unit>
<trans-unit id="WDtpCq_" resname="Torrent posters">
<source>Torrent posters</source>
<target>Torrent posters</target>
</trans-unit>
<trans-unit id="2UYGdCf" resname="Center">
<source>Center</source>
<target>Center</target>
</trans-unit>
<trans-unit id="1c389.9" resname="Top">
<source>Top</source>
<target>Top</target>
</trans-unit>
<trans-unit id="R5rSGsk" resname="Bottom">
<source>Bottom</source>
<target>Bottom</target>
</trans-unit>
<trans-unit id="uLHYlMa" resname="Categories">
<source>Categories</source>
<target>Categories</target>
</trans-unit>
<trans-unit id="R2SmYMn" resname="At least one category required">
<source>At least one category required</source>
<target>At least one category required</target>
</trans-unit>
<trans-unit id="QmNxufM" resname="Content category">
<source>Content category</source>
<target>Content category</target>
</trans-unit>
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
<source>This torrent have selected categories</source>
<target>This torrent have selected categories</target>
</trans-unit>
<trans-unit id="o_ep6hc" resname="Edit categories">
<source>Edit categories</source>
<target>Edit categories</target>
</trans-unit>
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
<source>Edit categories for torrent</source>
<target>Edit categories for torrent</target>
</trans-unit>
<trans-unit id="yj3GEvR" resname="Locale">
<source>Locale</source>
<target>Locale</target>
</trans-unit>
<trans-unit id="KSwG8AR" resname="Category">
<source>Category</source>
<target>Category</target>
</trans-unit>
<trans-unit id="AlYAkS1" resname="Torrent categories">
<source>Torrent categories</source>
<target>Torrent categories</target>
</trans-unit>
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
<source>have deleted categories edition</source>
<target>have deleted categories edition</target>
</trans-unit>
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
<source>have disapproved categories edition</source>
<target>have disapproved categories edition</target>
</trans-unit>
<trans-unit id="uF9AEqp" resname="have approved categories edition">
<source>have approved categories edition</source>
<target>have approved categories edition</target>
</trans-unit>
<trans-unit id="oVNdrer" resname="have added categories edition">
<source>have added categories edition</source>
<target>have added categories edition</target>
</trans-unit>
<trans-unit id="imujLJv" resname="movie">
<source>movie</source>
<target>movie</target>
</trans-unit>
<trans-unit id="nNo46jo" resname="series">
<source>series</source>
<target>series</target>
</trans-unit>
<trans-unit id="pG5dK74" resname="tv">
<source>tv</source>
<target>tv</target>
</trans-unit>
<trans-unit id="7CPO8DE" resname="animation">
<source>animation</source>
<target>animation</target>
</trans-unit>
<trans-unit id="gPGJmE5" resname="music">
<source>music</source>
<target>music</target>
</trans-unit>
<trans-unit id="bKXKt35" resname="game">
<source>game</source>
<target>game</target>
</trans-unit>
<trans-unit id="PYW9Udx" resname="audiobook">
<source>audiobook</source>
<target>audiobook</target>
</trans-unit>
<trans-unit id="9ippfeB" resname="podcast">
<source>podcast</source>
<target>podcast</target>
</trans-unit>
<trans-unit id="knGf4M_" resname="book">
<source>book</source>
<target>book</target>
</trans-unit>
<trans-unit id="DrPja.s" resname="archive">
<source>archive</source>
<target>archive</target>
</trans-unit>
<trans-unit id="LOonTQv" resname="picture">
<source>picture</source>
<target>picture</target>
</trans-unit>
<trans-unit id="NTkPVFP" resname="software">
<source>software</source>
<target>software</target>
</trans-unit>
<trans-unit id="2SmKENG" resname="other">
<source>other</source>
<target>other</target>
</trans-unit>
<trans-unit id="v7fLnQX" resname="Hide filter">
<source>Hide filter</source>
<target>Hide filter</target>
</trans-unit>
<trans-unit id="45aF7iu" resname="Show filter">
<source>Show filter</source>
<target>Show filter</target>
</trans-unit>
<trans-unit id="xj62cgx" resname="Private">
<source>Private</source>
<target>Private</target>
</trans-unit>
</body>
</file>
</xliff>

View file

@ -5,10 +5,6 @@
<tool tool-id="symfony" tool-name="Symfony"/>
</header>
<body>
<trans-unit id="NSECGi6" resname="File not found">
<source>File not found</source>
<target>File not found</target>
</trans-unit>
<trans-unit id="awzJBNC" resname="Users">
<source>Users</source>
<target>Users</target>
@ -149,58 +145,6 @@
<source>now</source>
<target>now</target>
</trans-unit>
<trans-unit id="TLTqJVg" resname="year">
<source>year</source>
<target>year</target>
</trans-unit>
<trans-unit id="pcfRcZ4" resname="month">
<source>month</source>
<target>month</target>
</trans-unit>
<trans-unit id="lEwn5bl" resname="day">
<source>day</source>
<target>day</target>
</trans-unit>
<trans-unit id="msCt1HX" resname="hour">
<source>hour</source>
<target>hour</target>
</trans-unit>
<trans-unit id="KM3SDq8" resname="minute">
<source>minute</source>
<target>minute</target>
</trans-unit>
<trans-unit id="FjZ6rLZ" resname="second">
<source>second</source>
<target>second</target>
</trans-unit>
<trans-unit id="HFCZOwC" resname="years">
<source>years</source>
<target>years</target>
</trans-unit>
<trans-unit id="FoN0M0Q" resname="months">
<source>months</source>
<target>months</target>
</trans-unit>
<trans-unit id="q1EATp1" resname="days">
<source>days</source>
<target>days</target>
</trans-unit>
<trans-unit id="QEMUsfS" resname="hours">
<source>hours</source>
<target>hours</target>
</trans-unit>
<trans-unit id="kOY9hfo" resname="minutes">
<source>minutes</source>
<target>minutes</target>
</trans-unit>
<trans-unit id="WfAG1jv" resname="seconds">
<source>seconds</source>
<target>seconds</target>
</trans-unit>
<trans-unit id="HY4I.WM" resname="ago">
<source>ago</source>
<target>ago</target>
</trans-unit>
<trans-unit id="aw2VQXS" resname="Keyword, file, hash...">
<source>Keyword, file, hash...</source>
<target>Keyword, file, hash...</target>
@ -225,10 +169,6 @@
<source>Waiting for approve</source>
<target>Waiting for approve</target>
</trans-unit>
<trans-unit id="uP0WnsM" resname="Content visible for non sensitive users only">
<source>Content visible for non sensitive users only</source>
<target>Content visible for non sensitive users only</target>
</trans-unit>
<trans-unit id="GvhRkHM" resname="Size">
<source>Size</source>
<target>Size</target>
@ -453,10 +393,6 @@
<source>Join translation</source>
<target>Join translation</target>
</trans-unit>
<trans-unit id="R70pB1_" resname="Content">
<source>Content</source>
<target>Content</target>
</trans-unit>
<trans-unit id="ONoVBcq" resname="Activity">
<source>Activity</source>
<target>Activity</target>
@ -665,6 +601,318 @@
<source>have added star for user</source>
<target>have added star for user</target>
</trans-unit>
<trans-unit id="VKDowX6" resname="Error">
<source>Error</source>
<target>Error</target>
</trans-unit>
<trans-unit id="g0SUekA" resname="Oops!">
<source>Oops!</source>
<target>Oops!</target>
</trans-unit>
<trans-unit id="9010RFH" resname="Internal server error">
<source>Internal server error</source>
<target>Internal server error</target>
</trans-unit>
<trans-unit id="ts54jZe" resname="Report">
<source>Report</source>
<target>Report</target>
</trans-unit>
<trans-unit id="4_uqFt2" resname="Not found">
<source>Not found</source>
<target>Not found</target>
</trans-unit>
<trans-unit id="hestk9M" resname="Page not found!">
<source>Page not found!</source>
<target>Page not found!</target>
</trans-unit>
<trans-unit id="HfJe0N1" resname="BitTorrent protocol version 2">
<source>BitTorrent protocol version 2</source>
<target>BitTorrent protocol version 2</target>
</trans-unit>
<trans-unit id="U4t_NWU" resname="BitTorrent protocol version 1">
<source>BitTorrent protocol version 1</source>
<target>BitTorrent protocol version 1</target>
</trans-unit>
<trans-unit id="FEgqWb_" resname="year ago">
<source>year ago</source>
<target>year ago</target>
</trans-unit>
<trans-unit id="pfk9V_Q" resname="month ago">
<source>month ago</source>
<target>month ago</target>
</trans-unit>
<trans-unit id="5rpeYTJ" resname="day ago">
<source>day ago</source>
<target>day ago</target>
</trans-unit>
<trans-unit id="hM62aMH" resname="hour ago">
<source>hour ago</source>
<target>hour ago</target>
</trans-unit>
<trans-unit id="r2QgE4i" resname="minute ago">
<source>minute ago</source>
<target>minute ago</target>
</trans-unit>
<trans-unit id="RbqRzDS" resname="second ago">
<source>second ago</source>
<target>second ago</target>
</trans-unit>
<trans-unit id="TQof7nK" resname="years ago">
<source>years ago</source>
<target>years ago</target>
</trans-unit>
<trans-unit id="fEGjy26" resname="months ago">
<source>months ago</source>
<target>months ago</target>
</trans-unit>
<trans-unit id="N9rZHfe" resname="days ago">
<source>days ago</source>
<target>days ago</target>
</trans-unit>
<trans-unit id="JQ76A_T" resname="hours ago">
<source>hours ago</source>
<target>hours ago</target>
</trans-unit>
<trans-unit id="HhrazP8" resname="minutes ago">
<source>minutes ago</source>
<target>minutes ago</target>
</trans-unit>
<trans-unit id="IsfvBWU" resname="seconds ago">
<source>seconds ago</source>
<target>seconds ago</target>
</trans-unit>
<trans-unit id="KGg3UPj" resname=" years ago">
<source> years ago</source>
<target> years ago</target>
</trans-unit>
<trans-unit id="LJz20sI" resname=" months ago">
<source> months ago</source>
<target> months ago</target>
</trans-unit>
<trans-unit id="r7fyHp0" resname=" days ago">
<source> days ago</source>
<target> days ago</target>
</trans-unit>
<trans-unit id="mga12oW" resname=" hours ago">
<source> hours ago</source>
<target> hours ago</target>
</trans-unit>
<trans-unit id="BAlvYYB" resname=" minutes ago">
<source> minutes ago</source>
<target> minutes ago</target>
</trans-unit>
<trans-unit id="m4YrK9n" resname=" seconds ago">
<source> seconds ago</source>
<target> seconds ago</target>
</trans-unit>
<trans-unit id="6XiwDeR" resname="Search results">
<source>Search results</source>
<target>Search results</target>
</trans-unit>
<trans-unit id="HSCiIv7" resname="&lt;a href=&quot;%s&quot;&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil">
<source>&lt;a href="%s"&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil</source>
<target><![CDATA[<a href="%s">Upload</a> any torrent - download with Yggdrasil]]></target>
</trans-unit>
<trans-unit id="wpaDJlY" resname="Wanted">
<source>Wanted</source>
<target>Wanted</target>
</trans-unit>
<trans-unit id="SK4nQBL" resname="Seeders wanted for torrent">
<source>Seeders wanted for torrent</source>
<target>Seeders wanted for torrent</target>
</trans-unit>
<trans-unit id="rCCle.3" resname="Hide">
<source>Hide</source>
<target>Hide</target>
</trans-unit>
<trans-unit id="m11TRpU" resname="have disabled torrent">
<source>have disabled torrent</source>
<target>have disabled torrent</target>
</trans-unit>
<trans-unit id="qfr4ljO" resname="have enabled torrent">
<source>have enabled torrent</source>
<target>have enabled torrent</target>
</trans-unit>
<trans-unit id="F_s8AWj" resname="disabled">
<source>disabled</source>
<target>disabled</target>
</trans-unit>
<trans-unit id="3HqhHgY" resname="Poster file out of size limit">
<source>Poster file out of size limit</source>
<target>Poster file out of size limit</target>
</trans-unit>
<trans-unit id="xKW1PAN" resname="Image file not supported">
<source>Image file not supported</source>
<target>Image file not supported</target>
</trans-unit>
<trans-unit id=".r0pj7s" resname="Poster file required">
<source>Poster file required</source>
<target>Poster file required</target>
</trans-unit>
<trans-unit id="OpO8m_n" resname="Edit torrent poster">
<source>Edit torrent poster</source>
<target>Edit torrent poster</target>
</trans-unit>
<trans-unit id="hO4zays" resname="Edit poster for torrent">
<source>Edit poster for torrent</source>
<target>Edit poster for torrent</target>
</trans-unit>
<trans-unit id="G6dup_P" resname="Poster">
<source>Poster</source>
<target>Poster</target>
</trans-unit>
<trans-unit id="HHOEGv4" resname="Posters">
<source>Posters</source>
<target>Posters</target>
</trans-unit>
<trans-unit id="dv2khYF" resname="have deleted poster edition">
<source>have deleted poster edition</source>
<target>have deleted poster edition</target>
</trans-unit>
<trans-unit id="CaAjDOQ" resname="have disapproved poster edition">
<source>have disapproved poster edition</source>
<target>have disapproved poster edition</target>
</trans-unit>
<trans-unit id="u26pehE" resname="have approved poster edition">
<source>have approved poster edition</source>
<target>have approved poster edition</target>
</trans-unit>
<trans-unit id="_jJysd3" resname="have added poster edition">
<source>have added poster edition</source>
<target>have added poster edition</target>
</trans-unit>
<trans-unit id="WDtpCq_" resname="Torrent posters">
<source>Torrent posters</source>
<target>Torrent posters</target>
</trans-unit>
<trans-unit id="2UYGdCf" resname="Center">
<source>Center</source>
<target>Center</target>
</trans-unit>
<trans-unit id="1c389.9" resname="Top">
<source>Top</source>
<target>Top</target>
</trans-unit>
<trans-unit id="R5rSGsk" resname="Bottom">
<source>Bottom</source>
<target>Bottom</target>
</trans-unit>
<trans-unit id="uLHYlMa" resname="Categories">
<source>Categories</source>
<target>Categories</target>
</trans-unit>
<trans-unit id="R2SmYMn" resname="At least one category required">
<source>At least one category required</source>
<target>At least one category required</target>
</trans-unit>
<trans-unit id="QmNxufM" resname="Content category">
<source>Content category</source>
<target>Content category</target>
</trans-unit>
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
<source>This torrent have selected categories</source>
<target>This torrent have selected categories</target>
</trans-unit>
<trans-unit id="o_ep6hc" resname="Edit categories">
<source>Edit categories</source>
<target>Edit categories</target>
</trans-unit>
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
<source>Edit categories for torrent</source>
<target>Edit categories for torrent</target>
</trans-unit>
<trans-unit id="yj3GEvR" resname="Locale">
<source>Locale</source>
<target>Locale</target>
</trans-unit>
<trans-unit id="KSwG8AR" resname="Category">
<source>Category</source>
<target>Category</target>
</trans-unit>
<trans-unit id="AlYAkS1" resname="Torrent categories">
<source>Torrent categories</source>
<target>Torrent categories</target>
</trans-unit>
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
<source>have deleted categories edition</source>
<target>have deleted categories edition</target>
</trans-unit>
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
<source>have disapproved categories edition</source>
<target>have disapproved categories edition</target>
</trans-unit>
<trans-unit id="uF9AEqp" resname="have approved categories edition">
<source>have approved categories edition</source>
<target>have approved categories edition</target>
</trans-unit>
<trans-unit id="oVNdrer" resname="have added categories edition">
<source>have added categories edition</source>
<target>have added categories edition</target>
</trans-unit>
<trans-unit id="imujLJv" resname="movie">
<source>movie</source>
<target>movie</target>
</trans-unit>
<trans-unit id="nNo46jo" resname="series">
<source>series</source>
<target>series</target>
</trans-unit>
<trans-unit id="pG5dK74" resname="tv">
<source>tv</source>
<target>tv</target>
</trans-unit>
<trans-unit id="7CPO8DE" resname="animation">
<source>animation</source>
<target>animation</target>
</trans-unit>
<trans-unit id="gPGJmE5" resname="music">
<source>music</source>
<target>music</target>
</trans-unit>
<trans-unit id="bKXKt35" resname="game">
<source>game</source>
<target>game</target>
</trans-unit>
<trans-unit id="PYW9Udx" resname="audiobook">
<source>audiobook</source>
<target>audiobook</target>
</trans-unit>
<trans-unit id="9ippfeB" resname="podcast">
<source>podcast</source>
<target>podcast</target>
</trans-unit>
<trans-unit id="knGf4M_" resname="book">
<source>book</source>
<target>book</target>
</trans-unit>
<trans-unit id="DrPja.s" resname="archive">
<source>archive</source>
<target>archive</target>
</trans-unit>
<trans-unit id="LOonTQv" resname="picture">
<source>picture</source>
<target>picture</target>
</trans-unit>
<trans-unit id="NTkPVFP" resname="software">
<source>software</source>
<target>software</target>
</trans-unit>
<trans-unit id="2SmKENG" resname="other">
<source>other</source>
<target>other</target>
</trans-unit>
<trans-unit id="v7fLnQX" resname="Hide filter">
<source>Hide filter</source>
<target>Hide filter</target>
</trans-unit>
<trans-unit id="45aF7iu" resname="Show filter">
<source>Show filter</source>
<target>Show filter</target>
</trans-unit>
<trans-unit id="xj62cgx" resname="Private">
<source>Private</source>
<target>Private</target>
</trans-unit>
</body>
</file>
</xliff>

View file

@ -5,10 +5,6 @@
<tool tool-id="symfony" tool-name="Symfony"/>
</header>
<body>
<trans-unit id="NSECGi6" resname="File not found">
<source>File not found</source>
<target>File not found</target>
</trans-unit>
<trans-unit id="awzJBNC" resname="Users">
<source>Users</source>
<target>Users</target>
@ -149,58 +145,6 @@
<source>now</source>
<target>now</target>
</trans-unit>
<trans-unit id="TLTqJVg" resname="year">
<source>year</source>
<target>year</target>
</trans-unit>
<trans-unit id="pcfRcZ4" resname="month">
<source>month</source>
<target>month</target>
</trans-unit>
<trans-unit id="lEwn5bl" resname="day">
<source>day</source>
<target>day</target>
</trans-unit>
<trans-unit id="msCt1HX" resname="hour">
<source>hour</source>
<target>hour</target>
</trans-unit>
<trans-unit id="KM3SDq8" resname="minute">
<source>minute</source>
<target>minute</target>
</trans-unit>
<trans-unit id="FjZ6rLZ" resname="second">
<source>second</source>
<target>second</target>
</trans-unit>
<trans-unit id="HFCZOwC" resname="years">
<source>years</source>
<target>years</target>
</trans-unit>
<trans-unit id="FoN0M0Q" resname="months">
<source>months</source>
<target>months</target>
</trans-unit>
<trans-unit id="q1EATp1" resname="days">
<source>days</source>
<target>days</target>
</trans-unit>
<trans-unit id="QEMUsfS" resname="hours">
<source>hours</source>
<target>hours</target>
</trans-unit>
<trans-unit id="kOY9hfo" resname="minutes">
<source>minutes</source>
<target>minutes</target>
</trans-unit>
<trans-unit id="WfAG1jv" resname="seconds">
<source>seconds</source>
<target>seconds</target>
</trans-unit>
<trans-unit id="HY4I.WM" resname="ago">
<source>ago</source>
<target>ago</target>
</trans-unit>
<trans-unit id="aw2VQXS" resname="Keyword, file, hash...">
<source>Keyword, file, hash...</source>
<target>Keyword, file, hash...</target>
@ -225,10 +169,6 @@
<source>Waiting for approve</source>
<target>Waiting for approve</target>
</trans-unit>
<trans-unit id="uP0WnsM" resname="Content visible for non sensitive users only">
<source>Content visible for non sensitive users only</source>
<target>Content visible for non sensitive users only</target>
</trans-unit>
<trans-unit id="GvhRkHM" resname="Size">
<source>Size</source>
<target>Size</target>
@ -453,10 +393,6 @@
<source>Join translation</source>
<target>Join translation</target>
</trans-unit>
<trans-unit id="R70pB1_" resname="Content">
<source>Content</source>
<target>Content</target>
</trans-unit>
<trans-unit id="ONoVBcq" resname="Activity">
<source>Activity</source>
<target>Activity</target>
@ -665,6 +601,318 @@
<source>have added star for user</source>
<target>have added star for user</target>
</trans-unit>
<trans-unit id="VKDowX6" resname="Error">
<source>Error</source>
<target>Error</target>
</trans-unit>
<trans-unit id="g0SUekA" resname="Oops!">
<source>Oops!</source>
<target>Oops!</target>
</trans-unit>
<trans-unit id="9010RFH" resname="Internal server error">
<source>Internal server error</source>
<target>Internal server error</target>
</trans-unit>
<trans-unit id="ts54jZe" resname="Report">
<source>Report</source>
<target>Report</target>
</trans-unit>
<trans-unit id="4_uqFt2" resname="Not found">
<source>Not found</source>
<target>Not found</target>
</trans-unit>
<trans-unit id="hestk9M" resname="Page not found!">
<source>Page not found!</source>
<target>Page not found!</target>
</trans-unit>
<trans-unit id="HfJe0N1" resname="BitTorrent protocol version 2">
<source>BitTorrent protocol version 2</source>
<target>BitTorrent protocol version 2</target>
</trans-unit>
<trans-unit id="U4t_NWU" resname="BitTorrent protocol version 1">
<source>BitTorrent protocol version 1</source>
<target>BitTorrent protocol version 1</target>
</trans-unit>
<trans-unit id="FEgqWb_" resname="year ago">
<source>year ago</source>
<target>year ago</target>
</trans-unit>
<trans-unit id="pfk9V_Q" resname="month ago">
<source>month ago</source>
<target>month ago</target>
</trans-unit>
<trans-unit id="5rpeYTJ" resname="day ago">
<source>day ago</source>
<target>day ago</target>
</trans-unit>
<trans-unit id="hM62aMH" resname="hour ago">
<source>hour ago</source>
<target>hour ago</target>
</trans-unit>
<trans-unit id="r2QgE4i" resname="minute ago">
<source>minute ago</source>
<target>minute ago</target>
</trans-unit>
<trans-unit id="RbqRzDS" resname="second ago">
<source>second ago</source>
<target>second ago</target>
</trans-unit>
<trans-unit id="TQof7nK" resname="years ago">
<source>years ago</source>
<target>years ago</target>
</trans-unit>
<trans-unit id="fEGjy26" resname="months ago">
<source>months ago</source>
<target>months ago</target>
</trans-unit>
<trans-unit id="N9rZHfe" resname="days ago">
<source>days ago</source>
<target>days ago</target>
</trans-unit>
<trans-unit id="JQ76A_T" resname="hours ago">
<source>hours ago</source>
<target>hours ago</target>
</trans-unit>
<trans-unit id="HhrazP8" resname="minutes ago">
<source>minutes ago</source>
<target>minutes ago</target>
</trans-unit>
<trans-unit id="IsfvBWU" resname="seconds ago">
<source>seconds ago</source>
<target>seconds ago</target>
</trans-unit>
<trans-unit id="KGg3UPj" resname=" years ago">
<source> years ago</source>
<target> years ago</target>
</trans-unit>
<trans-unit id="LJz20sI" resname=" months ago">
<source> months ago</source>
<target> months ago</target>
</trans-unit>
<trans-unit id="r7fyHp0" resname=" days ago">
<source> days ago</source>
<target> days ago</target>
</trans-unit>
<trans-unit id="mga12oW" resname=" hours ago">
<source> hours ago</source>
<target> hours ago</target>
</trans-unit>
<trans-unit id="BAlvYYB" resname=" minutes ago">
<source> minutes ago</source>
<target> minutes ago</target>
</trans-unit>
<trans-unit id="m4YrK9n" resname=" seconds ago">
<source> seconds ago</source>
<target> seconds ago</target>
</trans-unit>
<trans-unit id="6XiwDeR" resname="Search results">
<source>Search results</source>
<target>Search results</target>
</trans-unit>
<trans-unit id="HSCiIv7" resname="&lt;a href=&quot;%s&quot;&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil">
<source>&lt;a href="%s"&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil</source>
<target><![CDATA[<a href="%s">Upload</a> any torrent - download with Yggdrasil]]></target>
</trans-unit>
<trans-unit id="wpaDJlY" resname="Wanted">
<source>Wanted</source>
<target>Wanted</target>
</trans-unit>
<trans-unit id="SK4nQBL" resname="Seeders wanted for torrent">
<source>Seeders wanted for torrent</source>
<target>Seeders wanted for torrent</target>
</trans-unit>
<trans-unit id="rCCle.3" resname="Hide">
<source>Hide</source>
<target>Hide</target>
</trans-unit>
<trans-unit id="m11TRpU" resname="have disabled torrent">
<source>have disabled torrent</source>
<target>have disabled torrent</target>
</trans-unit>
<trans-unit id="qfr4ljO" resname="have enabled torrent">
<source>have enabled torrent</source>
<target>have enabled torrent</target>
</trans-unit>
<trans-unit id="F_s8AWj" resname="disabled">
<source>disabled</source>
<target>disabled</target>
</trans-unit>
<trans-unit id="3HqhHgY" resname="Poster file out of size limit">
<source>Poster file out of size limit</source>
<target>Poster file out of size limit</target>
</trans-unit>
<trans-unit id="xKW1PAN" resname="Image file not supported">
<source>Image file not supported</source>
<target>Image file not supported</target>
</trans-unit>
<trans-unit id=".r0pj7s" resname="Poster file required">
<source>Poster file required</source>
<target>Poster file required</target>
</trans-unit>
<trans-unit id="OpO8m_n" resname="Edit torrent poster">
<source>Edit torrent poster</source>
<target>Edit torrent poster</target>
</trans-unit>
<trans-unit id="hO4zays" resname="Edit poster for torrent">
<source>Edit poster for torrent</source>
<target>Edit poster for torrent</target>
</trans-unit>
<trans-unit id="G6dup_P" resname="Poster">
<source>Poster</source>
<target>Poster</target>
</trans-unit>
<trans-unit id="HHOEGv4" resname="Posters">
<source>Posters</source>
<target>Posters</target>
</trans-unit>
<trans-unit id="dv2khYF" resname="have deleted poster edition">
<source>have deleted poster edition</source>
<target>have deleted poster edition</target>
</trans-unit>
<trans-unit id="CaAjDOQ" resname="have disapproved poster edition">
<source>have disapproved poster edition</source>
<target>have disapproved poster edition</target>
</trans-unit>
<trans-unit id="u26pehE" resname="have approved poster edition">
<source>have approved poster edition</source>
<target>have approved poster edition</target>
</trans-unit>
<trans-unit id="_jJysd3" resname="have added poster edition">
<source>have added poster edition</source>
<target>have added poster edition</target>
</trans-unit>
<trans-unit id="WDtpCq_" resname="Torrent posters">
<source>Torrent posters</source>
<target>Torrent posters</target>
</trans-unit>
<trans-unit id="2UYGdCf" resname="Center">
<source>Center</source>
<target>Center</target>
</trans-unit>
<trans-unit id="1c389.9" resname="Top">
<source>Top</source>
<target>Top</target>
</trans-unit>
<trans-unit id="R5rSGsk" resname="Bottom">
<source>Bottom</source>
<target>Bottom</target>
</trans-unit>
<trans-unit id="uLHYlMa" resname="Categories">
<source>Categories</source>
<target>Categories</target>
</trans-unit>
<trans-unit id="R2SmYMn" resname="At least one category required">
<source>At least one category required</source>
<target>At least one category required</target>
</trans-unit>
<trans-unit id="QmNxufM" resname="Content category">
<source>Content category</source>
<target>Content category</target>
</trans-unit>
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
<source>This torrent have selected categories</source>
<target>This torrent have selected categories</target>
</trans-unit>
<trans-unit id="o_ep6hc" resname="Edit categories">
<source>Edit categories</source>
<target>Edit categories</target>
</trans-unit>
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
<source>Edit categories for torrent</source>
<target>Edit categories for torrent</target>
</trans-unit>
<trans-unit id="yj3GEvR" resname="Locale">
<source>Locale</source>
<target>Locale</target>
</trans-unit>
<trans-unit id="KSwG8AR" resname="Category">
<source>Category</source>
<target>Category</target>
</trans-unit>
<trans-unit id="AlYAkS1" resname="Torrent categories">
<source>Torrent categories</source>
<target>Torrent categories</target>
</trans-unit>
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
<source>have deleted categories edition</source>
<target>have deleted categories edition</target>
</trans-unit>
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
<source>have disapproved categories edition</source>
<target>have disapproved categories edition</target>
</trans-unit>
<trans-unit id="uF9AEqp" resname="have approved categories edition">
<source>have approved categories edition</source>
<target>have approved categories edition</target>
</trans-unit>
<trans-unit id="oVNdrer" resname="have added categories edition">
<source>have added categories edition</source>
<target>have added categories edition</target>
</trans-unit>
<trans-unit id="imujLJv" resname="movie">
<source>movie</source>
<target>movie</target>
</trans-unit>
<trans-unit id="nNo46jo" resname="series">
<source>series</source>
<target>series</target>
</trans-unit>
<trans-unit id="pG5dK74" resname="tv">
<source>tv</source>
<target>tv</target>
</trans-unit>
<trans-unit id="7CPO8DE" resname="animation">
<source>animation</source>
<target>animation</target>
</trans-unit>
<trans-unit id="gPGJmE5" resname="music">
<source>music</source>
<target>music</target>
</trans-unit>
<trans-unit id="bKXKt35" resname="game">
<source>game</source>
<target>game</target>
</trans-unit>
<trans-unit id="PYW9Udx" resname="audiobook">
<source>audiobook</source>
<target>audiobook</target>
</trans-unit>
<trans-unit id="9ippfeB" resname="podcast">
<source>podcast</source>
<target>podcast</target>
</trans-unit>
<trans-unit id="knGf4M_" resname="book">
<source>book</source>
<target>book</target>
</trans-unit>
<trans-unit id="DrPja.s" resname="archive">
<source>archive</source>
<target>archive</target>
</trans-unit>
<trans-unit id="LOonTQv" resname="picture">
<source>picture</source>
<target>picture</target>
</trans-unit>
<trans-unit id="NTkPVFP" resname="software">
<source>software</source>
<target>software</target>
</trans-unit>
<trans-unit id="2SmKENG" resname="other">
<source>other</source>
<target>other</target>
</trans-unit>
<trans-unit id="v7fLnQX" resname="Hide filter">
<source>Hide filter</source>
<target>Hide filter</target>
</trans-unit>
<trans-unit id="45aF7iu" resname="Show filter">
<source>Show filter</source>
<target>Show filter</target>
</trans-unit>
<trans-unit id="xj62cgx" resname="Private">
<source>Private</source>
<target>Private</target>
</trans-unit>
</body>
</file>
</xliff>

View file

@ -5,10 +5,6 @@
<tool tool-id="symfony" tool-name="Symfony"/>
</header>
<body>
<trans-unit id="NSECGi6" resname="File not found">
<source>File not found</source>
<target>File not found</target>
</trans-unit>
<trans-unit id="awzJBNC" resname="Users">
<source>Users</source>
<target>Users</target>
@ -149,58 +145,6 @@
<source>now</source>
<target>now</target>
</trans-unit>
<trans-unit id="TLTqJVg" resname="year">
<source>year</source>
<target>year</target>
</trans-unit>
<trans-unit id="pcfRcZ4" resname="month">
<source>month</source>
<target>month</target>
</trans-unit>
<trans-unit id="lEwn5bl" resname="day">
<source>day</source>
<target>day</target>
</trans-unit>
<trans-unit id="msCt1HX" resname="hour">
<source>hour</source>
<target>hour</target>
</trans-unit>
<trans-unit id="KM3SDq8" resname="minute">
<source>minute</source>
<target>minute</target>
</trans-unit>
<trans-unit id="FjZ6rLZ" resname="second">
<source>second</source>
<target>second</target>
</trans-unit>
<trans-unit id="HFCZOwC" resname="years">
<source>years</source>
<target>years</target>
</trans-unit>
<trans-unit id="FoN0M0Q" resname="months">
<source>months</source>
<target>months</target>
</trans-unit>
<trans-unit id="q1EATp1" resname="days">
<source>days</source>
<target>days</target>
</trans-unit>
<trans-unit id="QEMUsfS" resname="hours">
<source>hours</source>
<target>hours</target>
</trans-unit>
<trans-unit id="kOY9hfo" resname="minutes">
<source>minutes</source>
<target>minutes</target>
</trans-unit>
<trans-unit id="WfAG1jv" resname="seconds">
<source>seconds</source>
<target>seconds</target>
</trans-unit>
<trans-unit id="HY4I.WM" resname="ago">
<source>ago</source>
<target>ago</target>
</trans-unit>
<trans-unit id="aw2VQXS" resname="Keyword, file, hash...">
<source>Keyword, file, hash...</source>
<target>Keyword, file, hash...</target>
@ -225,10 +169,6 @@
<source>Waiting for approve</source>
<target>Waiting for approve</target>
</trans-unit>
<trans-unit id="uP0WnsM" resname="Content visible for non sensitive users only">
<source>Content visible for non sensitive users only</source>
<target>Content visible for non sensitive users only</target>
</trans-unit>
<trans-unit id="GvhRkHM" resname="Size">
<source>Size</source>
<target>Size</target>
@ -453,10 +393,6 @@
<source>Join translation</source>
<target>Join translation</target>
</trans-unit>
<trans-unit id="R70pB1_" resname="Content">
<source>Content</source>
<target>Content</target>
</trans-unit>
<trans-unit id="ONoVBcq" resname="Activity">
<source>Activity</source>
<target>Activity</target>
@ -665,6 +601,318 @@
<source>have added star for user</source>
<target>have added star for user</target>
</trans-unit>
<trans-unit id="VKDowX6" resname="Error">
<source>Error</source>
<target>Error</target>
</trans-unit>
<trans-unit id="g0SUekA" resname="Oops!">
<source>Oops!</source>
<target>Oops!</target>
</trans-unit>
<trans-unit id="9010RFH" resname="Internal server error">
<source>Internal server error</source>
<target>Internal server error</target>
</trans-unit>
<trans-unit id="ts54jZe" resname="Report">
<source>Report</source>
<target>Report</target>
</trans-unit>
<trans-unit id="4_uqFt2" resname="Not found">
<source>Not found</source>
<target>Not found</target>
</trans-unit>
<trans-unit id="hestk9M" resname="Page not found!">
<source>Page not found!</source>
<target>Page not found!</target>
</trans-unit>
<trans-unit id="HfJe0N1" resname="BitTorrent protocol version 2">
<source>BitTorrent protocol version 2</source>
<target>BitTorrent protocol version 2</target>
</trans-unit>
<trans-unit id="U4t_NWU" resname="BitTorrent protocol version 1">
<source>BitTorrent protocol version 1</source>
<target>BitTorrent protocol version 1</target>
</trans-unit>
<trans-unit id="FEgqWb_" resname="year ago">
<source>year ago</source>
<target>year ago</target>
</trans-unit>
<trans-unit id="pfk9V_Q" resname="month ago">
<source>month ago</source>
<target>month ago</target>
</trans-unit>
<trans-unit id="5rpeYTJ" resname="day ago">
<source>day ago</source>
<target>day ago</target>
</trans-unit>
<trans-unit id="hM62aMH" resname="hour ago">
<source>hour ago</source>
<target>hour ago</target>
</trans-unit>
<trans-unit id="r2QgE4i" resname="minute ago">
<source>minute ago</source>
<target>minute ago</target>
</trans-unit>
<trans-unit id="RbqRzDS" resname="second ago">
<source>second ago</source>
<target>second ago</target>
</trans-unit>
<trans-unit id="TQof7nK" resname="years ago">
<source>years ago</source>
<target>years ago</target>
</trans-unit>
<trans-unit id="fEGjy26" resname="months ago">
<source>months ago</source>
<target>months ago</target>
</trans-unit>
<trans-unit id="N9rZHfe" resname="days ago">
<source>days ago</source>
<target>days ago</target>
</trans-unit>
<trans-unit id="JQ76A_T" resname="hours ago">
<source>hours ago</source>
<target>hours ago</target>
</trans-unit>
<trans-unit id="HhrazP8" resname="minutes ago">
<source>minutes ago</source>
<target>minutes ago</target>
</trans-unit>
<trans-unit id="IsfvBWU" resname="seconds ago">
<source>seconds ago</source>
<target>seconds ago</target>
</trans-unit>
<trans-unit id="KGg3UPj" resname=" years ago">
<source> years ago</source>
<target> years ago</target>
</trans-unit>
<trans-unit id="LJz20sI" resname=" months ago">
<source> months ago</source>
<target> months ago</target>
</trans-unit>
<trans-unit id="r7fyHp0" resname=" days ago">
<source> days ago</source>
<target> days ago</target>
</trans-unit>
<trans-unit id="mga12oW" resname=" hours ago">
<source> hours ago</source>
<target> hours ago</target>
</trans-unit>
<trans-unit id="BAlvYYB" resname=" minutes ago">
<source> minutes ago</source>
<target> minutes ago</target>
</trans-unit>
<trans-unit id="m4YrK9n" resname=" seconds ago">
<source> seconds ago</source>
<target> seconds ago</target>
</trans-unit>
<trans-unit id="6XiwDeR" resname="Search results">
<source>Search results</source>
<target>Search results</target>
</trans-unit>
<trans-unit id="HSCiIv7" resname="&lt;a href=&quot;%s&quot;&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil">
<source>&lt;a href="%s"&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil</source>
<target><![CDATA[<a href="%s">Upload</a> any torrent - download with Yggdrasil]]></target>
</trans-unit>
<trans-unit id="wpaDJlY" resname="Wanted">
<source>Wanted</source>
<target>Wanted</target>
</trans-unit>
<trans-unit id="SK4nQBL" resname="Seeders wanted for torrent">
<source>Seeders wanted for torrent</source>
<target>Seeders wanted for torrent</target>
</trans-unit>
<trans-unit id="rCCle.3" resname="Hide">
<source>Hide</source>
<target>Hide</target>
</trans-unit>
<trans-unit id="m11TRpU" resname="have disabled torrent">
<source>have disabled torrent</source>
<target>have disabled torrent</target>
</trans-unit>
<trans-unit id="qfr4ljO" resname="have enabled torrent">
<source>have enabled torrent</source>
<target>have enabled torrent</target>
</trans-unit>
<trans-unit id="F_s8AWj" resname="disabled">
<source>disabled</source>
<target>disabled</target>
</trans-unit>
<trans-unit id="3HqhHgY" resname="Poster file out of size limit">
<source>Poster file out of size limit</source>
<target>Poster file out of size limit</target>
</trans-unit>
<trans-unit id="xKW1PAN" resname="Image file not supported">
<source>Image file not supported</source>
<target>Image file not supported</target>
</trans-unit>
<trans-unit id=".r0pj7s" resname="Poster file required">
<source>Poster file required</source>
<target>Poster file required</target>
</trans-unit>
<trans-unit id="OpO8m_n" resname="Edit torrent poster">
<source>Edit torrent poster</source>
<target>Edit torrent poster</target>
</trans-unit>
<trans-unit id="hO4zays" resname="Edit poster for torrent">
<source>Edit poster for torrent</source>
<target>Edit poster for torrent</target>
</trans-unit>
<trans-unit id="G6dup_P" resname="Poster">
<source>Poster</source>
<target>Poster</target>
</trans-unit>
<trans-unit id="HHOEGv4" resname="Posters">
<source>Posters</source>
<target>Posters</target>
</trans-unit>
<trans-unit id="dv2khYF" resname="have deleted poster edition">
<source>have deleted poster edition</source>
<target>have deleted poster edition</target>
</trans-unit>
<trans-unit id="CaAjDOQ" resname="have disapproved poster edition">
<source>have disapproved poster edition</source>
<target>have disapproved poster edition</target>
</trans-unit>
<trans-unit id="u26pehE" resname="have approved poster edition">
<source>have approved poster edition</source>
<target>have approved poster edition</target>
</trans-unit>
<trans-unit id="_jJysd3" resname="have added poster edition">
<source>have added poster edition</source>
<target>have added poster edition</target>
</trans-unit>
<trans-unit id="WDtpCq_" resname="Torrent posters">
<source>Torrent posters</source>
<target>Torrent posters</target>
</trans-unit>
<trans-unit id="2UYGdCf" resname="Center">
<source>Center</source>
<target>Center</target>
</trans-unit>
<trans-unit id="1c389.9" resname="Top">
<source>Top</source>
<target>Top</target>
</trans-unit>
<trans-unit id="R5rSGsk" resname="Bottom">
<source>Bottom</source>
<target>Bottom</target>
</trans-unit>
<trans-unit id="uLHYlMa" resname="Categories">
<source>Categories</source>
<target>Categories</target>
</trans-unit>
<trans-unit id="R2SmYMn" resname="At least one category required">
<source>At least one category required</source>
<target>At least one category required</target>
</trans-unit>
<trans-unit id="QmNxufM" resname="Content category">
<source>Content category</source>
<target>Content category</target>
</trans-unit>
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
<source>This torrent have selected categories</source>
<target>This torrent have selected categories</target>
</trans-unit>
<trans-unit id="o_ep6hc" resname="Edit categories">
<source>Edit categories</source>
<target>Edit categories</target>
</trans-unit>
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
<source>Edit categories for torrent</source>
<target>Edit categories for torrent</target>
</trans-unit>
<trans-unit id="yj3GEvR" resname="Locale">
<source>Locale</source>
<target>Locale</target>
</trans-unit>
<trans-unit id="KSwG8AR" resname="Category">
<source>Category</source>
<target>Category</target>
</trans-unit>
<trans-unit id="AlYAkS1" resname="Torrent categories">
<source>Torrent categories</source>
<target>Torrent categories</target>
</trans-unit>
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
<source>have deleted categories edition</source>
<target>have deleted categories edition</target>
</trans-unit>
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
<source>have disapproved categories edition</source>
<target>have disapproved categories edition</target>
</trans-unit>
<trans-unit id="uF9AEqp" resname="have approved categories edition">
<source>have approved categories edition</source>
<target>have approved categories edition</target>
</trans-unit>
<trans-unit id="oVNdrer" resname="have added categories edition">
<source>have added categories edition</source>
<target>have added categories edition</target>
</trans-unit>
<trans-unit id="imujLJv" resname="movie">
<source>movie</source>
<target>movie</target>
</trans-unit>
<trans-unit id="nNo46jo" resname="series">
<source>series</source>
<target>series</target>
</trans-unit>
<trans-unit id="pG5dK74" resname="tv">
<source>tv</source>
<target>tv</target>
</trans-unit>
<trans-unit id="7CPO8DE" resname="animation">
<source>animation</source>
<target>animation</target>
</trans-unit>
<trans-unit id="gPGJmE5" resname="music">
<source>music</source>
<target>music</target>
</trans-unit>
<trans-unit id="bKXKt35" resname="game">
<source>game</source>
<target>game</target>
</trans-unit>
<trans-unit id="PYW9Udx" resname="audiobook">
<source>audiobook</source>
<target>audiobook</target>
</trans-unit>
<trans-unit id="9ippfeB" resname="podcast">
<source>podcast</source>
<target>podcast</target>
</trans-unit>
<trans-unit id="knGf4M_" resname="book">
<source>book</source>
<target>book</target>
</trans-unit>
<trans-unit id="DrPja.s" resname="archive">
<source>archive</source>
<target>archive</target>
</trans-unit>
<trans-unit id="LOonTQv" resname="picture">
<source>picture</source>
<target>picture</target>
</trans-unit>
<trans-unit id="NTkPVFP" resname="software">
<source>software</source>
<target>software</target>
</trans-unit>
<trans-unit id="2SmKENG" resname="other">
<source>other</source>
<target>other</target>
</trans-unit>
<trans-unit id="v7fLnQX" resname="Hide filter">
<source>Hide filter</source>
<target>Hide filter</target>
</trans-unit>
<trans-unit id="45aF7iu" resname="Show filter">
<source>Show filter</source>
<target>Show filter</target>
</trans-unit>
<trans-unit id="xj62cgx" resname="Private">
<source>Private</source>
<target>Private</target>
</trans-unit>
</body>
</file>
</xliff>

View file

@ -5,10 +5,6 @@
<tool tool-id="symfony" tool-name="Symfony"/>
</header>
<body>
<trans-unit id="NSECGi6" resname="File not found">
<source>File not found</source>
<target>File not found</target>
</trans-unit>
<trans-unit id="awzJBNC" resname="Users">
<source>Users</source>
<target>Users</target>
@ -149,58 +145,6 @@
<source>now</source>
<target>now</target>
</trans-unit>
<trans-unit id="TLTqJVg" resname="year">
<source>year</source>
<target>year</target>
</trans-unit>
<trans-unit id="pcfRcZ4" resname="month">
<source>month</source>
<target>month</target>
</trans-unit>
<trans-unit id="lEwn5bl" resname="day">
<source>day</source>
<target>day</target>
</trans-unit>
<trans-unit id="msCt1HX" resname="hour">
<source>hour</source>
<target>hour</target>
</trans-unit>
<trans-unit id="KM3SDq8" resname="minute">
<source>minute</source>
<target>minute</target>
</trans-unit>
<trans-unit id="FjZ6rLZ" resname="second">
<source>second</source>
<target>second</target>
</trans-unit>
<trans-unit id="HFCZOwC" resname="years">
<source>years</source>
<target>years</target>
</trans-unit>
<trans-unit id="FoN0M0Q" resname="months">
<source>months</source>
<target>months</target>
</trans-unit>
<trans-unit id="q1EATp1" resname="days">
<source>days</source>
<target>days</target>
</trans-unit>
<trans-unit id="QEMUsfS" resname="hours">
<source>hours</source>
<target>hours</target>
</trans-unit>
<trans-unit id="kOY9hfo" resname="minutes">
<source>minutes</source>
<target>minutes</target>
</trans-unit>
<trans-unit id="WfAG1jv" resname="seconds">
<source>seconds</source>
<target>seconds</target>
</trans-unit>
<trans-unit id="HY4I.WM" resname="ago">
<source>ago</source>
<target>ago</target>
</trans-unit>
<trans-unit id="aw2VQXS" resname="Keyword, file, hash...">
<source>Keyword, file, hash...</source>
<target>Keyword, file, hash...</target>
@ -225,10 +169,6 @@
<source>Waiting for approve</source>
<target>Waiting for approve</target>
</trans-unit>
<trans-unit id="uP0WnsM" resname="Content visible for non sensitive users only">
<source>Content visible for non sensitive users only</source>
<target>Content visible for non sensitive users only</target>
</trans-unit>
<trans-unit id="GvhRkHM" resname="Size">
<source>Size</source>
<target>Size</target>
@ -453,10 +393,6 @@
<source>Join translation</source>
<target>Join translation</target>
</trans-unit>
<trans-unit id="R70pB1_" resname="Content">
<source>Content</source>
<target>Content</target>
</trans-unit>
<trans-unit id="ONoVBcq" resname="Activity">
<source>Activity</source>
<target>Activity</target>
@ -665,6 +601,318 @@
<source>have added star for user</source>
<target>have added star for user</target>
</trans-unit>
<trans-unit id="VKDowX6" resname="Error">
<source>Error</source>
<target>Error</target>
</trans-unit>
<trans-unit id="g0SUekA" resname="Oops!">
<source>Oops!</source>
<target>Oops!</target>
</trans-unit>
<trans-unit id="9010RFH" resname="Internal server error">
<source>Internal server error</source>
<target>Internal server error</target>
</trans-unit>
<trans-unit id="ts54jZe" resname="Report">
<source>Report</source>
<target>Report</target>
</trans-unit>
<trans-unit id="4_uqFt2" resname="Not found">
<source>Not found</source>
<target>Not found</target>
</trans-unit>
<trans-unit id="hestk9M" resname="Page not found!">
<source>Page not found!</source>
<target>Page not found!</target>
</trans-unit>
<trans-unit id="HfJe0N1" resname="BitTorrent protocol version 2">
<source>BitTorrent protocol version 2</source>
<target>BitTorrent protocol version 2</target>
</trans-unit>
<trans-unit id="U4t_NWU" resname="BitTorrent protocol version 1">
<source>BitTorrent protocol version 1</source>
<target>BitTorrent protocol version 1</target>
</trans-unit>
<trans-unit id="FEgqWb_" resname="year ago">
<source>year ago</source>
<target>year ago</target>
</trans-unit>
<trans-unit id="pfk9V_Q" resname="month ago">
<source>month ago</source>
<target>month ago</target>
</trans-unit>
<trans-unit id="5rpeYTJ" resname="day ago">
<source>day ago</source>
<target>day ago</target>
</trans-unit>
<trans-unit id="hM62aMH" resname="hour ago">
<source>hour ago</source>
<target>hour ago</target>
</trans-unit>
<trans-unit id="r2QgE4i" resname="minute ago">
<source>minute ago</source>
<target>minute ago</target>
</trans-unit>
<trans-unit id="RbqRzDS" resname="second ago">
<source>second ago</source>
<target>second ago</target>
</trans-unit>
<trans-unit id="TQof7nK" resname="years ago">
<source>years ago</source>
<target>years ago</target>
</trans-unit>
<trans-unit id="fEGjy26" resname="months ago">
<source>months ago</source>
<target>months ago</target>
</trans-unit>
<trans-unit id="N9rZHfe" resname="days ago">
<source>days ago</source>
<target>days ago</target>
</trans-unit>
<trans-unit id="JQ76A_T" resname="hours ago">
<source>hours ago</source>
<target>hours ago</target>
</trans-unit>
<trans-unit id="HhrazP8" resname="minutes ago">
<source>minutes ago</source>
<target>minutes ago</target>
</trans-unit>
<trans-unit id="IsfvBWU" resname="seconds ago">
<source>seconds ago</source>
<target>seconds ago</target>
</trans-unit>
<trans-unit id="KGg3UPj" resname=" years ago">
<source> years ago</source>
<target> years ago</target>
</trans-unit>
<trans-unit id="LJz20sI" resname=" months ago">
<source> months ago</source>
<target> months ago</target>
</trans-unit>
<trans-unit id="r7fyHp0" resname=" days ago">
<source> days ago</source>
<target> days ago</target>
</trans-unit>
<trans-unit id="mga12oW" resname=" hours ago">
<source> hours ago</source>
<target> hours ago</target>
</trans-unit>
<trans-unit id="BAlvYYB" resname=" minutes ago">
<source> minutes ago</source>
<target> minutes ago</target>
</trans-unit>
<trans-unit id="m4YrK9n" resname=" seconds ago">
<source> seconds ago</source>
<target> seconds ago</target>
</trans-unit>
<trans-unit id="6XiwDeR" resname="Search results">
<source>Search results</source>
<target>Search results</target>
</trans-unit>
<trans-unit id="HSCiIv7" resname="&lt;a href=&quot;%s&quot;&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil">
<source>&lt;a href="%s"&gt;Upload&lt;/a&gt; any torrent - download with Yggdrasil</source>
<target><![CDATA[<a href="%s">Upload</a> any torrent - download with Yggdrasil]]></target>
</trans-unit>
<trans-unit id="wpaDJlY" resname="Wanted">
<source>Wanted</source>
<target>Wanted</target>
</trans-unit>
<trans-unit id="SK4nQBL" resname="Seeders wanted for torrent">
<source>Seeders wanted for torrent</source>
<target>Seeders wanted for torrent</target>
</trans-unit>
<trans-unit id="rCCle.3" resname="Hide">
<source>Hide</source>
<target>Hide</target>
</trans-unit>
<trans-unit id="m11TRpU" resname="have disabled torrent">
<source>have disabled torrent</source>
<target>have disabled torrent</target>
</trans-unit>
<trans-unit id="qfr4ljO" resname="have enabled torrent">
<source>have enabled torrent</source>
<target>have enabled torrent</target>
</trans-unit>
<trans-unit id="F_s8AWj" resname="disabled">
<source>disabled</source>
<target>disabled</target>
</trans-unit>
<trans-unit id="3HqhHgY" resname="Poster file out of size limit">
<source>Poster file out of size limit</source>
<target>Poster file out of size limit</target>
</trans-unit>
<trans-unit id="xKW1PAN" resname="Image file not supported">
<source>Image file not supported</source>
<target>Image file not supported</target>
</trans-unit>
<trans-unit id=".r0pj7s" resname="Poster file required">
<source>Poster file required</source>
<target>Poster file required</target>
</trans-unit>
<trans-unit id="OpO8m_n" resname="Edit torrent poster">
<source>Edit torrent poster</source>
<target>Edit torrent poster</target>
</trans-unit>
<trans-unit id="hO4zays" resname="Edit poster for torrent">
<source>Edit poster for torrent</source>
<target>Edit poster for torrent</target>
</trans-unit>
<trans-unit id="G6dup_P" resname="Poster">
<source>Poster</source>
<target>Poster</target>
</trans-unit>
<trans-unit id="HHOEGv4" resname="Posters">
<source>Posters</source>
<target>Posters</target>
</trans-unit>
<trans-unit id="dv2khYF" resname="have deleted poster edition">
<source>have deleted poster edition</source>
<target>have deleted poster edition</target>
</trans-unit>
<trans-unit id="CaAjDOQ" resname="have disapproved poster edition">
<source>have disapproved poster edition</source>
<target>have disapproved poster edition</target>
</trans-unit>
<trans-unit id="u26pehE" resname="have approved poster edition">
<source>have approved poster edition</source>
<target>have approved poster edition</target>
</trans-unit>
<trans-unit id="_jJysd3" resname="have added poster edition">
<source>have added poster edition</source>
<target>have added poster edition</target>
</trans-unit>
<trans-unit id="WDtpCq_" resname="Torrent posters">
<source>Torrent posters</source>
<target>Torrent posters</target>
</trans-unit>
<trans-unit id="2UYGdCf" resname="Center">
<source>Center</source>
<target>Center</target>
</trans-unit>
<trans-unit id="1c389.9" resname="Top">
<source>Top</source>
<target>Top</target>
</trans-unit>
<trans-unit id="R5rSGsk" resname="Bottom">
<source>Bottom</source>
<target>Bottom</target>
</trans-unit>
<trans-unit id="uLHYlMa" resname="Categories">
<source>Categories</source>
<target>Categories</target>
</trans-unit>
<trans-unit id="R2SmYMn" resname="At least one category required">
<source>At least one category required</source>
<target>At least one category required</target>
</trans-unit>
<trans-unit id="QmNxufM" resname="Content category">
<source>Content category</source>
<target>Content category</target>
</trans-unit>
<trans-unit id="zRrq72V" resname="This torrent have selected categories">
<source>This torrent have selected categories</source>
<target>This torrent have selected categories</target>
</trans-unit>
<trans-unit id="o_ep6hc" resname="Edit categories">
<source>Edit categories</source>
<target>Edit categories</target>
</trans-unit>
<trans-unit id="2SVm4J_" resname="Edit categories for torrent">
<source>Edit categories for torrent</source>
<target>Edit categories for torrent</target>
</trans-unit>
<trans-unit id="yj3GEvR" resname="Locale">
<source>Locale</source>
<target>Locale</target>
</trans-unit>
<trans-unit id="KSwG8AR" resname="Category">
<source>Category</source>
<target>Category</target>
</trans-unit>
<trans-unit id="AlYAkS1" resname="Torrent categories">
<source>Torrent categories</source>
<target>Torrent categories</target>
</trans-unit>
<trans-unit id="Yfrv1ti" resname="have deleted categories edition">
<source>have deleted categories edition</source>
<target>have deleted categories edition</target>
</trans-unit>
<trans-unit id="LAnRgSg" resname="have disapproved categories edition">
<source>have disapproved categories edition</source>
<target>have disapproved categories edition</target>
</trans-unit>
<trans-unit id="uF9AEqp" resname="have approved categories edition">
<source>have approved categories edition</source>
<target>have approved categories edition</target>
</trans-unit>
<trans-unit id="oVNdrer" resname="have added categories edition">
<source>have added categories edition</source>
<target>have added categories edition</target>
</trans-unit>
<trans-unit id="imujLJv" resname="movie">
<source>movie</source>
<target>movie</target>
</trans-unit>
<trans-unit id="nNo46jo" resname="series">
<source>series</source>
<target>series</target>
</trans-unit>
<trans-unit id="pG5dK74" resname="tv">
<source>tv</source>
<target>tv</target>
</trans-unit>
<trans-unit id="7CPO8DE" resname="animation">
<source>animation</source>
<target>animation</target>
</trans-unit>
<trans-unit id="gPGJmE5" resname="music">
<source>music</source>
<target>music</target>
</trans-unit>
<trans-unit id="bKXKt35" resname="game">
<source>game</source>
<target>game</target>
</trans-unit>
<trans-unit id="PYW9Udx" resname="audiobook">
<source>audiobook</source>
<target>audiobook</target>
</trans-unit>
<trans-unit id="9ippfeB" resname="podcast">
<source>podcast</source>
<target>podcast</target>
</trans-unit>
<trans-unit id="knGf4M_" resname="book">
<source>book</source>
<target>book</target>
</trans-unit>
<trans-unit id="DrPja.s" resname="archive">
<source>archive</source>
<target>archive</target>
</trans-unit>
<trans-unit id="LOonTQv" resname="picture">
<source>picture</source>
<target>picture</target>
</trans-unit>
<trans-unit id="NTkPVFP" resname="software">
<source>software</source>
<target>software</target>
</trans-unit>
<trans-unit id="2SmKENG" resname="other">
<source>other</source>
<target>other</target>
</trans-unit>
<trans-unit id="v7fLnQX" resname="Hide filter">
<source>Hide filter</source>
<target>Hide filter</target>
</trans-unit>
<trans-unit id="45aF7iu" resname="Show filter">
<source>Show filter</source>
<target>Show filter</target>
</trans-unit>
<trans-unit id="xj62cgx" resname="Private">
<source>Private</source>
<target>Private</target>
</trans-unit>
</body>
</file>
</xliff>

Some files were not shown because too many files have changed in this diff Show more