Merge branch 'release-v0.5.7'
@ -3,6 +3,7 @@
|
|||||||
# Application
|
# Application
|
||||||
export FLASK_ENV=development
|
export FLASK_ENV=development
|
||||||
export FLASK_APP=fittrackee/__main__.py
|
export FLASK_APP=fittrackee/__main__.py
|
||||||
|
export FLASK_SKIP_DOTENV=1
|
||||||
export APP_SETTINGS=fittrackee.config.DevelopmentConfig
|
export APP_SETTINGS=fittrackee.config.DevelopmentConfig
|
||||||
export APP_SECRET_KEY='just for test'
|
export APP_SECRET_KEY='just for test'
|
||||||
# export APP_WORKERS=
|
# export APP_WORKERS=
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
# Application
|
# Application
|
||||||
# export FLASK_APP=fittrackee
|
# export FLASK_APP=fittrackee
|
||||||
|
export FLASK_SKIP_DOTENV=1
|
||||||
# export HOST=
|
# export HOST=
|
||||||
# export PORT=
|
# export PORT=
|
||||||
# export APP_SETTINGS=fittrackee.config.ProductionConfig
|
# export APP_SETTINGS=fittrackee.config.ProductionConfig
|
||||||
|
@ -93,7 +93,6 @@ firefox:
|
|||||||
- poetry config virtualenvs.create false
|
- poetry config virtualenvs.create false
|
||||||
- poetry install --no-interaction --quiet
|
- poetry install --no-interaction --quiet
|
||||||
- flask db upgrade --directory fittrackee/migrations
|
- flask db upgrade --directory fittrackee/migrations
|
||||||
- flask init-data
|
|
||||||
- setsid nohup flask run --with-threads -h 0.0.0.0 -p 5000 >> nohup.out 2>&1 &
|
- setsid nohup flask run --with-threads -h 0.0.0.0 -p 5000 >> nohup.out 2>&1 &
|
||||||
- export TEST_APP_URL=http://$(hostname --ip-address):5000
|
- export TEST_APP_URL=http://$(hostname --ip-address):5000
|
||||||
- sleep 5
|
- sleep 5
|
||||||
|
37
CHANGELOG.md
@ -1,5 +1,42 @@
|
|||||||
# Change log
|
# Change log
|
||||||
|
|
||||||
|
## Version 0.5.7 (2022/02/13)
|
||||||
|
|
||||||
|
This release contains several fixes including security fixes.
|
||||||
|
Thanks to @DanielSiersleben for the report.
|
||||||
|
|
||||||
|
And from now on, admin account is not created on application initialization.
|
||||||
|
A new command is added to set administration rights on the account created after registration
|
||||||
|
(see [documentation](https://samr1.github.io/FitTrackee/installation.html#upgrade))
|
||||||
|
|
||||||
|
### Issues Closed
|
||||||
|
|
||||||
|
#### Misc
|
||||||
|
|
||||||
|
* [#149](https://github.com/SamR1/FitTrackee/issues/149) - improve database initialisation
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
|
||||||
|
#### Security
|
||||||
|
|
||||||
|
* [#152](https://github.com/SamR1/FitTrackee/pull/152) - Fixes and improvements:
|
||||||
|
- set autoescape on jinja templates
|
||||||
|
|
||||||
|
* [#151](https://github.com/SamR1/FitTrackee/pull/151) - fix security issues:
|
||||||
|
- sanitize input when serving images
|
||||||
|
- sanitize inputs when serving map tiles
|
||||||
|
- allow only alphanumeric characters and '_' in username
|
||||||
|
|
||||||
|
#### Misc
|
||||||
|
|
||||||
|
* [#152](https://github.com/SamR1/FitTrackee/pull/152) - Fixes and improvements:
|
||||||
|
- fix dramatiq warning when launching workers w/ script entrypoint
|
||||||
|
- check app config before dropping database, to avoid deleting data on production
|
||||||
|
- remove dotenv warning
|
||||||
|
|
||||||
|
In this release 1 issue was closed.
|
||||||
|
|
||||||
|
|
||||||
## Version 0.5.6 (2022/02/05)
|
## Version 0.5.6 (2022/02/05)
|
||||||
|
|
||||||
### Issues Closed
|
### Issues Closed
|
||||||
|
14
Makefile
@ -59,6 +59,9 @@ docker-serve-client:
|
|||||||
docker-compose -f docker-compose-dev.yml up -d fittrackee_client
|
docker-compose -f docker-compose-dev.yml up -d fittrackee_client
|
||||||
docker-compose -f docker-compose-dev.yml exec fittrackee_client yarn serve
|
docker-compose -f docker-compose-dev.yml exec fittrackee_client yarn serve
|
||||||
|
|
||||||
|
docker-set-admin:
|
||||||
|
docker-compose -f docker-compose-dev.yml exec fittrackee docker/set-admin.sh $(USERNAME)
|
||||||
|
|
||||||
docker-shell:
|
docker-shell:
|
||||||
docker-compose -f docker-compose-dev.yml exec fittrackee docker/shell.sh
|
docker-compose -f docker-compose-dev.yml exec fittrackee docker/shell.sh
|
||||||
|
|
||||||
@ -85,15 +88,10 @@ html:
|
|||||||
install-db:
|
install-db:
|
||||||
psql -U postgres -f db/create.sql
|
psql -U postgres -f db/create.sql
|
||||||
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
||||||
$(FLASK) init-data
|
|
||||||
|
|
||||||
init-app-config:
|
|
||||||
$(FLASK) init-app-config
|
|
||||||
|
|
||||||
init-db:
|
init-db:
|
||||||
$(FLASK) drop-db
|
$(FLASK) drop-db
|
||||||
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
$(FLASK) db upgrade --directory $(MIGRATIONS)
|
||||||
$(FLASK) init-data
|
|
||||||
|
|
||||||
install: install-client install-python
|
install: install-client install-python
|
||||||
|
|
||||||
@ -133,9 +131,6 @@ mail:
|
|||||||
migrate-db:
|
migrate-db:
|
||||||
$(FLASK) db migrate --directory $(MIGRATIONS)
|
$(FLASK) db migrate --directory $(MIGRATIONS)
|
||||||
|
|
||||||
recalculate:
|
|
||||||
$(FLASK) recalculate
|
|
||||||
|
|
||||||
revision:
|
revision:
|
||||||
$(FLASK) db revision --directory $(MIGRATIONS) --message $(MIGRATION_MESSAGE)
|
$(FLASK) db revision --directory $(MIGRATIONS) --message $(MIGRATION_MESSAGE)
|
||||||
|
|
||||||
@ -166,6 +161,9 @@ serve-python-dev:
|
|||||||
echo 'Running on https://$(HOST):$(PORT)'
|
echo 'Running on https://$(HOST):$(PORT)'
|
||||||
$(FLASK) run --with-threads -h $(HOST) -p $(PORT) --cert=adhoc
|
$(FLASK) run --with-threads -h $(HOST) -p $(PORT) --cert=adhoc
|
||||||
|
|
||||||
|
set-admin:
|
||||||
|
$(FLASK) users set-admin $(USERNAME)
|
||||||
|
|
||||||
test-e2e: init-db
|
test-e2e: init-db
|
||||||
$(PYTEST) e2e --driver firefox $(PYTEST_ARGS)
|
$(PYTEST) e2e --driver firefox $(PYTEST_ARGS)
|
||||||
|
|
||||||
|
@ -6,4 +6,3 @@ source .env.docker
|
|||||||
|
|
||||||
flask drop-db
|
flask drop-db
|
||||||
flask db upgrade --directory fittrackee/migrations
|
flask db upgrade --directory fittrackee/migrations
|
||||||
flask init-data
|
|
7
docker/set-admin.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
cd /usr/src/app
|
||||||
|
|
||||||
|
source .env.docker
|
||||||
|
|
||||||
|
flask users set-admin $1
|
@ -1,4 +1,4 @@
|
|||||||
# Sphinx build info version 1
|
# Sphinx build info version 1
|
||||||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
|
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
|
||||||
config: 07e52347d325bc590b4a2ded72b46e83
|
config: 1e2841616c48de88a07f12a07138022e
|
||||||
tags: 645f666f9bcd5a90fca523b33c5a78b7
|
tags: 645f666f9bcd5a90fca523b33c5a78b7
|
||||||
|
Before Width: | Height: | Size: 537 KiB After Width: | Height: | Size: 537 KiB |
Before Width: | Height: | Size: 370 KiB After Width: | Height: | Size: 370 KiB |
Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 203 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
@ -1,5 +1,42 @@
|
|||||||
# Change log
|
# Change log
|
||||||
|
|
||||||
|
## Version 0.5.7 (2022/02/13)
|
||||||
|
|
||||||
|
This release contains several fixes including security fixes.
|
||||||
|
Thanks to @DanielSiersleben for the report.
|
||||||
|
|
||||||
|
And from now on, admin account is not created on application initialization.
|
||||||
|
A new command is added to set administration rights on the account created after registration
|
||||||
|
(see [documentation](https://samr1.github.io/FitTrackee/installation.html#upgrade))
|
||||||
|
|
||||||
|
### Issues Closed
|
||||||
|
|
||||||
|
#### Misc
|
||||||
|
|
||||||
|
* [#149](https://github.com/SamR1/FitTrackee/issues/149) - improve database initialisation
|
||||||
|
|
||||||
|
### Pull Requests
|
||||||
|
|
||||||
|
#### Security
|
||||||
|
|
||||||
|
* [#152](https://github.com/SamR1/FitTrackee/pull/152) - Fixes and improvements:
|
||||||
|
- set autoescape on jinja templates
|
||||||
|
|
||||||
|
* [#151](https://github.com/SamR1/FitTrackee/pull/151) - fix security issues:
|
||||||
|
- sanitize input when serving images
|
||||||
|
- sanitize inputs when serving map tiles
|
||||||
|
- allow only alphanumeric characters and '_' in username
|
||||||
|
|
||||||
|
#### Misc
|
||||||
|
|
||||||
|
* [#152](https://github.com/SamR1/FitTrackee/pull/152) - Fixes and improvements:
|
||||||
|
- fix dramatiq warning when launching workers w/ script entrypoint
|
||||||
|
- check app config before dropping database, to avoid deleting data on production
|
||||||
|
- remove dotenv warning
|
||||||
|
|
||||||
|
In this release 1 issue was closed.
|
||||||
|
|
||||||
|
|
||||||
## Version 0.5.6 (2022/02/05)
|
## Version 0.5.6 (2022/02/05)
|
||||||
|
|
||||||
### Issues Closed
|
### Issues Closed
|
||||||
|
@ -269,19 +269,12 @@ For instance, copy and update ``.env`` file from ``.env.example`` and source the
|
|||||||
$ nano .env
|
$ nano .env
|
||||||
$ source .env
|
$ source .env
|
||||||
|
|
||||||
|
- Initialize database schema
|
||||||
- Upgrade database schema
|
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ fittrackee_upgrade_db
|
$ fittrackee_upgrade_db
|
||||||
|
|
||||||
- Initialize database
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
$ fittrackee_init_data
|
|
||||||
|
|
||||||
- Start the application
|
- Start the application
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
@ -297,6 +290,14 @@ For instance, copy and update ``.env`` file from ``.env.example`` and source the
|
|||||||
.. note::
|
.. note::
|
||||||
| To start application and workers with **systemd** service, see `Deployment <installation.html#deployment>`__
|
| To start application and workers with **systemd** service, see `Deployment <installation.html#deployment>`__
|
||||||
|
|
||||||
|
- Open http://localhost:3000 and register
|
||||||
|
|
||||||
|
- To set admin rights to the newly created account, use the following command:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
$ fittrackee_set_admin <username>
|
||||||
|
|
||||||
|
|
||||||
From sources
|
From sources
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
@ -349,8 +350,13 @@ Dev environment
|
|||||||
|
|
||||||
$ make run-workers
|
$ make run-workers
|
||||||
|
|
||||||
Open http://localhost:3000 and log in (the email is ``admin@example.com``
|
- Open http://localhost:3000 and register
|
||||||
and the password ``mpwoadmin``) or register
|
|
||||||
|
- To set admin rights to the newly created account, use the following command:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
$ make set-admin USERNAME=<username>
|
||||||
|
|
||||||
|
|
||||||
Production environment
|
Production environment
|
||||||
@ -359,13 +365,13 @@ Production environment
|
|||||||
.. warning::
|
.. warning::
|
||||||
| Note that FitTrackee is under heavy development, some features may be unstable.
|
| Note that FitTrackee is under heavy development, some features may be unstable.
|
||||||
|
|
||||||
- Download the last release (for now, it is the release v0.5.6):
|
- Download the last release (for now, it is the release v0.5.7):
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.6.tar.gz
|
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.7.tar.gz
|
||||||
$ tar -xzf v0.5.6.tar.gz
|
$ tar -xzf v0.5.7.tar.gz
|
||||||
$ mv FitTrackee-0.5.6 FitTrackee
|
$ mv FitTrackee-0.5.7 FitTrackee
|
||||||
$ cd FitTrackee
|
$ cd FitTrackee
|
||||||
|
|
||||||
- Create **.env** from example and update it
|
- Create **.env** from example and update it
|
||||||
@ -390,9 +396,13 @@ Production environment
|
|||||||
|
|
||||||
$ make run
|
$ make run
|
||||||
|
|
||||||
Open http://localhost:5000, log in as admin (the email is
|
- Open http://localhost:5000 and register
|
||||||
``admin@example.com`` and the password ``mpwoadmin``) and change the
|
|
||||||
password
|
- To set admin rights to the newly created account, use the following command:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
$ make set-admin USERNAME=<username>
|
||||||
|
|
||||||
|
|
||||||
Upgrade
|
Upgrade
|
||||||
@ -477,13 +487,13 @@ Prod environment
|
|||||||
|
|
||||||
- Change to the directory where FitTrackee directory is located
|
- Change to the directory where FitTrackee directory is located
|
||||||
|
|
||||||
- Download the last release (for now, it is the release v0.5.6) and overwrite existing files:
|
- Download the last release (for now, it is the release v0.5.7) and overwrite existing files:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.6.tar.gz
|
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.7.tar.gz
|
||||||
$ tar -xzf v0.5.6.tar.gz
|
$ tar -xzf v0.5.7.tar.gz
|
||||||
$ cp -R FitTrackee-0.5.6/* FitTrackee/
|
$ cp -R FitTrackee-0.5.7/* FitTrackee/
|
||||||
$ cd FitTrackee
|
$ cd FitTrackee
|
||||||
|
|
||||||
- Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
|
- Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
|
||||||
@ -642,10 +652,16 @@ installing **FitTrackee** from **sources**.
|
|||||||
$ cd FitTrackee
|
$ cd FitTrackee
|
||||||
$ make docker-build docker-run docker-init
|
$ make docker-build docker-run docker-init
|
||||||
|
|
||||||
Open http://localhost:5000, log in as admin (the email is `admin@example.com` and the password `mpwoadmin`) or register.
|
Open http://localhost:5000 and register.
|
||||||
|
|
||||||
Open http://localhost:8025 to access `MailHog interface <https://github.com/mailhog/MailHog>`_ (email testing tool)
|
Open http://localhost:8025 to access `MailHog interface <https://github.com/mailhog/MailHog>`_ (email testing tool)
|
||||||
|
|
||||||
|
- To set admin rights to the newly created account, use the following command:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
$ make docker-set-admin USERNAME=<username>
|
||||||
|
|
||||||
- To stop **Fittrackee**:
|
- To stop **Fittrackee**:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
@ -683,8 +699,7 @@ Development
|
|||||||
|
|
||||||
$ make docker-serve-client
|
$ make docker-serve-client
|
||||||
|
|
||||||
Open http://localhost:3000 and log in (the email is ``admin@example.com``
|
Open http://localhost:3000
|
||||||
and the password ``mpwoadmin``) or register
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Some environment variables need to be updated like `UI_URL`
|
Some environment variables need to be updated like `UI_URL`
|
2
docs/_static/documentation_options.js
vendored
@ -1,6 +1,6 @@
|
|||||||
var DOCUMENTATION_OPTIONS = {
|
var DOCUMENTATION_OPTIONS = {
|
||||||
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
|
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
|
||||||
VERSION: '0.5.6',
|
VERSION: '0.5.7',
|
||||||
LANGUAGE: 'None',
|
LANGUAGE: 'None',
|
||||||
COLLAPSE_INDEX: false,
|
COLLAPSE_INDEX: false,
|
||||||
BUILDER: 'html',
|
BUILDER: 'html',
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Authentication — FitTrackee 0.5.6
|
<title>Authentication — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Configuration — FitTrackee 0.5.6
|
<title>Configuration — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -148,7 +148,7 @@
|
|||||||
<span class="w"> </span><span class="nt">"max_zip_file_size"</span><span class="p">:</span><span class="w"> </span><span class="mi">10485760</span><span class="p">,</span><span class="w"></span>
|
<span class="w"> </span><span class="nt">"max_zip_file_size"</span><span class="p">:</span><span class="w"> </span><span class="mi">10485760</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="w"> </span><span class="nt">"max_users"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w"></span>
|
<span class="w"> </span><span class="nt">"max_users"</span><span class="p">:</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w"></span>
|
||||||
<span class="w"> </span><span class="nt">"map_attribution"</span><span class="p">:</span><span class="w"> </span><span class="nt">"&copy; <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors"</span><span class="w"></span>
|
<span class="w"> </span><span class="nt">"map_attribution"</span><span class="p">:</span><span class="w"> </span><span class="nt">"&copy; <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors"</span><span class="w"></span>
|
||||||
<span class="w"> </span><span class="nt">"version"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0.5.6"</span><span class="w"></span>
|
<span class="w"> </span><span class="nt">"version"</span><span class="p">:</span><span class="w"> </span><span class="s2">"0.5.7"</span><span class="w"></span>
|
||||||
<span class="w"> </span><span class="p">},</span><span class="w"></span>
|
<span class="w"> </span><span class="p">},</span><span class="w"></span>
|
||||||
<span class="w"> </span><span class="nt">"status"</span><span class="p">:</span><span class="w"> </span><span class="s2">"success"</span><span class="w"></span>
|
<span class="w"> </span><span class="nt">"status"</span><span class="p">:</span><span class="w"> </span><span class="s2">"success"</span><span class="w"></span>
|
||||||
<span class="p">}</span><span class="w"></span>
|
<span class="p">}</span><span class="w"></span>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>API documentation — FitTrackee 0.5.6
|
<title>API documentation — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Records — FitTrackee 0.5.6
|
<title>Records — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Sports — FitTrackee 0.5.6
|
<title>Sports — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Statistics — FitTrackee 0.5.6
|
<title>Statistics — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Users — FitTrackee 0.5.6
|
<title>Users — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Workouts — FitTrackee 0.5.6
|
<title>Workouts — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Change log — FitTrackee 0.5.6
|
<title>Change log — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
||||||
@ -39,7 +39,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="index.html">
|
<a class="navbar-brand" href="index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -77,192 +77,204 @@
|
|||||||
role="menu"
|
role="menu"
|
||||||
aria-labelledby="dLabelLocalToc"><ul>
|
aria-labelledby="dLabelLocalToc"><ul>
|
||||||
<li><a class="reference internal" href="#">Change log</a><ul>
|
<li><a class="reference internal" href="#">Change log</a><ul>
|
||||||
<li><a class="reference internal" href="#version-0-5-6-2022-02-05">Version 0.5.6 (2022/02/05)</a><ul>
|
<li><a class="reference internal" href="#version-0-5-7-2022-02-13">Version 0.5.7 (2022/02/13)</a><ul>
|
||||||
<li><a class="reference internal" href="#issues-closed">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#issues-closed">Issues Closed</a><ul>
|
||||||
|
<li><a class="reference internal" href="#misc">Misc</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a class="reference internal" href="#pull-requests">Pull Requests</a><ul>
|
||||||
|
<li><a class="reference internal" href="#security">Security</a></li>
|
||||||
|
<li><a class="reference internal" href="#id1">Misc</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a class="reference internal" href="#version-0-5-6-2022-02-05">Version 0.5.6 (2022/02/05)</a><ul>
|
||||||
|
<li><a class="reference internal" href="#id2">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#bugs-fixed">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#bugs-fixed">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#pull-requests">Pull Requests</a></li>
|
<li><a class="reference internal" href="#id3">Pull Requests</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-5-5-2022-01-19">Version 0.5.5 (2022/01/19)</a><ul>
|
<li><a class="reference internal" href="#version-0-5-5-2022-01-19">Version 0.5.5 (2022/01/19)</a><ul>
|
||||||
<li><a class="reference internal" href="#id1">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id4">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#new-features">New Features</a></li>
|
<li><a class="reference internal" href="#new-features">New Features</a></li>
|
||||||
<li><a class="reference internal" href="#id2">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id5">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-5-4-2022-01-01">Version 0.5.4 (2022/01/01)</a><ul>
|
<li><a class="reference internal" href="#version-0-5-4-2022-01-01">Version 0.5.4 (2022/01/01)</a><ul>
|
||||||
<li><a class="reference internal" href="#id3">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id6">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id4">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id7">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-5-3-2022-01-01">Version 0.5.3 (2022/01/01)</a><ul>
|
<li><a class="reference internal" href="#version-0-5-3-2022-01-01">Version 0.5.3 (2022/01/01)</a><ul>
|
||||||
<li><a class="reference internal" href="#id5">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id8">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id6">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id9">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-5-2-2021-12-19">Version 0.5.2 (2021/12/19)</a><ul>
|
<li><a class="reference internal" href="#version-0-5-2-2021-12-19">Version 0.5.2 (2021/12/19)</a><ul>
|
||||||
<li><a class="reference internal" href="#id7">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id10">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id8">New Features</a></li>
|
<li><a class="reference internal" href="#id11">New Features</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-5-1-2021-11-30">Version 0.5.1 (2021/11/30)</a><ul>
|
<li><a class="reference internal" href="#version-0-5-1-2021-11-30">Version 0.5.1 (2021/11/30)</a><ul>
|
||||||
<li><a class="reference internal" href="#id9">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id12">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id10">New Features</a></li>
|
<li><a class="reference internal" href="#id13">New Features</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-5-0-2021-11-14">Version 0.5.0 (2021/11/14)</a><ul>
|
<li><a class="reference internal" href="#version-0-5-0-2021-11-14">Version 0.5.0 (2021/11/14)</a><ul>
|
||||||
<li><a class="reference internal" href="#id11">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id14">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id12">New Features</a></li>
|
<li><a class="reference internal" href="#id15">New Features</a></li>
|
||||||
<li><a class="reference internal" href="#id13">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id16">Bugs Fixed</a></li>
|
||||||
<li><a class="reference internal" href="#misc">Misc</a></li>
|
<li><a class="reference internal" href="#id17">Misc</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#id14">Pull Requests</a></li>
|
<li><a class="reference internal" href="#id18">Pull Requests</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-4-9-2021-07-16">Version 0.4.9 (2021/07/16)</a><ul>
|
<li><a class="reference internal" href="#version-0-4-9-2021-07-16">Version 0.4.9 (2021/07/16)</a><ul>
|
||||||
<li><a class="reference internal" href="#id15">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id19">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id16">New Features</a></li>
|
<li><a class="reference internal" href="#id20">New Features</a></li>
|
||||||
<li><a class="reference internal" href="#id17">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id21">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-4-8-2021-07-03">Version 0.4.8 (2021/07/03)</a><ul>
|
<li><a class="reference internal" href="#version-0-4-8-2021-07-03">Version 0.4.8 (2021/07/03)</a><ul>
|
||||||
<li><a class="reference internal" href="#id18">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id22">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id19">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id23">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-4-7-2021-04-07">Version 0.4.7 (2021/04/07)</a><ul>
|
<li><a class="reference internal" href="#version-0-4-7-2021-04-07">Version 0.4.7 (2021/04/07)</a><ul>
|
||||||
<li><a class="reference internal" href="#id20">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id24">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id21">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id25">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#id22">Misc</a></li>
|
<li><a class="reference internal" href="#id26">Misc</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-4-6-2021-02-21">Version 0.4.6 (2021/02/21)</a><ul>
|
<li><a class="reference internal" href="#version-0-4-6-2021-02-21">Version 0.4.6 (2021/02/21)</a><ul>
|
||||||
<li><a class="reference internal" href="#id23">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id27">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id24">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id28">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-4-5-2021-02-17">Version 0.4.5 (2021/02/17)</a><ul>
|
<li><a class="reference internal" href="#version-0-4-5-2021-02-17">Version 0.4.5 (2021/02/17)</a><ul>
|
||||||
<li><a class="reference internal" href="#id25">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id29">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id26">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id30">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-4-4-2021-01-31">Version 0.4.4 (2021/01/31)</a><ul>
|
<li><a class="reference internal" href="#version-0-4-4-2021-01-31">Version 0.4.4 (2021/01/31)</a><ul>
|
||||||
<li><a class="reference internal" href="#id27">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id31">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id28">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id32">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#id29">Misc</a></li>
|
<li><a class="reference internal" href="#id33">Misc</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-4-3-2021-01-10">Version 0.4.3 (2021/01/10)</a><ul>
|
<li><a class="reference internal" href="#version-0-4-3-2021-01-10">Version 0.4.3 (2021/01/10)</a><ul>
|
||||||
<li><a class="reference internal" href="#id30">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id34">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id31">New Features</a></li>
|
<li><a class="reference internal" href="#id35">New Features</a></li>
|
||||||
<li><a class="reference internal" href="#id32">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id36">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-4-2-2021-01-03">Version 0.4.2 (2021/01/03)</a><ul>
|
<li><a class="reference internal" href="#version-0-4-2-2021-01-03">Version 0.4.2 (2021/01/03)</a><ul>
|
||||||
<li><a class="reference internal" href="#id33">Misc</a></li>
|
<li><a class="reference internal" href="#id37">Misc</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-4-1-2020-12-31">Version 0.4.1 (2020/12/31)</a><ul>
|
<li><a class="reference internal" href="#version-0-4-1-2020-12-31">Version 0.4.1 (2020/12/31)</a><ul>
|
||||||
<li><a class="reference internal" href="#id34">Issues Closed</a><ul>
|
|
||||||
<li><a class="reference internal" href="#id35">New Features</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a class="reference internal" href="#version-0-4-0-fittrackee-on-pypi-2020-09-19">Version 0.4.0 - FitTrackee on PyPI (2020/09/19)</a><ul>
|
|
||||||
<li><a class="reference internal" href="#id36">Issues Closed</a><ul>
|
|
||||||
<li><a class="reference internal" href="#id37">New Features</a></li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li><a class="reference internal" href="#version-0-3-0-administration-2020-07-15">Version 0.3.0 - Administration (2020/07/15)</a><ul>
|
|
||||||
<li><a class="reference internal" href="#id38">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id38">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id39">New Features</a></li>
|
<li><a class="reference internal" href="#id39">New Features</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
<li><a class="reference internal" href="#version-0-4-0-fittrackee-on-pypi-2020-09-19">Version 0.4.0 - FitTrackee on PyPI (2020/09/19)</a><ul>
|
||||||
|
<li><a class="reference internal" href="#id40">Issues Closed</a><ul>
|
||||||
|
<li><a class="reference internal" href="#id41">New Features</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a class="reference internal" href="#version-0-3-0-administration-2020-07-15">Version 0.3.0 - Administration (2020/07/15)</a><ul>
|
||||||
|
<li><a class="reference internal" href="#id42">Issues Closed</a><ul>
|
||||||
|
<li><a class="reference internal" href="#id43">New Features</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-2-5-fix-and-improvements-2020-01-31">Version 0.2.5 - Fix and improvements (2020/01/31)</a><ul>
|
<li><a class="reference internal" href="#version-0-2-5-fix-and-improvements-2020-01-31">Version 0.2.5 - Fix and improvements (2020/01/31)</a><ul>
|
||||||
<li><a class="reference internal" href="#id40">Misc</a></li>
|
<li><a class="reference internal" href="#id44">Misc</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-2-4-minor-fix-2020-01-30">Version 0.2.4 - Minor fix (2020/01/30)</a><ul>
|
<li><a class="reference internal" href="#version-0-2-4-minor-fix-2020-01-30">Version 0.2.4 - Minor fix (2020/01/30)</a><ul>
|
||||||
<li><a class="reference internal" href="#id41">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id45">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id42">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id46">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-2-3-fittrackee-available-in-french-2019-12-29">Version 0.2.3 - FitTrackee available in French (2019/12/29)</a><ul>
|
<li><a class="reference internal" href="#version-0-2-3-fittrackee-available-in-french-2019-12-29">Version 0.2.3 - FitTrackee available in French (2019/12/29)</a><ul>
|
||||||
<li><a class="reference internal" href="#id43">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id47">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id44">New Features</a></li>
|
<li><a class="reference internal" href="#id48">New Features</a></li>
|
||||||
<li><a class="reference internal" href="#id45">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id49">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-2-2-statistics-fix-2019-09-23">Version 0.2.2 - Statistics fix (2019/09/23)</a><ul>
|
<li><a class="reference internal" href="#version-0-2-2-statistics-fix-2019-09-23">Version 0.2.2 - Statistics fix (2019/09/23)</a><ul>
|
||||||
<li><a class="reference internal" href="#id46">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id50">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id47">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id51">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-2-1-fix-and-improvements-2019-09-01">Version 0.2.1 - Fix and improvements (2019/09/01)</a><ul>
|
<li><a class="reference internal" href="#version-0-2-1-fix-and-improvements-2019-09-01">Version 0.2.1 - Fix and improvements (2019/09/01)</a><ul>
|
||||||
<li><a class="reference internal" href="#id48">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id52">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id49">New Features</a></li>
|
<li><a class="reference internal" href="#id53">New Features</a></li>
|
||||||
<li><a class="reference internal" href="#id50">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id54">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#id51">Misc</a></li>
|
<li><a class="reference internal" href="#id55">Misc</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-2-0-statistics-2019-07-07">Version 0.2.0 - Statistics (2019/07/07)</a><ul>
|
<li><a class="reference internal" href="#version-0-2-0-statistics-2019-07-07">Version 0.2.0 - Statistics (2019/07/07)</a><ul>
|
||||||
<li><a class="reference internal" href="#id52">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id56">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id53">New Features</a></li>
|
<li><a class="reference internal" href="#id57">New Features</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#id54">Misc</a></li>
|
<li><a class="reference internal" href="#id58">Misc</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-1-1-fix-and-improvements-2019-02-07">Version 0.1.1 - Fix and improvements (2019/02/07)</a><ul>
|
<li><a class="reference internal" href="#version-0-1-1-fix-and-improvements-2019-02-07">Version 0.1.1 - Fix and improvements (2019/02/07)</a><ul>
|
||||||
<li><a class="reference internal" href="#id55">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id59">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id56">New Features</a></li>
|
<li><a class="reference internal" href="#id60">New Features</a></li>
|
||||||
<li><a class="reference internal" href="#id57">Bugs Fixed</a></li>
|
<li><a class="reference internal" href="#id61">Bugs Fixed</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="reference internal" href="#version-0-1-0-first-release-2018-07-04">Version 0.1.0 - First release 🎉 (2018-07-04)</a><ul>
|
<li><a class="reference internal" href="#version-0-1-0-first-release-2018-07-04">Version 0.1.0 - First release 🎉 (2018-07-04)</a><ul>
|
||||||
<li><a class="reference internal" href="#id58">Issues Closed</a><ul>
|
<li><a class="reference internal" href="#id62">Issues Closed</a><ul>
|
||||||
<li><a class="reference internal" href="#id59">New Features</a></li>
|
<li><a class="reference internal" href="#id63">New Features</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -314,10 +326,58 @@
|
|||||||
|
|
||||||
<section id="change-log">
|
<section id="change-log">
|
||||||
<h1>Change log<a class="headerlink" href="#change-log" title="Permalink to this headline">¶</a></h1>
|
<h1>Change log<a class="headerlink" href="#change-log" title="Permalink to this headline">¶</a></h1>
|
||||||
<section id="version-0-5-6-2022-02-05">
|
<section id="version-0-5-7-2022-02-13">
|
||||||
<h2>Version 0.5.6 (2022/02/05)<a class="headerlink" href="#version-0-5-6-2022-02-05" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.5.7 (2022/02/13)<a class="headerlink" href="#version-0-5-7-2022-02-13" title="Permalink to this headline">¶</a></h2>
|
||||||
|
<p>This release contains several fixes including security fixes.<br />Thanks to @DanielSiersleben for the report.</p>
|
||||||
|
<p>And from now on, admin account is not created on application initialization.<br />A new command is added to set administration rights on the account created after registration
|
||||||
|
(see <a class="reference external" href="https://samr1.github.io/FitTrackee/installation.html#upgrade">documentation</a>)</p>
|
||||||
<section id="issues-closed">
|
<section id="issues-closed">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#issues-closed" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#issues-closed" title="Permalink to this headline">¶</a></h3>
|
||||||
|
<section id="misc">
|
||||||
|
<h4>Misc<a class="headerlink" href="#misc" title="Permalink to this headline">¶</a></h4>
|
||||||
|
<ul class="simple">
|
||||||
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/149">#149</a> - improve database initialisation</p></li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section id="pull-requests">
|
||||||
|
<h3>Pull Requests<a class="headerlink" href="#pull-requests" title="Permalink to this headline">¶</a></h3>
|
||||||
|
<section id="security">
|
||||||
|
<h4>Security<a class="headerlink" href="#security" title="Permalink to this headline">¶</a></h4>
|
||||||
|
<ul class="simple">
|
||||||
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/pull/152">#152</a> - Fixes and improvements:</p>
|
||||||
|
<ul>
|
||||||
|
<li><p>set autoescape on jinja templates</p></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/pull/151">#151</a> - fix security issues:</p>
|
||||||
|
<ul>
|
||||||
|
<li><p>sanitize input when serving images</p></li>
|
||||||
|
<li><p>sanitize inputs when serving map tiles</p></li>
|
||||||
|
<li><p>allow only alphanumeric characters and ‘_’ in username</p></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
<section id="id1">
|
||||||
|
<h4>Misc<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h4>
|
||||||
|
<ul class="simple">
|
||||||
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/pull/152">#152</a> - Fixes and improvements:</p>
|
||||||
|
<ul>
|
||||||
|
<li><p>fix dramatiq warning when launching workers w/ script entrypoint</p></li>
|
||||||
|
<li><p>check app config before dropping database, to avoid deleting data on production</p></li>
|
||||||
|
<li><p>remove dotenv warning</p></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p>In this release 1 issue was closed.</p>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
|
<section id="version-0-5-6-2022-02-05">
|
||||||
|
<h2>Version 0.5.6 (2022/02/05)<a class="headerlink" href="#version-0-5-6-2022-02-05" title="Permalink to this headline">¶</a></h2>
|
||||||
|
<section id="id2">
|
||||||
|
<h3>Issues Closed<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="bugs-fixed">
|
<section id="bugs-fixed">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#bugs-fixed" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#bugs-fixed" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
@ -325,8 +385,8 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section id="pull-requests">
|
<section id="id3">
|
||||||
<h3>Pull Requests<a class="headerlink" href="#pull-requests" title="Permalink to this headline">¶</a></h3>
|
<h3>Pull Requests<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/pull/145">#145</a> - fix on database models</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/pull/145">#145</a> - fix on database models</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -335,8 +395,8 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-5-5-2022-01-19">
|
<section id="version-0-5-5-2022-01-19">
|
||||||
<h2>Version 0.5.5 (2022/01/19)<a class="headerlink" href="#version-0-5-5-2022-01-19" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.5.5 (2022/01/19)<a class="headerlink" href="#version-0-5-5-2022-01-19" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id1">
|
<section id="id4">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="new-features">
|
<section id="new-features">
|
||||||
<h4>New Features<a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
@ -346,8 +406,8 @@
|
|||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/134">#134</a> - Wind direction</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/134">#134</a> - Wind direction</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="id2">
|
<section id="id5">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/commit/877fa0faaabc0130402638905fe04f84563eb278">877fa0f</a> - fix sport icon color (when changed) on calendar on small resolutions</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/commit/877fa0faaabc0130402638905fe04f84563eb278">877fa0f</a> - fix sport icon color (when changed) on calendar on small resolutions</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -357,10 +417,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-5-4-2022-01-01">
|
<section id="version-0-5-4-2022-01-01">
|
||||||
<h2>Version 0.5.4 (2022/01/01)<a class="headerlink" href="#version-0-5-4-2022-01-01" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.5.4 (2022/01/01)<a class="headerlink" href="#version-0-5-4-2022-01-01" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id3">
|
<section id="id6">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id4">
|
<section id="id7">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/131">#131</a> - No workouts displayed on calendar</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/131">#131</a> - No workouts displayed on calendar</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -370,10 +430,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-5-3-2022-01-01">
|
<section id="version-0-5-3-2022-01-01">
|
||||||
<h2>Version 0.5.3 (2022/01/01)<a class="headerlink" href="#version-0-5-3-2022-01-01" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.5.3 (2022/01/01)<a class="headerlink" href="#version-0-5-3-2022-01-01" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id5">
|
<section id="id8">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id6">
|
<section id="id9">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/129">#129</a> - Display only active sports when editing a workout</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/129">#129</a> - Display only active sports when editing a workout</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/127">#127</a> - parse_email_url() can’t validate a legitimate EMAIL_URI such as “smtp://localhost:25”</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/127">#127</a> - parse_email_url() can’t validate a legitimate EMAIL_URI such as “smtp://localhost:25”</p></li>
|
||||||
@ -384,10 +444,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-5-2-2021-12-19">
|
<section id="version-0-5-2-2021-12-19">
|
||||||
<h2>Version 0.5.2 (2021/12/19)<a class="headerlink" href="#version-0-5-2-2021-12-19" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.5.2 (2021/12/19)<a class="headerlink" href="#version-0-5-2-2021-12-19" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id7">
|
<section id="id10">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id8">
|
<section id="id11">
|
||||||
<h4>New Features<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/123">#123</a> - Allow user to reset preferences for a sport</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/123">#123</a> - Allow user to reset preferences for a sport</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/121">#121</a> - Add activity : snowshoes</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/121">#121</a> - Add activity : snowshoes</p></li>
|
||||||
@ -398,10 +458,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-5-1-2021-11-30">
|
<section id="version-0-5-1-2021-11-30">
|
||||||
<h2>Version 0.5.1 (2021/11/30)<a class="headerlink" href="#version-0-5-1-2021-11-30" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.5.1 (2021/11/30)<a class="headerlink" href="#version-0-5-1-2021-11-30" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id9">
|
<section id="id12">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id10">
|
<section id="id13">
|
||||||
<h4>New Features<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/116">#116</a> - Better UI for Speed and Elevation buttons in the graph of the Workout screen</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/116">#116</a> - Better UI for Speed and Elevation buttons in the graph of the Workout screen</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/115">#115</a> - Add option to download the GPX file of a Workout</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/115">#115</a> - Add option to download the GPX file of a Workout</p></li>
|
||||||
@ -413,10 +473,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-5-0-2021-11-14">
|
<section id="version-0-5-0-2021-11-14">
|
||||||
<h2>Version 0.5.0 (2021/11/14)<a class="headerlink" href="#version-0-5-0-2021-11-14" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.5.0 (2021/11/14)<a class="headerlink" href="#version-0-5-0-2021-11-14" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id11">
|
<section id="id14">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id12">
|
<section id="id15">
|
||||||
<h4>New Features<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/99">#99</a> - Display workout with imperial units</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/99">#99</a> - Display workout with imperial units</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/91">#91</a> - Display elevation chart with min and max altitude of workout</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/91">#91</a> - Display elevation chart with min and max altitude of workout</p></li>
|
||||||
@ -424,21 +484,21 @@
|
|||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/18">#18</a> - Better UI</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/18">#18</a> - Better UI</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="id13">
|
<section id="id16">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/95">#95</a> - Some workouts seem to be missing on statistics chart</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/95">#95</a> - Some workouts seem to be missing on statistics chart</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="misc">
|
<section id="id17">
|
||||||
<h4>Misc<a class="headerlink" href="#misc" title="Permalink to this headline">¶</a></h4>
|
<h4>Misc<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/104">#104</a> - Switch to AGPLv3 license</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/104">#104</a> - Switch to AGPLv3 license</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section id="id14">
|
<section id="id18">
|
||||||
<h3>Pull Requests<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h3>
|
<h3>Pull Requests<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h3>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/pull/101">#101</a> - Docker updates for full files</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/pull/101">#101</a> - Docker updates for full files</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/pull/100">#100</a> - Add client application in docker for development</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/pull/100">#100</a> - Add client application in docker for development</p></li>
|
||||||
@ -455,17 +515,17 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-4-9-2021-07-16">
|
<section id="version-0-4-9-2021-07-16">
|
||||||
<h2>Version 0.4.9 (2021/07/16)<a class="headerlink" href="#version-0-4-9-2021-07-16" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.4.9 (2021/07/16)<a class="headerlink" href="#version-0-4-9-2021-07-16" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id15">
|
<section id="id19">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id16">
|
<section id="id20">
|
||||||
<h4>New Features<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id20" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/83">#83</a> - allow using configured tile server to generate static maps<br /><strong>Note</strong>: to keep using the default tile server, set environment variable <code class="docutils literal notranslate"><span class="pre">DEFAULT_STATICMAP</span></code> to <code class="docutils literal notranslate"><span class="pre">True</span></code></p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/83">#83</a> - allow using configured tile server to generate static maps<br /><strong>Note</strong>: to keep using the default tile server, set environment variable <code class="docutils literal notranslate"><span class="pre">DEFAULT_STATICMAP</span></code> to <code class="docutils literal notranslate"><span class="pre">True</span></code></p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/81">#81</a> - display remaining characters in textarea</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/81">#81</a> - display remaining characters in textarea</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="id17">
|
<section id="id21">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id21" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/82">#82</a> - a user can not modify his birth day</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/82">#82</a> - a user can not modify his birth day</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/80">#80</a> - can not save notes with control characters</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/80">#80</a> - can not save notes with control characters</p></li>
|
||||||
@ -476,10 +536,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-4-8-2021-07-03">
|
<section id="version-0-4-8-2021-07-03">
|
||||||
<h2>Version 0.4.8 (2021/07/03)<a class="headerlink" href="#version-0-4-8-2021-07-03" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.4.8 (2021/07/03)<a class="headerlink" href="#version-0-4-8-2021-07-03" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id18">
|
<section id="id22">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id22" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id19">
|
<section id="id23">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id23" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/79">#79</a> - Fails to start after make rebuild</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/79">#79</a> - Fails to start after make rebuild</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -489,17 +549,17 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-4-7-2021-04-07">
|
<section id="version-0-4-7-2021-04-07">
|
||||||
<h2>Version 0.4.7 (2021/04/07)<a class="headerlink" href="#version-0-4-7-2021-04-07" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.4.7 (2021/04/07)<a class="headerlink" href="#version-0-4-7-2021-04-07" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id20">
|
<section id="id24">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id20" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id24" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id21">
|
<section id="id25">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id21" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id25" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/75">#75</a> - Workouts on the same day are not displayed in right order</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/75">#75</a> - Workouts on the same day are not displayed in right order</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section id="id22">
|
<section id="id26">
|
||||||
<h3>Misc<a class="headerlink" href="#id22" title="Permalink to this headline">¶</a></h3>
|
<h3>Misc<a class="headerlink" href="#id26" title="Permalink to this headline">¶</a></h3>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Update Python and Javascript dependencies<br /><strong>IMPORTANT</strong>: Due to <a class="reference external" href="https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-3687655465c25a39b968b4f5f6e9170b">SQLAlchemy update (1.4+)</a>, engine URLs starting with <code class="docutils literal notranslate"><span class="pre">postgres://</span></code> are no longer supported. Please update <code class="docutils literal notranslate"><span class="pre">DATABASE_URL</span></code> with <code class="docutils literal notranslate"><span class="pre">postgresql://</span></code>.</p></li>
|
<li><p>Update Python and Javascript dependencies<br /><strong>IMPORTANT</strong>: Due to <a class="reference external" href="https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-3687655465c25a39b968b4f5f6e9170b">SQLAlchemy update (1.4+)</a>, engine URLs starting with <code class="docutils literal notranslate"><span class="pre">postgres://</span></code> are no longer supported. Please update <code class="docutils literal notranslate"><span class="pre">DATABASE_URL</span></code> with <code class="docutils literal notranslate"><span class="pre">postgresql://</span></code>.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -508,10 +568,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-4-6-2021-02-21">
|
<section id="version-0-4-6-2021-02-21">
|
||||||
<h2>Version 0.4.6 (2021/02/21)<a class="headerlink" href="#version-0-4-6-2021-02-21" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.4.6 (2021/02/21)<a class="headerlink" href="#version-0-4-6-2021-02-21" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id23">
|
<section id="id27">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id23" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id27" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id24">
|
<section id="id28">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id24" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id28" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/72">#72</a> - Error message when file exceeding size is incorrect</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/72">#72</a> - Error message when file exceeding size is incorrect</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/71">#71</a> - max size or max number of files must be greater than 0</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/71">#71</a> - max size or max number of files must be greater than 0</p></li>
|
||||||
@ -523,10 +583,10 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-4-5-2021-02-17">
|
<section id="version-0-4-5-2021-02-17">
|
||||||
<h2>Version 0.4.5 (2021/02/17)<a class="headerlink" href="#version-0-4-5-2021-02-17" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.4.5 (2021/02/17)<a class="headerlink" href="#version-0-4-5-2021-02-17" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id25">
|
<section id="id29">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id25" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id29" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id26">
|
<section id="id30">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id26" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id30" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/66">#66</a> - invalid gpx limit used when importing zip archive</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/66">#66</a> - invalid gpx limit used when importing zip archive</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/64">#64</a> - Only 50 workouts per month shown in calendar</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/64">#64</a> - Only 50 workouts per month shown in calendar</p></li>
|
||||||
@ -537,17 +597,17 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-4-4-2021-01-31">
|
<section id="version-0-4-4-2021-01-31">
|
||||||
<h2>Version 0.4.4 (2021/01/31)<a class="headerlink" href="#version-0-4-4-2021-01-31" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.4.4 (2021/01/31)<a class="headerlink" href="#version-0-4-4-2021-01-31" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id27">
|
<section id="id31">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id27" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id31" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id28">
|
<section id="id32">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id28" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id32" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/62">#62</a> - Error when sending reset password email</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/62">#62</a> - Error when sending reset password email</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section id="id29">
|
<section id="id33">
|
||||||
<h3>Misc<a class="headerlink" href="#id29" title="Permalink to this headline">¶</a></h3>
|
<h3>Misc<a class="headerlink" href="#id33" title="Permalink to this headline">¶</a></h3>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Refactoring before introducing new features.</p></li>
|
<li><p>Refactoring before introducing new features.</p></li>
|
||||||
<li><p>Add docker files for evaluation purposes.</p></li>
|
<li><p>Add docker files for evaluation purposes.</p></li>
|
||||||
@ -557,16 +617,16 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-4-3-2021-01-10">
|
<section id="version-0-4-3-2021-01-10">
|
||||||
<h2>Version 0.4.3 (2021/01/10)<a class="headerlink" href="#version-0-4-3-2021-01-10" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.4.3 (2021/01/10)<a class="headerlink" href="#version-0-4-3-2021-01-10" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id30">
|
<section id="id34">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id30" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id34" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id31">
|
<section id="id35">
|
||||||
<h4>New Features<a class="headerlink" href="#id31" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id35" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/58">#58</a> - Standardize terms used for workouts<br /><strong>Note:</strong> Database model, upload directory for workouts and API endpoints are also updated.</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/58">#58</a> - Standardize terms used for workouts<br /><strong>Note:</strong> Database model, upload directory for workouts and API endpoints are also updated.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="id32">
|
<section id="id36">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id32" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id36" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/59">#59</a> - No message displayed on uploading image error</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/59">#59</a> - No message displayed on uploading image error</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -576,18 +636,18 @@
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-4-2-2021-01-03">
|
<section id="version-0-4-2-2021-01-03">
|
||||||
<h2>Version 0.4.2 (2021/01/03)<a class="headerlink" href="#version-0-4-2-2021-01-03" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.4.2 (2021/01/03)<a class="headerlink" href="#version-0-4-2-2021-01-03" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id33">
|
<section id="id37">
|
||||||
<h3>Misc<a class="headerlink" href="#id33" title="Permalink to this headline">¶</a></h3>
|
<h3>Misc<a class="headerlink" href="#id37" title="Permalink to this headline">¶</a></h3>
|
||||||
<p>No new features in this release, only some refactorings before introducing
|
<p>No new features in this release, only some refactorings before introducing
|
||||||
new features.</p>
|
new features.</p>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section id="version-0-4-1-2020-12-31">
|
<section id="version-0-4-1-2020-12-31">
|
||||||
<h2>Version 0.4.1 (2020/12/31)<a class="headerlink" href="#version-0-4-1-2020-12-31" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.4.1 (2020/12/31)<a class="headerlink" href="#version-0-4-1-2020-12-31" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id34">
|
<section id="id38">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id34" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id38" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id35">
|
<section id="id39">
|
||||||
<h4>New Features<a class="headerlink" href="#id35" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id39" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/57">#57</a> - Use uuid for activities</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/57">#57</a> - Use uuid for activities</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -603,10 +663,10 @@ new features.</p>
|
|||||||
<li><p>It’s now possible to change the tile provider for maps. The default tile server is now <strong>OpenStreetMap</strong>’s standard tile layer (replacing <strong>ThunderForest Outdoors</strong>),
|
<li><p>It’s now possible to change the tile provider for maps. The default tile server is now <strong>OpenStreetMap</strong>’s standard tile layer (replacing <strong>ThunderForest Outdoors</strong>),
|
||||||
see <a class="reference external" href="https://samr1.github.io/FitTrackee/installation.html#map-tile-server">Map tile server in documentation</a>.</p></li>
|
see <a class="reference external" href="https://samr1.github.io/FitTrackee/installation.html#map-tile-server">Map tile server in documentation</a>.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<section id="id36">
|
<section id="id40">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id36" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id40" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id37">
|
<section id="id41">
|
||||||
<h4>New Features<a class="headerlink" href="#id37" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id41" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/54">#54</a> - Tile server can be changed</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/54">#54</a> - Tile server can be changed</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/53">#53</a> - Simplify FitTrackee installation</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/53">#53</a> - Simplify FitTrackee installation</p></li>
|
||||||
@ -622,10 +682,10 @@ see <a class="reference external" href="https://samr1.github.io/FitTrackee/insta
|
|||||||
<li><p>FitTrackee administration is now available (see <a class="reference external" href="https://samr1.github.io/FitTrackee/features.html#administration">documentation</a>)<br />⚠️ Warning: some application parameters move from environment variables to database (see <a class="reference external" href="https://samr1.github.io/FitTrackee/installation.html#environment-variables">installation</a>).</p></li>
|
<li><p>FitTrackee administration is now available (see <a class="reference external" href="https://samr1.github.io/FitTrackee/features.html#administration">documentation</a>)<br />⚠️ Warning: some application parameters move from environment variables to database (see <a class="reference external" href="https://samr1.github.io/FitTrackee/installation.html#environment-variables">installation</a>).</p></li>
|
||||||
<li><p>in order to send emails, Redis is now a mandatory dependency</p></li>
|
<li><p>in order to send emails, Redis is now a mandatory dependency</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<section id="id38">
|
<section id="id42">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id38" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id42" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id39">
|
<section id="id43">
|
||||||
<h4>New Features<a class="headerlink" href="#id39" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id43" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/50">#50</a> - A user can reset his password</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/50">#50</a> - A user can reset his password</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/17">#17</a> - A user can delete his account</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/17">#17</a> - A user can delete his account</p></li>
|
||||||
@ -637,8 +697,8 @@ see <a class="reference external" href="https://samr1.github.io/FitTrackee/insta
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-2-5-fix-and-improvements-2020-01-31">
|
<section id="version-0-2-5-fix-and-improvements-2020-01-31">
|
||||||
<h2>Version 0.2.5 - Fix and improvements (2020/01/31)<a class="headerlink" href="#version-0-2-5-fix-and-improvements-2020-01-31" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.2.5 - Fix and improvements (2020/01/31)<a class="headerlink" href="#version-0-2-5-fix-and-improvements-2020-01-31" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id40">
|
<section id="id44">
|
||||||
<h3>Misc<a class="headerlink" href="#id40" title="Permalink to this headline">¶</a></h3>
|
<h3>Misc<a class="headerlink" href="#id44" title="Permalink to this headline">¶</a></h3>
|
||||||
<p>This version contains minor fix and improvements on client side:</p>
|
<p>This version contains minor fix and improvements on client side:</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/commit/4c3fc343d51b9c27d3ebab71df648bcf7d7bae59">4c3fc34</a> - empty user data on logout</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/commit/4c3fc343d51b9c27d3ebab71df648bcf7d7bae59">4c3fc34</a> - empty user data on logout</p></li>
|
||||||
@ -651,10 +711,10 @@ add URL interceptors to simplify routes definition</p></li>
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-2-4-minor-fix-2020-01-30">
|
<section id="version-0-2-4-minor-fix-2020-01-30">
|
||||||
<h2>Version 0.2.4 - Minor fix (2020/01/30)<a class="headerlink" href="#version-0-2-4-minor-fix-2020-01-30" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.2.4 - Minor fix (2020/01/30)<a class="headerlink" href="#version-0-2-4-minor-fix-2020-01-30" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id41">
|
<section id="id45">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id41" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id45" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id42">
|
<section id="id46">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id42" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id46" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/47">#47</a> - timezone drop-down is not displayed correctly</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/47">#47</a> - timezone drop-down is not displayed correctly</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/46">#46</a> - calendar cannot display more than 5 or 6 activities on the same day</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/46">#46</a> - calendar cannot display more than 5 or 6 activities on the same day</p></li>
|
||||||
@ -665,17 +725,17 @@ add URL interceptors to simplify routes definition</p></li>
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-2-3-fittrackee-available-in-french-2019-12-29">
|
<section id="version-0-2-3-fittrackee-available-in-french-2019-12-29">
|
||||||
<h2>Version 0.2.3 - FitTrackee available in French (2019/12/29)<a class="headerlink" href="#version-0-2-3-fittrackee-available-in-french-2019-12-29" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.2.3 - FitTrackee available in French (2019/12/29)<a class="headerlink" href="#version-0-2-3-fittrackee-available-in-french-2019-12-29" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id43">
|
<section id="id47">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id43" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id47" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id44">
|
<section id="id48">
|
||||||
<h4>New Features<a class="headerlink" href="#id44" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id48" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/43">#43</a> - Display weekend days with a different background color on calendar</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/43">#43</a> - Display weekend days with a different background color on calendar</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/40">#40</a> - Localize FitTrackee (i18n)</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/40">#40</a> - Localize FitTrackee (i18n)</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="id45">
|
<section id="id49">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id45" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id49" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/44">#44</a> - Cannot edit an activity that does not have a gpx file</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/44">#44</a> - Cannot edit an activity that does not have a gpx file</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -685,10 +745,10 @@ add URL interceptors to simplify routes definition</p></li>
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-2-2-statistics-fix-2019-09-23">
|
<section id="version-0-2-2-statistics-fix-2019-09-23">
|
||||||
<h2>Version 0.2.2 - Statistics fix (2019/09/23)<a class="headerlink" href="#version-0-2-2-statistics-fix-2019-09-23" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.2.2 - Statistics fix (2019/09/23)<a class="headerlink" href="#version-0-2-2-statistics-fix-2019-09-23" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id46">
|
<section id="id50">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id46" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id50" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id47">
|
<section id="id51">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id47" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id51" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/41">#41</a> - User statistics are incorrect</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/41">#41</a> - User statistics are incorrect</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -698,10 +758,10 @@ add URL interceptors to simplify routes definition</p></li>
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-2-1-fix-and-improvements-2019-09-01">
|
<section id="version-0-2-1-fix-and-improvements-2019-09-01">
|
||||||
<h2>Version 0.2.1 - Fix and improvements (2019/09/01)<a class="headerlink" href="#version-0-2-1-fix-and-improvements-2019-09-01" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.2.1 - Fix and improvements (2019/09/01)<a class="headerlink" href="#version-0-2-1-fix-and-improvements-2019-09-01" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id48">
|
<section id="id52">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id48" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id52" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id49">
|
<section id="id53">
|
||||||
<h4>New Features<a class="headerlink" href="#id49" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id53" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/4">#4</a> - Show points on the map when mouse over the chart</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/4">#4</a> - Show points on the map when mouse over the chart</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/14">#14</a> - Display segments informations</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/14">#14</a> - Display segments informations</p></li>
|
||||||
@ -712,15 +772,15 @@ add URL interceptors to simplify routes definition</p></li>
|
|||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/37">#37</a> - Display map on activities list</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/37">#37</a> - Display map on activities list</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="id50">
|
<section id="id54">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id50" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id54" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/34">#34</a> - Weather is not displayed anymore</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/34">#34</a> - Weather is not displayed anymore</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section id="id51">
|
<section id="id55">
|
||||||
<h3>Misc<a class="headerlink" href="#id51" title="Permalink to this headline">¶</a></h3>
|
<h3>Misc<a class="headerlink" href="#id55" title="Permalink to this headline">¶</a></h3>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><strong><a class="reference external" href="https://poetry.eustace.io/">Poetry</a></strong> replaces <strong><a class="reference external" href="https://docs.pipenv.org">pipenv</a></strong> for Python packages management</p></li>
|
<li><p><strong><a class="reference external" href="https://poetry.eustace.io/">Poetry</a></strong> replaces <strong><a class="reference external" href="https://docs.pipenv.org">pipenv</a></strong> for Python packages management</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -729,17 +789,17 @@ add URL interceptors to simplify routes definition</p></li>
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-2-0-statistics-2019-07-07">
|
<section id="version-0-2-0-statistics-2019-07-07">
|
||||||
<h2>Version 0.2.0 - Statistics (2019/07/07)<a class="headerlink" href="#version-0-2-0-statistics-2019-07-07" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.2.0 - Statistics (2019/07/07)<a class="headerlink" href="#version-0-2-0-statistics-2019-07-07" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id52">
|
<section id="id56">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id52" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id56" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id53">
|
<section id="id57">
|
||||||
<h4>New Features<a class="headerlink" href="#id53" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id57" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/13">#13</a> - Detailed statistics</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/Fittrackee/issues/13">#13</a> - Detailed statistics</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
<section id="id54">
|
<section id="id58">
|
||||||
<h3>Misc<a class="headerlink" href="#id54" title="Permalink to this headline">¶</a></h3>
|
<h3>Misc<a class="headerlink" href="#id58" title="Permalink to this headline">¶</a></h3>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Update dependencies</p></li>
|
<li><p>Update dependencies</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -748,17 +808,17 @@ add URL interceptors to simplify routes definition</p></li>
|
|||||||
</section>
|
</section>
|
||||||
<section id="version-0-1-1-fix-and-improvements-2019-02-07">
|
<section id="version-0-1-1-fix-and-improvements-2019-02-07">
|
||||||
<h2>Version 0.1.1 - Fix and improvements (2019/02/07)<a class="headerlink" href="#version-0-1-1-fix-and-improvements-2019-02-07" title="Permalink to this headline">¶</a></h2>
|
<h2>Version 0.1.1 - Fix and improvements (2019/02/07)<a class="headerlink" href="#version-0-1-1-fix-and-improvements-2019-02-07" title="Permalink to this headline">¶</a></h2>
|
||||||
<section id="id55">
|
<section id="id59">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id55" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id59" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id56">
|
<section id="id60">
|
||||||
<h4>New Features<a class="headerlink" href="#id56" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id60" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/25">#25</a> - Display records on calendar</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/25">#25</a> - Display records on calendar</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/22">#22</a> - Add a total on current month statistics</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/22">#22</a> - Add a total on current month statistics</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section id="id57">
|
<section id="id61">
|
||||||
<h4>Bugs Fixed<a class="headerlink" href="#id57" title="Permalink to this headline">¶</a></h4>
|
<h4>Bugs Fixed<a class="headerlink" href="#id61" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/31">#31</a> - Use moving duration for stats</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/31">#31</a> - Use moving duration for stats</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/29">#29</a> - Pause duration calculation with segments</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/29">#29</a> - Pause duration calculation with segments</p></li>
|
||||||
@ -807,10 +867,10 @@ add URL interceptors to simplify routes definition</p></li>
|
|||||||
<li><p>no administration for now</p></li>
|
<li><p>no administration for now</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>➡️ more informations: see <a class="reference external" href="https://samr1.github.io/FitTrackee/">documentation</a> and <a class="reference external" href="https://github.com/SamR1/FitTrackee/issues">current issues</a></p>
|
<p>➡️ more informations: see <a class="reference external" href="https://samr1.github.io/FitTrackee/">documentation</a> and <a class="reference external" href="https://github.com/SamR1/FitTrackee/issues">current issues</a></p>
|
||||||
<section id="id58">
|
<section id="id62">
|
||||||
<h3>Issues Closed<a class="headerlink" href="#id58" title="Permalink to this headline">¶</a></h3>
|
<h3>Issues Closed<a class="headerlink" href="#id62" title="Permalink to this headline">¶</a></h3>
|
||||||
<section id="id59">
|
<section id="id63">
|
||||||
<h4>New Features<a class="headerlink" href="#id59" title="Permalink to this headline">¶</a></h4>
|
<h4>New Features<a class="headerlink" href="#id63" title="Permalink to this headline">¶</a></h4>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/11">#11</a> - Timezone support</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/11">#11</a> - Timezone support</p></li>
|
||||||
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/10">#10</a> - Add a note to an activity</p></li>
|
<li><p><a class="reference external" href="https://github.com/SamR1/FitTrackee/issues/10">#10</a> - Add a note to an activity</p></li>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Features — FitTrackee 0.5.6
|
<title>Features — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="index.html">
|
<a class="navbar-brand" href="index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Index — FitTrackee 0.5.6
|
<title>Index — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
||||||
@ -37,7 +37,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="index.html">
|
<a class="navbar-brand" href="index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>HTTP Routing Table — FitTrackee 0.5.6
|
<title>HTTP Routing Table — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
||||||
@ -44,7 +44,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="index.html">
|
<a class="navbar-brand" href="index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>FitTrackee — FitTrackee 0.5.6
|
<title>FitTrackee — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
||||||
@ -39,7 +39,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="#">
|
<a class="navbar-brand" href="#">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Installation — FitTrackee 0.5.6
|
<title>Installation — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="index.html">
|
<a class="navbar-brand" href="index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -527,18 +527,12 @@ $ <span class="nb">source</span> .env
|
|||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Upgrade database schema</p></li>
|
<li><p>Initialize database schema</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ fittrackee_upgrade_db
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ fittrackee_upgrade_db
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Initialize database</p></li>
|
|
||||||
</ul>
|
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ fittrackee_init_data
|
|
||||||
</pre></div>
|
|
||||||
</div>
|
|
||||||
<ul class="simple">
|
|
||||||
<li><p>Start the application</p></li>
|
<li><p>Start the application</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ fittrackee
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ fittrackee
|
||||||
@ -556,6 +550,13 @@ $ <span class="nb">source</span> .env
|
|||||||
<div class="line">To start application and workers with <strong>systemd</strong> service, see <a class="reference external" href="installation.html#deployment">Deployment</a></div>
|
<div class="line">To start application and workers with <strong>systemd</strong> service, see <a class="reference external" href="installation.html#deployment">Deployment</a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<ul class="simple">
|
||||||
|
<li><p>Open <a class="reference external" href="http://localhost:3000">http://localhost:3000</a> and register</p></li>
|
||||||
|
<li><p>To set admin rights to the newly created account, use the following command:</p></li>
|
||||||
|
</ul>
|
||||||
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ fittrackee_set_admin <username>
|
||||||
|
</pre></div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section id="from-sources">
|
<section id="from-sources">
|
||||||
<h3>From sources<a class="headerlink" href="#from-sources" title="Permalink to this headline">¶</a></h3>
|
<h3>From sources<a class="headerlink" href="#from-sources" title="Permalink to this headline">¶</a></h3>
|
||||||
@ -606,8 +607,13 @@ $ make install-db
|
|||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make run-workers
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make run-workers
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p>Open <a class="reference external" href="http://localhost:3000">http://localhost:3000</a> and log in (the email is <code class="docutils literal notranslate"><span class="pre">admin@example.com</span></code>
|
<ul class="simple">
|
||||||
and the password <code class="docutils literal notranslate"><span class="pre">mpwoadmin</span></code>) or register</p>
|
<li><p>Open <a class="reference external" href="http://localhost:3000">http://localhost:3000</a> and register</p></li>
|
||||||
|
<li><p>To set admin rights to the newly created account, use the following command:</p></li>
|
||||||
|
</ul>
|
||||||
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make set-admin <span class="nv">USERNAME</span><span class="o">=</span><username>
|
||||||
|
</pre></div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section id="production-environment">
|
<section id="production-environment">
|
||||||
<h4>Production environment<a class="headerlink" href="#production-environment" title="Permalink to this headline">¶</a></h4>
|
<h4>Production environment<a class="headerlink" href="#production-environment" title="Permalink to this headline">¶</a></h4>
|
||||||
@ -618,11 +624,11 @@ and the password <code class="docutils literal notranslate"><span class="pre">mp
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Download the last release (for now, it is the release v0.5.6):</p></li>
|
<li><p>Download the last release (for now, it is the release v0.5.7):</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.6.tar.gz
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.7.tar.gz
|
||||||
$ tar -xzf v0.5.6.tar.gz
|
$ tar -xzf v0.5.7.tar.gz
|
||||||
$ mv FitTrackee-0.5.6 FitTrackee
|
$ mv FitTrackee-0.5.7 FitTrackee
|
||||||
$ <span class="nb">cd</span> FitTrackee
|
$ <span class="nb">cd</span> FitTrackee
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
@ -647,9 +653,13 @@ database credentials</strong>):</p></li>
|
|||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make run
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make run
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p>Open <a class="reference external" href="http://localhost:5000">http://localhost:5000</a>, log in as admin (the email is
|
<ul class="simple">
|
||||||
<code class="docutils literal notranslate"><span class="pre">admin@example.com</span></code> and the password <code class="docutils literal notranslate"><span class="pre">mpwoadmin</span></code>) and change the
|
<li><p>Open <a class="reference external" href="http://localhost:5000">http://localhost:5000</a> and register</p></li>
|
||||||
password</p>
|
<li><p>To set admin rights to the newly created account, use the following command:</p></li>
|
||||||
|
</ul>
|
||||||
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make set-admin <span class="nv">USERNAME</span><span class="o">=</span><username>
|
||||||
|
</pre></div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
@ -730,11 +740,11 @@ $ <span class="nb">source</span> .env
|
|||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
<li><p>Stop the application</p></li>
|
<li><p>Stop the application</p></li>
|
||||||
<li><p>Change to the directory where FitTrackee directory is located</p></li>
|
<li><p>Change to the directory where FitTrackee directory is located</p></li>
|
||||||
<li><p>Download the last release (for now, it is the release v0.5.6) and overwrite existing files:</p></li>
|
<li><p>Download the last release (for now, it is the release v0.5.7) and overwrite existing files:</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.6.tar.gz
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.7.tar.gz
|
||||||
$ tar -xzf v0.5.6.tar.gz
|
$ tar -xzf v0.5.7.tar.gz
|
||||||
$ cp -R FitTrackee-0.5.6/* FitTrackee/
|
$ cp -R FitTrackee-0.5.7/* FitTrackee/
|
||||||
$ <span class="nb">cd</span> FitTrackee
|
$ <span class="nb">cd</span> FitTrackee
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
@ -892,9 +902,15 @@ $ <span class="nb">cd</span> FitTrackee
|
|||||||
$ make docker-build docker-run docker-init
|
$ make docker-build docker-run docker-init
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p>Open <a class="reference external" href="http://localhost:5000">http://localhost:5000</a>, log in as admin (the email is <cite>admin@example.com</cite> and the password <cite>mpwoadmin</cite>) or register.</p>
|
<p>Open <a class="reference external" href="http://localhost:5000">http://localhost:5000</a> and register.</p>
|
||||||
<p>Open <a class="reference external" href="http://localhost:8025">http://localhost:8025</a> to access <a class="reference external" href="https://github.com/mailhog/MailHog">MailHog interface</a> (email testing tool)</p>
|
<p>Open <a class="reference external" href="http://localhost:8025">http://localhost:8025</a> to access <a class="reference external" href="https://github.com/mailhog/MailHog">MailHog interface</a> (email testing tool)</p>
|
||||||
<ul class="simple">
|
<ul class="simple">
|
||||||
|
<li><p>To set admin rights to the newly created account, use the following command:</p></li>
|
||||||
|
</ul>
|
||||||
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make docker-set-admin <span class="nv">USERNAME</span><span class="o">=</span><username>
|
||||||
|
</pre></div>
|
||||||
|
</div>
|
||||||
|
<ul class="simple">
|
||||||
<li><p>To stop <strong>Fittrackee</strong>:</p></li>
|
<li><p>To stop <strong>Fittrackee</strong>:</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make docker-stop
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make docker-stop
|
||||||
@ -930,8 +946,7 @@ $ make docker-build docker-run docker-init
|
|||||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make docker-serve-client
|
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ make docker-serve-client
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
<p>Open <a class="reference external" href="http://localhost:3000">http://localhost:3000</a> and log in (the email is <code class="docutils literal notranslate"><span class="pre">admin@example.com</span></code>
|
<p>Open <a class="reference external" href="http://localhost:3000">http://localhost:3000</a></p>
|
||||||
and the password <code class="docutils literal notranslate"><span class="pre">mpwoadmin</span></code>) or register</p>
|
|
||||||
<div class="admonition note">
|
<div class="admonition note">
|
||||||
<p class="admonition-title">Note</p>
|
<p class="admonition-title">Note</p>
|
||||||
<p>Some environment variables need to be updated like <cite>UI_URL</cite></p>
|
<p>Some environment variables need to be updated like <cite>UI_URL</cite></p>
|
||||||
|
BIN
docs/objects.inv
@ -4,7 +4,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Search — FitTrackee 0.5.6
|
<title>Search — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="_static/bootstrap-sphinx.css" />
|
||||||
@ -44,7 +44,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="index.html">
|
<a class="navbar-brand" href="index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Administrator — FitTrackee 0.5.6
|
<title>Administrator — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>Troubleshooting — FitTrackee 0.5.6
|
<title>Troubleshooting — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||||
|
|
||||||
<title>User — FitTrackee 0.5.6
|
<title>User — FitTrackee 0.5.7
|
||||||
documentation</title>
|
documentation</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
<link rel="stylesheet" type="text/css" href="../_static/bootstrap-sphinx.css" />
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="../index.html">
|
<a class="navbar-brand" href="../index.html">
|
||||||
FitTrackee</a>
|
FitTrackee</a>
|
||||||
<span class="navbar-text navbar-version pull-left"><b>0.5.6
|
<span class="navbar-text navbar-version pull-left"><b>0.5.7
|
||||||
</b></span>
|
</b></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 537 KiB After Width: | Height: | Size: 537 KiB |
Before Width: | Height: | Size: 370 KiB After Width: | Height: | Size: 370 KiB |
Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 203 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
@ -269,19 +269,12 @@ For instance, copy and update ``.env`` file from ``.env.example`` and source the
|
|||||||
$ nano .env
|
$ nano .env
|
||||||
$ source .env
|
$ source .env
|
||||||
|
|
||||||
|
- Initialize database schema
|
||||||
- Upgrade database schema
|
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ fittrackee_upgrade_db
|
$ fittrackee_upgrade_db
|
||||||
|
|
||||||
- Initialize database
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
$ fittrackee_init_data
|
|
||||||
|
|
||||||
- Start the application
|
- Start the application
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
@ -297,6 +290,14 @@ For instance, copy and update ``.env`` file from ``.env.example`` and source the
|
|||||||
.. note::
|
.. note::
|
||||||
| To start application and workers with **systemd** service, see `Deployment <installation.html#deployment>`__
|
| To start application and workers with **systemd** service, see `Deployment <installation.html#deployment>`__
|
||||||
|
|
||||||
|
- Open http://localhost:3000 and register
|
||||||
|
|
||||||
|
- To set admin rights to the newly created account, use the following command:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
$ fittrackee_set_admin <username>
|
||||||
|
|
||||||
|
|
||||||
From sources
|
From sources
|
||||||
^^^^^^^^^^^^
|
^^^^^^^^^^^^
|
||||||
@ -349,8 +350,13 @@ Dev environment
|
|||||||
|
|
||||||
$ make run-workers
|
$ make run-workers
|
||||||
|
|
||||||
Open http://localhost:3000 and log in (the email is ``admin@example.com``
|
- Open http://localhost:3000 and register
|
||||||
and the password ``mpwoadmin``) or register
|
|
||||||
|
- To set admin rights to the newly created account, use the following command:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
$ make set-admin USERNAME=<username>
|
||||||
|
|
||||||
|
|
||||||
Production environment
|
Production environment
|
||||||
@ -359,13 +365,13 @@ Production environment
|
|||||||
.. warning::
|
.. warning::
|
||||||
| Note that FitTrackee is under heavy development, some features may be unstable.
|
| Note that FitTrackee is under heavy development, some features may be unstable.
|
||||||
|
|
||||||
- Download the last release (for now, it is the release v0.5.6):
|
- Download the last release (for now, it is the release v0.5.7):
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.6.tar.gz
|
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.7.tar.gz
|
||||||
$ tar -xzf v0.5.6.tar.gz
|
$ tar -xzf v0.5.7.tar.gz
|
||||||
$ mv FitTrackee-0.5.6 FitTrackee
|
$ mv FitTrackee-0.5.7 FitTrackee
|
||||||
$ cd FitTrackee
|
$ cd FitTrackee
|
||||||
|
|
||||||
- Create **.env** from example and update it
|
- Create **.env** from example and update it
|
||||||
@ -390,9 +396,13 @@ Production environment
|
|||||||
|
|
||||||
$ make run
|
$ make run
|
||||||
|
|
||||||
Open http://localhost:5000, log in as admin (the email is
|
- Open http://localhost:5000 and register
|
||||||
``admin@example.com`` and the password ``mpwoadmin``) and change the
|
|
||||||
password
|
- To set admin rights to the newly created account, use the following command:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
$ make set-admin USERNAME=<username>
|
||||||
|
|
||||||
|
|
||||||
Upgrade
|
Upgrade
|
||||||
@ -477,13 +487,13 @@ Prod environment
|
|||||||
|
|
||||||
- Change to the directory where FitTrackee directory is located
|
- Change to the directory where FitTrackee directory is located
|
||||||
|
|
||||||
- Download the last release (for now, it is the release v0.5.6) and overwrite existing files:
|
- Download the last release (for now, it is the release v0.5.7) and overwrite existing files:
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
|
|
||||||
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.6.tar.gz
|
$ wget https://github.com/SamR1/FitTrackee/archive/v0.5.7.tar.gz
|
||||||
$ tar -xzf v0.5.6.tar.gz
|
$ tar -xzf v0.5.7.tar.gz
|
||||||
$ cp -R FitTrackee-0.5.6/* FitTrackee/
|
$ cp -R FitTrackee-0.5.7/* FitTrackee/
|
||||||
$ cd FitTrackee
|
$ cd FitTrackee
|
||||||
|
|
||||||
- Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
|
- Update **.env** if needed (see `Environment variables <installation.html#environment-variables>`__).
|
||||||
@ -642,10 +652,16 @@ installing **FitTrackee** from **sources**.
|
|||||||
$ cd FitTrackee
|
$ cd FitTrackee
|
||||||
$ make docker-build docker-run docker-init
|
$ make docker-build docker-run docker-init
|
||||||
|
|
||||||
Open http://localhost:5000, log in as admin (the email is `admin@example.com` and the password `mpwoadmin`) or register.
|
Open http://localhost:5000 and register.
|
||||||
|
|
||||||
Open http://localhost:8025 to access `MailHog interface <https://github.com/mailhog/MailHog>`_ (email testing tool)
|
Open http://localhost:8025 to access `MailHog interface <https://github.com/mailhog/MailHog>`_ (email testing tool)
|
||||||
|
|
||||||
|
- To set admin rights to the newly created account, use the following command:
|
||||||
|
|
||||||
|
.. code:: bash
|
||||||
|
|
||||||
|
$ make docker-set-admin USERNAME=<username>
|
||||||
|
|
||||||
- To stop **Fittrackee**:
|
- To stop **Fittrackee**:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
@ -683,8 +699,7 @@ Development
|
|||||||
|
|
||||||
$ make docker-serve-client
|
$ make docker-serve-client
|
||||||
|
|
||||||
Open http://localhost:3000 and log in (the email is ``admin@example.com``
|
Open http://localhost:3000
|
||||||
and the password ``mpwoadmin``) or register
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Some environment variables need to be updated like `UI_URL`
|
Some environment variables need to be updated like `UI_URL`
|
@ -1,4 +1,9 @@
|
|||||||
from .utils import TEST_URL, assert_navbar, login_valid_user
|
from .utils import (
|
||||||
|
TEST_URL,
|
||||||
|
assert_navbar,
|
||||||
|
login_valid_user,
|
||||||
|
register_valid_user_and_logout,
|
||||||
|
)
|
||||||
|
|
||||||
URL = f'{TEST_URL}/login'
|
URL = f'{TEST_URL}/login'
|
||||||
|
|
||||||
@ -31,11 +36,7 @@ class TestLogin:
|
|||||||
assert 'Forgot password?' in links[1].text
|
assert 'Forgot password?' in links[1].text
|
||||||
|
|
||||||
def test_user_can_log_in(self, selenium):
|
def test_user_can_log_in(self, selenium):
|
||||||
user = {
|
user = register_valid_user_and_logout(selenium)
|
||||||
'username': 'admin',
|
|
||||||
'email': 'admin@example.com',
|
|
||||||
'password': 'mpwoadmin',
|
|
||||||
}
|
|
||||||
|
|
||||||
login_valid_user(selenium, user)
|
login_valid_user(selenium, user)
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ from .utils import (
|
|||||||
random_string,
|
random_string,
|
||||||
register,
|
register,
|
||||||
register_valid_user,
|
register_valid_user,
|
||||||
|
register_valid_user_and_logout,
|
||||||
)
|
)
|
||||||
|
|
||||||
URL = f'{TEST_URL}/register'
|
URL = f'{TEST_URL}/register'
|
||||||
@ -57,65 +58,25 @@ class TestRegistration:
|
|||||||
def test_user_can_not_register_if_username_is_already_taken(
|
def test_user_can_not_register_if_username_is_already_taken(
|
||||||
self, selenium
|
self, selenium
|
||||||
):
|
):
|
||||||
user_name = random_string()
|
user = register_valid_user_and_logout(selenium)
|
||||||
user_infos = {
|
user['email'] = f'{random_string()}@example.com'
|
||||||
'username': 'admin',
|
|
||||||
'email': f'{user_name}@example.com',
|
|
||||||
'password': 'p@ssw0rd',
|
|
||||||
'password_conf': 'p@ssw0rd',
|
|
||||||
}
|
|
||||||
|
|
||||||
register(selenium, user_infos)
|
register(selenium, user)
|
||||||
|
|
||||||
assert selenium.current_url == URL
|
assert selenium.current_url == URL
|
||||||
errors = selenium.find_element_by_class_name('error-message').text
|
errors = selenium.find_element_by_class_name('error-message').text
|
||||||
assert 'Sorry, that user already exists.' in errors
|
assert 'Sorry, that user already exists.' in errors
|
||||||
|
|
||||||
def test_user_can_not_register_if_email_is_already_taken(self, selenium):
|
def test_user_can_not_register_if_email_is_already_taken(self, selenium):
|
||||||
user_name = random_string()
|
user = register_valid_user_and_logout(selenium)
|
||||||
user_infos = {
|
user['username'] = random_string()
|
||||||
'username': user_name,
|
|
||||||
'email': 'admin@example.com',
|
|
||||||
'password': 'p@ssw0rd',
|
|
||||||
'password_conf': 'p@ssw0rd',
|
|
||||||
}
|
|
||||||
|
|
||||||
register(selenium, user_infos)
|
register(selenium, user)
|
||||||
|
|
||||||
assert selenium.current_url == URL
|
assert selenium.current_url == URL
|
||||||
errors = selenium.find_element_by_class_name('error-message').text
|
errors = selenium.find_element_by_class_name('error-message').text
|
||||||
assert 'Sorry, that user already exists.' in errors
|
assert 'Sorry, that user already exists.' in errors
|
||||||
|
|
||||||
def test_user_can_not_register_if_username_is_too_short(self, selenium):
|
|
||||||
user_name = random_string(2)
|
|
||||||
user_infos = {
|
|
||||||
'username': user_name,
|
|
||||||
'email': 'admin@example.com',
|
|
||||||
'password': 'p@ssw0rd',
|
|
||||||
'password_conf': 'p@ssw0rd',
|
|
||||||
}
|
|
||||||
|
|
||||||
register(selenium, user_infos)
|
|
||||||
|
|
||||||
assert selenium.current_url == URL
|
|
||||||
errors = selenium.find_element_by_class_name('error-message').text
|
|
||||||
assert 'Username: 3 to 12 characters required' in errors
|
|
||||||
|
|
||||||
def test_user_can_not_register_if_username_is_too_long(self, selenium):
|
|
||||||
user_name = random_string(13)
|
|
||||||
user_infos = {
|
|
||||||
'username': user_name,
|
|
||||||
'email': 'admin@example.com',
|
|
||||||
'password': 'p@ssw0rd',
|
|
||||||
'password_conf': 'p@ssw0rd',
|
|
||||||
}
|
|
||||||
|
|
||||||
register(selenium, user_infos)
|
|
||||||
|
|
||||||
assert selenium.current_url == URL
|
|
||||||
errors = selenium.find_element_by_class_name('error-message').text
|
|
||||||
assert 'Username: 3 to 12 characters required' in errors
|
|
||||||
|
|
||||||
def test_it_displays_error_if_passwords_do_not_match(self, selenium):
|
def test_it_displays_error_if_passwords_do_not_match(self, selenium):
|
||||||
user_name = random_string()
|
user_name = random_string()
|
||||||
user_infos = {
|
user_infos = {
|
||||||
@ -130,18 +91,3 @@ class TestRegistration:
|
|||||||
assert selenium.current_url == URL
|
assert selenium.current_url == URL
|
||||||
errors = selenium.find_element_by_class_name('error-message').text
|
errors = selenium.find_element_by_class_name('error-message').text
|
||||||
assert 'password and password confirmation don\'t match' in errors
|
assert 'password and password confirmation don\'t match' in errors
|
||||||
|
|
||||||
def test_it_displays_error_if_password_is_too_short(self, selenium):
|
|
||||||
user_name = random_string()
|
|
||||||
user_infos = {
|
|
||||||
'username': user_name,
|
|
||||||
'email': f'{user_name}@example.com',
|
|
||||||
'password': 'p@ss',
|
|
||||||
'password_conf': 'p@ss',
|
|
||||||
}
|
|
||||||
|
|
||||||
register(selenium, user_infos)
|
|
||||||
|
|
||||||
assert selenium.current_url == URL
|
|
||||||
errors = selenium.find_element_by_class_name('error-message').text
|
|
||||||
assert 'Password: 8 characters required' in errors
|
|
||||||
|
18
e2e/utils.py
@ -54,6 +54,24 @@ def register_valid_user(selenium):
|
|||||||
return user
|
return user
|
||||||
|
|
||||||
|
|
||||||
|
def register_valid_user_and_logout(selenium):
|
||||||
|
user_name = random_string()
|
||||||
|
user = {
|
||||||
|
'username': user_name,
|
||||||
|
'email': f'{user_name}@example.com',
|
||||||
|
'password': 'p@ssw0rd',
|
||||||
|
'password_conf': 'p@ssw0rd',
|
||||||
|
}
|
||||||
|
register(selenium, user)
|
||||||
|
WebDriverWait(selenium, 15).until(EC.url_changes(f"{TEST_URL}/register"))
|
||||||
|
|
||||||
|
user_menu = selenium.find_element_by_class_name('nav-items-user-menu')
|
||||||
|
logout_link = user_menu.find_elements_by_class_name('nav-item')[2]
|
||||||
|
logout_link.click()
|
||||||
|
selenium.implicitly_wait(1)
|
||||||
|
return user
|
||||||
|
|
||||||
|
|
||||||
def login_valid_user(selenium, user):
|
def login_valid_user(selenium, user):
|
||||||
login(selenium, user)
|
login(selenium, user)
|
||||||
WebDriverWait(selenium, 10).until(EC.url_changes(f"{TEST_URL}/login"))
|
WebDriverWait(selenium, 10).until(EC.url_changes(f"{TEST_URL}/login"))
|
||||||
|
@ -1,9 +1,16 @@
|
|||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
import shutil
|
||||||
from importlib import import_module, reload
|
from importlib import import_module, reload
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from flask import Flask, Response, render_template, send_file
|
from flask import (
|
||||||
|
Flask,
|
||||||
|
Response,
|
||||||
|
render_template,
|
||||||
|
send_file,
|
||||||
|
send_from_directory,
|
||||||
|
)
|
||||||
from flask_bcrypt import Bcrypt
|
from flask_bcrypt import Bcrypt
|
||||||
from flask_dramatiq import Dramatiq
|
from flask_dramatiq import Dramatiq
|
||||||
from flask_migrate import Migrate
|
from flask_migrate import Migrate
|
||||||
@ -11,7 +18,7 @@ from flask_sqlalchemy import SQLAlchemy
|
|||||||
|
|
||||||
from fittrackee.emails.email import Email
|
from fittrackee.emails.email import Email
|
||||||
|
|
||||||
VERSION = __version__ = '0.5.6'
|
VERSION = __version__ = '0.5.7'
|
||||||
db = SQLAlchemy()
|
db = SQLAlchemy()
|
||||||
bcrypt = Bcrypt()
|
bcrypt = Bcrypt()
|
||||||
migrate = Migrate()
|
migrate = Migrate()
|
||||||
@ -51,16 +58,16 @@ def create_app() -> Flask:
|
|||||||
email_service.init_email(app)
|
email_service.init_email(app)
|
||||||
|
|
||||||
# get configuration from database
|
# get configuration from database
|
||||||
from .application.models import AppConfig
|
from .application.utils import (
|
||||||
from .application.utils import init_config, update_app_config_from_database
|
get_or_init_config,
|
||||||
|
update_app_config_from_database,
|
||||||
|
)
|
||||||
|
|
||||||
with app.app_context():
|
with app.app_context():
|
||||||
# Note: check if "app_config" table exist to avoid errors when
|
# Note: check if "app_config" table exist to avoid errors when
|
||||||
# dropping tables on dev environments
|
# dropping tables on dev environments
|
||||||
if db.engine.dialect.has_table(db.engine.connect(), 'app_config'):
|
if db.engine.dialect.has_table(db.engine.connect(), 'app_config'):
|
||||||
db_app_config = AppConfig.query.one_or_none()
|
db_app_config = get_or_init_config()
|
||||||
if not db_app_config:
|
|
||||||
_, db_app_config = init_config()
|
|
||||||
update_app_config_from_database(app, db_app_config)
|
update_app_config_from_database(app, db_app_config)
|
||||||
|
|
||||||
from .application.app_config import config_blueprint # noqa
|
from .application.app_config import config_blueprint # noqa
|
||||||
@ -112,14 +119,27 @@ def create_app() -> Flask:
|
|||||||
def catch_all(path: str) -> Any:
|
def catch_all(path: str) -> Any:
|
||||||
# workaround to serve images (not in static directory)
|
# workaround to serve images (not in static directory)
|
||||||
if path.startswith('img/'):
|
if path.startswith('img/'):
|
||||||
return send_file(
|
return send_from_directory(
|
||||||
os.path.join(
|
directory=os.path.join(
|
||||||
app.root_path, # type: ignore
|
app.root_path, # type: ignore
|
||||||
'dist',
|
'dist',
|
||||||
path,
|
),
|
||||||
)
|
path=path,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
return render_template('index.html')
|
return render_template('index.html')
|
||||||
|
|
||||||
|
@app.cli.command('drop-db')
|
||||||
|
def drop_db() -> None:
|
||||||
|
"""Empty database and delete uploaded files for dev environments."""
|
||||||
|
if app_settings == 'fittrackee.config.ProductionConfig':
|
||||||
|
print('This is a production server, aborting!')
|
||||||
|
return
|
||||||
|
db.engine.execute("DROP TABLE IF EXISTS alembic_version;")
|
||||||
|
db.drop_all()
|
||||||
|
db.session.commit()
|
||||||
|
print('Database dropped.')
|
||||||
|
shutil.rmtree(app.config['UPLOAD_FOLDER'], ignore_errors=True)
|
||||||
|
print('Uploaded files deleted.')
|
||||||
|
|
||||||
return app
|
return app
|
||||||
|
@ -1,27 +1,19 @@
|
|||||||
# source for StandaloneApplication class:
|
# source for StandaloneApplication class:
|
||||||
# http://docs.gunicorn.org/en/stable/custom.html
|
# http://docs.gunicorn.org/en/stable/custom.html
|
||||||
import os
|
import os
|
||||||
import shutil
|
|
||||||
from typing import Dict, Optional
|
from typing import Dict, Optional
|
||||||
|
|
||||||
import gunicorn.app.base
|
import gunicorn.app.base
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
from flask_dramatiq import worker
|
|
||||||
from flask_migrate import upgrade
|
from flask_migrate import upgrade
|
||||||
from tqdm import tqdm
|
|
||||||
|
|
||||||
from fittrackee import create_app, db
|
from fittrackee import create_app
|
||||||
from fittrackee.application.utils import init_config
|
|
||||||
from fittrackee.database_utils import init_database
|
|
||||||
from fittrackee.workouts.models import Workout
|
|
||||||
from fittrackee.workouts.utils import update_workout
|
|
||||||
|
|
||||||
HOST = os.getenv('HOST', '0.0.0.0')
|
HOST = os.getenv('HOST', '0.0.0.0')
|
||||||
PORT = os.getenv('PORT', '5000')
|
PORT = os.getenv('PORT', '5000')
|
||||||
WORKERS = os.getenv('APP_WORKERS', 1)
|
WORKERS = os.getenv('APP_WORKERS', 1)
|
||||||
BASEDIR = os.path.abspath(os.path.dirname(__file__))
|
BASEDIR = os.path.abspath(os.path.dirname(__file__))
|
||||||
app = create_app()
|
app = create_app()
|
||||||
dramatiq_worker = worker
|
|
||||||
|
|
||||||
|
|
||||||
class StandaloneApplication(gunicorn.app.base.BaseApplication):
|
class StandaloneApplication(gunicorn.app.base.BaseApplication):
|
||||||
@ -50,55 +42,6 @@ def upgrade_db() -> None:
|
|||||||
upgrade(directory=BASEDIR + '/migrations')
|
upgrade(directory=BASEDIR + '/migrations')
|
||||||
|
|
||||||
|
|
||||||
@app.cli.command('drop-db')
|
|
||||||
def drop_db() -> None:
|
|
||||||
"""Empty database for dev environments."""
|
|
||||||
db.engine.execute("DROP TABLE IF EXISTS alembic_version;")
|
|
||||||
db.drop_all()
|
|
||||||
db.session.commit()
|
|
||||||
print('Database dropped.')
|
|
||||||
shutil.rmtree(app.config['UPLOAD_FOLDER'], ignore_errors=True)
|
|
||||||
print('Uploaded files deleted.')
|
|
||||||
|
|
||||||
|
|
||||||
@app.cli.command('init-data')
|
|
||||||
def init_data() -> None:
|
|
||||||
"""Init the database and application config."""
|
|
||||||
init_database(app)
|
|
||||||
|
|
||||||
|
|
||||||
@app.cli.command()
|
|
||||||
def recalculate() -> None:
|
|
||||||
print("Starting workouts data refresh")
|
|
||||||
workouts = (
|
|
||||||
Workout.query.filter(Workout.gpx != None) # noqa
|
|
||||||
.order_by(Workout.workout_date.asc()) # noqa
|
|
||||||
.all()
|
|
||||||
)
|
|
||||||
if len(workouts) == 0:
|
|
||||||
print('➡️ no workouts to upgrade.')
|
|
||||||
return None
|
|
||||||
pbar = tqdm(workouts)
|
|
||||||
for workout in pbar:
|
|
||||||
update_workout(workout)
|
|
||||||
pbar.set_postfix(activitiy_id=workout.id)
|
|
||||||
db.session.commit()
|
|
||||||
|
|
||||||
|
|
||||||
@app.cli.command('init-app-config')
|
|
||||||
def init_app_config() -> None:
|
|
||||||
"""Init application configuration."""
|
|
||||||
print("Init application configuration")
|
|
||||||
config_created, _ = init_config()
|
|
||||||
if config_created:
|
|
||||||
print("Creation done!")
|
|
||||||
else:
|
|
||||||
print(
|
|
||||||
"Application configuration already existing in database. "
|
|
||||||
"Please use web application to update it."
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
options = {'bind': f'{HOST}:{PORT}', 'workers': WORKERS}
|
options = {'bind': f'{HOST}:{PORT}', 'workers': WORKERS}
|
||||||
StandaloneApplication(app, options).run()
|
StandaloneApplication(app, options).run()
|
||||||
|
@ -45,7 +45,7 @@ def get_application_config() -> Union[Dict, HttpResponse]:
|
|||||||
"max_zip_file_size": 10485760,
|
"max_zip_file_size": 10485760,
|
||||||
"max_users": 0,
|
"max_users": 0,
|
||||||
"map_attribution": "© <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors"
|
"map_attribution": "© <a href=http://www.openstreetmap.org/copyright>OpenStreetMap</a> contributors"
|
||||||
"version": "0.5.6"
|
"version": "0.5.7"
|
||||||
},
|
},
|
||||||
"status": "success"
|
"status": "success"
|
||||||
}
|
}
|
||||||
|
@ -1,42 +1,28 @@
|
|||||||
import os
|
from typing import Dict, List
|
||||||
from typing import Dict, List, Tuple
|
|
||||||
|
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
|
|
||||||
from fittrackee import db
|
from fittrackee import db
|
||||||
from fittrackee.users.models import User
|
|
||||||
|
|
||||||
from .models import AppConfig
|
from .models import AppConfig
|
||||||
|
|
||||||
MAX_FILE_SIZE = 1 * 1024 * 1024 # 1MB
|
MAX_FILE_SIZE = 1 * 1024 * 1024 # 1MB
|
||||||
|
|
||||||
|
|
||||||
def init_config() -> Tuple[bool, AppConfig]:
|
def get_or_init_config() -> AppConfig:
|
||||||
"""
|
"""
|
||||||
init application configuration if not existing in database
|
Init application configuration.
|
||||||
|
|
||||||
Note: get some configuration values from env variables
|
|
||||||
(for FitTrackee versions prior to v0.3.0)
|
|
||||||
"""
|
"""
|
||||||
existing_config = AppConfig.query.one_or_none()
|
existing_config = AppConfig.query.one_or_none()
|
||||||
nb_users = User.query.count()
|
if existing_config:
|
||||||
if not existing_config:
|
return existing_config
|
||||||
config = AppConfig()
|
config = AppConfig()
|
||||||
config.max_users = (
|
config.max_users = 0 # no limitation
|
||||||
nb_users
|
config.max_single_file_size = MAX_FILE_SIZE
|
||||||
if os.getenv('REACT_APP_ALLOW_REGISTRATION') == "false"
|
config.max_zip_file_size = MAX_FILE_SIZE * 10
|
||||||
else 0
|
|
||||||
)
|
|
||||||
config.max_single_file_size = os.environ.get(
|
|
||||||
'REACT_APP_MAX_SINGLE_FILE_SIZE', MAX_FILE_SIZE
|
|
||||||
)
|
|
||||||
config.max_zip_file_size = os.environ.get(
|
|
||||||
'REACT_APP_MAX_ZIP_FILE_SIZE', MAX_FILE_SIZE * 10
|
|
||||||
)
|
|
||||||
db.session.add(config)
|
db.session.add(config)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
return True, config
|
return config
|
||||||
return False, existing_config
|
|
||||||
|
|
||||||
|
|
||||||
def update_app_config_from_database(
|
def update_app_config_from_database(
|
||||||
|
@ -54,8 +54,6 @@ class DevelopmentConfig(BaseConfig):
|
|||||||
DEBUG = True
|
DEBUG = True
|
||||||
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL')
|
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL')
|
||||||
SECRET_KEY = 'development key'
|
SECRET_KEY = 'development key'
|
||||||
USERNAME = 'admin'
|
|
||||||
PASSWORD = 'default'
|
|
||||||
BCRYPT_LOG_ROUNDS = 4
|
BCRYPT_LOG_ROUNDS = 4
|
||||||
DRAMATIQ_BROKER_URL = os.getenv('REDIS_URL', 'redis://')
|
DRAMATIQ_BROKER_URL = os.getenv('REDIS_URL', 'redis://')
|
||||||
|
|
||||||
@ -67,8 +65,6 @@ class TestingConfig(BaseConfig):
|
|||||||
TESTING = True
|
TESTING = True
|
||||||
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_TEST_URL')
|
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_TEST_URL')
|
||||||
SECRET_KEY = 'test key'
|
SECRET_KEY = 'test key'
|
||||||
USERNAME = 'admin'
|
|
||||||
PASSWORD = 'default'
|
|
||||||
BCRYPT_LOG_ROUNDS = 4
|
BCRYPT_LOG_ROUNDS = 4
|
||||||
TOKEN_EXPIRATION_DAYS = 0
|
TOKEN_EXPIRATION_DAYS = 0
|
||||||
TOKEN_EXPIRATION_SECONDS = 3
|
TOKEN_EXPIRATION_SECONDS = 3
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
from flask import Flask
|
|
||||||
|
|
||||||
from fittrackee import db
|
|
||||||
from fittrackee.application.utils import (
|
|
||||||
init_config,
|
|
||||||
update_app_config_from_database,
|
|
||||||
)
|
|
||||||
from fittrackee.users.models import User
|
|
||||||
|
|
||||||
|
|
||||||
def init_database(app: Flask) -> None:
|
|
||||||
"""Init the database."""
|
|
||||||
admin = User(
|
|
||||||
username='admin', email='admin@example.com', password='mpwoadmin'
|
|
||||||
)
|
|
||||||
admin.admin = True
|
|
||||||
admin.timezone = 'Europe/Paris'
|
|
||||||
db.session.add(admin)
|
|
||||||
db.session.commit()
|
|
||||||
_, db_app_config = init_config()
|
|
||||||
update_app_config_from_database(app, db_app_config)
|
|
||||||
|
|
||||||
print('Initial data stored in database.')
|
|
2
fittrackee/dist/index.html
vendored
@ -1 +1 @@
|
|||||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/static/css/fork-awesome.min.css"><link rel="stylesheet" href="/static/css/leaflet.css"><title>FitTrackee</title><link href="/static/css/admin.e77f8b26.css" rel="prefetch"><link href="/static/css/profile.8b668068.css" rel="prefetch"><link href="/static/css/reset.fc19709e.css" rel="prefetch"><link href="/static/css/statistics.2afdc8a9.css" rel="prefetch"><link href="/static/css/workouts.1bed04b1.css" rel="prefetch"><link href="/static/js/admin.5f46d0fe.js" rel="prefetch"><link href="/static/js/chunk-2d0c9189.c81458cc.js" rel="prefetch"><link href="/static/js/chunk-2d0cf391.020c75ea.js" rel="prefetch"><link href="/static/js/chunk-2d0da8f3.c8c3e7e8.js" rel="prefetch"><link href="/static/js/chunk-2d2248b6.d84473c1.js" rel="prefetch"><link href="/static/js/chunk-2d22523a.4b710d99.js" rel="prefetch"><link href="/static/js/profile.d25975e2.js" rel="prefetch"><link href="/static/js/reset.ca898ebe.js" rel="prefetch"><link href="/static/js/statistics.d03ca304.js" rel="prefetch"><link href="/static/js/workouts.ca40c08d.js" rel="prefetch"><link href="/static/css/app.2a651958.css" rel="preload" as="style"><link href="/static/js/app.b4ca8b9a.js" rel="preload" as="script"><link href="/static/js/chunk-vendors.9e32143c.js" rel="preload" as="script"><link href="/static/css/app.2a651958.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="fittrackee_client"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but FitTrackee doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.9e32143c.js"></script><script src="/static/js/app.b4ca8b9a.js"></script></body></html>
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/static/css/fork-awesome.min.css"><link rel="stylesheet" href="/static/css/leaflet.css"><title>FitTrackee</title><link href="/static/css/admin.e77f8b26.css" rel="prefetch"><link href="/static/css/profile.8b668068.css" rel="prefetch"><link href="/static/css/reset.fc19709e.css" rel="prefetch"><link href="/static/css/statistics.2afdc8a9.css" rel="prefetch"><link href="/static/css/workouts.1bed04b1.css" rel="prefetch"><link href="/static/js/admin.5f46d0fe.js" rel="prefetch"><link href="/static/js/chunk-2d0c9189.c81458cc.js" rel="prefetch"><link href="/static/js/chunk-2d0cf391.020c75ea.js" rel="prefetch"><link href="/static/js/chunk-2d0da8f3.c8c3e7e8.js" rel="prefetch"><link href="/static/js/chunk-2d2248b6.d84473c1.js" rel="prefetch"><link href="/static/js/chunk-2d22523a.4b710d99.js" rel="prefetch"><link href="/static/js/profile.d25975e2.js" rel="prefetch"><link href="/static/js/reset.ca898ebe.js" rel="prefetch"><link href="/static/js/statistics.d03ca304.js" rel="prefetch"><link href="/static/js/workouts.ca40c08d.js" rel="prefetch"><link href="/static/css/app.f2234171.css" rel="preload" as="style"><link href="/static/js/app.ad2630ed.js" rel="preload" as="script"><link href="/static/js/chunk-vendors.4605b41e.js" rel="preload" as="script"><link href="/static/css/app.f2234171.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#4DBA87"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="fittrackee_client"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#4DBA87"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but FitTrackee doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.4605b41e.js"></script><script src="/static/js/app.ad2630ed.js"></script></body></html>
|
@ -72,7 +72,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
|||||||
"url": "/img/workouts/start.svg"
|
"url": "/img/workouts/start.svg"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"revision": "7057a7518a8d7dea7e36686fce63f90a",
|
"revision": "9bf054725eec8a2ca4d9b1be2cbd785a",
|
||||||
"url": "/index.html"
|
"url": "/index.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -88,8 +88,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
|||||||
"url": "/static/css/admin.e77f8b26.css"
|
"url": "/static/css/admin.e77f8b26.css"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"revision": "2bb508df8ba5c7d7dae2",
|
"revision": "9c72219a46ba089d3797",
|
||||||
"url": "/static/css/app.2a651958.css"
|
"url": "/static/css/app.f2234171.css"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"revision": "82c1118c918377daaa71a320ab8eea42",
|
"revision": "82c1118c918377daaa71a320ab8eea42",
|
||||||
@ -200,8 +200,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
|||||||
"url": "/static/js/admin.5f46d0fe.js"
|
"url": "/static/js/admin.5f46d0fe.js"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"revision": "2bb508df8ba5c7d7dae2",
|
"revision": "9c72219a46ba089d3797",
|
||||||
"url": "/static/js/app.b4ca8b9a.js"
|
"url": "/static/js/app.ad2630ed.js"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"revision": "bd7d183c9f68e5f4027d",
|
"revision": "bd7d183c9f68e5f4027d",
|
||||||
@ -224,8 +224,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
|
|||||||
"url": "/static/js/chunk-2d22523a.4b710d99.js"
|
"url": "/static/js/chunk-2d22523a.4b710d99.js"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"revision": "5d586e72e98e86692a20",
|
"revision": "4b5b226c28a37969ec2f",
|
||||||
"url": "/static/js/chunk-vendors.9e32143c.js"
|
"url": "/static/js/chunk-vendors.4605b41e.js"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"revision": "00382d944a1bc6fca08b",
|
"revision": "00382d944a1bc6fca08b",
|
2
fittrackee/dist/service-worker.js
vendored
@ -14,7 +14,7 @@
|
|||||||
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
||||||
|
|
||||||
importScripts(
|
importScripts(
|
||||||
"/precache-manifest.52d5b42c4dad9b2fb5fdfae14e5703bb.js"
|
"/precache-manifest.d71a3616485ce0a8106a21b6c55baaa4.js"
|
||||||
);
|
);
|
||||||
|
|
||||||
workbox.core.setCacheNameDetails({prefix: "fittrackee_client"});
|
workbox.core.setCacheNameDetails({prefix: "fittrackee_client"});
|
||||||
|
2
fittrackee/dist/static/js/app.ad2630ed.js
vendored
Normal file
1
fittrackee/dist/static/js/app.ad2630ed.js.map
vendored
Normal file
2
fittrackee/dist/static/js/app.b4ca8b9a.js
vendored
1
fittrackee/dist/static/js/chunk-vendors.4605b41e.js.map
vendored
Normal file
@ -6,7 +6,7 @@ from email.mime.text import MIMEText
|
|||||||
from typing import Dict, Optional, Type, Union
|
from typing import Dict, Optional, Type, Union
|
||||||
|
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
from jinja2 import Environment, FileSystemLoader
|
from jinja2 import Environment, FileSystemLoader, select_autoescape
|
||||||
|
|
||||||
from .utils_email import parse_email_url
|
from .utils_email import parse_email_url
|
||||||
|
|
||||||
@ -38,7 +38,10 @@ class EmailMessage:
|
|||||||
|
|
||||||
class EmailTemplate:
|
class EmailTemplate:
|
||||||
def __init__(self, template_directory: str) -> None:
|
def __init__(self, template_directory: str) -> None:
|
||||||
self._env = Environment(loader=FileSystemLoader(template_directory))
|
self._env = Environment(
|
||||||
|
autoescape=select_autoescape(['html', 'htm', 'xml']),
|
||||||
|
loader=FileSystemLoader(template_directory),
|
||||||
|
)
|
||||||
|
|
||||||
def get_content(
|
def get_content(
|
||||||
self, template_name: str, lang: str, part: str, data: Dict
|
self, template_name: str, lang: str, part: str, data: Dict
|
||||||
|
48
fittrackee/tests/application/test_database_utils.py
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
from flask import Flask
|
||||||
|
|
||||||
|
from fittrackee.application.models import AppConfig
|
||||||
|
from fittrackee.application.utils import get_or_init_config
|
||||||
|
|
||||||
|
|
||||||
|
class TestGetOrInitAppConfig:
|
||||||
|
def test_it_creates_app_config(self, app_no_config: Flask) -> None:
|
||||||
|
get_or_init_config()
|
||||||
|
|
||||||
|
assert AppConfig.query.count() == 1
|
||||||
|
|
||||||
|
def test_it_inits_max_users_with_default_value(
|
||||||
|
self, app_no_config: Flask
|
||||||
|
) -> None:
|
||||||
|
get_or_init_config()
|
||||||
|
|
||||||
|
app_config = AppConfig.query.first()
|
||||||
|
assert app_config.max_users == 0
|
||||||
|
|
||||||
|
def test_it_inits_max_single_file_size_with_default_value(
|
||||||
|
self, app_no_config: Flask
|
||||||
|
) -> None:
|
||||||
|
get_or_init_config()
|
||||||
|
|
||||||
|
app_config = AppConfig.query.first()
|
||||||
|
assert app_config.max_single_file_size == 1048576 # 1MB
|
||||||
|
|
||||||
|
def test_it_inits_max_zip_file_size_with_default_value(
|
||||||
|
self, app_no_config: Flask
|
||||||
|
) -> None:
|
||||||
|
get_or_init_config()
|
||||||
|
|
||||||
|
app_config = AppConfig.query.first()
|
||||||
|
assert app_config.max_zip_file_size == 10485760 # 10MB
|
||||||
|
|
||||||
|
def test_it_inits_gpx_limit_import_with_default_value(
|
||||||
|
self, app_no_config: Flask
|
||||||
|
) -> None:
|
||||||
|
get_or_init_config()
|
||||||
|
|
||||||
|
app_config = AppConfig.query.first()
|
||||||
|
assert app_config.gpx_limit_import == 10
|
||||||
|
|
||||||
|
def test_it_returns_existing_config(self, app: Flask) -> None:
|
||||||
|
app_config = get_or_init_config()
|
||||||
|
|
||||||
|
assert app_config.max_users == 100
|
214
fittrackee/tests/users/test_users_utils.py
Normal file
@ -0,0 +1,214 @@
|
|||||||
|
from unittest.mock import patch
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
from flask import Flask
|
||||||
|
|
||||||
|
from fittrackee.users.exceptions import UserNotFoundException
|
||||||
|
from fittrackee.users.models import User
|
||||||
|
from fittrackee.users.utils import (
|
||||||
|
check_passwords,
|
||||||
|
check_username,
|
||||||
|
is_valid_email,
|
||||||
|
register_controls,
|
||||||
|
set_admin_rights,
|
||||||
|
)
|
||||||
|
|
||||||
|
from ..utils import random_string
|
||||||
|
|
||||||
|
|
||||||
|
class TestSetAdminRights:
|
||||||
|
def test_it_raises_exception_if_user_does_not_exist(
|
||||||
|
self, app: Flask
|
||||||
|
) -> None:
|
||||||
|
with pytest.raises(UserNotFoundException):
|
||||||
|
set_admin_rights(random_string())
|
||||||
|
|
||||||
|
def test_it_sets_admin_right_for_a_given_user(
|
||||||
|
self, app: Flask, user_1: User
|
||||||
|
) -> None:
|
||||||
|
set_admin_rights(user_1.username)
|
||||||
|
|
||||||
|
assert user_1.admin is True
|
||||||
|
|
||||||
|
def test_it_does_not_raise_exception_when_user_has_already_admin_right(
|
||||||
|
self, app: Flask, user_1_admin: User
|
||||||
|
) -> None:
|
||||||
|
set_admin_rights(user_1_admin.username)
|
||||||
|
|
||||||
|
assert user_1_admin.admin is True
|
||||||
|
|
||||||
|
|
||||||
|
class TestIsValidEmail:
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
('input_email',),
|
||||||
|
[
|
||||||
|
('',),
|
||||||
|
('foo',),
|
||||||
|
('foo@',),
|
||||||
|
('@foo.fr',),
|
||||||
|
('foo@foo',),
|
||||||
|
('.',),
|
||||||
|
('./',),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
def test_it_returns_false_if_email_is_invalid(
|
||||||
|
self, input_email: str
|
||||||
|
) -> None:
|
||||||
|
assert is_valid_email(input_email) is False
|
||||||
|
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
('input_email',),
|
||||||
|
[
|
||||||
|
('admin@example.com',),
|
||||||
|
('admin@test.example.com',),
|
||||||
|
('admin.site@test.example.com',),
|
||||||
|
('admin-site@test-example.com',),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
def test_it_returns_true_if_email_is_valid(self, input_email: str) -> None:
|
||||||
|
assert is_valid_email(input_email) is True
|
||||||
|
|
||||||
|
|
||||||
|
class TestCheckPasswords:
|
||||||
|
def test_it_returns_error_message_string_if_passwords_do_not_match(
|
||||||
|
self,
|
||||||
|
) -> None:
|
||||||
|
assert check_passwords('password', 'pasword') == (
|
||||||
|
'password: password and password confirmation do not match\n'
|
||||||
|
)
|
||||||
|
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
('input_password_length',),
|
||||||
|
[
|
||||||
|
(0,),
|
||||||
|
(3,),
|
||||||
|
(7,),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
def test_it_returns_error_message_string_if_password_length_is_below_8_characters( # noqa
|
||||||
|
self, input_password_length: int
|
||||||
|
) -> None:
|
||||||
|
password = random_string(input_password_length)
|
||||||
|
assert check_passwords(password, password) == (
|
||||||
|
'password: 8 characters required\n'
|
||||||
|
)
|
||||||
|
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
('input_password_length',),
|
||||||
|
[
|
||||||
|
(8,),
|
||||||
|
(10,),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
def test_it_returns_empty_string_when_password_length_exceeds_7_characters(
|
||||||
|
self, input_password_length: int
|
||||||
|
) -> None:
|
||||||
|
password = random_string(input_password_length)
|
||||||
|
assert check_passwords(password, password) == ''
|
||||||
|
|
||||||
|
def test_it_returns_multiple_errors(self) -> None:
|
||||||
|
password = random_string(3)
|
||||||
|
password_conf = random_string(8)
|
||||||
|
assert check_passwords(password, password_conf) == (
|
||||||
|
'password: password and password confirmation do not match\n'
|
||||||
|
'password: 8 characters required\n'
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class TestIsUsernameValid:
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
('input_username_length',),
|
||||||
|
[
|
||||||
|
(2,),
|
||||||
|
(13,),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
def test_it_returns_error_message_when_username_length_is_invalid(
|
||||||
|
self, input_username_length: int
|
||||||
|
) -> None:
|
||||||
|
assert (
|
||||||
|
check_username(
|
||||||
|
username=random_string(input_username_length),
|
||||||
|
)
|
||||||
|
== 'username: 3 to 12 characters required\n'
|
||||||
|
)
|
||||||
|
|
||||||
|
@pytest.mark.parametrize(
|
||||||
|
('input_invalid_character',),
|
||||||
|
[
|
||||||
|
('.',),
|
||||||
|
('/',),
|
||||||
|
('$',),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
def test_it_returns_error_message_when_username_has_invalid_character(
|
||||||
|
self, input_invalid_character: str
|
||||||
|
) -> None:
|
||||||
|
username = random_string() + input_invalid_character
|
||||||
|
assert check_username(username=username) == (
|
||||||
|
'username: only alphanumeric characters and the '
|
||||||
|
'underscore character "_" allowed\n'
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_it_returns_empty_string_when_username_is_valid(self) -> None:
|
||||||
|
assert check_username(username=random_string()) == ''
|
||||||
|
|
||||||
|
def test_it_returns_multiple_errors(self) -> None:
|
||||||
|
username = random_string(1) + '.'
|
||||||
|
assert check_username(username=username) == (
|
||||||
|
'username: 3 to 12 characters required\n'
|
||||||
|
'username: only alphanumeric characters and the underscore '
|
||||||
|
'character "_" allowed\n'
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class TestRegisterControls:
|
||||||
|
module_path = 'fittrackee.users.utils.'
|
||||||
|
valid_username = random_string()
|
||||||
|
valid_email = f'{random_string()}@example.com'
|
||||||
|
valid_password = random_string()
|
||||||
|
|
||||||
|
def test_it_calls_all_validators(self) -> None:
|
||||||
|
with patch(
|
||||||
|
self.module_path + 'check_passwords'
|
||||||
|
) as check_passwords_mock, patch(
|
||||||
|
self.module_path + 'check_username'
|
||||||
|
) as check_username_mock, patch(
|
||||||
|
self.module_path + 'is_valid_email'
|
||||||
|
) as is_valid_email_mock:
|
||||||
|
register_controls(
|
||||||
|
self.valid_username,
|
||||||
|
self.valid_email,
|
||||||
|
self.valid_password,
|
||||||
|
self.valid_password,
|
||||||
|
)
|
||||||
|
|
||||||
|
check_passwords_mock.assert_called_once_with(
|
||||||
|
self.valid_password, self.valid_password
|
||||||
|
)
|
||||||
|
check_username_mock.assert_called_once_with(self.valid_username)
|
||||||
|
is_valid_email_mock.assert_called_once_with(self.valid_email)
|
||||||
|
|
||||||
|
def test_it_returns_empty_string_when_inputs_are_valid(self) -> None:
|
||||||
|
assert (
|
||||||
|
register_controls(
|
||||||
|
self.valid_username,
|
||||||
|
self.valid_email,
|
||||||
|
self.valid_password,
|
||||||
|
self.valid_password,
|
||||||
|
)
|
||||||
|
== ''
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_it_returns_multiple_errors_when_inputs_are_invalid(self) -> None:
|
||||||
|
invalid_username = random_string(2)
|
||||||
|
assert register_controls(
|
||||||
|
username=invalid_username,
|
||||||
|
email=invalid_username,
|
||||||
|
password=random_string(8),
|
||||||
|
password_conf=random_string(8),
|
||||||
|
) == (
|
||||||
|
'username: 3 to 12 characters required\n'
|
||||||
|
'email: valid email must be provided\n'
|
||||||
|
'password: password and password confirmation do not match\n'
|
||||||
|
)
|
12
fittrackee/tests/utils.py
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
import random
|
||||||
|
import string
|
||||||
|
from typing import Optional
|
||||||
|
|
||||||
|
|
||||||
|
def random_string(length: Optional[int] = None) -> str:
|
||||||
|
if length is None:
|
||||||
|
length = 10
|
||||||
|
return ''.join(
|
||||||
|
random.choice(string.ascii_letters + string.digits)
|
||||||
|
for _ in range(length)
|
||||||
|
)
|
@ -7,7 +7,6 @@ from flask import Flask
|
|||||||
|
|
||||||
from fittrackee.users.models import User
|
from fittrackee.users.models import User
|
||||||
from fittrackee.workouts.models import Sport, Workout
|
from fittrackee.workouts.models import Sport, Workout
|
||||||
from fittrackee.workouts.utils_id import decode_short_id
|
|
||||||
|
|
||||||
from ..api_test_case import ApiTestCaseMixin
|
from ..api_test_case import ApiTestCaseMixin
|
||||||
from .utils import get_random_short_id, post_an_workout
|
from .utils import get_random_short_id, post_an_workout
|
||||||
@ -619,37 +618,3 @@ class TestEditWorkoutWithoutGpx(ApiTestCaseMixin):
|
|||||||
assert response.status_code == 404
|
assert response.status_code == 404
|
||||||
assert 'not found' in data['status']
|
assert 'not found' in data['status']
|
||||||
assert len(data['data']['workouts']) == 0
|
assert len(data['data']['workouts']) == 0
|
||||||
|
|
||||||
|
|
||||||
class TestRefreshWorkoutWithGpx:
|
|
||||||
def test_refresh_an_workout_with_gpx(
|
|
||||||
self,
|
|
||||||
app: Flask,
|
|
||||||
user_1: User,
|
|
||||||
sport_1_cycling: Sport,
|
|
||||||
sport_2_running: Sport,
|
|
||||||
gpx_file: str,
|
|
||||||
) -> None:
|
|
||||||
token, workout_short_id = post_an_workout(app, gpx_file)
|
|
||||||
workout_uuid = decode_short_id(workout_short_id)
|
|
||||||
client = app.test_client()
|
|
||||||
|
|
||||||
# Edit some workout data
|
|
||||||
workout = Workout.query.filter_by(uuid=workout_uuid).first()
|
|
||||||
workout.ascent = 1000
|
|
||||||
workout.min_alt = -100
|
|
||||||
|
|
||||||
response = client.patch(
|
|
||||||
f'/api/workouts/{workout_short_id}',
|
|
||||||
content_type='application/json',
|
|
||||||
data=json.dumps(dict(refresh=True)),
|
|
||||||
headers=dict(Authorization=f'Bearer {token}'),
|
|
||||||
)
|
|
||||||
data = json.loads(response.data.decode())
|
|
||||||
|
|
||||||
assert response.status_code == 200
|
|
||||||
assert 'success' in data['status']
|
|
||||||
assert len(data['data']['workouts']) == 1
|
|
||||||
assert 1 == data['data']['workouts'][0]['sport_id']
|
|
||||||
assert 0.4 == data['data']['workouts'][0]['ascent']
|
|
||||||
assert 975.0 == data['data']['workouts'][0]['min_alt']
|
|
||||||
|
2
fittrackee/users/exceptions.py
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
class UserNotFoundException(Exception):
|
||||||
|
...
|
@ -2,6 +2,7 @@ import os
|
|||||||
import shutil
|
import shutil
|
||||||
from typing import Any, Dict, Tuple, Union
|
from typing import Any, Dict, Tuple, Union
|
||||||
|
|
||||||
|
import click
|
||||||
from flask import Blueprint, request, send_file
|
from flask import Blueprint, request, send_file
|
||||||
from sqlalchemy import exc
|
from sqlalchemy import exc
|
||||||
|
|
||||||
@ -18,13 +19,26 @@ from fittrackee.workouts.models import Record, Workout, WorkoutSegment
|
|||||||
from fittrackee.workouts.utils_files import get_absolute_file_path
|
from fittrackee.workouts.utils_files import get_absolute_file_path
|
||||||
|
|
||||||
from .decorators import authenticate, authenticate_as_admin
|
from .decorators import authenticate, authenticate_as_admin
|
||||||
|
from .exceptions import UserNotFoundException
|
||||||
from .models import User, UserSportPreference
|
from .models import User, UserSportPreference
|
||||||
|
from .utils import set_admin_rights
|
||||||
|
|
||||||
users_blueprint = Blueprint('users', __name__)
|
users_blueprint = Blueprint('users', __name__)
|
||||||
|
|
||||||
USER_PER_PAGE = 10
|
USER_PER_PAGE = 10
|
||||||
|
|
||||||
|
|
||||||
|
@users_blueprint.cli.command('set-admin')
|
||||||
|
@click.argument('username')
|
||||||
|
def set_admin(username: str) -> None:
|
||||||
|
"""Set admin rights for given user"""
|
||||||
|
try:
|
||||||
|
set_admin_rights(username)
|
||||||
|
print(f"User '{username}' updated.")
|
||||||
|
except UserNotFoundException:
|
||||||
|
print(f"User '{username}' not found.")
|
||||||
|
|
||||||
|
|
||||||
@users_blueprint.route('/users', methods=['GET'])
|
@users_blueprint.route('/users', methods=['GET'])
|
||||||
@authenticate
|
@authenticate
|
||||||
def get_users(auth_user: User) -> Dict:
|
def get_users(auth_user: User) -> Dict:
|
||||||
|
@ -3,12 +3,14 @@ from typing import Optional, Tuple
|
|||||||
|
|
||||||
from flask import Request
|
from flask import Request
|
||||||
|
|
||||||
|
from fittrackee import db
|
||||||
from fittrackee.responses import (
|
from fittrackee.responses import (
|
||||||
ForbiddenErrorResponse,
|
ForbiddenErrorResponse,
|
||||||
HttpResponse,
|
HttpResponse,
|
||||||
UnauthorizedErrorResponse,
|
UnauthorizedErrorResponse,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from .exceptions import UserNotFoundException
|
||||||
from .models import User
|
from .models import User
|
||||||
|
|
||||||
|
|
||||||
@ -35,6 +37,21 @@ def check_passwords(password: str, password_conf: str) -> str:
|
|||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
|
def check_username(username: str) -> str:
|
||||||
|
"""
|
||||||
|
Return if username is valid
|
||||||
|
"""
|
||||||
|
ret = ''
|
||||||
|
if not 2 < len(username) < 13:
|
||||||
|
ret += 'username: 3 to 12 characters required\n'
|
||||||
|
if not re.match(r'^[a-zA-Z0-9_]+$', username):
|
||||||
|
ret += (
|
||||||
|
'username: only alphanumeric characters and the '
|
||||||
|
'underscore character "_" allowed\n'
|
||||||
|
)
|
||||||
|
return ret
|
||||||
|
|
||||||
|
|
||||||
def register_controls(
|
def register_controls(
|
||||||
username: str, email: str, password: str, password_conf: str
|
username: str, email: str, password: str, password_conf: str
|
||||||
) -> str:
|
) -> str:
|
||||||
@ -43,9 +60,7 @@ def register_controls(
|
|||||||
|
|
||||||
If not, it returns not empty string
|
If not, it returns not empty string
|
||||||
"""
|
"""
|
||||||
ret = ''
|
ret = check_username(username)
|
||||||
if not 2 < len(username) < 13:
|
|
||||||
ret += 'username: 3 to 12 characters required\n'
|
|
||||||
if not is_valid_email(email):
|
if not is_valid_email(email):
|
||||||
ret += 'email: valid email must be provided\n'
|
ret += 'email: valid email must be provided\n'
|
||||||
ret += check_passwords(password, password_conf)
|
ret += check_passwords(password, password_conf)
|
||||||
@ -84,3 +99,11 @@ def can_view_workout(
|
|||||||
if auth_user_id != workout_user_id:
|
if auth_user_id != workout_user_id:
|
||||||
return ForbiddenErrorResponse()
|
return ForbiddenErrorResponse()
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
def set_admin_rights(username: str) -> None:
|
||||||
|
user = User.query.filter_by(username=username).first()
|
||||||
|
if not user:
|
||||||
|
raise UserNotFoundException()
|
||||||
|
user.admin = True
|
||||||
|
db.session.commit()
|
||||||
|
@ -189,14 +189,12 @@ def edit_workout(
|
|||||||
workout: Workout, workout_data: Dict, auth_user: User
|
workout: Workout, workout_data: Dict, auth_user: User
|
||||||
) -> Workout:
|
) -> Workout:
|
||||||
"""
|
"""
|
||||||
Edit an workout
|
Edit a workout
|
||||||
Note: the gpx file is NOT modified
|
Note: the gpx file is NOT modified
|
||||||
|
|
||||||
In a next version, map_data and weather_data will be updated
|
In a next version, map_data and weather_data will be updated
|
||||||
(case of a modified gpx file, see issue #7)
|
(case of a modified gpx file, see issue #7)
|
||||||
"""
|
"""
|
||||||
if workout_data.get('refresh'):
|
|
||||||
workout = update_workout(workout)
|
|
||||||
if workout_data.get('sport_id'):
|
if workout_data.get('sport_id'):
|
||||||
workout.sport_id = workout_data.get('sport_id')
|
workout.sport_id = workout_data.get('sport_id')
|
||||||
if workout_data.get('title'):
|
if workout_data.get('title'):
|
||||||
|
@ -14,6 +14,7 @@ from flask import (
|
|||||||
)
|
)
|
||||||
from sqlalchemy import exc
|
from sqlalchemy import exc
|
||||||
from werkzeug.exceptions import RequestEntityTooLarge
|
from werkzeug.exceptions import RequestEntityTooLarge
|
||||||
|
from werkzeug.utils import secure_filename
|
||||||
|
|
||||||
from fittrackee import appLog, db
|
from fittrackee import appLog, db
|
||||||
from fittrackee.responses import (
|
from fittrackee.responses import (
|
||||||
@ -829,7 +830,12 @@ def get_map_tile(s: str, z: str, x: str, y: str) -> Tuple[Response, int]:
|
|||||||
Status codes are status codes returned by tile server
|
Status codes are status codes returned by tile server
|
||||||
|
|
||||||
"""
|
"""
|
||||||
url = current_app.config['TILE_SERVER']['URL'].format(s=s, z=z, x=x, y=y)
|
url = current_app.config['TILE_SERVER']['URL'].format(
|
||||||
|
s=secure_filename(s),
|
||||||
|
z=secure_filename(z),
|
||||||
|
x=secure_filename(x),
|
||||||
|
y=secure_filename(y),
|
||||||
|
)
|
||||||
headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:88.0)'}
|
headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:88.0)'}
|
||||||
response = requests.get(url, headers=headers)
|
response = requests.get(url, headers=headers)
|
||||||
return (
|
return (
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fittrackee_client",
|
"name": "fittrackee_client",
|
||||||
"version": "0.5.6",
|
"version": "0.5.7",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
|
@ -21,6 +21,9 @@
|
|||||||
id="username"
|
id="username"
|
||||||
:disabled="registration_disabled"
|
:disabled="registration_disabled"
|
||||||
required
|
required
|
||||||
|
pattern="[a-zA-Z0-9_]+"
|
||||||
|
minlength="3"
|
||||||
|
maxlength="12"
|
||||||
@invalid="invalidateForm"
|
@invalid="invalidateForm"
|
||||||
v-model="formData.username"
|
v-model="formData.username"
|
||||||
:placeholder="$t('user.USERNAME')"
|
:placeholder="$t('user.USERNAME')"
|
||||||
@ -46,6 +49,7 @@
|
|||||||
required
|
required
|
||||||
@invalid="invalidateForm"
|
@invalid="invalidateForm"
|
||||||
type="password"
|
type="password"
|
||||||
|
minlength="8"
|
||||||
v-model="formData.password"
|
v-model="formData.password"
|
||||||
:placeholder="
|
:placeholder="
|
||||||
action === 'reset'
|
action === 'reset'
|
||||||
@ -58,6 +62,7 @@
|
|||||||
id="confirm-password"
|
id="confirm-password"
|
||||||
:disabled="registration_disabled"
|
:disabled="registration_disabled"
|
||||||
type="password"
|
type="password"
|
||||||
|
minlength="8"
|
||||||
required
|
required
|
||||||
@invalid="invalidateForm"
|
@invalid="invalidateForm"
|
||||||
v-model="formData.password_conf"
|
v-model="formData.password_conf"
|
||||||
|
@ -17,13 +17,11 @@
|
|||||||
"no selected file": "No selected file.",
|
"no selected file": "No selected file.",
|
||||||
"password: password and password confirmation do not match": "Password: password and password confirmation don't match.",
|
"password: password and password confirmation do not match": "Password: password and password confirmation don't match.",
|
||||||
"provide a valid auth token": "Provide a valid auth token.",
|
"provide a valid auth token": "Provide a valid auth token.",
|
||||||
"password: 8 characters required": "Password: 8 characters required.",
|
|
||||||
"sorry, that user already exists": "Sorry, that user already exists.",
|
"sorry, that user already exists": "Sorry, that user already exists.",
|
||||||
"sport does not exist": "Sport does not exist.",
|
"sport does not exist": "Sport does not exist.",
|
||||||
"signature expired, please log in again": "Signature expired. Please log in again.",
|
"signature expired, please log in again": "Signature expired. Please log in again.",
|
||||||
"successfully registered": "Successfully registered.",
|
"successfully registered": "Successfully registered.",
|
||||||
"user does not exist": "User does not exist.",
|
"user does not exist": "User does not exist.",
|
||||||
"username: 3 to 12 characters required": "Username: 3 to 12 characters required.",
|
|
||||||
"you can not delete your account, no other user has admin rights": "You can not delete your account, no other user has admin rights.",
|
"you can not delete your account, no other user has admin rights": "You can not delete your account, no other user has admin rights.",
|
||||||
"you do not have permissions": "You do not have permissions."
|
"you do not have permissions": "You do not have permissions."
|
||||||
},
|
},
|
||||||
|
@ -17,13 +17,11 @@
|
|||||||
"Network Error": "Erreur Réseau.",
|
"Network Error": "Erreur Réseau.",
|
||||||
"password: password and password confirmation do not match": "Mot de passe : les mots de passe saisis sont différents.",
|
"password: password and password confirmation do not match": "Mot de passe : les mots de passe saisis sont différents.",
|
||||||
"provide a valid auth token": "Merci de fournir un jeton de connexion valide.",
|
"provide a valid auth token": "Merci de fournir un jeton de connexion valide.",
|
||||||
"password: 8 characters required": "Mot de passe : 8 caractères minimum.",
|
|
||||||
"sport does not exist": "Ce sport n'existe pas.",
|
"sport does not exist": "Ce sport n'existe pas.",
|
||||||
"signature expired, please log in again": "Signature expirée. Merci de vous reconnecter.",
|
"signature expired, please log in again": "Signature expirée. Merci de vous reconnecter.",
|
||||||
"sorry, that user already exists": "Désolé, cet utilisateur existe déjà.",
|
"sorry, that user already exists": "Désolé, cet utilisateur existe déjà.",
|
||||||
"successfully registered": "Inscription validée.",
|
"successfully registered": "Inscription validée.",
|
||||||
"user does not exist": "L'utilisateur n'existe pas",
|
"user does not exist": "L'utilisateur n'existe pas",
|
||||||
"username: 3 to 12 characters required": "Nom d'utilisateur : 3 à 12 caractères requis.",
|
|
||||||
"you can not delete your account, no other user has admin rights": "Vous ne pouvez pas supprimer votre compte, aucun autre utilisateur n'a des droits d'administration.",
|
"you can not delete your account, no other user has admin rights": "Vous ne pouvez pas supprimer votre compte, aucun autre utilisateur n'a des droits d'administration.",
|
||||||
"you do not have permissions": "Vous n'avez pas les permissions nécessaires."
|
"you do not have permissions": "Vous n'avez pas les permissions nécessaires."
|
||||||
},
|
},
|
||||||
|
@ -1687,47 +1687,47 @@
|
|||||||
semver "^6.1.0"
|
semver "^6.1.0"
|
||||||
strip-ansi "^6.0.0"
|
strip-ansi "^6.0.0"
|
||||||
|
|
||||||
"@vue/compiler-core@3.2.29":
|
"@vue/compiler-core@3.2.31":
|
||||||
version "3.2.29"
|
version "3.2.31"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.29.tgz#b06097ab8ff0493177c68c5ea5b63d379a061097"
|
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.31.tgz#d38f06c2cf845742403b523ab4596a3fda152e89"
|
||||||
integrity sha512-RePZ/J4Ub3sb7atQw6V6Rez+/5LCRHGFlSetT3N4VMrejqJnNPXKUt5AVm/9F5MJriy2w/VudEIvgscCfCWqxw==
|
integrity sha512-aKno00qoA4o+V/kR6i/pE+aP+esng5siNAVQ422TkBNM6qA4veXiZbSe8OTXHXquEi/f6Akc+nLfB4JGfe4/WQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/parser" "^7.16.4"
|
"@babel/parser" "^7.16.4"
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.31"
|
||||||
estree-walker "^2.0.2"
|
estree-walker "^2.0.2"
|
||||||
source-map "^0.6.1"
|
source-map "^0.6.1"
|
||||||
|
|
||||||
"@vue/compiler-dom@3.2.29":
|
"@vue/compiler-dom@3.2.31":
|
||||||
version "3.2.29"
|
version "3.2.31"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.29.tgz#ad0ead405bd2f2754161335aad9758aa12430715"
|
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.31.tgz#b1b7dfad55c96c8cc2b919cd7eb5fd7e4ddbf00e"
|
||||||
integrity sha512-y26vK5khdNS9L3ckvkqJk/78qXwWb75Ci8iYLb67AkJuIgyKhIOcR1E8RIt4mswlVCIeI9gQ+fmtdhaiTAtrBQ==
|
integrity sha512-60zIlFfzIDf3u91cqfqy9KhCKIJgPeqxgveH2L+87RcGU/alT6BRrk5JtUso0OibH3O7NXuNOQ0cDc9beT0wrg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@vue/compiler-core" "3.2.29"
|
"@vue/compiler-core" "3.2.31"
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.31"
|
||||||
|
|
||||||
"@vue/compiler-sfc@3.2.29":
|
"@vue/compiler-sfc@3.2.31":
|
||||||
version "3.2.29"
|
version "3.2.31"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.29.tgz#f76d556cd5fca6a55a3ea84c88db1a2a53a36ead"
|
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.31.tgz#d02b29c3fe34d599a52c5ae1c6937b4d69f11c2f"
|
||||||
integrity sha512-X9+0dwsag2u6hSOP/XsMYqFti/edvYvxamgBgCcbSYuXx1xLZN+dS/GvQKM4AgGS4djqo0jQvWfIXdfZ2ET68g==
|
integrity sha512-748adc9msSPGzXgibHiO6T7RWgfnDcVQD+VVwYgSsyyY8Ans64tALHZANrKtOzvkwznV/F4H7OAod/jIlp/dkQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/parser" "^7.16.4"
|
"@babel/parser" "^7.16.4"
|
||||||
"@vue/compiler-core" "3.2.29"
|
"@vue/compiler-core" "3.2.31"
|
||||||
"@vue/compiler-dom" "3.2.29"
|
"@vue/compiler-dom" "3.2.31"
|
||||||
"@vue/compiler-ssr" "3.2.29"
|
"@vue/compiler-ssr" "3.2.31"
|
||||||
"@vue/reactivity-transform" "3.2.29"
|
"@vue/reactivity-transform" "3.2.31"
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.31"
|
||||||
estree-walker "^2.0.2"
|
estree-walker "^2.0.2"
|
||||||
magic-string "^0.25.7"
|
magic-string "^0.25.7"
|
||||||
postcss "^8.1.10"
|
postcss "^8.1.10"
|
||||||
source-map "^0.6.1"
|
source-map "^0.6.1"
|
||||||
|
|
||||||
"@vue/compiler-ssr@3.2.29":
|
"@vue/compiler-ssr@3.2.31":
|
||||||
version "3.2.29"
|
version "3.2.31"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.29.tgz#37b15b32dcd2f6b410bb61fca3f37b1a92b7eb1e"
|
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.31.tgz#4fa00f486c9c4580b40a4177871ebbd650ecb99c"
|
||||||
integrity sha512-LrvQwXlx66uWsB9/VydaaqEpae9xtmlUkeSKF6aPDbzx8M1h7ukxaPjNCAXuFd3fUHblcri8k42lfimHfzMICA==
|
integrity sha512-mjN0rqig+A8TVDnsGPYJM5dpbjlXeHUm2oZHZwGyMYiGT/F4fhJf/cXy8QpjnLQK4Y9Et4GWzHn9PS8AHUnSkw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@vue/compiler-dom" "3.2.29"
|
"@vue/compiler-dom" "3.2.31"
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.31"
|
||||||
|
|
||||||
"@vue/component-compiler-utils@^3.1.0", "@vue/component-compiler-utils@^3.1.2":
|
"@vue/component-compiler-utils@^3.1.0", "@vue/component-compiler-utils@^3.1.2":
|
||||||
version "3.3.0"
|
version "3.3.0"
|
||||||
@ -1769,14 +1769,14 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@vue/preload-webpack-plugin/-/preload-webpack-plugin-1.1.2.tgz#ceb924b4ecb3b9c43871c7a429a02f8423e621ab"
|
resolved "https://registry.yarnpkg.com/@vue/preload-webpack-plugin/-/preload-webpack-plugin-1.1.2.tgz#ceb924b4ecb3b9c43871c7a429a02f8423e621ab"
|
||||||
integrity sha512-LIZMuJk38pk9U9Ur4YzHjlIyMuxPlACdBIHH9/nGYVTsaGKOSnSuELiE8vS9wa+dJpIYspYUOqk+L1Q4pgHQHQ==
|
integrity sha512-LIZMuJk38pk9U9Ur4YzHjlIyMuxPlACdBIHH9/nGYVTsaGKOSnSuELiE8vS9wa+dJpIYspYUOqk+L1Q4pgHQHQ==
|
||||||
|
|
||||||
"@vue/reactivity-transform@3.2.29":
|
"@vue/reactivity-transform@3.2.31":
|
||||||
version "3.2.29"
|
version "3.2.31"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.29.tgz#a08d606e10016b7cf588d1a43dae4db2953f9354"
|
resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.31.tgz#0f5b25c24e70edab2b613d5305c465b50fc00911"
|
||||||
integrity sha512-YF6HdOuhdOw6KyRm59+3rML8USb9o8mYM1q+SH0G41K3/q/G7uhPnHGKvspzceD7h9J3VR1waOQ93CUZj7J7OA==
|
integrity sha512-uS4l4z/W7wXdI+Va5pgVxBJ345wyGFKvpPYtdSgvfJfX/x2Ymm6ophQlXXB6acqGHtXuBqNyyO3zVp9b1r0MOA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/parser" "^7.16.4"
|
"@babel/parser" "^7.16.4"
|
||||||
"@vue/compiler-core" "3.2.29"
|
"@vue/compiler-core" "3.2.31"
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.31"
|
||||||
estree-walker "^2.0.2"
|
estree-walker "^2.0.2"
|
||||||
magic-string "^0.25.7"
|
magic-string "^0.25.7"
|
||||||
|
|
||||||
@ -1787,6 +1787,13 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.29"
|
||||||
|
|
||||||
|
"@vue/reactivity@3.2.31":
|
||||||
|
version "3.2.31"
|
||||||
|
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.31.tgz#fc90aa2cdf695418b79e534783aca90d63a46bbd"
|
||||||
|
integrity sha512-HVr0l211gbhpEKYr2hYe7hRsV91uIVGFYNHj73njbARVGHQvIojkImKMaZNDdoDZOIkMsBc9a1sMqR+WZwfSCw==
|
||||||
|
dependencies:
|
||||||
|
"@vue/shared" "3.2.31"
|
||||||
|
|
||||||
"@vue/runtime-core@3.2.29", "@vue/runtime-core@latest":
|
"@vue/runtime-core@3.2.29", "@vue/runtime-core@latest":
|
||||||
version "3.2.29"
|
version "3.2.29"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.29.tgz#fb8577b2fcf52e8d967bd91cdf49ab9fb91f9417"
|
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.29.tgz#fb8577b2fcf52e8d967bd91cdf49ab9fb91f9417"
|
||||||
@ -1795,7 +1802,24 @@
|
|||||||
"@vue/reactivity" "3.2.29"
|
"@vue/reactivity" "3.2.29"
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.29"
|
||||||
|
|
||||||
"@vue/runtime-dom@3.2.29", "@vue/runtime-dom@latest":
|
"@vue/runtime-core@3.2.31":
|
||||||
|
version "3.2.31"
|
||||||
|
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.31.tgz#9d284c382f5f981b7a7b5971052a1dc4ef39ac7a"
|
||||||
|
integrity sha512-Kcog5XmSY7VHFEMuk4+Gap8gUssYMZ2+w+cmGI6OpZWYOEIcbE0TPzzPHi+8XTzAgx1w/ZxDFcXhZeXN5eKWsA==
|
||||||
|
dependencies:
|
||||||
|
"@vue/reactivity" "3.2.31"
|
||||||
|
"@vue/shared" "3.2.31"
|
||||||
|
|
||||||
|
"@vue/runtime-dom@3.2.31":
|
||||||
|
version "3.2.31"
|
||||||
|
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.31.tgz#79ce01817cb3caf2c9d923f669b738d2d7953eff"
|
||||||
|
integrity sha512-N+o0sICVLScUjfLG7u9u5XCjvmsexAiPt17GNnaWHJUfsKed5e85/A3SWgKxzlxx2SW/Hw7RQxzxbXez9PtY3g==
|
||||||
|
dependencies:
|
||||||
|
"@vue/runtime-core" "3.2.31"
|
||||||
|
"@vue/shared" "3.2.31"
|
||||||
|
csstype "^2.6.8"
|
||||||
|
|
||||||
|
"@vue/runtime-dom@latest":
|
||||||
version "3.2.29"
|
version "3.2.29"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.29.tgz#35e9a2bf04ef80b86ac2ca0e7b2ceaccf1e18f01"
|
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.29.tgz#35e9a2bf04ef80b86ac2ca0e7b2ceaccf1e18f01"
|
||||||
integrity sha512-YJgLQLwr+SQyORzTsBQLL5TT/5UiV83tEotqjL7F9aFDIQdFBTCwpkCFvX9jqwHoyi9sJqM9XtTrMcc8z/OjPA==
|
integrity sha512-YJgLQLwr+SQyORzTsBQLL5TT/5UiV83tEotqjL7F9aFDIQdFBTCwpkCFvX9jqwHoyi9sJqM9XtTrMcc8z/OjPA==
|
||||||
@ -1804,19 +1828,24 @@
|
|||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.29"
|
||||||
csstype "^2.6.8"
|
csstype "^2.6.8"
|
||||||
|
|
||||||
"@vue/server-renderer@3.2.29":
|
"@vue/server-renderer@3.2.31":
|
||||||
version "3.2.29"
|
version "3.2.31"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.29.tgz#ea6afa361b9c781a868c8da18c761f9b7bc89102"
|
resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.31.tgz#201e9d6ce735847d5989403af81ef80960da7141"
|
||||||
integrity sha512-lpiYx7ciV7rWfJ0tPkoSOlLmwqBZ9FTmQm33S+T4g0j1fO/LmhJ9b9Ctl1o5xvIFVDk9QkSUWANZn7H2pXuxVw==
|
integrity sha512-8CN3Zj2HyR2LQQBHZ61HexF5NReqngLT3oahyiVRfSSvak+oAvVmu8iNLSu6XR77Ili2AOpnAt1y8ywjjqtmkg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@vue/compiler-ssr" "3.2.29"
|
"@vue/compiler-ssr" "3.2.31"
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.31"
|
||||||
|
|
||||||
"@vue/shared@3.2.29":
|
"@vue/shared@3.2.29":
|
||||||
version "3.2.29"
|
version "3.2.29"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.29.tgz#07dac7051117236431d2f737d16932aa38bbb925"
|
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.29.tgz#07dac7051117236431d2f737d16932aa38bbb925"
|
||||||
integrity sha512-BjNpU8OK6Z0LVzGUppEk0CMYm/hKDnZfYdjSmPOs0N+TR1cLKJAkDwW8ASZUvaaSLEi6d3hVM7jnWnX+6yWnHw==
|
integrity sha512-BjNpU8OK6Z0LVzGUppEk0CMYm/hKDnZfYdjSmPOs0N+TR1cLKJAkDwW8ASZUvaaSLEi6d3hVM7jnWnX+6yWnHw==
|
||||||
|
|
||||||
|
"@vue/shared@3.2.31":
|
||||||
|
version "3.2.31"
|
||||||
|
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.31.tgz#c90de7126d833dcd3a4c7534d534be2fb41faa4e"
|
||||||
|
integrity sha512-ymN2pj6zEjiKJZbrf98UM2pfDd6F2H7ksKw7NDt/ZZ1fh5Ei39X5tABugtT03ZRlWd9imccoK0hE8hpjpU7irQ==
|
||||||
|
|
||||||
"@vue/test-utils@^2.0.0-0":
|
"@vue/test-utils@^2.0.0-0":
|
||||||
version "2.0.0-rc.18"
|
version "2.0.0-rc.18"
|
||||||
resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.0.0-rc.18.tgz#ff22b252424fe72e5462cbb3a8e7405cef11ffb6"
|
resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.0.0-rc.18.tgz#ff22b252424fe72e5462cbb3a8e7405cef11ffb6"
|
||||||
@ -2899,9 +2928,9 @@ chardet@^0.7.0:
|
|||||||
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
|
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
|
||||||
|
|
||||||
chart.js@^3.7.0:
|
chart.js@^3.7.0:
|
||||||
version "3.7.0"
|
version "3.7.1"
|
||||||
resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-3.7.0.tgz#7a19c93035341df801d613993c2170a1fcf1d882"
|
resolved "https://registry.yarnpkg.com/chart.js/-/chart.js-3.7.1.tgz#0516f690c6a8680c6c707e31a4c1807a6f400ada"
|
||||||
integrity sha512-31gVuqqKp3lDIFmzpKIrBeum4OpZsQjSIAqlOpgjosHDJZlULtvwLEZKtEhIAZc7JMPaHlYMys40Qy9Mf+1AAg==
|
integrity sha512-8knRegQLFnPQAheZV8MjxIXc5gQEfDFD897BJgv/klO/vtIyFFmgMXrNfgrXpbTr/XbTturxRgxIXx/Y+ASJBA==
|
||||||
|
|
||||||
chartjs-plugin-datalabels@^2.0.0:
|
chartjs-plugin-datalabels@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
@ -9899,15 +9928,15 @@ vue@^2.6.11:
|
|||||||
integrity sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==
|
integrity sha512-x2284lgYvjOMj3Za7kqzRcUSxBboHqtgRE2zlos1qWaOye5yUmHn42LB1250NJBLRwEcdrB0JRwyPTEPhfQjiQ==
|
||||||
|
|
||||||
vue@^3.0.0:
|
vue@^3.0.0:
|
||||||
version "3.2.29"
|
version "3.2.31"
|
||||||
resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.29.tgz#3571b65dbd796d3a6347e2fd45a8e6e11c13d56a"
|
resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.31.tgz#e0c49924335e9f188352816788a4cca10f817ce6"
|
||||||
integrity sha512-cFIwr7LkbtCRanjNvh6r7wp2yUxfxeM2yPpDQpAfaaLIGZSrUmLbNiSze9nhBJt5MrZ68Iqt0O5scwAMEVxF+Q==
|
integrity sha512-odT3W2tcffTiQCy57nOT93INw1auq5lYLLYtWpPYQQYQOOdHiqFct9Xhna6GJ+pJQaF67yZABraH47oywkJgFw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@vue/compiler-dom" "3.2.29"
|
"@vue/compiler-dom" "3.2.31"
|
||||||
"@vue/compiler-sfc" "3.2.29"
|
"@vue/compiler-sfc" "3.2.31"
|
||||||
"@vue/runtime-dom" "3.2.29"
|
"@vue/runtime-dom" "3.2.31"
|
||||||
"@vue/server-renderer" "3.2.29"
|
"@vue/server-renderer" "3.2.31"
|
||||||
"@vue/shared" "3.2.29"
|
"@vue/shared" "3.2.31"
|
||||||
|
|
||||||
vuex@^4.0.0-0:
|
vuex@^4.0.0-0:
|
||||||
version "4.0.2"
|
version "4.0.2"
|
||||||
|
64
poetry.lock
generated
@ -407,7 +407,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "importlib-metadata"
|
name = "importlib-metadata"
|
||||||
version = "4.10.1"
|
version = "4.11.0"
|
||||||
description = "Read metadata from Python packages"
|
description = "Read metadata from Python packages"
|
||||||
category = "main"
|
category = "main"
|
||||||
optional = false
|
optional = false
|
||||||
@ -578,7 +578,7 @@ python-versions = ">=3.7"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "platformdirs"
|
name = "platformdirs"
|
||||||
version = "2.4.1"
|
version = "2.5.0"
|
||||||
description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
|
description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
|
||||||
category = "dev"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
@ -704,7 +704,7 @@ diagrams = ["jinja2", "railroad-diagrams"]
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pytest"
|
name = "pytest"
|
||||||
version = "7.0.0"
|
version = "7.0.1"
|
||||||
description = "pytest: simple powerful testing with Python"
|
description = "pytest: simple powerful testing with Python"
|
||||||
category = "dev"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
@ -907,7 +907,7 @@ sphinx = ">=1.3.1"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "redis"
|
name = "redis"
|
||||||
version = "4.1.2"
|
version = "4.1.3"
|
||||||
description = "Python client for Redis database and key-value store"
|
description = "Python client for Redis database and key-value store"
|
||||||
category = "main"
|
category = "main"
|
||||||
optional = false
|
optional = false
|
||||||
@ -1200,28 +1200,12 @@ python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "tomli"
|
name = "tomli"
|
||||||
version = "2.0.0"
|
version = "2.0.1"
|
||||||
description = "A lil' TOML parser"
|
description = "A lil' TOML parser"
|
||||||
category = "dev"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.7"
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "tqdm"
|
|
||||||
version = "4.62.3"
|
|
||||||
description = "Fast, Extensible Progress Meter"
|
|
||||||
category = "main"
|
|
||||||
optional = false
|
|
||||||
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7"
|
|
||||||
|
|
||||||
[package.dependencies]
|
|
||||||
colorama = {version = "*", markers = "platform_system == \"Windows\""}
|
|
||||||
|
|
||||||
[package.extras]
|
|
||||||
dev = ["py-make (>=0.1.0)", "twine", "wheel"]
|
|
||||||
notebook = ["ipywidgets (>=6)"]
|
|
||||||
telegram = ["requests"]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "trio"
|
name = "trio"
|
||||||
version = "0.19.0"
|
version = "0.19.0"
|
||||||
@ -1278,7 +1262,7 @@ python-versions = "*"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "types-requests"
|
name = "types-requests"
|
||||||
version = "2.27.8"
|
version = "2.27.9"
|
||||||
description = "Typing stubs for requests"
|
description = "Typing stubs for requests"
|
||||||
category = "dev"
|
category = "dev"
|
||||||
optional = false
|
optional = false
|
||||||
@ -1324,7 +1308,7 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "werkzeug"
|
name = "werkzeug"
|
||||||
version = "2.0.2"
|
version = "2.0.3"
|
||||||
description = "The comprehensive WSGI web application library."
|
description = "The comprehensive WSGI web application library."
|
||||||
category = "main"
|
category = "main"
|
||||||
optional = false
|
optional = false
|
||||||
@ -1367,7 +1351,7 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest-
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "1.1"
|
lock-version = "1.1"
|
||||||
python-versions = "^3.7"
|
python-versions = "^3.7"
|
||||||
content-hash = "efbc9200e445df97c991ac1e6b72873262c32e0f09b21dc682593fd5034686ab"
|
content-hash = "ec6da4aaa4cef6ee6c235ef4d2f101b533409097ee8b5169596373a5b4c60cdb"
|
||||||
|
|
||||||
[metadata.files]
|
[metadata.files]
|
||||||
alabaster = [
|
alabaster = [
|
||||||
@ -1679,8 +1663,8 @@ imagesize = [
|
|||||||
{file = "imagesize-1.3.0.tar.gz", hash = "sha256:cd1750d452385ca327479d45b64d9c7729ecf0b3969a58148298c77092261f9d"},
|
{file = "imagesize-1.3.0.tar.gz", hash = "sha256:cd1750d452385ca327479d45b64d9c7729ecf0b3969a58148298c77092261f9d"},
|
||||||
]
|
]
|
||||||
importlib-metadata = [
|
importlib-metadata = [
|
||||||
{file = "importlib_metadata-4.10.1-py3-none-any.whl", hash = "sha256:899e2a40a8c4a1aec681feef45733de8a6c58f3f6a0dbed2eb6574b4387a77b6"},
|
{file = "importlib_metadata-4.11.0-py3-none-any.whl", hash = "sha256:6affcdb3aec542dd98df8211e730bba6c5f2bec8288d47bacacde898f548c9ad"},
|
||||||
{file = "importlib_metadata-4.10.1.tar.gz", hash = "sha256:951f0d8a5b7260e9db5e41d429285b5f451e928479f19d80818878527d36e95e"},
|
{file = "importlib_metadata-4.11.0.tar.gz", hash = "sha256:9e5e553bbba1843cb4a00823014b907616be46ee503d2b9ba001d214a8da218f"},
|
||||||
]
|
]
|
||||||
importlib-resources = [
|
importlib-resources = [
|
||||||
{file = "importlib_resources-5.4.0-py3-none-any.whl", hash = "sha256:33a95faed5fc19b4bc16b29a6eeae248a3fe69dd55d4d229d2b480e23eeaad45"},
|
{file = "importlib_resources-5.4.0-py3-none-any.whl", hash = "sha256:33a95faed5fc19b4bc16b29a6eeae248a3fe69dd55d4d229d2b480e23eeaad45"},
|
||||||
@ -1822,8 +1806,8 @@ pillow = [
|
|||||||
{file = "Pillow-9.0.1.tar.gz", hash = "sha256:6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa"},
|
{file = "Pillow-9.0.1.tar.gz", hash = "sha256:6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa"},
|
||||||
]
|
]
|
||||||
platformdirs = [
|
platformdirs = [
|
||||||
{file = "platformdirs-2.4.1-py3-none-any.whl", hash = "sha256:1d7385c7db91728b83efd0ca99a5afb296cab9d0ed8313a45ed8ba17967ecfca"},
|
{file = "platformdirs-2.5.0-py3-none-any.whl", hash = "sha256:30671902352e97b1eafd74ade8e4a694782bd3471685e78c32d0fdfd3aa7e7bb"},
|
||||||
{file = "platformdirs-2.4.1.tar.gz", hash = "sha256:440633ddfebcc36264232365d7840a970e75e1018d15b4327d11f91909045fda"},
|
{file = "platformdirs-2.5.0.tar.gz", hash = "sha256:8ec11dfba28ecc0715eb5fb0147a87b1bf325f349f3da9aab2cd6b50b96b692b"},
|
||||||
]
|
]
|
||||||
pluggy = [
|
pluggy = [
|
||||||
{file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"},
|
{file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"},
|
||||||
@ -1924,8 +1908,8 @@ pyparsing = [
|
|||||||
{file = "pyparsing-3.0.7.tar.gz", hash = "sha256:18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea"},
|
{file = "pyparsing-3.0.7.tar.gz", hash = "sha256:18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea"},
|
||||||
]
|
]
|
||||||
pytest = [
|
pytest = [
|
||||||
{file = "pytest-7.0.0-py3-none-any.whl", hash = "sha256:42901e6bd4bd4a0e533358a86e848427a49005a3256f657c5c8f8dd35ef137a9"},
|
{file = "pytest-7.0.1-py3-none-any.whl", hash = "sha256:9ce3ff477af913ecf6321fe337b93a2c0dcf2a0a1439c43f5452112c1e4280db"},
|
||||||
{file = "pytest-7.0.0.tar.gz", hash = "sha256:dad48ffda394e5ad9aa3b7d7ddf339ed502e5e365b1350e0af65f4a602344b11"},
|
{file = "pytest-7.0.1.tar.gz", hash = "sha256:e30905a0c131d3d94b89624a1cc5afec3e0ba2fbdb151867d8e0ebd49850f171"},
|
||||||
]
|
]
|
||||||
pytest-base-url = [
|
pytest-base-url = [
|
||||||
{file = "pytest-base-url-1.4.2.tar.gz", hash = "sha256:7f1f32e08c2ee751e59e7f5880235b46e83496adc5cba5a01ca218c6fe81333d"},
|
{file = "pytest-base-url-1.4.2.tar.gz", hash = "sha256:7f1f32e08c2ee751e59e7f5880235b46e83496adc5cba5a01ca218c6fe81333d"},
|
||||||
@ -1982,8 +1966,8 @@ recommonmark = [
|
|||||||
{file = "recommonmark-0.7.1.tar.gz", hash = "sha256:bdb4db649f2222dcd8d2d844f0006b958d627f732415d399791ee436a3686d67"},
|
{file = "recommonmark-0.7.1.tar.gz", hash = "sha256:bdb4db649f2222dcd8d2d844f0006b958d627f732415d399791ee436a3686d67"},
|
||||||
]
|
]
|
||||||
redis = [
|
redis = [
|
||||||
{file = "redis-4.1.2-py3-none-any.whl", hash = "sha256:f13eea4254e302485add677cadedaf1305c1b3a4e07535e23b7b239798ce9301"},
|
{file = "redis-4.1.3-py3-none-any.whl", hash = "sha256:267e89e476eb684517584e8988f1e5d755f483a368c133020c4c40e8b676bc5d"},
|
||||||
{file = "redis-4.1.2.tar.gz", hash = "sha256:bf86397be532fc0a888d5976a5313a3a70d8f912d52bc0c09bffda4b8425a1d4"},
|
{file = "redis-4.1.3.tar.gz", hash = "sha256:f2715caad9f0e8c6ff8df46d3c4c9022a3929001f530f66b62747554d3067068"},
|
||||||
]
|
]
|
||||||
requests = [
|
requests = [
|
||||||
{file = "requests-2.27.1-py2.py3-none-any.whl", hash = "sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d"},
|
{file = "requests-2.27.1-py2.py3-none-any.whl", hash = "sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d"},
|
||||||
@ -2102,12 +2086,8 @@ toml = [
|
|||||||
{file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"},
|
{file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"},
|
||||||
]
|
]
|
||||||
tomli = [
|
tomli = [
|
||||||
{file = "tomli-2.0.0-py3-none-any.whl", hash = "sha256:b5bde28da1fed24b9bd1d4d2b8cba62300bfb4ec9a6187a957e8ddb9434c5224"},
|
{file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
|
||||||
{file = "tomli-2.0.0.tar.gz", hash = "sha256:c292c34f58502a1eb2bbb9f5bbc9a5ebc37bee10ffb8c2d6bbdfa8eb13cc14e1"},
|
{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
|
||||||
]
|
|
||||||
tqdm = [
|
|
||||||
{file = "tqdm-4.62.3-py2.py3-none-any.whl", hash = "sha256:8dd278a422499cd6b727e6ae4061c40b48fce8b76d1ccbf5d34fca9b7f925b0c"},
|
|
||||||
{file = "tqdm-4.62.3.tar.gz", hash = "sha256:d359de7217506c9851b7869f3708d8ee53ed70a1b8edbba4dbcb47442592920d"},
|
|
||||||
]
|
]
|
||||||
trio = [
|
trio = [
|
||||||
{file = "trio-0.19.0-py3-none-any.whl", hash = "sha256:c27c231e66336183c484fbfe080fa6cc954149366c15dc21db8b7290081ec7b8"},
|
{file = "trio-0.19.0-py3-none-any.whl", hash = "sha256:c27c231e66336183c484fbfe080fa6cc954149366c15dc21db8b7290081ec7b8"},
|
||||||
@ -2152,8 +2132,8 @@ types-pytz = [
|
|||||||
{file = "types_pytz-2021.3.4-py3-none-any.whl", hash = "sha256:ccfa2ed29f816e3de2f882541c06ad2791f808a79cfe38265411820190999f0f"},
|
{file = "types_pytz-2021.3.4-py3-none-any.whl", hash = "sha256:ccfa2ed29f816e3de2f882541c06ad2791f808a79cfe38265411820190999f0f"},
|
||||||
]
|
]
|
||||||
types-requests = [
|
types-requests = [
|
||||||
{file = "types-requests-2.27.8.tar.gz", hash = "sha256:c2f4e4754d07ca0a88fd8a89bbc6c8a9f90fb441f9c9b572fd5c484f04817486"},
|
{file = "types-requests-2.27.9.tar.gz", hash = "sha256:7368974534d297939492efdfdab232930440b11e2203f6df1f0c40e3242a87ea"},
|
||||||
{file = "types_requests-2.27.8-py3-none-any.whl", hash = "sha256:8ec9f5f84adc6f579f53943312c28a84e87dc70201b54f7c4fbc7d22ecfa8a3e"},
|
{file = "types_requests-2.27.9-py3-none-any.whl", hash = "sha256:74070045418faf710f3154403d6a16c9e67db50e5119906ca6955f1658d20f7b"},
|
||||||
]
|
]
|
||||||
types-urllib3 = [
|
types-urllib3 = [
|
||||||
{file = "types-urllib3-1.26.9.tar.gz", hash = "sha256:abd2d4857837482b1834b4817f0587678dcc531dbc9abe4cde4da28cef3f522c"},
|
{file = "types-urllib3-1.26.9.tar.gz", hash = "sha256:abd2d4857837482b1834b4817f0587678dcc531dbc9abe4cde4da28cef3f522c"},
|
||||||
@ -2168,8 +2148,8 @@ urllib3 = [
|
|||||||
{file = "urllib3-1.26.8.tar.gz", hash = "sha256:0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c"},
|
{file = "urllib3-1.26.8.tar.gz", hash = "sha256:0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c"},
|
||||||
]
|
]
|
||||||
werkzeug = [
|
werkzeug = [
|
||||||
{file = "Werkzeug-2.0.2-py3-none-any.whl", hash = "sha256:63d3dc1cf60e7b7e35e97fa9861f7397283b75d765afcaefd993d6046899de8f"},
|
{file = "Werkzeug-2.0.3-py3-none-any.whl", hash = "sha256:1421ebfc7648a39a5c58c601b154165d05cf47a3cd0ccb70857cbdacf6c8f2b8"},
|
||||||
{file = "Werkzeug-2.0.2.tar.gz", hash = "sha256:aa2bb6fc8dee8d6c504c0ac1e7f5f7dc5810a9903e793b6f715a9f015bdadb9a"},
|
{file = "Werkzeug-2.0.3.tar.gz", hash = "sha256:b863f8ff057c522164b6067c9e28b041161b4be5ba4d0daceeaa50a163822d3c"},
|
||||||
]
|
]
|
||||||
wrapt = [
|
wrapt = [
|
||||||
{file = "wrapt-1.13.3-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:e05e60ff3b2b0342153be4d1b597bbcfd8330890056b9619f4ad6b8d5c96a81a"},
|
{file = "wrapt-1.13.3-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:e05e60ff3b2b0342153be4d1b597bbcfd8330890056b9619f4ad6b8d5c96a81a"},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "fittrackee"
|
name = "fittrackee"
|
||||||
version = "0.5.6"
|
version = "0.5.7"
|
||||||
description = "Self-hosted outdoor workout/activity tracker"
|
description = "Self-hosted outdoor workout/activity tracker"
|
||||||
authors = ["SamR1"]
|
authors = ["SamR1"]
|
||||||
license = "AGPL-3.0"
|
license = "AGPL-3.0"
|
||||||
@ -38,7 +38,6 @@ python-forecastio = "^1.4"
|
|||||||
pytz = "^2021.3"
|
pytz = "^2021.3"
|
||||||
shortuuid = "^1.0.8"
|
shortuuid = "^1.0.8"
|
||||||
staticmap = "^0.5.4"
|
staticmap = "^0.5.4"
|
||||||
tqdm = "^4.62"
|
|
||||||
SQLAlchemy = "1.4.31"
|
SQLAlchemy = "1.4.31"
|
||||||
pyOpenSSL = "^22.0"
|
pyOpenSSL = "^22.0"
|
||||||
|
|
||||||
@ -63,9 +62,9 @@ Sphinx = "^4.4.0"
|
|||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
fittrackee = 'fittrackee.__main__:main'
|
fittrackee = 'fittrackee.__main__:main'
|
||||||
fittrackee_init_data = 'fittrackee.__main__:init_data'
|
fittrackee_set_admin = 'fittrackee.users.users:set_admin'
|
||||||
fittrackee_upgrade_db = 'fittrackee.__main__:upgrade_db'
|
fittrackee_upgrade_db = 'fittrackee.__main__:upgrade_db'
|
||||||
fittrackee_worker = 'fittrackee.__main__:dramatiq_worker'
|
fittrackee_worker = 'flask_dramatiq:worker'
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 79
|
line-length = 79
|
||||||
|