Commit Graph

160 Commits

Author SHA1 Message Date
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
3777ac0a11 API - update migration (date_format as non-nullable & add default value) 2022-11-01 07:12:54 +01:00
Joshua Taillon
f4d405ef3d Fix black style suggestion 2022-10-31 18:27:03 +01:00
Joshua Taillon
d36a1f0ac0 fix some tests 2022-10-31 18:27:03 +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
752224e6cd update python dependencies 2022-09-19 14:05:30 +02:00
Sam
4f88dcc8bc API - init api rate limits w/ flask-limiter 2022-09-17 19:36:07 +02:00
Sam
9b377c08e4 CLI - add command to clean blacklisted tokens 2022-09-15 13:15:07 +02:00
Sam
aad02cd93c API - blacklist jwt on user logout 2022-09-14 15:15:07 +02:00
Sam
98a3e3fec1 API - add tests on JWT generation 2022-08-03 20:38:26 +02:00
Sam
922ff63d99 API - check reponse type when authorizing an app + add missing tests 2022-08-03 14:01:14 +02:00
Sam
94f2f2fec7 Merge branch 'dev' into oauth2 2022-08-03 11:24:44 +02:00
Sam
740d2cda46 fix tests 2022-08-03 08:51:51 +02:00
Sam
2274b762a8 Merge branch 'dev' into oauth2 2022-07-27 16:29:57 +02:00
Sam
7d9f4d0600 Merge branch 'dev' into elevation 2022-07-23 17:55:33 +02:00
Sam
06b7af126a API - add preferences for ascent record display 2022-07-23 08:09:45 +02:00
Sam
ee67b74d06 API - fix total ascent when user has workous without gpx 2022-07-19 16:33:05 +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
df49f78d1f Merge branch 'dev' into oauth2 2022-07-03 19:05:38 +02:00
Sam
5549eff08b API - set language on account creation and use it in confirmation email 2022-07-03 13:29:50 +02:00
Sam
fd292a9392 API - use Babel to translate emails 2022-07-02 19:25:11 +02:00
Thomas Brockmöller
b9c0817876 fix test 2022-06-28 23:58:33 +02:00
Thomas Brockmöller
a8ae5b7278 fix test 2022-06-28 23:51:53 +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
6b497bd72f API - add missing tests on Authorization Code Grant (code challenge) 2022-06-19 18:47:58 +02:00
Sam
8b2543eb61 API - update OAuth2 scopes 2022-06-15 19:16:14 +02:00
Sam
b678b6e76d API - minor tests refacto 2022-06-12 18:34:26 +02:00
Sam
ea4b6ed236 CLI - add command to clean expired oauth2 tokens 2022-06-12 18:25:51 +02:00
Sam
e01248d0d1 API - revoke all token for a given client 2022-06-12 17:15:18 +02:00
Sam
22c8105ea6 Merge branch 'dev' into oauth2 2022-06-12 09:28:01 +02:00