Commit Graph

9 Commits

Author SHA1 Message Date
51b6de921b feat: Implement API routers for user, tag, vas, webdav, and slave functionalities
- Added user authentication and registration endpoints with JWT support.
- Created tag management routes for creating and deleting tags.
- Implemented value-added service (VAS) endpoints for managing storage packs and orders.
- Developed WebDAV account management routes for creating, updating, and deleting accounts.
- Introduced slave router for handling file uploads, downloads, and aria2 task management.
- Enhanced JWT utility functions for token creation and secret key management.
- Established lifespan management for FastAPI application startup and shutdown processes.
- Integrated password handling utilities with Argon2 hashing and two-factor authentication support.
2025-12-19 18:04:34 +08:00
b02a4638da feat: add database session dependency for FastAPI routes
- Introduced a new dependency in `middleware/dependencies.py` to provide an asynchronous database session using SQLModel.
- This dependency can be utilized in route functions to facilitate database operations.
2025-11-27 22:18:50 +08:00
4148e362b9 数据库时间日志迁移至 BaseModel 2025-07-18 00:50:19 +08:00
e98c46f44a 用户登录 2025-07-17 19:33:48 +08:00
33cca4e271 修复数据库迁移问题、新增环境变量读写 2025-07-15 17:32:00 +08:00
dc522a8e93 新增读取用户与其单元测试 2025-07-14 15:43:02 +08:00
557a50f539 单元测试:新建用户与用户组 2025-07-14 15:13:05 +08:00
e84b3a7dee 完成数据库设置表的增删改查 2025-07-01 23:50:16 +08:00
f6825b670f 数据库创建 2025-06-22 19:26:23 +08:00