Commit Graph

186 Commits

Author SHA1 Message Date
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
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
9e2987ed9d API - issue new token with refresh token 2022-06-08 12:06:34 +02:00
Sam
c4c858c6bf API - config update + fix getting refresh token status 2022-06-08 11:19:14 +02:00
Sam
d8d88cda3a API - handle confirmation when authorizing oauth client 2022-06-07 15:40:33 +02:00
Sam
458394fa53 API - get oauth client by id or client_id 2022-06-07 08:40:50 +02:00
Sam
489710c29d API - add routes to manage oauth clients 2022-05-29 14:23:30 +02:00
Sam
ca9ba138b3 API - add scope on endpoints 2022-05-29 14:23:30 +02:00
Sam
d3d08b69dd API - refacto 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
eeae632b01 API - add access token revocation 2022-05-29 14:23:30 +02:00
Sam
887553dd5d API - add refresh token 2022-05-29 14:23:29 +02:00
Sam
64b813a44b API - add route to get access token 2022-05-29 14:22:53 +02:00
Sam
249c975810 API - add route to authorize oauth clients 2022-05-29 14:22:53 +02:00
Sam
c6cd7ff67c API - init OAuth server and oauth clients creation 2022-05-29 14:22:51 +02:00
Sam
e4f4be9534 API - update tests config 2022-05-29 09:31:42 +02:00
Sam
e6e43e181a API - add files cleanup step on tests 2022-05-08 10:43:34 +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
f650a70ace API - fix typo in email 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
d13a3704c5 API - display security infos only when provided 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
baede9ba5c API - init email template for email and password changes (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
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