21 Commits (bd5604a425a518518ee3041650f0a10c981c9505)

Author SHA1 Message Date
veypi bd5604a425 chore: bump version to v1.1.1 7 days ago
veypi adc335b536 chore: bump version to v1.1.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
7 days ago
veypi cad627c7b5 refactor(init): Move provider and role initialization to Init()
- Move VBaseProvider initialization from init() to Init() function
    - Move role initialization (admin/user) from api/init.go to Init()
    - Remove global VBaseProvider variable reference from tests
    - Use NewAuth factory function instead of direct auth.Factory.New call
4 weeks ago
veypi 3ea5499532 refactor(auth): Migrate to new vigo auth.Auth and Provider pattern
- Rename appAuth to vbaseProvider implementing auth.Provider interface
    - Replace auth.VBaseAuth with cfg.Auth (auth.Auth struct) for middleware
    - Add global cfg.Auth instance with SetProvider injection in init.go
    - Update all API handlers to use cfg.Auth.RequireXxx instead of PermXxx
    - Update tests to use cfg.Auth for permission checks
    - Remove Login/Perm methods from Provider (now in auth.Auth struct)
2 months ago
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
2 months 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
2 months 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
2 months ago
veypi 5654a7cd37 remove old 2 months ago
veypi 26bd0bfd29 update 2 months ago
veypi 8fa01c4c52 upgrade 3 months ago
veypi 52f2ae35ab upgrade new version 3 months ago
veypi a3923ebcdb update 3 months ago
veypi 6d0ec8e6ba rename to vbase 3 months ago
veypi a74ccb104f update to new vigo version 3 months ago
veypi 1880a6ce0f update router params 3 months ago
veypi 69b4b7c504 change vyes-ai 9 months ago
veypi 1a29442c1c im dead 9 months ago
veypi a5339aa589 feat: oauth demo 9 months ago
veypi 959e390126 feat: change to vigo 10 months ago
veypi d472464d8a update 12 months ago
veypi 5112f1ab7d change to new version 12 months ago