Commit Graph

119 Commits

Author SHA1 Message Date
Sam
6c6b4b0ea4 API - fix password request email 2022-03-26 17:58:20 +01:00
Sam
9507a3aba1 API - add current password check when modifying it 2022-03-26 17:58:20 +01:00
Sam
a4d7dc24da API - init endpoint to update password for authenticated user 2022-03-26 17:58:20 +01:00
Sam
d8c4106fcf API & Client - remove password confirmation 2022-03-26 17:58:20 +01:00
Sam
8988a0266a API & Client - update username max length 2022-03-26 17:58:19 +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
fc43fcd6bf API - users refactoring 2022-02-16 18:07:17 +01:00
Sam
1b4a477544 API - workouts refactoring 2022-02-16 17:46:41 +01:00
Sam
0b2e2ed5dd API - email service refactoring 2022-02-16 13:35:38 +01:00
Sam
9700b98af1 API - move file utils 2022-02-16 12:56:32 +01:00
Sam
94a6f2fa9c API & Client - allow only alphanumeric characters and '_' in username 2022-02-13 13:49:59 +01:00
Sam
866a4480c1 API - add command to set an admin after fresh install 2022-02-12 14:31:05 +01:00
Sam
b1cafc585d API - remove unmaintained command 2022-02-12 14:13:59 +01:00
Sam
1a53d4a991 API - remove init-data step since no additional data is now required
+ remove config init from removed env. variables
2022-02-12 14:12:58 +01:00
Sam
bfea21bc3c API - add missing indexes on Workout table 2022-02-05 11:58:07 +01:00
Sam
7a0f483f5b API - update fixture 2022-01-19 14:35:42 +01:00
Sam
d17626c301 API - port can be omitted in EMAIL_URL (defaults to 25) 2022-01-01 11:28:19 +01:00
Sam
33fde0394a API - allow EMAIL_URL without authentication - fix #127 2022-01-01 11:04:08 +01:00
Sam
e235897a1a API - minor change 2021-12-19 14:29:25 +01:00
Sam
91e7127a09 API - add endpoint to reset sport preferences - #123 2021-12-19 11:52:34 +01:00
Sam
9e7fbd6eb4 API - remove useless user queries 2021-12-01 19:31:46 +01:00
Sam
a1c5c344a6 [API] minor fix 2021-11-30 09:21:04 +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
bdf556bf27 [API] tests - update workout fixtures 2021-11-24 15:28:13 +01:00
Sam
bb2c149caa API - add preference for imperial units conversion 2021-11-13 19:46:16 +01:00
Sam
1e86a91e25 API - delete user preferences on user account deletion 2021-11-13 14:30:26 +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
a4ad40fdc2 API - add user sport preferences 2021-11-12 12:22:07 +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
3a1245a2e0 API - handle user username and email case on login/register 2021-11-03 18:30:48 +01:00
Sam
c683401daa API & Client - fix missiing translation on api error 2021-11-03 18:30:48 +01:00
Sam
73a0b53dd7 API - get workouts ordered by distance, duration or average speed 2021-11-03 18:30:47 +01:00
Sam
9380034d37 API & Client - get application version from API 2021-11-03 18:30:30 +01:00
Sam
7f6f33a6aa API & Client - update API error messages to remove i18n workarounds 2021-11-03 18:30:23 +01:00
Sam
c92446ff39 API & Client - move user preferences + add picture edition 2021-11-03 18:27:47 +01:00
Sam
064ca22b85 API - return records with user data 2021-11-03 18:27:17 +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
Sam
3ead237e5c API - use same tile server as Client to generate staticmap - fix #83 2021-07-14 20:57:31 +02:00
Sam
bd7783ca96 API - mock staticmap for all tests 2021-07-14 20:55:33 +02:00
Sam
70ae3863e2 API - fix notes emptying 2021-07-14 14:54:20 +02:00
Sam
66b9c77560 API - fix adding workouts notes with control characters - fix #80 2021-07-14 14:29:10 +02:00
Sam
423aaa3e64 API - fix test 2021-05-22 18:07:27 +02:00
Sam
c902bdb911 API - refactor + typing errors fix 2021-05-22 17:14:24 +02:00
Sam
afb302a047 update python dependencies 2021-04-06 13:19:10 +02:00
Sam
33bbe8c736 API - refactor tests 2021-02-20 23:20:30 +01:00
Sam
bb8491f84d API - fix error message on file uplaod + refactor - #72 2021-02-20 21:37:45 +01:00
Sam
fbc40385a0 API & Client - max sizes and max number of files must be greater than 0 - #71 2021-02-20 16:59:40 +01:00
Sam
c4e579dd25 API & Client - archive max size must be greater than files size - #70 2021-02-20 16:13:24 +01:00
Sam
16ea2adfd9 API - use config from database for max workouts limit - fix #66 2021-02-17 16:59:54 +01:00
Sam
6a59af982c API - add missing tests 2021-02-17 08:43:39 +01:00
Sam
d27385b24d API - fix max workouts per page in order to display up to 100 workouts 2021-02-17 08:37:32 +01:00
Sam
cd9caa6623 API - fix readable duration - fix #62
+ add some tests on user utils
2021-01-31 10:39:15 +01:00
Sam
b385ccacbc API - refactor tests fixtures 2021-01-30 11:56:51 +01:00
Sam
85e9ce8a77 API - add missing tests on production config 2021-01-20 18:09:46 +01:00
Sam
d3ce0ad1e5 API - refactor imports 2021-01-20 16:47:00 +01:00
Sam
3a80e01cc2 API - replace 'Activity' with 'Workout' - #58 2021-01-10 11:32:11 +01:00
Sam
634d06b05a API - add typing 2021-01-02 19:28:07 +01:00
Sam
4705393a08 API - refactor api responses 2021-01-01 16:39:29 +01:00
Sam
480bdd330e API - return activity shorter id - #57 2020-12-30 22:08:10 +01:00
Sam
3af845f18c API - add uuid to activity and return it instead of id to client - #57 2020-12-30 19:58:42 +01:00
Sam
6f627ef6c9 Tests - minor refactor 2020-12-30 12:09:34 +01:00
Sam
c890ec6be1 API - update pyjwt to 2.0.0
jwt.encode() returns now tokens as string instead of a byte string
2020-12-25 19:38:33 +01:00
Sam
af301b437e API - remove intermediate directory and rename api directory 2020-09-16 15:41:06 +02:00