Commit graph

12 commits

Author SHA1 Message Date
Kfir Hadas
0181d6cb33 Prepare for app factory [1 of 2] (#315)
* Move db, assets, debug toolbar and fix_paginate into nyaa.extensions
* Change all `from nyaa import db` imports to `from nyaa.extensions import db`
* Move `nyaa.torrents.create_magnet_from_es_info` context processor into template-utils blueprint
* Fix tools (wrap in `with app.app_context():` where needed)
2017-07-30 20:35:16 +03:00
Anna-Maria Meriniemi
1bc36c5a17 [Schema change] Add webseed support (BEP-19) (#317)
Store webseeds in Trackers table with is_webseed flag
Adjusts torrent creation accordingly
2017-07-30 00:00:39 +03:00
Kfir Hadas
b992467dad Apply isort & flake8 (#312)
* Update isort settings
* Apply import sorting (isort) on all files in nyaa/
* Fixed Flake8 errors in nyaa/ (see PR for list)
* Add isort to lint.sh and requirements.txt
2017-07-28 20:01:19 +03:00
aldacron
142dd5359c Resolves #129 and refactored create magnet es naming 2017-05-24 23:19:08 -07:00
nyaadev
b7144f80f9 Make comments great again. 2017-05-22 23:38:06 +02:00
TheAMM
1e230584ab Re-add generated torrent tracker count limit
As found out in #164, this feature disappeared somewhere along the line.
2017-05-22 23:59:21 +03:00
Kfir Hadas
4e9409fb30 AutoPEP8 (after elasticsearch merge) 2017-05-16 12:47:06 +03:00
aldacron
00c768c722 merged elasticsearch, let's hope this doesn't break shit 2017-05-16 01:28:55 -07:00
aldacron
2005174358 finished up rss, changed rss behavior to include pre-defined trackers only, also cleaned up debug statements 2017-05-16 00:46:25 -07:00
TheAMM
16c30413dc Remove extra b'e' in torrent generation
Fixes #45
Flexget checks for trailing data after bdecoding, which most decoders don't do - so this went unnoticed.
2017-05-14 20:14:49 +03:00
nyaadev
7e25e6d9b8 Our main tracker first, then user trackers, then trackers.txt 2017-05-13 15:46:08 +02:00
nyaadev
00d65e312c Initial commit. 2017-05-12 20:51:49 +02:00