Commit Graph

13 Commits

Author SHA1 Message Date
andy
2a2c222c2f 优化登录验证码锁定交互 2026-07-15 14:59:16 +07:00
andy
25da8a718e 接入登录图形验证码流程 2026-07-15 14:16:14 +07:00
andy
9be0fadd69 bug修复 2026-06-22 17:45:59 +08:00
andy
8568c07d9f 手机登陆和google登陆参数变更 2026-06-22 17:20:06 +08:00
duanshuwen
563b72ff90 refactor(login): rename clientId to clientConfigld
standardize parameter name across login flows, add missing clientConfigld to Google OAuth login request
2026-06-22 10:00:31 +08:00
duanshuwen
8792c6f837 feat(login api): add clientId to OauthTokenRequest 2026-06-15 11:17:55 +08:00
DEV_DSW
9571ad919e fix(api): update sendCode endpoint and format code
correct the API path for sendCode and reformat function signatures for better readability
2026-06-08 11:04:11 +08:00
DEV_DSW
354232b444 refactor: overhaul auth system, routing, and navigation flows
This commit overhauls several core parts of the codebase:
- Replace legacy localStorage token storage with secure cookie-based authentication with automatic token refresh logic
- Rewrite checkToken and goLogin hooks to support redirect targets and proper async error handling
- Update all component navigation flows to use the updated auth checks and correct redirect behavior
- Refactor router configuration to support both client-side and server-side rendering via conditional history usage
- Remove unused speech recognition constant file and stale component registration for RecordingWaveBtn
- Add unit tests for navigation utilities and auth token handling
- Fix login post-success redirect logic and add login success event emissions
- Overhaul HTTP request handling to include automatic auth token injection and retry on unauthorized errors
2026-06-04 11:07:30 +08:00
DEV_DSW
ebd7c2bf2a refactor: remove unused clientId from oauth token requests
remove clientId field from OauthTokenRequest interface and all oauthToken call sites,
as it is no longer required for the API requests.
2026-06-02 17:01:43 +08:00
DEV_DSW
4ef1113c2c feat(login): implement mobile SMS login flow
Add utility function for form URL encoded data serialization, update the oauthToken API to use proper form data and basic authentication, add sendCode API for sending mobile verification codes, and rewrite the phone login flow with input validation and correct OAuth parameters.
2026-06-02 16:55:53 +08:00
DEV_DSW
fb635ce5dd feat(login): switch login to google oauth flow
- add typed OauthTokenRequest interface for oauth token API
- remove unused AgreePopup component and all agreement-related logic
- rewrite login page to implement full Google OAuth2 login flow including state generation, callback validation and redirect handling
2026-05-27 14:42:06 +08:00
duanshuwen
1a5a2ae6a9 refactor: clean up codebase and add new features
Replace SCSS variable usages with explicit pixel/hex values for consistent styling across all components
Fix broken template syntax including missing class spaces and incorrect closing tags
Migrate constant and API imports to centralized @/constants and @/api modules
Add new utility classes: IdUtils, CallbackUtils, and TimerUtils
Add new chat conversation API endpoints for recent conversations and message lists
Add new Discovery page components (FindTabs, QuickQuestions, CardSwiper) and their styles
Update app store config to use environment variables for base API and WebSocket URLs
Add new selected tab icon assets
2026-05-26 23:50:37 +08:00
duanshuwen
548df7020c feat: initial project setup with core infrastructure and api clients
- Add environment configs for dev/staging/prod environments
- Implement centralized axios request utility with standardized error handling
- Add shared TypeScript types for API responses and requests
- Create comprehensive API client modules for all core endpoints
- Configure vue router with all application page routes
- Add icon fonts, static assets, and loading animations
- Set up project documentation and collaboration guidelines
- Remove deprecated uni-app bridge component files
2026-05-26 21:42:36 +08:00