v0.16.0-Alpha4 - Alpha4 for v0.16.0 - Single Sign-On support, steps data and targets for weight and steps
⚠️ Warning:
- This is not a final version, expect bugs and errors
- MariaDB support is dropped. Use PostgreSQL as your DB. Check docs if need to migrate from MariaDB to PostgreSQL
- Your users sessions will be deleted on upgrade. Users will have to authenticate again
- Migration from previous Alpha versions is not supported!
Changes from Alpha3 to Alpha4
- ⚠️ Warning: Migration from previous Alpha versions is not supported!
- Merged changes made until v0.15.9
- Fix for some activities with gps track do not show speed/pace chart #422
- Move activity visibility settings to a collapsible #423
- Added steps data to Health section
- Line chart in weight section is now inline with the changes made to activity charts
- Added targets for weight and steps
Changes from Alpha2 to Alpha3
- Fixed enable/disable provider from the list level #58
- Icon hint inside provider's edit dialog is now aligned with available templates #58
- Fixed issue that was breaking "Auto-redirect to SSO" #58
- Added ability to have local login as a backup for SSO, even with "Auto-redirect to SSO" enabled. Adding
?forceLocalLogin=trueto the url enables this. Example:https://endurain.com?forceLocalLogin=true#58 - Enabled redirect on login. Example:
- User is not logged in and navigates to
https://endurain.com/settings - Redirects to
https://endurain.com/login?redirect=/settings - User logs in using local or SSO auth
- User is then redirected to
https://endurain.com/settingsinstead of home page
- User is not logged in and navigates to
Migrate from Alpha 1 to Alpha 2
- You will need to change column
idp_refresh_tokeninusers_identity_providerstable fromvarchartotext. Example with final stage bellow:
Changes from Alpha1 to Alpha2
- Fixed typo on README and docs index
- Introduces Casdoor as a supported identity provider #58
- Fixes update IDP not working
- Fixes refresh token to large to be stored error
- Add Strava activity retrieval by date range #368
New Features:
Backend
- Drop MariaDB support
- Introduces support for external identity providers (SSO) #58
- New password hasher utility, replacing legacy bcrypt and password logic
- New token manager utility for JWT creation/validation
- Refresh tokens are now hashed before being stored -> safer (no JWT leakage)
- Hashed content now uses Argon2id. Users passwords are updated automatically on new login
- Switched file security module to external module - safeuploads
- Backend now correctly handles missing files or missing routes on requests
- New auth module, centralizing authentication (local and SSO)
- Dependency bump
Frontend
- Migrated some frontend components to TS
- Introduces support for external identity providers (SSO) #58
- Centralized and unified modal logic with new reusable Bootstrap modal composable
- Added new validationUtils.ts for validation helper functions
- Refactor asset imports to use centralized constants
- Dependency bump