17 Commits (357827a8812b736dd47045977a306cb9b2b18916)

Author SHA1 Message Date
veypi 12c55a2997 refactor(api): Update permission codes and remove org-related code
- Update API endpoints to use scoped permission codes (e.g., role:*)
    - Fix role list scope parameter to use pointer type
    - Add Options type alias in init.go for external use
    - Remove org-related cache functions from libs/cache
3 weeks ago
veypi ec47bcc192 refactor: Migrate auth to Vigo auth interface and simplify initialization
- Replace GetUserID/GetOrgID with VBaseAuth.UserID/OrgID methods across all APIs
- Integrate vigoauth.Auth interface into appAuth for standard auth methods
- Move AuthMiddleware to PermLogin method in auth package
- Add role management methods: GetRole, ListRoles, GrantRoles, RevokeRoles, ListUserRoles
- Update ListUserPermissions and ListResourceUsers to return vigoauth types
- Export Redis client in cfg package
- Simplify app initialization by separating vigo.New in cli/main.go
- Remove deprecated auth/middleware.go file
4 weeks ago
veypi df0f7f047a refactor: Rename Config to Global and simplify app initialization
- Rename cfg.Config to cfg.Global for consistency
    - Simplify cli/main.go to use vbase.App.Run() pattern
    - Update init.go to create app with vigo.New and Init function
    - Update all references from cfg.Config to cfg.Global across api, libs, models, and tests
    - Fix VBase constructor parameter order in ui/vbase.js
    - Update ui/env.js to use new VBase('vb', '/') initialization
4 weeks ago
veypi 5654a7cd37 remove old 1 month ago
veypi 26bd0bfd29 update 1 month ago
veypi 8fa01c4c52 upgrade 1 month ago
veypi 52f2ae35ab upgrade new version 1 month ago
veypi a3923ebcdb update 1 month ago
veypi 6d0ec8e6ba rename to vbase 1 month ago
veypi a74ccb104f update to new vigo version 2 months ago
veypi 1880a6ce0f update router params 2 months ago
veypi 69b4b7c504 change vyes-ai 8 months ago
veypi 1a29442c1c im dead 8 months ago
veypi a5339aa589 feat: oauth demo 8 months ago
veypi 959e390126 feat: change to vigo 8 months ago
veypi d472464d8a update 10 months ago
veypi 5112f1ab7d change to new version 11 months ago