Commit Graph

23 Commits

Author SHA1 Message Date
3bcee7efc2 chore: update auth and portal 2026-01-14 11:29:17 +08:00
56e60e0972 fix: enforce required auth middleware 2026-01-13 10:36:48 +08:00
f1b3840dfb fix: require auth for order status 2026-01-09 17:48:47 +08:00
3e095c57f3 feat: tenant-scoped routing and portal navigation 2026-01-08 21:30:46 +08:00
3c159a2e0f fix: retry critical writes and allow super login 2026-01-08 17:37:42 +08:00
90058cdc8e fix: enforce auth on protected routes 2026-01-08 14:22:03 +08:00
87b32063f6 feat: add super admin auth 2026-01-08 10:12:18 +08:00
984770c6a1 feat(editor): update 2025-12-31 14:50:18 +08:00
e6a8e3f321 feat: 更新用户上下文处理,服务方法显式接受用户参数,简化上下文调用 2025-12-30 23:01:35 +08:00
54de243fa1 feat: Refactor user context handling and service methods
- Updated middleware to fetch user and tenant models by ID and set them in context.
- Refactored common service methods to accept userID as a parameter instead of extracting from context.
- Modified content service methods to include userID as a parameter for better clarity and performance.
- Adjusted coupon, creator, notification, order, tenant, user, and wallet services to utilize userID directly.
- Enhanced context key constants for improved readability and maintainability.
2025-12-30 22:49:26 +08:00
d87eac7d94 feat(middlewares): 添加认证中间件以处理JWT授权 2025-12-30 18:06:16 +08:00
503b15aab7 reset backend 2025-12-27 19:49:11 +08:00
0c7d4ef0ea feat: portal auth login and password reset 2025-12-25 09:58:34 +08:00
fd9e54e9f4 feat: 添加用户注册功能,包括表单验证和路由注册 2025-12-24 22:46:50 +08:00
87f569cc6a feat: add tenant admin invite management, ledger overview, order details, and order management features
- Implemented Invite management with creation, searching, and disabling functionalities.
- Added Ledger overview for financial transactions with filtering options.
- Developed Order Detail view for individual order insights and refund capabilities.
- Created Orders management page with search, reset, and pagination features.
- Enhanced user experience with toast notifications for actions and error handling.
2025-12-24 19:41:44 +08:00
63107ca23f feat: 添加订单提供者,优化路由注册,增强用户角色管理 2025-12-24 10:45:36 +08:00
1e1132718c feat: 添加订单详情和退款功能,更新用户角色管理,增强超级管理员鉴权 2025-12-24 09:48:31 +08:00
3db41f4b0c feat: 添加跳过 JWT 认证和成员验证的逻辑,优化中间件处理 2025-12-23 14:58:08 +08:00
39454458f1 feat: Implement public access for tenant content
- Add TenantOptionalAuth middleware to allow access to public content without requiring authentication.
- Introduce ListPublicPublished and PublicDetail methods in the content service to retrieve publicly accessible content.
- Create tenant_public HTTP routes for listing and showing public content, including preview and main asset retrieval.
- Enhance content tests to cover scenarios for public content access and permissions.
- Update specifications to reflect the new public content access features and rules.
2025-12-22 16:29:44 +08:00
674c562831 feat: follow llm.txt 2025-12-18 10:27:40 +08:00
650ada9cc6 pending 2025-12-18 09:54:29 +08:00
bfce71b56d feat: done 2025-12-18 00:21:49 +08:00
28ab17324d init 2025-12-15 17:55:32 +08:00