diff --git a/docker-compose.yml b/docker-compose.yml index 82bf557..44677b8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,7 +52,7 @@ services: args: BUILD_NAME: myapp MYAPP_VERSION: dev - UPGRADE_REQS: "no" + UPGRADE_REQS: "yes" restart: always volumes: - data:/${APP_NAME}_data/users diff --git a/myapp/routes/login.py b/myapp/routes/login.py index a2c3873..1c2c6b0 100644 --- a/myapp/routes/login.py +++ b/myapp/routes/login.py @@ -11,7 +11,6 @@ # from werkzeug.urls import url_parse from urllib.parse import urlparse as url_parse from ._utils import META_TAGS, check_email, navbar_A -import time dashapp = dash.Dash("login",url_base_pathname=f'{PAGE_PREFIX}/login/', meta_tags=META_TAGS, server=app, external_stylesheets=[dbc.themes.BOOTSTRAP], title="Login", assets_folder=app.config["APP_ASSETS"])# , assets_folder="/flaski/flaski/static/dash/") @@ -176,8 +175,6 @@ def generate_otp_content(pathname): style={"min-height": "95vh", 'verticalAlign': 'center'} ) - time.sleep(2) - return otp_content diff --git a/utils/requirements.all.txt b/utils/requirements.all.txt index 26bd65f..e0909df 100644 --- a/utils/requirements.all.txt +++ b/utils/requirements.all.txt @@ -1,72 +1,75 @@ -Flask==2.2.2 -Flask-Caching==2.0.2 -Flask-Compress==1.13 +Flask==3.0.3 +Flask-Caching==2.3.0 +Flask-Compress==1.17 Flask-EmailVerifier==0.1.0 -Flask-Login==0.6.2 -Flask-Mail==0.9.1 -Flask-Migrate==4.0.4 -Flask-Session==0.4.0 -Flask-SQLAlchemy==3.0.3 -Flask-WTF==1.1.1 -Flask-Caching==2.0.2 -Flask-Compress==1.13 +Flask-Login==0.6.3 +Flask-Mail==0.10.0 +Flask-Migrate==4.0.7 +Flask-Session==0.8.0 +Flask-SQLAlchemy==3.1.1 +Flask-WTF==1.2.2 +Flask-Caching==2.3.0 +Flask-Compress==1.17 Flask-EmailVerifier==0.1.0 -Flask-Login==0.6.2 -Flask-Mail==0.9.1 -Flask-Migrate==4.0.4 -Flask-Session==0.4.0 -Flask-SQLAlchemy==3.0.3 -Flask-WTF==1.1.1 -dash==2.8.1 -dash-bootstrap-components==1.3.1 +Flask-Login==0.6.3 +Flask-Mail==0.10.0 +Flask-Migrate==4.0.7 +Flask-Session==0.8.0 +Flask-SQLAlchemy==3.1.1 +Flask-WTF==1.2.2 +dash==2.18.1 +dash-bootstrap-components==1.6.0 dash-core-components==2.0.0 dash-html-components==2.0.0 dash-table==5.0.0 dash-table==5.0.0 -dash-bootstrap-components==1.3.1 +dash-bootstrap-components==1.6.0 onetimepass==1.0.1 pyocclient==0.6 PyQRCode==1.2.1 -python-dotenv==0.21.1 -redis==4.5.1 -waitress==2.1.2 -PyJWT==2.6.0 -pandas==1.5.3 -gunicorn==20.1.0 -PyMySQL==1.0.2 -alembic==1.9.3 -async-timeout==4.0.2 -blinker==1.5 -Brotli==1.0.9 +python-dotenv==1.0.1 +redis==5.2.0 +waitress==3.0.1 +PyJWT==2.9.0 +pandas==2.2.3 +gunicorn==23.0.0 +PyMySQL==1.1.1 +alembic==1.13.3 +async-timeout==4.0.3 +blinker==1.8.2 +Brotli==1.1.0 cachelib==0.9.0 -certifi==2022.12.7 -charset-normalizer==3.0.1 -click==8.1.3 -Deprecated==1.2.13 +certifi==2024.8.30 +charset-normalizer==3.4.0 +click==8.1.7 email-verifier==1.0.0 -future==0.18.3 -greenlet==2.0.2 -idna==3.4 -itsdangerous==2.1.2 -Jinja2==3.1.2 -Mako==1.2.4 -MarkupSafe==2.1.2 -numpy==1.24.2 -packaging==23.0 -pip==23.0 -plotly==5.13.0 -pyparsing==3.0.9 -python-dateutil==2.8.2 -pytz==2022.7.1 -pyxdg==0.28 -requests==2.28.2 +future==1.0.0 +greenlet==3.1.1 +idna==3.10 +importlib_metadata==8.5.0 +itsdangerous==2.2.0 +Jinja2==3.1.4 +Mako==1.3.6 +MarkupSafe==3.0.2 +msgspec==0.18.6 +nest-asyncio==1.6.0 +numpy==2.1.2 +packaging==24.1 +pip==24.3.1 +plotly==5.24.1 +python-dateutil==2.9.0.post0 +pytz==2024.2 +requests==2.32.3 +retrying==1.3.4 setuptools==65.5.1 six==1.16.0 -SQLAlchemy==2.0.3 -tenacity==8.2.1 -typing_extensions==4.4.0 -urllib3==1.26.14 -Werkzeug==2.2.2 -wheel==0.38.4 -wrapt==1.14.1 -WTForms==3.0.1 +SQLAlchemy==2.0.36 +tenacity==9.0.0 +typing_extensions==4.12.2 +tzdata==2024.2 +urllib3==2.2.3 +Werkzeug==3.0.6 +wheel==0.44.0 +WTForms==3.2.1 +zipp==3.20.2 +zstandard==0.23.0