Commit Graph

5 Commits (c21c766b6ad0fbaf86128f8de23971e44d71b1ee)

Author SHA1 Message Date
veypi 7022c2b52f refactor(ui): Replace axios with fetch in all pages and extract auth layout
- Replace all $axios calls with native fetch across 8 page files
    - Add inline send-code button to login page code flow
    - Extract animated bubble background into shared auth layout
    - Restructure langs.json with zh-CN first, add new i18n keys
    - Add scoped langs.json for auth.send_code translation
    - Wire auth layout to login and callback routes
    - Fix mobile sign-up panel transform direction
    - Use onAuthSuccess for login/register code flows
3 weeks ago
veypi a63dc65ab6 refactor(ui): Rename $vbase to $auth across frontend
- Rename $mod.$vbase to $mod.$auth in env.js initialization
    - Add guard condition to prevent duplicate VBase initialization
    - Update all page and layout templates to use $auth instead of $vbase
    - Update route guard in routes.js to reference $mod.$auth
1 month ago
veypi aabea8ef4a refactor(ui): Update auth and profile pages to use $mod context
- Replace $env.$vbase with $mod.$vbase in callback.html OAuth handlers
    - Update login.html to use $mod.$vbase for login/register API calls
    - Update profile.html to use $mod.$vbase for user data and logout
    - Fix OAuth providers page to reference $mod.$vbase correctly
2 months ago
veypi e627ab0726 feat(ui): Add OAuth callback page and improve auth flow
- Add new OAuth callback page with loading states and error handling
    - Create reusable icon component (ico.html) for SVG icons
    - Remove deprecated public.html layout, merge into default
    - Update login page with improved third-party auth integration
    - Add i18n translations for OAuth-related messages
    - Update routes to include callback page and handle auth redirects
    - Enhance vbase.js with OAuth utilities and token management
3 months ago
veypi 627439bc4d feat(ui): Add system settings and OAuth providers management pages
- Add new settings page with application, auth, security, email, SMS configuration
    - Add OAuth identity providers management page with CRUD operations
    - Update login page to support dynamic OAuth providers and verification code login
    - Add navigation menu items for settings and OAuth providers
    - Add i18n translations for settings and OAuth provider management
    - Add routes for /settings and /oauth/providers pages
3 months ago