SamR1 / FitTrackee

Self-hosted outdoor activity tracker :bicyclist:
https://samr1.github.io/FitTrackee
GNU Affero General Public License v3.0
674 stars 42 forks source link

Rewrite workout file processing #194

Open SamR1 opened 2 years ago

SamR1 commented 2 years ago

Workout files processing needs to be rewritten, in order to:

Related tests also need some refactoring.

dmillman commented 1 year ago

How about increasing .gpx file max size? I have 113 gpx files here in the 1-2 MB range, all from #OpenTracks

SamR1 commented 1 year ago

Hi @dmillman

It's possible to increase file max size in the administration: https://samr1.github.io/FitTrackee/features.html#administration

dmillman commented 1 year ago

Excellent! How about a watched directory for both import of a large number of files, and also a way to hand off files to FitTrackee in a workflow?

SamR1 commented 1 year ago

An issue is open: https://github.com/SamR1/FitTrackee/issues/144.
But for now there are only workarounds to upload files to FitTrackee.

dmillman commented 1 year ago

I didn't increase file max size in the administration because I can't figure out how to get into the administration (because I'm running it with docker-compose-dev.yml). It seems that the file size limit is not respected for files that are supplied inside zips.

SamR1 commented 1 year ago

I didn't increase file max size in the administration because I can't figure out how to get into the administration (because I'm running it with docker-compose-dev.yml).

A command allows to add admin rigths: $ make docker-set-admin USERNAME=<username>.

It seems that the file size limit is not respected for files that are supplied inside zips.

Thanks for the report, I'll fix that to avoid timeout errors (until .zip archives import improvements).