Commit Graph

124 Commits

Author SHA1 Message Date
Fmstrat
0cb4a26cf2 Fixed lint issues 2022-07-18 15:10:43 -04:00
Fmstrat
5721d64991 Swap total_ascent from str to float 2022-07-18 15:02:18 -04:00
Fmstrat
154efbc766 Merged dev branch 2022-07-18 14:34:58 -04: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
8b2543eb61 API - update OAuth2 scopes 2022-06-15 19:16:14 +02:00
Sam
ca9ba138b3 API - add scope on endpoints 2022-05-29 14:23:30 +02:00
Sam
44c16f6805 API - init resource protector (that also handles current authentication) 2022-05-29 14:23:30 +02:00
Sam
c6cd7ff67c API - init OAuth server and oauth clients creation 2022-05-29 14:22:51 +02:00
Sam
c13e9e0286 API - minor refacto 2022-05-29 14:09:35 +02:00
Sam
b5d09008ee Tools - add bandit 2022-05-28 20:01:24 +02:00
Sam
a7cf9396d4 CLI - keep old commands (add deprecation warning) 2022-04-24 11:18:30 +02:00
Sam
1f098fb2ce API - update user email when email sending is disabled (admin) 2022-04-24 10:08:50 +02:00
Sam
848cc492fd API - disable emails sending when EMAIL_URL is not initialized 2022-04-23 18:04:25 +02:00
Sam
cea049273c API & CLI - refacto + new commands to update users 2022-04-23 14:08:38 +02:00
Sam
56bd024dde CLI - refactoring 2022-04-23 11:20:48 +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
26c600fa32 API & Client - fix link to user profile in workout card 2022-03-30 11:30:45 +02:00
Sam
68f78c26e3 API & Docs - update and fix documentation 2022-03-26 20:30:43 +01:00
Sam
ae1c55e91b API - remove unused query param when updated profile 2022-03-26 18:44:30 +01:00
Sam
eb02ede0d7 API & Client - order on user account status in administration
+ fixes
2022-03-26 18:28:04 +01:00
Sam
49100c27e7 API - add email to contact admin in app config 2022-03-26 17:58:21 +01:00
Sam
135281fe1d API & Client - complete users administration 2022-03-26 17:58:21 +01:00
Sam
c92787a0d5 API - active user if not when adding admin rigths 2022-03-26 17:58:21 +01:00
Sam
612549ddea API & Client - resend account confirmation email 2022-03-26 17:58:21 +01: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
08d412bddf API - searching user is case insensitive 2022-03-26 17:58:20 +01:00
Sam
ac6aceadfd API - limit access to users for now
- only auth user can access his preference
- only admin can visualize users
2022-03-26 17:58:20 +01:00
Sam
6c42b9ffbd API - allow admin to update a given user email 2022-03-26 17:58:20 +01:00
Sam
e8ca600e4a API - allow admin to reset password for a given user 2022-03-26 17:58:20 +01:00
Sam
c155efc7ec API - send an email after successful password reset 2022-03-26 17:58:20 +01:00
Sam
42dfeee283 API - add endpoint to confirm email change 2022-03-26 17:58:20 +01:00
Sam
191390f397 API - send emails when updating account (WIP) 2022-03-26 17:58:20 +01:00
Sam
d64579bfa3 API - init user email update (WIP) 2022-03-26 17:58:20 +01:00
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
Fmstrat
8fa5d685cf Added total elevation to dashboard 2022-03-22 13:29:53 -04: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
04a89fafd8 API - move and rename function returning responses 2022-02-16 13:34:35 +01:00
Sam
9700b98af1 API - move file utils 2022-02-16 12:56:32 +01:00
Sam
18e4ba61fc API - move set-admin command in users blueprint 2022-02-13 14:36:14 +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
da95706a9d API - fix property name on some relationships 2022-02-05 12:30:48 +01:00
Sam
91e7127a09 API - add endpoint to reset sport preferences - #123 2021-12-19 11:52:34 +01:00
Sam
1697f6051f API - minor refactoring 2021-12-01 19:45:13 +01:00
Sam
c4d19089e4 update documentation 2021-12-01 19:39:51 +01:00
Sam
9e7fbd6eb4 API - remove useless user queries 2021-12-01 19:31:46 +01:00
Sam
00b6e05805 API - authentication decorators return user directly instead of user id 2021-12-01 19:22:53 +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
c05aba92a9 API - get sports with authenticated user preferences 2021-11-12 12:33:25 +01:00
Sam
a4ad40fdc2 API - add user sport preferences 2021-11-12 12:22:07 +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
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
c902bdb911 API - refactor + typing errors fix 2021-05-22 17:14:24 +02:00
Sam
bb8491f84d API - fix error message on file uplaod + refactor - #72 2021-02-20 21:37:45 +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
d3ce0ad1e5 API - refactor imports 2021-01-20 16:47:00 +01:00
Sam
d0475eec9f API - refactor user decorators 2021-01-20 16:24:24 +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
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