70 Commits

Author SHA1 Message Date
João Vitória Silva
077df2ef9a Update bare-metal guide and mkdocs navigation
Added a blank line for readability in the bare-metal installation guide and updated the navigation title in mkdocs.yml to 'Bare-Metal installation guide' for consistency.
2025-12-22 11:01:25 +00:00
João Vitória Silva
4c33f8d60a Merge branch 'pr/447' into feature-pkce-oauth-state 2025-12-22 10:59:09 +00:00
João Vitória Silva
0d89612f5f Add demo environment handling for session endpoints
Session retrieval endpoints now return empty lists and log access attempts when ENVIRONMENT is set to 'demo'. Also, updated session cookie security to treat 'demo' like 'production', and clarified ENVIRONMENT options in documentation. Unused imports were removed from users/user/router.py.
2025-12-20 11:00:02 +00:00
FutureCow
563f55211b Add update instructions for Endurain service
Added instructions for updating to a new version of Endurain, including steps for stopping the service, removing old files, downloading the latest release, building the frontend, setting up the backend, and starting the service.
2025-12-20 10:50:27 +01:00
João Vitória Silva
f6e06fb3e6 Add session idle and absolute timeout enforcement
Implements optional session idle and absolute timeout logic, including new environment variables for configuration. Adds last_activity_at to sessions, enforces timeouts on token refresh, and introduces a scheduler job to clean up idle sessions. Also introduces progressive lockout for failed logins and updates documentation and examples accordingly.
2025-12-18 10:28:22 +00:00
João Vitória Silva
b0bc916c44 Update project links to new GitHub organization
Replaced all references to 'joaovitoriasilva/endurain' with 'endurain-project/endurain' across documentation, templates, Docker examples, and code. Updated badge URLs, Docker image paths, and author email in backend metadata to reflect the new organization. This ensures consistency and correct attribution following the repository migration.
2025-12-12 14:08:19 +00:00
João Vitória Silva
4d828cb02b Bump version to 0.16.1, update user agent strings, fix for BMI
Updated backend and frontend version numbers to 0.16.1. User-Agent headers in backend now use the API version from config. Improved migration guide wording. Added placeholders to weight input fields and set their default values to null in HealthWeightAddEditModalComponent. #438
2025-12-11 10:52:17 +00:00
João Vitória Silva
25efb94c51 Merge branch 'master' of https://github.com/joaovitoriasilva/endurain 2025-12-10 22:05:38 +00:00
João Vitória Silva
0f41d06fc7 Remove unused dependencies from install guide
Eliminated default-libmysqlclient-dev and pkg-config from the bare-metal installation instructions for Endurain on Debian, as they are no longer required.
2025-12-10 22:05:26 +00:00
João Vitória Silva
01dcf2cd7a Merge pull request #419 from JustABoringUser/feature/npm-endurain-example-config
Added Nginx Proxy Manager config example for Endurain
2025-12-10 22:04:19 +00:00
João Vitória Silva
38e3f295fc Update reverse proxy setup in getting started guide
Expanded the documentation to include installation and configuration steps for both Caddy and Nginx Proxy Manager as reverse proxies. The guide now provides clearer separation of Docker, Caddy, and Nginx Proxy Manager installation steps, and includes an example Nginx Proxy Manager config inline. Removed the standalone npm_endurain.conf file, as its contents are now integrated into the documentation.
2025-12-09 22:22:29 +00:00
João Vitória Silva
e829153ad3 Support SMTP_PASSWORD as Docker secret
Updated the application to read SMTP_PASSWORD using the read_secret method, enabling support for Docker secrets via SMTP_PASSWORD_FILE. Documentation was updated to reflect this new option for configuring SMTP credentials.
2025-12-08 22:52:35 +00:00
João Vitória Silva
a0a137e59a Update and expand documentation screenshots and gallery
Added new screenshots for health, settings, and authentication pages, updated several existing images, and removed obsolete ones. The gallery documentation was updated to reflect the new and reorganized screenshots, providing a more comprehensive and up-to-date visual overview of the application's UI. Minor formatting cleanups were also made in the developer and getting started guides.
2025-12-08 15:11:06 +00:00
João Vitória Silva
f39eacfde5 Move sleep scoring doc to features section
Added new 'Features' section in docs. Renamed 'sleep-scoring.md' from 'getting-started' to 'features' and updated mkdocs.yml navigation to reflect this change.
2025-12-08 14:45:31 +00:00
João Vitória Silva
d65363f07e Add resting heart rate and skin temp deviation to sleep modal
Added fields for resting heart rate and average skin temperature deviation to the HealthSleepAddEditModalComponent, including support in form data, submission logic, and i18n translations for both English and Portuguese. Updated documentation to mention DB_HOST as a required environment variable. #426
2025-12-07 15:28:10 +00:00
João Vitória Silva
7d62434da2 Add sleep scoring system and refactor health sleep fields
Introduces a comprehensive sleep scoring module with detailed calculation logic and integration into health sleep creation and editing endpoints. Refactors HealthSleep model and schema to use integer types for heart rate, SpO2, respiration, and sleep stress fields. Updates related tests and documentation to reflect the new scoring system and data type changes.
2025-12-07 15:21:25 +00:00
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
687d7c6fd7 Merge branch 'master' into backend-authlib-support 2025-10-31 11:35:49 +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
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
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
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
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
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
Marc @PDev1 server
6229fa3617 Updating branch to v0.14.0 2025-09-09 20:15:18 +00:00
João Vitória Silva
ed128585e3 Merge branch 'copilot/fix-274' into pre-release 2025-09-04 14:19:27 +01:00
João Vitória Silva
97eb4bc829 Update SMTP config and docs for email notifications
Changed example SMTP settings in .env.example to use ProtonMail and generic email address. Added detailed SMTP environment variable documentation to advanced-started.md. Updated index.md to mention Apprise and password reset via email.
2025-09-04 12:28:30 +01:00
João Vitória Silva
2beab9fafc Refactor reverse geocoding config and update dependencies
Renamed geocoding-related config variables for clarity and consistency, defaulted REVERSE_GEO_PROVIDER to 'nominatim', and updated related usages in activity utils. Removed unused GEOCODES_MAPS_API from .env.example. Updated documentation and example compose file to reflect changes. Upgraded Python dependencies in poetry.lock.
2025-09-02 10:05:36 +01:00
Marc @PDev1 server
2f22784302 Updating docs to add shoe importing instructions. 2025-08-30 12:06:32 +00:00
João Vitória Silva
cc06dbb857 Set geocode as default REVERSE_GEO_PROVIDER
Changed the default value of REVERSE_GEO_PROVIDER from 'nominatim' to 'geocode' in the configuration and updated the documentation to reflect this new default.
2025-08-19 10:27:10 +01:00
João Vitória Silva
ea8b4d05c7 Fix casing for 'Yes' in environment variables table
Corrected the casing of 'yes' to 'Yes' in the GEOCODES_MAPS_RATE_LIMIT row for consistency with other entries in the table.
2025-08-18 22:37:08 +01:00
João Vitória Silva
c422005fa9 Add Nominatim as reverse geocoding provider
Introduces support for Nominatim as a reverse geocoding provider alongside geocode and photon. Updates configuration and documentation to include NOMINATIM_API_HOST and NOMINATIM_API_USE_HTTPS environment variables, sets Nominatim as the default provider, and refactors related logic in utils.py.
2025-08-18 22:28:30 +01:00
Marc Perkins
6ac10e2a6f Fixing typo in docs.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 21:05:43 +03:00