Commit Graph

69 Commits

Author SHA1 Message Date
Sam
8a3f9a5d59 API - add route to accept privacy policy 2023-02-26 18:21:15 +01:00
Sam
1c1d2a77b7 API - it returns if user accepted to last privacy policy 2023-02-26 17:44:33 +01:00
Sam
4e3d2f98cf API - init privacy policy 2023-02-25 14:06:49 +01:00
Sam
289a2e5f48 API - lint fix since black upgrade 2023-02-16 09:39:20 +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
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
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
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
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
44c16f6805 API - init resource protector (that also handles current authentication) 2022-05-29 14:23: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
db8c9df33c API - fix user agent infos in emails after dependencies update
(user-agent parsing has been removed in Werkzeug 2.1)
2022-04-03 11:51:11 +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
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
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
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
e235897a1a API - minor change 2021-12-19 14:29:25 +01:00