Commit Graph

81 Commits

Author SHA1 Message Date
Sam
4af294cd4a API - fix workout serializer when speed value is 0 2023-07-26 17:52:28 +02:00
Sam
c409f2cbab API - do not return elevation in chart data when no elevation in file 2023-07-18 18:57:57 +02:00
Sam
7d30fba00b API - return ascent/descent to null when no elevation data in gpx file 2023-07-18 18:49:09 +02:00
Sam
137c844160 API - add missing tests 2023-05-28 15:08:12 +02:00
Sam
f9aad2a19d Merge branch 'dev' into max_speed_preference 2023-05-28 14:55:44 +02:00
Joshua Taillon
8637ecb203 fix linting issues 2023-05-21 11:29:56 -06:00
Sam
230ce9022e API - OAuth2 scopes tests refacto 2023-05-21 16:13:14 +02:00
Joshua Taillon
7e00e79386 Add test for parsing max_speed with raw_speed user preference setting 2023-05-19 23:08:12 -06:00
Sam
642b15d521 API & Client - remove DarkSky weather provider 2023-04-11 16:55:18 +02:00
Sam
c4cec056b4 API & Client - return relevant errors when gpx file is invalid 2023-04-11 15:58:10 +02:00
Sam
143086ad6f API - lint fix 2023-04-08 11:15:18 +02:00
Joshua Taillon
24c08c34fb add title filter tests for API 2023-03-18 12:57:44 -06:00
Sam
430ee4cd2f API - add missing test 2023-03-08 11:29:15 +01:00
Sam
1a62a968a5 API - delete uploaded file on gpx processing error 2023-03-08 10:32:37 +01:00
Sam
fd927beac7 API - update workout file name
remove unneeded use of `mkstemp`
2023-03-04 19:50:21 +01:00
Sam
289a2e5f48 API - lint fix since black upgrade 2023-02-16 09:39:20 +01:00
Sam
52d31a68db Merge branch 'dev' into alternate_weather_api 2022-12-28 10:25:13 +01:00
Sam
4011afc07a API - minor changes (docs, tests) 2022-12-21 09:40:49 +01:00
Sam
c611f41519 API - add elevation edition for workout w/o gpx file 2022-12-14 16:36:10 +01:00
Sam
8a0e1d2b40 API - add elevation to workout w/o gpx file when provided 2022-12-14 14:40:35 +01:00
Sam
940f0a8416 API - refacto weather utils 2022-11-17 00:13:47 +01:00
Sam
aa1a1fcd91 API - return 400 when duration/distance are invalid when adding workout
without gpx
2022-11-11 09:54:33 +01:00
Sam
6cf192bd25 API - returns 400 when form data is invalid when adding workout w/ gpx 2022-11-11 09:40:07 +01:00
Sam
d2db9240fa API - return error when file from a zip archive exceeds size limit 2022-11-04 22:27:42 +01:00
Sam
4b1c51880f API - return error when number of files in zip exceeds limit
(instead of importing the configured number of files without raising errors)
2022-11-04 22:27:13 +01:00
Sam
d56dc61251 API - save segment duration w/o microseconds 2022-10-31 10:03:13 +01:00
Sam
1dc35c379d API - fix workouts sort on duration (= moving time) 2022-10-26 22:01:04 +02:00
Sam
b86a1b93f9 API - fix order by for PGSQL15 support and update tests 2022-10-26 18:05:22 +02:00
Sam
2274b762a8 Merge branch 'dev' into oauth2 2022-07-27 16:29:57 +02:00
Sam
4322b01966 API - fix HA record when workout w/o gpx already exists 2022-07-19 10:42:37 +02:00
Fmstrat
397c711992 Added one mmore HA check for 5 records 2022-07-18 13:04:17 -04:00
Fmstrat
a86e65f015 Remove HA from asserts w/o GPX 2022-07-18 11:34:42 -04:00
Fmstrat
a22096e652 Update post tests for HA 2022-07-18 11:27:50 -04:00
Fmstrat
a8d4c470bb Moved FD test down, added AS test 2022-07-18 11:03:06 -04:00
Fmstrat
19d6a69813 Update test message and record count for asserts 2022-07-18 09:37:30 -04:00
Sam
ca53201a9e Merge branch 'dev' into oauth2 2022-07-13 15:58:28 +02:00
Sam
aeb8360316 API - minor fix 2022-07-13 13:10:46 +02:00
Sam
6e53e4f3bf API - support tile server w/ subdomains for static map generation 2022-07-13 10:47:07 +02:00
Sam
f5881763ae API - update messages on gpx related errors 2022-07-13 09:49:35 +02:00
Sam
0eaae0e171 API - add user agent when generating static map - fix #210 2022-07-13 09:39:33 +02:00
Sam
1a43e4607a API - add some tests on stop time calculation 2022-07-13 08:27:51 +02:00
Sam
d64fc19c2e Merge branch 'dev' into oauth2 2022-06-25 21:23:15 +02:00
Sam
af364c39f6 API - change workout files naming 2022-06-22 15:35:44 +02:00
Sam
111bfb725f API - allow deleting workout when gpx or map files missing - fix #193 2022-06-22 14:30:58 +02:00
Sam
9c2ba31b96 API - return 404 instead of 500 when map file not found - fix #192 2022-06-22 14:19:51 +02:00
Sam
63af0b70d9 API - refacto 2022-06-19 20:04:42 +02:00
Sam
8b2543eb61 API - update OAuth2 scopes 2022-06-15 19:16:14 +02:00
Sam
4288c3c387 API - handle gpx files with offset 2022-06-11 13:10:05 +02:00
Sam
5874933643 API - fix typo 2022-06-11 11:33:08 +02:00
Sam
b17b94076d API - refacto tests
move some tests in models tests (to simplify api tests)
 + doc fix
2022-04-02 17:17:47 +02:00