19 Commits

Author SHA1 Message Date
af82111ae3 修复用户信息结构体中的头像字段名称并更新角色判断逻辑 2025-03-03 23:17:47 +08:00
4cc3387e97 Remove development-mode test login functionality
- Strip out hardcoded test user creation and session generation
- Prepare for OAuth 2.0 authentication in production environment
- Simplify login handler to focus on OAuth authentication
2025-02-23 04:55:56 +08:00
b0d0bee061 test 2025-02-23 04:23:57 +08:00
315933d57a Refactor model type handling and add SQLite support
- Update config to include SQLite path for database migration
- Modify model type handlers to use new database schema
- Update frontend to handle new model type key and label fields
- Add database migration script to start process
- Import SQLite driver for potential database usage
2025-02-23 04:23:42 +08:00
330963418e Remove SQLite migration and related code 2025-02-23 04:03:20 +08:00
c9a9e7b845 Update Price model and migration to use unsigned integer for channel_type 2025-02-23 03:42:38 +08:00
a2932ecf6b Migrate from SQLite to MySQL: Update database configuration and schema 2025-02-23 03:37:10 +08:00
2efb33fc2f Enhance provider management and price filtering with model type and ID handling 2025-02-21 12:07:56 +08:00
6fa37f6d6a Add model type support for pricing management 2025-02-21 11:51:53 +08:00
d4aebb8148 更新 OAuth 相关 URL 以使用新域名,并修改前端链接 2025-02-14 23:59:28 +08:00
50d63f47c7 Add channel type filtering to Prices view and backend API 2025-02-09 19:24:10 +08:00
e852b885c0 Implement pagination and loading states for Prices and Providers views 2025-02-09 18:56:56 +08:00
1d16333e11 Replace "supplier" terminology with "model vendor" across frontend and backend 2025-02-08 21:03:01 +08:00
e7967dfeff Modify login flow to support dynamic OAuth 2.0 authorization URL 2025-02-08 20:21:39 +08:00
bd8656542b Migrate authentication from Discourse SSO to OAuth 2.0 authentication flow 2025-02-08 20:07:42 +08:00
8a2aec1ca3 Update authentication cookie settings for domain-specific SSO and redirect 2025-02-08 19:09:17 +08:00
d1f3b5b989 Fix SSO callback URL to use hardcoded HTTPS domain 2025-02-08 18:53:11 +08:00
85f21a3105 Simplify Dockerfile and GitHub Actions workflow for single-stage Docker build 2025-02-08 17:36:33 +08:00
7487aaadda Remove Deno-specific configuration files and migrate to Cloudflare Workers environment 2025-02-08 17:32:58 +08:00