Commit Graph

139 Commits

Author SHA1 Message Date
João Vitória Silva
caba01be97 Merge pull request #428 from johanngrobe/docs
add bare-metal docs
2025-12-04 10:54:02 +00:00
Johann Grobe
256c176133 adjustments to bare-metal docs 2025-12-03 23:25:28 +01:00
João Vitória Silva
a6a53e513a Update config paths and docs for environment variables
Changed DATA_DIR to use BACKEND_DIR for consistency in config.py and removed unused import in fit/utils.py. Added documentation for FRONTEND_DIR, BACKEND_DIR, DATA_DIR, and LOGS_DIR environment variables in advanced-started.md to clarify their usage.
2025-12-03 16:18:13 +00:00
Johann Grobe
c88bbaab6c add bare-metal docs 2025-11-30 13:47:08 +01:00
João Vitória Silva
a27e9ec701 Merge branch 'master' into 0.16.0 2025-11-19 12:27:34 +00:00
João Vitória Silva
a5906171dd Add support for Inline Skating activity type
Introduces 'Inline skating' as a new activity type (ID 45) across backend and frontend. Updates schemas, utility mappings, i18n files, UI components, and search functionality to handle inline skating activities. #411
2025-11-17 22:33:56 +00:00
João Vitória Silva
cef1d45a30 Add support for snow shoeing activity type (44)
Introduces 'Snow shoeing' as a new activity type (ID 44) across backend and frontend. Updates schema, activity mappings, goal calculations, developer documentation, i18n files, activity utilities, and UI components to support the new activity. Ensures snow shoeing is selectable, filterable, and properly displayed throughout the application. #411
2025-11-17 22:07:40 +00:00
João Vitória Silva
98bc4fefa9 Add Sailing activity type support across app
Introduces Sailing (type 43) as a supported activity throughout the backend and frontend. Updates activity mappings, i18n files, UI dropdowns, and utility functions to include Sailing. Adjusts search and filtering logic to handle the new activity type and corrects some error message keys in SearchView. #411
2025-11-17 21:54:04 +00:00
João Vitória Silva
2e19ec19b0 Add kayaking activity type (42) across app
Introduces kayaking as a new activity type (ID 42) in backend and frontend. Updates activity mappings, i18n labels, UI components, and search logic to support kayaking alongside rowing where appropriate. #411
2025-11-17 21:34:33 +00:00
João Vitória Silva
78c8e02bc1 Merge branch 'master' into 0.16.0 2025-11-15 23:01:25 +00:00
João Vitória Silva
dc3b3017d2 Add Cardio training activity type support
Introduces 'Cardio training' as a new activity type (ID 41) across backend and frontend. Updates activity mappings, enums, goal logic, UI components, and i18n files to support the new type. Also fixes goal list initialization in SettingsUserGoals.vue.
2025-11-14 22:16:36 +00:00
João Vitória Silva
ec44a4473f Add Slovenian language support and bump version to 0.15.7
Introduces Slovenian (SL) as a supported language across backend and frontend, including language enum, language switchers, and i18n resources. Updates documentation to credit the contributor, and increments version numbers in backend and frontend to 0.15.7.
2025-11-14 21:45:20 +00:00
João Vitória Silva
33564acee3 Fixed typo on README and docs index 2025-11-03 16:41:53 +00:00
João Vitória Silva
c1cbaed4f4 Merge branch 'master' into 0.16.0 2025-10-31 16:33:08 +00:00
João Vitória Silva
d3e412604b Add treadmill sport type & bump version 2025-10-31 11:56:11 +00:00
João Vitória Silva
687d7c6fd7 Merge branch 'master' into backend-authlib-support 2025-10-31 11:35:49 +00:00
João Vitória Silva
637edb33d0 Removed unnecessary line on docs 2025-10-30 16:23:35 +00:00
João Vitória Silva
9183c42d5b Moved docs to use material theme 2025-10-30 15:56:54 +00:00
João Vitória Silva
3809918938 Add trademark badge to documentation index
A trademark badge linking to the TRADEMARK.md file was added to the docs index page to highlight trademark information for Endurain.
2025-10-30 12:55:08 +00:00
João Vitória Silva
247b4b93ad Merge branch 'pre-release' into backend-authlib-support 2025-10-28 16:34:26 +00:00
João Vitória Silva
6b93384428 Refactor config and update MariaDB to Postgres migration docs
Refactored backend/app/core/config.py to simplify and clarify docstrings and comments, improving readability and maintainability. Updated the MariaDB to Postgres migration guide to use Endurain's built-in export/import functionality instead of pgloader, providing a more user-friendly migration process. Removed obsolete pgloader migration files and transformation scripts.
2025-10-28 15:56:16 +00:00
João Vitória Silva
d265be67bc Add Docker secrets support for sensitive env vars
Introduces secure reading of sensitive environment variables (DB_PASSWORD, SECRET_KEY, FERNET_KEY) via _FILE variants for Docker secrets. Updates backend to use new read_secret utility, adds validation for Fernet keys, and documents usage in advanced setup guide. Bumps version to 0.15.3 and provides a docker-compose secrets example.
2025-10-21 14:39:36 +01:00
João Vitória Silva
192cdfcca5 Remove unused section in DB migration docs
Remove unused section in DB migration docs
2025-10-20 22:46:09 +01:00
João Vitória Silva
c80576b322 Refine MariaDB to Postgres migration instructions
Reformatted migration steps and troubleshooting sections for clarity and consistency. Changed numbered lists to bullet points and headings, improved step descriptions, and clarified solutions to common migration issues.
2025-10-20 22:42:30 +01:00
João Vitória Silva
84899133ce Fixed issues on mkdocs
Fixed issues on mkdocs
2025-10-20 22:33:56 +01:00
João Vitória Silva
ad5a30cb97 Fixed issues on mkdocs
Fixed issues on mkdocs
2025-10-20 22:25:12 +01:00
João Vitória Silva
cbb05713f4 Fix code block formatting in migration guide
Standardized code block formatting in the MariaDB to Postgres migration documentation by removing redundant 'bash' and 'sql' language specifiers. This improves readability and consistency throughout the guide.
2025-10-20 22:12:46 +01:00
João Vitória Silva
96ed9e99c1 Add MariaDB to Postgres migration guide and configs
Introduces a comprehensive migration guide for moving from MariaDB to PostgreSQL, including troubleshooting and step-by-step instructions. Adds pgloader configuration files and custom transformation functions for handling data conversion, and updates mkdocs navigation to include the new migration documentation.
2025-10-20 22:07:46 +01:00
João Vitória Silva
86046cad02 Update gear import docs to use code formatting
Replaced double quotes with backticks for menu items, file names, and field names in the gear import documentation for consistency and improved readability.
2025-10-20 10:44:39 +01:00
João Vitória Silva
8fc36444bf Refactor Strava gear import and update integration docs
Improved formatting and readability in Strava gear import utilities and router, including better line breaks and removal of redundant blank lines. Updated documentation for Strava and Garmin Connect integrations, clarifying import instructions and reorganizing integration details for clarity.
2025-10-20 10:29:51 +01:00
Marc @PDev1 server
b6f19b55ff Merge branch 'master' into shoe import code to update shoe import code to v0.15.1 2025-10-18 19:49:54 +00:00
João Vitória Silva
5d2c783460 Add user IdP linking and MFA setup modals
Implements endpoints and frontend modals for users to link/unlink external identity providers (IdPs) to their accounts, including backend logic for secure OAuth linking and session management. Adds ModalComponentMFASetup for multi-factor authentication setup, refactors modal input components for accessibility and consistency, and updates documentation and trademark policy. Adjusts scope constants and permissions for identity provider management.
2025-10-17 16:19:57 +01:00
João Vitória Silva
73d7a1a2e4 Add Galician language support
Introduces Galician (gl) as a supported language across backend and frontend. Updates language enums, language switchers, user profile, signup, and user modal components. Also updates documentation and version numbers to 0.15.1.
2025-10-15 12:48:42 +01:00
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
Marc @PDev1 server
4d05feba0c Updating with v0.15 code, updating docs to reflect new shoe import procedure. 2025-10-07 20:15:18 +00:00
João Vitória Silva
ca6799f7e9 Merge branch 'backend-session-module-revamp' into 0.16.0 2025-10-06 21:23:15 +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
90cdae9072 Improve gear nickname parsing and update Strava import docs
Enhanced gear nickname parsing by stripping whitespace after decoding in gear CRUD functions. Updated documentation for Strava bulk import to clarify import steps, note removal of '+' and whitespace, and correct development timelines for shoes and activity metadata imports.
2025-10-04 21:11:01 +01:00
Marc @PDev1 server
702bffa56b Updating docs to reflect new Strava shoe importing process. 2025-10-04 16:51:31 +00: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
5bc2ea61f7 Merge branch 'pr/285' into 0.15.0 2025-10-02 09:27:51 +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
Marc @PDev1 server
b2758bbf69 Improving gear import documentation with many notes. 2025-09-14 08:38:35 +00:00
Marc @PDev1 server
97ae85a46b Updating docs for shoe import. 2025-09-10 08:50:56 +00: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
8d9c5bca73 Merge branch 'master' into pre-release 2025-09-10 09:26:19 +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
Marc @PDev1 server
bd72978622 Updating shoe import code for v0.14 and merging with bikes import code. 2025-09-10 07:07:26 +00:00
Marc @PDev1 server
17c8f1ffe8 Updating docs for bike import. 2025-09-09 20:37:21 +00:00