Commit Graph

33 Commits

Author SHA1 Message Date
João Vitória Silva
c5a681a2f9 Drop MariaDB support and update dependencies
Removed MariaDB support from documentation and backend code, standardizing on PostgreSQL as the only supported database. Updated backend dependencies in poetry.lock and pyproject.toml, removing mysqlclient and updating several packages. Documentation and example files were updated to reflect the database change.
2025-10-10 12:28:02 +01:00
João Vitória Silva
f9e3101156 Refactor session token handling and router dependencies
Replaces get_user_id_from_access_token/refresh_token with get_sub_from_access_token/refresh_token and introduces get_sid_from_access_token/refresh_token for session ID extraction. Updates all router dependencies to use new methods, refactors session CRUD to use session ID instead of hashed refresh token, and improves token creation and validation logic for more robust session management. Also updates session_utils and token_manager to support new session ID claim and token structure.
2025-10-06 13:29:29 +01:00
João Vitória Silva
7ebd829cf0 Add MFA authentication flow documentation
Documents the multi-factor authentication (MFA) login flow, including request/response formats for web and mobile clients, error handling, and important notes about session management. This addition clarifies the two-step authentication process for users with MFA enabled.
2025-10-02 16:16:32 +01:00
João Vitória Silva
3c081169f4 New Sports: Padel and Football #353
Add new Padel and Football sport types
2025-09-24 12:09:44 +01:00
João Vitória Silva
38635cbb10 Add ice skating as an activity type #352
Add ice skating as an activity type #352 and fix some mappings
2025-09-24 11:25:34 +01:00
João Vitória Silva
1cc785210c Add E-Mountain Bike activity type support
Introduces activity type 36 for E-Mountain Bike ride in backend activity and user goals utilities. Updates mapping and calculation logic to include E-Mountain Bike rides as bike activities. Also updates documentation and i18n files to reflect the new activity type. Dependency bump
2025-09-10 09:37:49 +01:00
João Vitória Silva
4e39c74165 Add E-Bike ride activity type (ID 35)
Introduces E-Bike ride as a new activity type (ID 35) across backend, frontend, and documentation. Updates mappings, i18n labels, modal options, cycling type checks, icon assignment, and search filtering to support E-Bike rides.
2025-09-10 09:26:13 +01:00
João Vitória Silva
bbccf98bc4 Add 'Track run' activity type and update dependencies
Introduces 'Track run' as a new activity type in the backend, updating mappings and distance calculations accordingly. Removes debug print statements from FIT utils. Updates backend dependencies in poetry.lock and pyproject.toml, and bumps API version to v0.13.4. Adds new ignore rules for import error files in .gitignore. Minor updates to frontend components and i18n files.
2025-08-18 16:31:35 +01:00
João Vitória Silva
4447bced5a Update gear type mappings and docs for consistency
Standardized gear type names in GEAR_ID_TO_NAME and GEAR_NAME_TO_ID, correcting typos and adding common variations. Updated the developer guide to reflect these changes and ensure consistency between code and documentation.
2025-08-01 14:49:51 +01:00
Marc @PDev1 server
a232008028 Updating developer guide with the backend locations of activity, gear type, and gear component definitions. 2025-07-31 16:15:02 +00:00
João Vitória Silva
d22904986c Add support for stand up paddling and surf activities
Introduces new activity types for stand up paddling (32) and surf (33) across backend and frontend, including mapping, UI options, i18n labels, and search filters. Adds gear type 8 (water sports board) with corresponding backend validation, model updates, documentation, and frontend display logic, including new avatar image and translations.
2025-07-25 10:03:46 +01:00
João Vitória Silva
4956feae8d Add indoor walk activity type and tracker fields
Introduces activity type 31 (Indoor walk) across backend and frontend, updates activity type mappings, and adds tracker_manufacturer, tracker_model, and import_info fields to the Activity model and schema. Updates Alembic migrations, improves activity media import/export logic, and standardizes Pydantic model config usage. Also updates documentation and docker-compose examples to use the new data directory.
2025-07-21 13:42:09 +01:00
João Vitória Silva
837764a0ca Add windsurf default gear & support .tcx/.gz files docs mention
[backend] add column windsurf_gear_id to users_default_gear
[backend] update comment on gear_type column on gear table
[docs] update docs to include .tcx and .gz
[frontend] updated translations to include .gz files on HomeView
[frontend] added windsurf default gear selection on profile settings
[README] update to include .tcx
2025-07-16 11:54:37 +01:00
João Vitória Silva
2fc81ebf1e Add initial windsurf support 2025-07-15 21:40:03 +01:00
João Vitória Silva
e1f3bb3432 Started notifications logic
[backend] started notifications logic
[docs] added gear components valid types to docs
[frontend] started notifications logic
2025-07-01 16:11:36 +01:00
João Vitória Silva
814f3c7768 Add support for mixed surface cycling
[backend] added support for activity type mixed_surface_cycling
[frontend] added support for activity type mixed_surface_cycling
[frontend] centralized activity type validation for cycling and running on activityUtils
2025-06-30 10:49:03 +01:00
João Vitória Silva
319b83ae0f Add indoor cycling support & fix config/logging issues
[backend] fixed invalid default value for JAEGER_ENABLED
[backend] added support for activity type indoor_cycling
[backend] fixed logging spacing and added docs to logger
[docker] fixed logging spacing
[docs] added support for activity type indoor_cycling
[frontend] added support for activity type indoor_cycling
[frontend] re added activityMaxHR to activitySummaryComponent.json
2025-06-25 12:10:53 +01:00
Tim
2fbcbdeed7 support ski and snowboard as gear 2025-06-08 09:28:27 +02:00
João Vitória Silva
552f666438 Docs developer add FERNET_KEY 2025-05-31 10:17:31 +01:00
João Vitória Silva
1235d59a00 Attempt fix for storing Strava refreshed tokens 2025-05-12 12:46:50 +01:00
João Vitória Silva
7b360b7b61 Refactor Strava integration to use user-provided creds
[backend] added alembic migration to add columns strava_client_secret and strava_client_id to users_integrations table
[backend] removed reference to STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET and STRAVA_AUTH_CODE
[backend] added logic for Strava link to use id and secret given by user in the frontend
[backend] added Strava schema for Strava client logic
[backend] simplified Strava routes
[docker] removed reference to STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET and STRAVA_AUTH_CODE
[docs] removed reference to STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET and STRAVA_AUTH_CODE
[frontend] removed reference to STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET and STRAVA_AUTH_CODE
[frontend] added new generic modal ModalComponentNumberAndStringInput component
[frontend] added default value to input number on ModalComponentNumberInput component
[frontend] adjusted Strava calls to match optimized Strava backend routes
2025-05-03 16:52:17 +01:00
João Vitória Silva
6134d0903e Updated guide with new env variable 2025-04-23 22:18:03 +01:00
João Vitória Silva
41c2f51474 Docs updates + issues templates 2025-04-10 11:12:52 +01:00
João Vitória Silva
ab5fc584a1 Logic for activity laps, splits, sets and workout steps 2025-03-03 23:09:25 +00:00
João Vitória Silva
9f85d1c65f Add defaultActivityVisibility logic, fix path issues
[backend] added column default_activity_visibility to users table
[backend] added new column default_activity_visibility to crud and router logic
[backend] created alembic migration to add default_activity_visibility column
[backend] activity upload now takes user default_activity_visibility has visibility value
[docker] fixed issue in path
[docs] fixed issue in path
[frontend] added default_activity_visibility column logic to edit profile
2025-02-27 16:23:38 +00:00
João Vitória Silva
23c26d6e76 Bump version to v0.9.2, fix typos in docs & Docker
[backend] bump version to v0.9.2
[frontend] bump version to v0.9.2
[docs] fixed typo in developer-guide example docker compose file
[docker] fixed typo in example docker compose file
2025-02-27 15:00:15 +00:00
João Vitória Silva
7fd4d6f7a7 Update docs with dev env setup logic 2025-02-25 14:44:54 +00:00
João Vitória Silva
3d2eb4e296 Fixed issue on table 2024-12-20 22:17:19 +00:00
João Vitória Silva
86b9e61bfd Update docs for v0.6.5 2024-12-20 22:14:22 +00:00
João Vitória Silva
5af1637d88 Updated README and developer guide in docs
[README] updated README inline with docs
[docs] fixed some visual errors in developer guide and added some additional information
2024-11-20 23:08:56 +00:00
ThreeCO
4b2a9881ec Update developer-guide.md 2024-11-20 09:28:27 +01:00
ThreeCO
7500d1517b Update developer-guide.md
Some more information for API Usage
2024-11-19 14:52:34 +01:00
João Vitória Silva
c66020609f Updated docs
[frontend] added docs icon with link to documentation in footer
[backend] removed unused STRAVA_DAYS_ACTIVITIES_ONLINK env variable
[README] removed unused STRAVA_DAYS_ACTIVITIES_ONLINK env variable
[docs] updated docs
2024-11-18 22:10:04 +00:00