Sam

Results 77 comments of Sam

It uses [Requests-OAuthlib](https://requests-oauthlib.readthedocs.io/en/latest/index.html) for OAuth2 (which works through SSL layer). You can test without HTTPS. To do so, you have to disable checks by setting an environment variable `OAUTHLIB_INSECURE_TRANSPORT`: ```shell...

Hi, I tried with a fresh install with docker (but without nginx) and added `export OAUTHLIB_INSECURE_TRANSPORT=1` in `.env` before sourcing it, the script imported the csv file: ```shell $ python...

If the default equipments are set on FitTrackee, there is no need to change the importer. The default equipment will be automatically associated with the workout based on the sport.

OK, I updated the [script](https://codeberg.org/SamR1/csv-importer/commit/0958da6db5341d4f3dff860b80b409039b19e5f2) to add equipement, with an additional column.

Hi, I used the same file as provided in the first comment, but with an additional column containing `equipment_id` of the equipment to associate.

Hi, I added [`ascent` and `descent` ](https://codeberg.org/SamR1/csv-importer/commit/b64a23a30f8f768f71fa8bb776da07a97aac0bc1)to match all data handled by the [API endpoint](https://samr1.github.io/FitTrackee/en/api/workouts.html#post--api-workouts-no_gpx).

Hi, Glad it works :). For equipment, the value to add is the short id (string value). You can find it in the equipment detail URL.

Flask-SQLAlchemy [3.1.0](https://flask-sqlalchemy.palletsprojects.com/en/3.1.x/changes/#version-3-1-0) (released 2023-09-11) adds support for the SQLAlchemy 2.x. Blog post about migration: https://blog.pamelafox.org/2023/09/using-sqlalchemy-20-in-flask.html

Since merge on `add-social-features` branch, tests are very slow on CI (and jobs are killed). It seems to affect only CI (no problem locally). => move **Flask-SQLAchemy/SQLAlchemy** update with/after social...

Hi, Does the exported file contain several segments?