Commit Graph

62 Commits

Author SHA1 Message Date
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
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
Sam
a1f80e9745 API - init user account activation 2022-03-26 17:58:21 +01:00
Sam
b5b4ac8f92 API - refacto + remove unused endpoint for now 2022-03-26 17:58:21 +01:00
Sam
2de9cb1857 API - test refacto (response errors assertion) 2022-03-13 08:36:54 +01:00
Sam
1245a64e18 API - test refacto (auth method to get client and token) 2022-03-12 18:23:22 +01:00
Sam
1b4a477544 API - workouts refactoring 2022-02-16 17:46:41 +01:00
Sam
b1cafc585d API - remove unmaintained command 2022-02-12 14:13:59 +01:00
Sam
bfea21bc3c API - add missing indexes on Workout table 2022-02-05 11:58:07 +01:00
Sam
9e7fbd6eb4 API - remove useless user queries 2021-12-01 19:31:46 +01:00
Sam
e50c3d3799 [API] add endpoint to download gpx file 2021-11-29 16:54:27 +01:00
Sam
fb127b22c4 [API] statistics - add average speed 2021-11-24 17:43:18 +01:00
Sam
7afdd04d7d API - use threshold from preferences if exists when processing gpx file 2021-11-12 12:34:00 +01:00
Sam
c05aba92a9 API - get sports with authenticated user preferences 2021-11-12 12:33:25 +01:00
Sam
8237345edd API - remove 'img' column from sport since it's not used anymore 2021-11-12 12:26:26 +01:00
Sam
b6f89d7182 API - get stopped speed threshold depending on sport 2021-11-11 16:37:52 +01:00
Sam
eef66cb735 API & Client - fix workouts filters on distance when value is a float 2021-11-11 08:57:14 +01:00
Sam
73a0b53dd7 API - get workouts ordered by distance, duration or average speed 2021-11-03 18:30:47 +01:00
Sam
7f6f33a6aa API & Client - update API error messages to remove i18n workarounds 2021-11-03 18:30:23 +01:00
Sam
1881165b57 API - fix new sports addition
- add data migration and fix data init for new instances
- update and fix tests
2021-11-03 17:25:28 +01:00
Sam
3c4718cc27 API - allow keeping default tile server for static map - #83 2021-07-16 19:17:28 +02:00