nyaa/nyaa
Kfir Hadas 87dd95f1e0 Refactor into an app factory [2 of 2] (#322)
* Replace all `from nyaa import app` imports with `app = flask.current_app` (or `from flask import current_app as app` where possible)
* Add a separate config object for top-level and class statements as `nyaa.extensions.config`
Required because those codes don't have app context at the time of evaluation/execution.
* Remove `routes.py` file and register all blueprints in `nyaa/__init__.py`
* Refactor `nyaa/__init__.py` into an app factory
* Update tools
* Update tests (temporary, will be replaced)
2017-08-01 21:02:08 +03:00
..
static Fix broken comment CSS 2017-07-08 20:03:14 -05:00
templates Update Gravatar (#313) 2017-07-27 16:03:13 -04:00
views Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
__init__.py Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
api_handler.py Prepare for app factory [1 of 2] (#315) 2017-07-30 20:35:16 +03:00
backend.py Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
bencode.py bencode: fix nontermination on empty or malformed input 2017-07-24 20:53:48 -06:00
extensions.py Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
forms.py Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
models.py Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
search.py Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
template_utils.py Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
torrents.py Refactor into an app factory [2 of 2] (#322) 2017-08-01 21:02:08 +03:00
utils.py Apply isort & flake8 (#312) 2017-07-28 20:01:19 +03:00