Commit Graph

567 Commits

Author SHA1 Message Date
Sam
d2db9240fa API - return error when file from a zip archive exceeds size limit 2022-11-04 22:27:42 +01:00
Sam
4b1c51880f API - return error when number of files in zip exceeds limit
(instead of importing the configured number of files without raising errors)
2022-11-04 22:27:13 +01:00
Sam
42d373edb8 bump version to 0.7.3 2022-11-01 19:58:12 +01:00
Sam
0a4a7b12ed update client dist files 2022-11-01 18:47:11 +01:00
Sam
6f7672e03e update client dist files 2022-11-01 16:17:52 +01:00
Sam
ecc5a81014 update client dist files 2022-11-01 15:13:10 +01:00
Sam
1a6d259c2d API - init Norwegian Bokmål (nb) translation files for emails 2022-11-01 14:46:59 +01:00
Sam
bdd4405be4 update client dist files 2022-11-01 14:28:07 +01:00
Sam
af4984f3bc update client dist files 2022-11-01 12:24:34 +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
Joshua Taillon
b2509ff1c6 Add ability to customize format used to display dates throughout the application 2022-10-31 18:27:03 +01:00
Sam
d56dc61251 API - save segment duration w/o microseconds 2022-10-31 10:03:13 +01:00
Sam
1c99e9aedf update client dist files 2022-10-31 08:38:38 +01:00
Sam
027a21acdf API - rename migration 2022-10-31 08:36:41 +01:00
Joshua Taillon
d249e7b146 add virtual cycling as a sport type 2022-10-31 08:36:12 +01:00
Sam
1dc35c379d API - fix workouts sort on duration (= moving time) 2022-10-26 22:01:04 +02:00
Sam
7ea74d51e7 Docs - update api endpoints documentation 2022-10-26 20:27:12 +02:00
Sam
b86a1b93f9 API - fix order by for PGSQL15 support and update tests 2022-10-26 18:05:22 +02:00
Sam
0bdd0afea8 bump version to 0.7.2 2022-09-21 19:11:30 +02:00
Sam
c9085d5019 update client dist files 2022-09-21 18:09:51 +02:00
Sam
49df6fb606 bump version to 0.7.1 2022-09-21 11:04:30 +02:00
Sam
65803260db update client dist files 2022-09-21 10:11:04 +02:00
Sam
8725e3cf97 update client dist files 2022-09-21 09:00:01 +02:00
Sam
877fc7e92f update client dist files 2022-09-21 08:33:40 +02:00
Sam
08e81c808c bump version to 0.7.0 2022-09-19 18:49:31 +02:00
Sam
efcae2ab31 update client dist files 2022-09-19 14:26:36 +02:00
Sam
752224e6cd update python dependencies 2022-09-19 14:05:30 +02:00
Sam
b216900031 update client dist files 2022-09-19 10:59:57 +02:00
Sam
a2ad7bce1e update client dist files 2022-09-18 15:40:53 +02:00
Sam
4f88dcc8bc API - init api rate limits w/ flask-limiter 2022-09-17 19:36:07 +02:00
Sam
47ec1c5a72 update client dist files 2022-09-16 11:16:00 +02:00
Sam
50a7a299c7 update client dist files 2022-09-15 17:38:51 +02:00
Sam
1d39462f79 update client dist files 2022-09-15 17:09:43 +02:00
Sam
f0c2ec7b5f update client dist files 2022-09-15 16:10:54 +02: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
841edc76c6 Merge branch 'master' into dev 2022-09-14 11:06:25 +02:00
Sam
982e1ad2ff bump version to 0.6.12 2022-09-14 09:55:02 +02:00
Sam
5e0ebd6e6e API - fix record_types enum update in migration - fix #230 2022-09-13 19:02:19 +02:00
Sam
fc3695826e update client dist files 2022-08-27 19:45:22 +02:00
Sam
dfaccf16e0 update python dependencies 2022-08-27 19:32:54 +02:00
Sam
4304b7da98 update client dist files 2022-08-27 16:50:03 +02:00
Sam
98a3e3fec1 API - add tests on JWT generation 2022-08-03 20:38:26 +02:00
Sam
8dc7761c48 CLI - fix token cleaning option 2022-08-03 16:47:03 +02:00
Sam
922ff63d99 API - check reponse type when authorizing an app + add missing tests 2022-08-03 14:01:14 +02:00
Sam
94f2f2fec7 Merge branch 'dev' into oauth2 2022-08-03 11:24:44 +02:00
Sam
b291c3750b update client dist files 2022-08-03 11:07:28 +02:00
Sam
740d2cda46 fix tests 2022-08-03 08:51:51 +02:00
Sam
d4d9aa7602
Merge branch 'dev' into weblate-fittrackee-fittrackee-client-administration 2022-08-03 07:58:37 +02:00
Sam
2274b762a8 Merge branch 'dev' into oauth2 2022-07-27 16:29:57 +02:00
Sam
5fcc3e9a44 API & Docs - init OAuth 2.0 documentation 2022-07-27 15:55:50 +02:00
Sam
c8d24a2e4c bump version to 0.6.11 2022-07-27 11:10:35 +02:00
Sam
312104e87a update client dist files 2022-07-27 09:05:54 +02:00
Sam
99a9b88512 update client dist files 2022-07-23 19:24:37 +02:00
Sam
5a53123a85 update documentation 2022-07-23 18:19:40 +02:00
Sam
40d3146c32 update client dist files 2022-07-23 18:08:57 +02:00
Sam
7d9f4d0600 Merge branch 'dev' into elevation 2022-07-23 17:55:33 +02:00
Sam
7edbebdedc update client dist files 2022-07-23 17:28:07 +02:00
Sam
6705a94b3d update documentation 2022-07-23 17:24:31 +02:00
Sam
06b7af126a API - add preferences for ascent record display 2022-07-23 08:09:45 +02:00
Sam
d66f6828e4 API - fix downgrade revision 2022-07-19 20:04:32 +02:00
Sam
ee67b74d06 API - fix total ascent when user has workous without gpx 2022-07-19 16:33:05 +02:00
Sam
4322b01966 API - fix HA record when workout w/o gpx already exists 2022-07-19 10:42:37 +02:00
Sam
e5a6ae4f18 API - fix down revision 2022-07-19 10:26:21 +02:00
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
Fmstrat
397c711992 Added one mmore HA check for 5 records 2022-07-18 13:04:17 -04:00
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
Fmstrat
fc3eb2cc36 Merged with dev and fixed conflicts 2022-07-18 09:16:17 -04:00
Sam
ca53201a9e Merge branch 'dev' into oauth2 2022-07-13 15:58:28 +02:00
J. Lavoie
61a0b7d0b7
Translated using Weblate (French)
Currently translated at 100.0% (34 of 34 strings)

