Skip to content

Commit

Permalink
fixes dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Robb-Fr committed Jun 27, 2024
1 parent 3abac50 commit 69cd988
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 49 deletions.
2 changes: 1 addition & 1 deletion app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import Optional, Union

from flask_login import UserMixin
from flask_sqlalchemy import Pagination
from flask_sqlalchemy.pagination import Pagination
from sqlalchemy import and_, func, or_
from sqlalchemy.orm import Query
from werkzeug.security import check_password_hash, generate_password_hash
Expand Down
3 changes: 1 addition & 2 deletions app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
login_user,
logout_user,
)
from werkzeug.urls import url_parse

from app import app, db
from app.forms import AttackUpload, DefenceUpload, LoginForm, RegistrationForm
Expand Down Expand Up @@ -102,7 +101,7 @@ def login():
login_user(user, remember=form.remember_me.data)
next_page = request.args.get("next")
# check if no next page specified or next page is out of domain
if not next_page or url_parse(next_page).netloc != "":
if not next_page:
next_page = url_for("index")
return redirect(next_page)
return render_template("login.html", title="Sign In", form=form)
Expand Down
160 changes: 114 additions & 46 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,56 +1,124 @@
alembic==1.11.1
amqp==5.1.1
async-timeout==4.0.2
billiard==4.1.0
black==23.3.0
blinker==1.6.2
celery==5.3.1
click==8.1.3
click-didyoumean==0.3.0
alabaster==0.7.12
alembic==1.13.2
amqp==5.2.0
argcomplete==1.12.3
async-timeout==4.0.3
attrs==21.2.0
Babel==2.9.1
backports.entry-points-selectable==1.1.0
beautifulsoup4==4.10.0
billiard==4.2.0
black==24.4.2
blinker==1.8.2
cairocffi==1.7.1
CairoSVG==2.7.1
celery==5.4.0
certifi==2021.10.8
cffi==1.16.0
chardet==5.2.0
charset-normalizer==2.0.7
click==8.1.7
click-didyoumean==0.3.1
click-plugins==1.1.1
click-repl==0.3.0
colorama==0.4.4
colorlog==6.6.0
cryptography==42.0.5
cssselect2==0.7.0
defusedxml==0.7.1
Deprecated==1.2.14
dnspython==2.3.0
dominate==2.8.0
email-validator==2.0.0.post2
Flask==2.3.2
distlib==0.3.3
dnspython==2.6.1
docutils==0.17.1
dominate==2.9.1
email_validator==2.2.0
exceptiongroup==1.2.1
filelock==3.3.1
Flask==3.0.3
Flask-Bootstrap==3.3.7.1
Flask-Login==0.6.2
Flask-Mail==0.9.1
Flask-Migrate==4.0.4
Flask-SQLAlchemy==3.0.5
Flask-WTF==1.1.1
idna==3.4
itsdangerous==2.1.2
Jinja2==3.1.2
joblib==1.3.1
kombu==5.3.1
Mako==1.2.4
MarkupSafe==2.1.3
Flask-Login==0.6.3
Flask-Mail==0.10.0
Flask-Migrate==4.0.7
Flask-SQLAlchemy==3.1.1
Flask-WTF==1.2.1
furo==2021.10.9
future==1.0.0
greenlet==3.0.3
idna==3.7
imagesize==1.2.0
iniconfig==2.0.0
itsdangerous==2.2.0
Jinja2==3.1.4
joblib==1.4.2
kombu==5.3.7
livereload==2.6.3
lxml==5.2.2
lzstring==1.0.4
Mako==1.3.5
markdown-it-py==1.1.0
MarkupSafe==2.1.5
mdit-py-plugins==0.2.8
mypy-extensions==1.0.0
numpy==1.25.0
packaging==23.1
pandas==2.0.3
pathspec==0.11.1
myst-parser==0.15.2
numpy==2.0.0
packaging==24.1
pandas==2.2.2
pathspec==0.12.1
pillow==10.3.0
pip-chill==1.0.3
platformdirs==3.8.0
prompt-toolkit==3.0.38
pyparsing==3.1.0
python-dateutil==2.8.2
python-dotenv==1.0.0
pytz==2023.3
redis==4.6.0
scikit-learn==1.2.2
scipy==1.11.1
pipenv==2022.1.8
platformdirs==2.6.2
playwright==1.44.0
pluggy==1.5.0
prompt_toolkit==3.0.47
py==1.11.0
pycparser==2.22
pyee==11.1.0
Pygments==2.10.0
pyparsing==3.1.2
pypng==0.20220715.0
pytest==8.2.2
pytest-base-url==2.1.0
pytest-playwright==0.5.0
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
python-slugify==8.0.4
pytz==2024.1
PyYAML==6.0
qrcode==7.4.2
redis==5.0.7
reportlab==4.2.2
requests==2.26.0
scikit-learn==1.5.0
scipy==1.14.0
six==1.16.0
SQLAlchemy==2.0.17
threadpoolctl==3.1.0
snowballstemmer==2.1.0
soupsieve==2.2.1
Sphinx==4.2.0
sphinx-autobuild==2021.3.14
sphinx-panels==0.6.0
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
SQLAlchemy==2.0.31
svglib==1.5.1
text-unidecode==1.3
threadpoolctl==3.5.0
tinycss2==1.3.0
tomli==2.0.1
typing_extensions==4.7.0
tzdata==2023.3
vine==5.0.0
tornado==6.1
typing_extensions==4.12.2
tzdata==2024.1
urllib3==1.26.7
vine==5.1.0
virtualenv==20.8.1
virtualenv-clone==0.5.7
visitor==0.1.3
wcwidth==0.2.6
wcwidth==0.2.13
webencodings==0.5.1
Werkzeug==3.0.3
wrapt==1.15.0
WTForms==3.0.1
wrapt==1.16.0
WTForms==3.1.2

0 comments on commit 69cd988

Please sign in to comment.