Commit Graph

440 Commits

Author SHA1 Message Date
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
c13e9e0286 API - minor refacto 2022-05-29 14:09:35 +02:00
Sam
70c76a6a6e bump version to 0.6.6 2022-05-29 10:35:02 +02:00
Sam
e4f4be9534 API - update tests config 2022-05-29 09:31:42 +02:00
Sam
5fb5343a83 update client dist files 2022-05-28 20:10:05 +02:00
Sam
b5d09008ee Tools - add bandit 2022-05-28 20:01:24 +02:00
Sam
3b32e67bdb update client dist files 2022-05-18 10:09:27 +02:00
Sam
e6e43e181a API - add files cleanup step on tests 2022-05-08 10:43:34 +02:00
Sam
7fd53765c8 bump version to 0.6.5 2022-04-24 16:02:49 +02:00
Sam
fa399d39cc Client - update dist files 2022-04-24 11:28:18 +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
86e3ccae91 bump version to 0.6.4 2022-04-23 08:28:44 +02:00
Sam
6761d5c986 Client - update dist files 2022-04-23 07:40:25 +02:00
Sam
e9885bfbff API - fix sending email w/ tls 2022-04-23 06:11:08 +02:00
Sam
4c13fe6fe7 bump version to 0.6.3 2022-04-09 11:01:20 +02:00
Sam
2fcb4e4094 Client - update dist files 2022-04-08 19:16:10 +02:00
Sam
215ee169bb Client - update dist files 2022-04-08 18:14:09 +02:00
Sam
79c3be07ad bump version to 0.6.2 2022-04-03 19:47:40 +02:00
Sam
dbbe27418b Client - update dist files 2022-04-03 12:49:09 +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
b14bcc7128 Client - update dist files 2022-04-02 11:06:25 +02:00
Sam
6947f27c18 Client - update dist files 2022-03-30 11:56:04 +02:00
Sam
26c600fa32 API & Client - fix link to user profile in workout card 2022-03-30 11:30:45 +02:00
Sam
2152aaa359 bump version to 0.6.1 2022-03-27 20:34:05 +02:00
Sam
60d7db067d Client - update dist files 2022-03-27 19:53:20 +02:00
Sam
a608ceeaf5 bump version to 0.6.0 2022-03-27 15:11:36 +02:00
Sam
36f6ea928d Client - update dist files 2022-03-27 13:13:30 +02:00
Sam
684bb698e7 Client - update dist files 2022-03-27 10:07:15 +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
95ac722828 Client - build dist files 2022-03-26 18:30:46 +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
f650a70ace API - fix typo in email 2022-03-26 17:58:21 +01:00
Sam
d9482c5976 Tests - update end to end tests and ci config 2022-03-26 17:58:21 +01:00
Sam
7f88d995ed Client - build dist files 2022-03-26 17:58:21 +01:00
Sam
787edbc1af API - email template refacto 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
023a6ac62a Client - update dist files 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
3ccd8ed109 Client - update dist files 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
462a193d2e Added ascent record to Dashboard 2022-03-24 12:17:44 -04:00
Fmstrat
8fa5d685cf Added total elevation to dashboard 2022-03-22 13:29:53 -04: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
97935d0fbb Merge branch 'update-vue-cli' into dev_bis 2022-02-20 10:02:17 +01:00
Sam
9648593bef update dist files 2022-02-20 10:00:35 +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
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
8e8b4f8987 bump version to 0.5.7 2022-02-13 16:08:51 +01:00
Sam
27d47091b9 API - set autoescape on jinja templates 2022-02-13 15:13:16 +01:00
Sam
18e4ba61fc API - move set-admin command in users blueprint 2022-02-13 14:36:14 +01:00
Sam
eea3ab5ae7 API - check app config before dropping database 2022-02-13 14:31:59 +01:00
Sam
d1aa220e1d API - fix dramatiq warning when launching workers w/ script entrypoint 2022-02-13 14:29:08 +01:00
Sam
3b019005d0 Client - update dist files 2022-02-13 13:50:01 +01:00
Sam
94a6f2fa9c API & Client - allow only alphanumeric characters and '_' in username 2022-02-13 13:49:59 +01:00
Sam
66cd3c9655 API - sanitize map tile parameters 2022-02-13 13:39:43 +01:00
Sam
4a911be085 API - fix serving images 2022-02-13 13:39:43 +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
e751fec1d0 API - remove admin creation in database init 2022-02-12 13:43:38 +01:00
Sam
ba4e3e809a API - remove unused configuration parameters 2022-02-12 13:43:24 +01:00
Sam
46e52b0f23 bump version to 0.5.6 2022-02-05 22:09:21 +01:00
Sam
d3342c83ab Client - fix label on workouts filters - fix #146 2022-02-05 19:09:04 +01:00
Sam
da95706a9d API - fix property name on some relationships 2022-02-05 12:30:48 +01:00
Sam
bfea21bc3c API - add missing indexes on Workout table 2022-02-05 11:58:07 +01:00
Sam
136162334f update js dependencies 2022-02-05 11:48:09 +01:00
Sam
b654f5a25b bump version to 0.5.5 2022-01-19 16:06:44 +01:00
Sam
6e717ec898 update dependencies 2022-01-19 14:48:03 +01:00
Sam
7a0f483f5b API - update fixture 2022-01-19 14:35:42 +01:00
Sam
7107d30f2d Client - fix arrow direction for wind - fix #134
DarkSky returns the direction that the wind is coming **from** (in degree).
2022-01-19 14:34:47 +01:00
Sam
877fa0faaa Client - fix sport icon color (when changed) on calendar on small resolutions 2022-01-16 19:15:15 +01:00
Sam
29180a02ca Client - partial fix of fullscreen on iOS 2022-01-16 18:59:31 +01:00
Sam
5725a574bd API & Client - add wind direction to workout detail - fix #134 2022-01-15 21:54:37 +01:00
Sam
8897659c62 Client - add a fullscreen control to workout map - fix #140 2022-01-15 20:18:54 +01:00
Sam
2242525b39 Client - add control to reset map to initial position - fix #138 2022-01-15 18:06:34 +01:00
Sam
482004926a Client - add controls on map to hide markers 2022-01-15 16:48:57 +01:00
Sam
b22c965099 Client - add start and finish markers on workout map - fix #135
+ add max zoom
2022-01-15 15:42:23 +01:00
Sam
52c28f3309 update js dependencies
only minor updates
2022-01-15 14:50:58 +01:00
Sam
a2ea4c212d bump version to 0.5.4 2022-01-01 22:47:01 +01:00
Sam
256f89606e Client - fix workouts display on calendar - fix #131 2022-01-01 21:56:05 +01:00
Sam
cd21403c39 bump version to 0.5.3 2022-01-01 19:44:45 +01:00
Sam
be0ac9b238 Client - display only active sports (+ workout sport) on workout edition
fix #129
2022-01-01 18:36:45 +01:00
Sam
f8df393d2d update js dependencies
(minor updates only)
2022-01-01 12:45:13 +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
a20cd693d0 bump version to 0.5.2 2021-12-19 15:59:43 +01:00
Sam
2d771e4964 Client - change button order on sport preferences 2021-12-19 14:49:05 +01:00
Sam
e235897a1a API - minor change 2021-12-19 14:29:25 +01:00
Sam
781bf86634 Client - reset user sport preferences - fix #123 2021-12-19 12:37:50 +01:00
Sam
91e7127a09 API - add endpoint to reset sport preferences - #123 2021-12-19 11:52:34 +01:00
Sam
0b47e42ea5 API & Client - add new sport (Snowshoes) - fix #121 2021-12-19 10:53:29 +01:00
Sam
e48086a760 update js dependencies
(minor updates only)
2021-12-19 09:09:24 +01:00
Sam
7206a46a37 fix documentation warning 2021-12-01 20:31:54 +01:00
Sam
1b06d6b6bc API - remove useless user query 2021-12-01 20:17:28 +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
2ee90fab60 bump version to 0.5.1 2021-11-30 09:42:09 +01:00
Sam
a1c5c344a6 [API] minor fix 2021-11-30 09:21:04 +01:00
Sam
94dc9edd1a [Client] build dist files 2021-11-29 18:07:22 +01:00
Sam
e50c3d3799 [API] add endpoint to download gpx file 2021-11-29 16:54:27 +01:00
Sam
fd636a2d61 [Client] update some js dependencies 2021-11-29 12:06:29 +01:00
Sam
e5670d5b48 [Client] update lazy loading 2021-11-29 11:31:24 +01:00
Sam
8bad9d1bfa [Client] fix scss import 2021-11-29 11:23:26 +01:00
Sam
456636def1 [Client] workout - update legend style 2021-11-28 15:35:27 +01:00
Sam
b5b1e0add2 [Client] build dist files 2021-11-28 14:56:36 +01:00
Sam
a52ce1b6a5 [Client] stats - display ave. speed labels only if 1 sport is displayed 2021-11-28 11:21:02 +01:00
Sam
d346dba3bb [Client] build dist files 2021-11-24 18:05:58 +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
170a9c0b37 Client - fix workout card display w/ long username or title 2021-11-14 21:06:29 +01:00
Sam
13a2f3b526 Client - fix applications stats display 2021-11-14 20:48:10 +01:00
Sam
c6f7ae49f1 Client - minor change 2021-11-14 19:24:31 +01:00
Sam
402baaee75 Client - style fix 2021-11-14 18:38:47 +01:00
Sam
26c8d47c51 Client - minor fix and changes 2021-11-14 17:52:39 +01:00
Sam
1bacfa499f Client - update dist files 2021-11-14 15:21:45 +01:00
Sam
197d30b2e2 Client - add distance units in user preferences 2021-11-13 20:04:47 +01:00
Sam
bb2c149caa API - add preference for imperial units conversion 2021-11-13 19:46:16 +01:00
Sam
89d7a9f752 Client - fix sport preferences display 2021-11-13 15:25:12 +01:00
Sam
ed0b3863be Client - fix redirection after deleting user account in admin 2021-11-13 15:09:51 +01:00
Sam
1e86a91e25 API - delete user preferences on user account deletion 2021-11-13 14:30:26 +01:00
Sam
50094d1fda Client - display only active sports in application in user preferences
+ fixes
2021-11-13 12:12:26 +01:00
Sam
6117678ba1 Client - minor change 2021-11-12 19:03:58 +01:00
Sam
a6566c133c Client - use user sports colors in charts 2021-11-12 18:55:48 +01:00
Sam
7c49fd31ad Client - add user sports preferences
+ minor refactor
2021-11-12 18:55:48 +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
7682ccc6aa
Merge pull request #98 from Fmstrat/stopped_fix
Added stopped_speed_threshold to support slow movement
2021-11-11 16:07:51 +01:00
Sam
a867c6cc37 Client - update translations 2021-11-11 11:54:13 +01:00
Sam
6fe42f7f8c Client - display chart with axis starting at min elevation - fix #91 2021-11-11 10:39:35 +01:00
Sam
adb4fc8016 Client - localize calendar header 2021-11-11 10:11:00 +01:00
Sam
07576ba08a Client - minor changes and fix 2021-11-11 09:41:23 +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
7a7cd509ed Client - update input style on validation error 2021-11-11 08:29:12 +01:00
Sam
c2b2bdcabd Client - change order on dashboard for small resolutions 2021-11-11 08:01:04 +01:00
Sam
1bede62d80 Client - use <script setup> in components 2021-11-10 21:24:33 +01:00
Sam
857c0ecd2d Client - update favicon 2021-11-10 13:39:07 +01:00
Sam
7ba4e66e8e Client - add dropdown to select timezone in user preferences 2021-11-10 12:03:54 +01:00
Sam
9d304a2f1e Client - update dropdown style 2021-11-07 11:26:32 +01:00
Sam
a22dec457b Client - add button to clear workouts filters 2021-11-07 11:17:21 +01:00
Sam
d3b8ec7c89 Client - update stats chart style 2021-11-07 10:20:23 +01:00
Sam
7cb5404588 Client - fix links displayed when resetting password 2021-11-06 22:33:33 +01:00
Sam
2b1b465c55 API - fix workouts sort on moving duration 2021-11-06 22:32:25 +01:00
Sam
c7024e6692 update js dependencies 2021-11-06 21:27:32 +01:00
Sam
a7b752fa3b Client - update footer 2021-11-06 19:25:00 +01:00
Sam
bc81c94988 Client - add links to register/login below login/register form 2021-11-06 18:24:53 +01:00
Sam
4765064042 Client - minor style update on workout card 2021-11-06 18:08:35 +01:00
Sam
6b44e78896 Client - [PR84/93] update dist files 2021-11-03 20:43:04 +01:00
Sam
1e397bbfc2 update documentation 2021-11-03 18:32:27 +01:00
Sam
6fac8fdf81 Client - update info style on picture update 2021-11-03 18:30:48 +01:00
Sam
7b44b92dd3 Client - hide workout title on small resolutions 2021-11-03 18:30:48 +01:00
Sam
a950806282 Client - fix workout without gpx update 2021-11-03 18:30:48 +01:00
Sam
8ebc3acdc2 Client - update modal buttons on error 2021-11-03 18:30:48 +01:00
Sam
f97c7ae4d0 Client - refactoring (rename auth user store) 2021-11-03 18:30:48 +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
fece99921b Client - redirect after login if redirection exists 2021-11-03 18:30:48 +01:00
Sam
987503ca96 Client - empty user data when token is not valid 2021-11-03 18:30:48 +01:00
Sam
3b7c5d76ce Client - typo fix + style update 2021-11-03 18:30:48 +01:00
Sam
d4efb061a3 Client - dowload workout static map only when hover workout 2021-11-03 18:30:48 +01:00