diff --git a/CHANGELOG.md b/CHANGELOG.md index 7379303d..6cdb3e47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Change log +## Version 0.2.3 - FitTrackee available in French (2019/12/29) + +### Issues Closed + +#### New Features + +* [#43](https://github.com/SamR1/Fittrackee/issues/43) - Display weekend days with a different background color on calendar +* [#40](https://github.com/SamR1/Fittrackee/issues/40) - Localize FitTrackee (i18n) + +#### Bugs Fixed + +* [#44](https://github.com/SamR1/Fittrackee/issues/44) - Cannot edit an activity that does not have a gpx file + +In this release 3 issues were closed. + + ## Version 0.2.2 - Statistics fix (2019/09/23) ### Issues Closed diff --git a/README.md b/README.md index fa3974a4..ecbe6bf0 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Python Version](https://img.shields.io/badge/python-3.7-brightgreen.svg)](https://python.org) [![Flask Version](https://img.shields.io/badge/flask-1.1-brightgreen.svg)](http://flask.pocoo.org/) [![code style: black](https://img.shields.io/badge/code%20style-black-black)](https://github.com/psf/black) -[![React Version](https://img.shields.io/badge/react-16.8-brightgreen.svg)](https://reactjs.org/) +[![React Version](https://img.shields.io/badge/react-16.12-brightgreen.svg)](https://reactjs.org/) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/290a285f22e94132904dc13b4dd19d1d)](https://www.codacy.com/app/SamR1/FitTrackee) [![Codacy Coverage Badge](https://api.codacy.com/project/badge/Coverage/290a285f22e94132904dc13b4dd19d1d)](https://www.codacy.com/app/SamR1/FitTrackee)1 @@ -17,7 +17,7 @@ No mobile app is developed yet, but several existing mobile apps can store worko Examples (for Android): * [Runner Up](https://github.com/jonasoreland/runnerup) (GPL v3) * [ForRunners](https://gitlab.com/brvier/ForRunners) (GPL v3) -* [AlpineQuest](https://www.alpinequest.net/) (Proprietary, no trackers according to [exodus privay report](https://reports.exodus-privacy.eu.org/reports/2975/)) +* [AlpineQuest](https://www.alpinequest.net/) (Proprietary, no trackers according to [exodus privay report](https://reports.exodus-privacy.eu.org/en/reports/search/psyberia.alpinequest.free/)) Maps are displayed using [Open Street Map](https://www.openstreetmap.org). It is also possible to add a workout without a gpx file. diff --git a/docs/.buildinfo b/docs/.buildinfo index 86ce424f..67e75c89 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # 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. -config: 30c5e5361bea086cc59c229f2ef9de12 +config: 1d5e3d179f11af85040b3641826fc93b tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_images/fittrackee_screenshot-01.png b/docs/_images/fittrackee_screenshot-01.png index 67c179e5..65141eea 100644 Binary files a/docs/_images/fittrackee_screenshot-01.png and b/docs/_images/fittrackee_screenshot-01.png differ diff --git a/docs/_images/fittrackee_screenshot-02.png b/docs/_images/fittrackee_screenshot-02.png index 5b550bb8..cf386b47 100644 Binary files a/docs/_images/fittrackee_screenshot-02.png and b/docs/_images/fittrackee_screenshot-02.png differ diff --git a/docs/_images/fittrackee_screenshot-03.png b/docs/_images/fittrackee_screenshot-03.png index 1a002969..cbbccc46 100644 Binary files a/docs/_images/fittrackee_screenshot-03.png and b/docs/_images/fittrackee_screenshot-03.png differ diff --git a/docs/_images/fittrackee_screenshot-04.png b/docs/_images/fittrackee_screenshot-04.png index 5c7aedeb..f82d7704 100644 Binary files a/docs/_images/fittrackee_screenshot-04.png and b/docs/_images/fittrackee_screenshot-04.png differ diff --git a/docs/_sources/changelog.md.txt b/docs/_sources/changelog.md.txt index 7379303d..6cdb3e47 100644 --- a/docs/_sources/changelog.md.txt +++ b/docs/_sources/changelog.md.txt @@ -1,5 +1,21 @@ # Change log +## Version 0.2.3 - FitTrackee available in French (2019/12/29) + +### Issues Closed + +#### New Features + +* [#43](https://github.com/SamR1/Fittrackee/issues/43) - Display weekend days with a different background color on calendar +* [#40](https://github.com/SamR1/Fittrackee/issues/40) - Localize FitTrackee (i18n) + +#### Bugs Fixed + +* [#44](https://github.com/SamR1/Fittrackee/issues/44) - Cannot edit an activity that does not have a gpx file + +In this release 3 issues were closed. + + ## Version 0.2.2 - Statistics fix (2019/09/23) ### Issues Closed diff --git a/docs/_sources/features.rst.txt b/docs/_sources/features.rst.txt index 8d29f574..75d5cacc 100644 --- a/docs/_sources/features.rst.txt +++ b/docs/_sources/features.rst.txt @@ -18,7 +18,7 @@ Activities/Workouts - Montain Biking - Running - Walking -- Dashboard with month calendar displaying activities and record +- Dashboard with month calendar displaying activities and record. The week can start on Sunday or Monday (which can be changed in the user settings) - Activity creation by uploading a gpx file. An activity can even be created without gpx (the user must enter date, time, duration and distance) - An activity with a gpx file can be displayed with map, weather (if the DarkSky API key is provided) and charts (speed and elevation). Segments can be displayed - Activity edition and deletion. User can add a note @@ -35,6 +35,10 @@ Activities/Workouts - only activity owner can see his activity - **no administration for now** +Translations +^^^^^^^^^^^^ +FitTrackee is available in English and French (which can be saved in the user settings). + Dashboard ~~~~~~~~~ diff --git a/docs/_sources/installation.rst.txt b/docs/_sources/installation.rst.txt index 0f55a5e1..cdcf6fc6 100644 --- a/docs/_sources/installation.rst.txt +++ b/docs/_sources/installation.rst.txt @@ -87,13 +87,13 @@ Prod environment .. warning:: Note that FitTrackee is not production-ready yet -- Download the last release (for now, it is the beta release v0.2.2): +- Download the last release (for now, it is the beta release v0.2.3): .. code:: bash - $ wget https://github.com/SamR1/FitTrackee/archive/v0.2.2-beta.tar.gz - $ tar -xzf v0.2.2-beta.tar.gz - $ mv FitTrackee-0.2.2-beta FitTrackee + $ wget https://github.com/SamR1/FitTrackee/archive/v0.2.3-beta.tar.gz + $ tar -xzf v0.2.3-beta.tar.gz + $ mv FitTrackee-0.2.3-beta FitTrackee $ cd FitTrackee - Update **Makefile.config** file if needed and copy/paste the diff --git a/docs/_static/basic.css b/docs/_static/basic.css index ea6972d5..b04360d6 100644 --- a/docs/_static/basic.css +++ b/docs/_static/basic.css @@ -672,6 +672,10 @@ div.code-block-caption + div > div.highlight > pre { margin-top: 0; } +div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */ + user-select: none; +} + div.code-block-caption span.caption-number { padding: 0.1em 0.3em; font-style: italic; diff --git a/docs/_static/custom.css b/docs/_static/custom.css index 19fb236e..1eff1713 100644 --- a/docs/_static/custom.css +++ b/docs/_static/custom.css @@ -43,6 +43,14 @@ html { font-family: "Lato", sans-serif; + height: 100vh; +} + +body { + margin: 0; + min-height: 100vh; + padding-bottom: 65px; + position: relative; } .alert-danger { @@ -59,3 +67,9 @@ html { background-color: #f5894f; border-color: transparent; } + +.footer { + bottom: 0; + height: 65px; + position: absolute; +} diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js index 6efe42a4..7870e57c 100644 --- a/docs/_static/documentation_options.js +++ b/docs/_static/documentation_options.js @@ -3,6 +3,7 @@ var DOCUMENTATION_OPTIONS = { VERSION: '0.3.0-beta', LANGUAGE: 'None', COLLAPSE_INDEX: false, + BUILDER: 'html', FILE_SUFFIX: '.html', HAS_SOURCE: true, SOURCELINK_SUFFIX: '.txt', diff --git a/docs/_static/searchtools.js b/docs/_static/searchtools.js index 6031f991..ad845872 100644 --- a/docs/_static/searchtools.js +++ b/docs/_static/searchtools.js @@ -245,7 +245,7 @@ var Search = { if (results.length) { var item = results.pop(); var listItem = $('
  • '); - if (DOCUMENTATION_OPTIONS.FILE_SUFFIX === '') { + if (DOCUMENTATION_OPTIONS.BUILDER === 'dirhtml') { // dirhtml builder var dirname = item[0] + '/'; if (dirname.match(/\/index\/$/)) { @@ -424,7 +424,7 @@ var Search = { for (j = 0; j < _files.length; j++) { file = _files[j]; if (!(file in scoreMap)) - scoreMap[file] = {} + scoreMap[file] = {}; scoreMap[file][word] = o.score; } }); @@ -432,7 +432,7 @@ var Search = { // create the mapping for (j = 0; j < files.length; j++) { file = files[j]; - if (file in fileMap) + if (file in fileMap && fileMap[file].indexOf(word) === -1) fileMap[file].push(word); else fileMap[file] = [word]; diff --git a/docs/api/activities.html b/docs/api/activities.html index 8346ef12..262c21e7 100644 --- a/docs/api/activities.html +++ b/docs/api/activities.html @@ -1098,7 +1098,7 @@

    © Copyright 2018 - 2019, SamR1.
    - Created using Sphinx 2.2.1.
    + Created using Sphinx 2.3.1.

    diff --git a/docs/api/auth.html b/docs/api/auth.html index 6964bd4b..810b4587 100644 --- a/docs/api/auth.html +++ b/docs/api/auth.html @@ -545,7 +545,7 @@

    © Copyright 2018 - 2019, SamR1.
    - Created using Sphinx 2.2.1.
    + Created using Sphinx 2.3.1.

    diff --git a/docs/api/configuration.html b/docs/api/configuration.html index 30e13234..0fa3a38c 100644 --- a/docs/api/configuration.html +++ b/docs/api/configuration.html @@ -238,7 +238,7 @@

    © Copyright 2018 - 2019, SamR1.
    - Created using Sphinx 2.2.1.
    + Created using Sphinx 2.3.1.

    diff --git a/docs/api/index.html b/docs/api/index.html index 8f890567..3e72a4e6 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -152,7 +152,7 @@

    © Copyright 2018 - 2019, SamR1.
    - Created using Sphinx 2.2.1.
    + Created using Sphinx 2.3.1.

    diff --git a/docs/api/records.html b/docs/api/records.html index 7a222822..2f0d8a1b 100644 --- a/docs/api/records.html +++ b/docs/api/records.html @@ -249,7 +249,7 @@

    © Copyright 2018 - 2019, SamR1.
    - Created using Sphinx 2.2.1.
    + Created using Sphinx 2.3.1.

    diff --git a/docs/api/sports.html b/docs/api/sports.html index 969f6912..b54a7aef 100644 --- a/docs/api/sports.html +++ b/docs/api/sports.html @@ -459,7 +459,7 @@ Authenticated user must be an admin

    © Copyright 2018 - 2019, SamR1.
    - Created using Sphinx 2.2.1.
    + Created using Sphinx 2.3.1.

    diff --git a/docs/api/stats.html b/docs/api/stats.html index 4805d015..f63f140c 100644 --- a/docs/api/stats.html +++ b/docs/api/stats.html @@ -396,7 +396,7 @@

    © Copyright 2018 - 2019, SamR1.
    - Created using Sphinx 2.2.1.
    + Created using Sphinx 2.3.1.

    diff --git a/docs/api/users.html b/docs/api/users.html index 499b6c72..a21e079d 100644 --- a/docs/api/users.html +++ b/docs/api/users.html @@ -149,6 +149,7 @@ "email": "admin@example.com", "first_name": null, "id": 1, + "language": "en", "last_name": null, "location": null, "nb_activities": 6, @@ -172,6 +173,7 @@ "email": "sam@example.com", "first_name": null, "id": 2, + "language": "fr", "last_name": null, "location": null, "nb_activities": 0, @@ -236,6 +238,7 @@ "email": "admin@example.com", "first_name": null, "id": 1, + "language": "en", "last_name": null, "location": null, "nb_activities": 6, @@ -361,7 +364,7 @@

    © Copyright 2018 - 2019, SamR1.
    - Created using Sphinx 2.2.1.
    + Created using Sphinx 2.3.1.

    diff --git a/docs/changelog.html b/docs/changelog.html index b8ed003d..6ae696dc 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -75,41 +75,49 @@ role="menu" aria-labelledby="dLabelLocalToc">