41 Commits

Author SHA1 Message Date
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
393badf716 Update JSDoc and documentation standards for JS/TS
Expanded and clarified documentation standards in javatsscript.instructions.md, including detailed JSDoc rules and examples for functions, classes, interfaces, and constants. This update aims to improve code clarity and maintainability by enforcing consistent and concise documentation practices.
2025-11-03 15:41:10 +00:00
João Vitória Silva
113ce35b46 Refactor auth and identity provider modules
Moved authentication and identity provider logic from 'session' and 'identity_providers' modules into a new 'auth' package. Updated all relevant imports and references throughout the backend to use the new structure. Added language-specific coding standards files for Python and JavaScript/TypeScript in .github/instructions/. Minor bugfixes and code style improvements in Alembic migrations and routers. Profile export and import logic now also includes notifications and user idps info
2025-10-29 13:16:18 +00:00
João Vitória Silva
f664f9acd2 Refactor DB config, fix Strava import, update migration
Removed unused multi-DB support from database.py, fixed dependency in Strava shoe import endpoint, and corrected table/index names in Alembic migration for user identity providers. Also updated documentation and dependency lock files.
2025-10-28 16:52:30 +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
9fbd86a8a2 Add and update docstrings for profile services and schema
Added or revised concise, PEP 257-compliant docstrings for all public classes and methods in profile export/import services, router endpoints, exceptions, and MFA schema. Updated docstring formats to match new repository guidelines, clarified argument and return value descriptions, and removed extended explanations and examples. Also updated .github/copilot-instructions.md with new Python code style and docstring requirements.
2025-10-28 15:33:22 +00:00
João Vitória Silva
f0cb46ab98 Add devscripts/ to .gitignore and update instructions
Updated .github/copilot-instructions.md to specify that development/helper scripts should be stored in the devscripts/ folder. Added devscripts/ to .gitignore to prevent local development scripts from being committed.
2025-10-16 16:49:16 +01:00
João Vitória Silva
7cb692aba4 Add devdocs/ to .gitignore and update documentation policy
Updated .github/copilot-instructions.md to specify that new development documentation files should be placed in the devdocs/ folder. Added devdocs/ to .gitignore to ensure local development docs are not committed to the repository.
2025-10-16 14:28:44 +01:00
João Vitória Silva
538834b2fc Refactor identity providers zone and improve i18n
Refactored SettingsIdentityProvidersZone.vue to use computed properties, centralized API error handling, and improved type inference. Updated event handler names for clarity and removed redundant click handler. Adjusted i18n keys for provider count messaging, removing 'labelNumberOfProviders' and adding 'labelNumberOfProviders1' and 'labelNumberOfProviders2' in both Galician and US English locales.
2025-10-14 22:22:29 +01:00
João Vitória Silva
23a96d531d Refactor SSO provider logo mapping and improve login view
Moved PROVIDER_CUSTOM_LOGO_MAP to a new ssoConstants.ts for reuse and maintainability. Updated LoginView.vue and IdentityProviderListComponent.vue to import the constant. Added SSOProvider type to types/index.ts and improved LoginView.vue by using a computed serverSettings property, simplifying refs, and fixing SSO provider logo rendering.
2025-10-14 22:08:14 +01:00
João Vitória Silva
f92d19cef4 Revise and expand Copilot instructions for Endurain
Major update to .github/copilot-instructions.md: adds explicit AI/Copilot behavior guidelines, clarifies frontend/backend/Docker workflows, introduces detailed code quality and accessibility standards, and provides a comprehensive code review checklist. The document now includes a 10-section Vue component structure, centralized utility usage, and updated architecture and refactoring priorities to guide consistent, high-quality development.
2025-10-10 14:13:15 +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
copilot-swe-agent[bot]
e404dc67e0 Add comprehensive GitHub Copilot instructions with validated commands
Co-authored-by: joaovitoriasilva <8648976+joaovitoriasilva@users.noreply.github.com>
2025-09-02 13:12:52 +00:00
João Vitória Silva
22d93a0146 Added reference to app.log on issues templates 2025-06-03 10:14:50 +01:00
João Vitória Silva
9723046893 PR templates + code enhancement backend
[general] PR templates for bug fixes, docs update, feature add, refactor and general
[backend] code enhancement for better readability in security.py
2025-05-01 22:34:35 +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
3a4ec6b506 Fixed build path
[GitHub Actions] fixed build path
2024-12-28 15:50:20 +00:00
João Vitória Silva
69a0bcd211 Strava link fix + new GitHub Actions workflow
[frontend] fixed Strava link callback logic based on new structure
[GitHub Actions] removed backend and frontend workflows and added single workflow
2024-12-26 20:36:31 +00:00
João Vitória Silva
675653a8ef Dependencies + actions fix
[backend] bump dependencies
[GitHub Actions] fixed issue related to build path
2024-07-24 15:26:32 +01:00
João Vitória Silva
8b3d279cd0 Update docker-image_backend_manualORnewrelease.yml 2024-07-24 15:18:28 +01:00
João Vitória Silva
76153fcefb Fixed docker-compose example file 2024-07-24 15:06:58 +01:00
João Vitória Silva
c53ef002a7 Updated README, screenshot and github actions 2024-07-24 14:29:35 +01:00
João Vitória Silva
0217e70162 Create phpmd.yml 2024-01-08 10:51:54 +00:00
João Vitória Silva
3477c34366 Create FUNDING.yml 2024-01-04 09:48:15 +00:00
João Vitória Silva
ee87c0b63c Update docker-image_backend_latest_manual.yml 2023-12-22 22:08:30 +00:00
João Vitória Silva
01f4c4432a Create docker-image_frontend_latest_manual.yml 2023-12-22 22:08:13 +00:00
João Vitória Silva
37cbe5ba7c Create docker-image_backend_latest_manual.yml 2023-12-22 22:06:09 +00:00
João Vitória Silva
10a3de563b Update docker-image_backend_manualORnewrelease.yml 2023-11-29 17:57:29 +00:00
João Vitória Silva
9d8a94e8b5 Update docker-image_backend_manualORnewrelease.yml 2023-11-29 17:09:45 +00:00
João Vitória Silva
27019ee88c Update docker-image_backend_manualORnewrelease.yml 2023-11-29 17:07:32 +00:00
João Vitória Silva
21b08224c3 Create docker-image_frontend_manualORnewrelease.yml 2023-11-29 16:34:52 +00:00
João Vitória Silva
10eaf73d17 Update and rename docker-image_manualORnewrelease.yml to docker-image_backend_manualORnewrelease.yml 2023-11-29 16:33:32 +00:00
João Vitória Silva
fa203ced3e Update and rename docker-image.yml to docker-image_manualORnewrelease.yml
Changed from YMD to DMY
2023-11-29 15:01:55 +00:00
João Vitória Silva
e85893d3ba Update docker-image.yml 2023-11-29 14:54:30 +00:00
João Vitória Silva
62c92e3130 Update docker-image.yml 2023-11-29 14:40:12 +00:00
João Vitória Silva
3067d806d1 Update docker-image.yml 2023-11-29 14:29:18 +00:00
João Vitória Silva
fac3e6397f Update docker-image.yml 2023-11-29 14:23:56 +00:00
João Vitória Silva
39393e2496 Update docker-image.yml 2023-11-29 14:20:00 +00:00
João Vitória Silva
a810d390c8 Update docker-image.yml
Added echo IMAGE_TAG for debug
2023-11-29 14:11:30 +00:00
João Vitória Silva
59e938ea93 Update docker-image.yml 2023-11-29 13:46:22 +00:00
João Vitória Silva
281bafd371 Create docker-image.yml 2023-11-29 13:00:26 +00:00