Commit Graph

17 Commits (3bc5d5f093fc119673339451aa3589fcdd0ba69d)

Author SHA1 Message Date
veypi 3bc5d5f093 fix(ui): use scoped path prefix for vhtml script src
- Replace hardcoded /vhtml/vhtml.min.js with {{.scoped}}/vhtml/vhtml.min.js
    - Support dynamic path prefix for reverse proxy deployments
4 days ago
veypi d3137955c3 feat(auth): add SMS/email verification code support for registration
- Add validateRegisterCode function to verify codes during registration
    - Integrate Aliyun SMS SDK (dysmsapi-20170525) replacing placeholder
    - Make cookie names configurable via JWT CookiePrefix setting
    - Rename login type "phone" to "sms" for consistency
    - Add 1-minute TTL cache for setting values
    - Add $fetch wrapper replacing raw fetch calls across all UI pages
    - Add verification code inputs with countdown send buttons to register UI
    - Move CSS/JS assets from root.html to auth and default layouts
    - Add scope parameter to VBase permission check methods
    - Add i18n entries for verification code messages (zh/en)
    - Fix route guard to use next('/403') instead of router.push
2 weeks ago
veypi b2b24df82e refactor(ui): Rebuild permission system in vbase.js with scope support
- Add scope parameter to VBase constructor for multi-tenant support
    - Replace hasPermission with checkPerm, checkPermOnResource, checkPermAny, checkPermAll
    - Implement _isAdmin check for global wildcard permissions (*:*)
    - Add _matchPermission with wildcard support (resource:*, *:*)
    - Remove default 404 page from vrouter in root.html
4 months ago
veypi e5308f9471 feat: 全新UI框架升级和页面重构 4 months ago
veypi 89a2ea17e2 fix upgrade bug 4 months ago
veypi 6d0ec8e6ba rename to vbase 4 months ago
veypi 4e48cd187d update login 4 months ago
veypi 271131a5e1 update ui 4 months ago
veypi 67b92662d1 add sms enable option 6 months ago
veypi 95eccc2cde update 10 months ago
veypi 69b4b7c504 change vyes-ai 10 months ago
veypi e83f2da265 update crud and env.js 11 months ago
veypi ae463e0723 update 11 months ago
veypi 959e390126 feat: change to vigo 11 months ago
veypi 3b9cbe1c1b feat: change axios and add auth refresh 12 months ago
veypi d472464d8a update 1 year ago
veypi 5112f1ab7d change to new version 1 year ago