Translation: FitTrackee/FitTrackee API - Emails
Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-api-emails/fr/
2022-07-13 15:30:00 +02:00
J. Lavoie
cc169f182c
Translated using Weblate (German)
Currently translated at 100.0% (34 of 34 strings)

Translation: FitTrackee/FitTrackee API - Emails
Translate-URL: https://hosted.weblate.org/projects/fittrackee/fittrackee-api-emails/de/
2022-07-13 15:29:59 +02:00
Sam
211ed1acd8 bump version to 0.6.10 2022-07-13 15:21:06 +02:00
Sam
04419c8a66 update client dist files 2022-07-13 14:09:32 +02:00
Sam
7888b4c5c2 update client dist files 2022-07-13 13:30:36 +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
66a24b3f4f API - make DEFAULT_STATICMAP case insensitive 2022-07-13 08:54:09 +02:00
Sam
1a43e4607a API - add some tests on stop time calculation 2022-07-13 08:27:51 +02:00
Thomas Brockmöller
701e4292a4 fix 2022-07-06 08:16:55 +02:00
Sam
df49f78d1f Merge branch 'dev' into oauth2 2022-07-03 19:05:38 +02:00
Sam
d34930fa83 bump version to 0.6.9 2022-07-03 17:27:46 +02:00
Sam
2a15286243 update client dist files 2022-07-03 16:21:28 +02:00
Sam
b57433d0c4 update client dist files 2022-07-03 14:41:10 +02:00
Sam
0118164c8d update client dist files 2022-07-03 13:51:56 +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
6ab8586781 API - update translations file 2022-07-03 07:59:52 +02:00
Sam
fd292a9392 API - use Babel to translate emails 2022-07-02 19:25:11 +02:00
Sam
c1d90fdbb3 update client dist files 2022-07-02 11:36:28 +02:00
Sam
c34e94e49c update client dist files 2022-07-02 10:55:19 +02:00
Sam
0b3fc999f6 Merge branch 'dev' into german-translation 2022-06-29 17:00:00 +02:00
Sam
8a060dada2 update client dist files 2022-06-29 16:30: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
Thomas Brockmöller
65483f3a0b Merge branch 'dev' into german-translation 2022-06-26 23:09:26 +02:00
Thomas Brockmöller
54d99a1237 translate fittrackee 2022-06-26 23:04:47 +02:00
Sam
d64fc19c2e Merge branch 'dev' into oauth2 2022-06-25 21:23:15 +02:00
Thomas Brockmöller
df3469db5d add new language files 2022-06-24 20:44:26 +02:00
Sam
353522d749 bump version to 0.6.8 2022-06-22 20:22:29 +02:00
Sam
1d90c32e16 update client dist files 2022-06-22 18:09:20 +02:00
Sam
1343d0a633 API - fix typo 2022-06-22 16:55:16 +02:00
Sam
fd2cf9fe77 update client dist files 2022-06-22 16:39:02 +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
22a3df5263 bump version to 0.6.7 2022-06-11 20:00: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
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