Commit Graph

17 Commits (3913640f5b12f749011cf06ac7dc2e1d2346a19c)

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
6 months 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
6 months 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
9 months ago
veypi e5308f9471 feat: 全新UI框架升级和页面重构 9 months ago
veypi 89a2ea17e2 fix upgrade bug 10 months ago
veypi 6d0ec8e6ba rename to vbase 10 months ago
veypi 4e48cd187d update login 10 months ago
veypi 271131a5e1 update ui 10 months ago
veypi 67b92662d1 add sms enable option 11 months ago
veypi 95eccc2cde update 1 year ago
veypi 69b4b7c504 change vyes-ai 1 year ago
veypi e83f2da265 update crud and env.js 1 year ago
veypi ae463e0723 update 1 year ago
veypi 959e390126 feat: change to vigo 1 year ago
veypi 3b9cbe1c1b feat: change axios and add auth refresh 1 year ago
veypi d472464d8a update 2 years ago
veypi 5112f1ab7d change to new version 2 years ago