Conversation
… option and caching. fix #663
Hardcoded precision of 6 is too low for crypto (0.000001 BTC ≈ $0.10). Bump to 8 and centralize constants so precision is defined once per package boundary (Rust, packages/ui, apps/frontend).
…nd refresh tokens from the backend
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dc520da0a5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| Ok(Json(RestoreSyncSessionResponse { | ||
| access_token, | ||
| refresh_token, | ||
| })) |
There was a problem hiding this comment.
Stop returning refresh tokens from restore endpoint
This new handler returns the raw refresh_token to any caller, which creates an account-takeover path in web mode: connect::router() is mounted without JWT middleware unless WF_AUTH_PASSWORD_HASH is configured (/workspace/wealthfolio/apps/server/src/api.rs), and default CORS allows * (/workspace/wealthfolio/apps/server/src/config.rs), so a malicious website can read /api/v1/connect/session/restore from a victim’s browser and exfiltrate the long-lived token. Please avoid exposing refresh tokens over this unauthenticated API surface.
Useful? React with 👍 / 👎.
…ssary module declaration
Description
This pull request delivers a minor version bump to 3.0.4 along with several user experience improvements and new features across the update dialog, device sync UI, and update checking logic. The most notable changes include a more flexible update dialog with snooze support, improved device sync UI, better feedback for AI provider API key management, and backend/API enhancements for session restoration and update checks.
Update Dialog & Update Checking Enhancements
forceoption, with support in both web and desktop adapters, allowing for forced update checks. [1] [2] [3]Device Sync & UI Improvements
AI Provider API Key Management
Session Restoration & API Enhancements
Version Bump & Mock Update Data
Cargo.tomlandpackage.json. [1] [2]References: