Commit Graph

13 Commits

Author SHA1 Message Date
c1c36c606f Refactor config, logging, and startup structure
Introduced pkg modules for environment config, logging, and startup initialization. Replaced direct config and logging setup in main.py with modularized functions. Updated database and migration modules to use environment variables and improved DEBUG handling. Removed tool.py and migrated password utilities to pkg. Cleaned up legacy comments and unused code in models and routes.
2025-10-03 15:00:45 +08:00
815e709339 Refactor password handling and model typing
Replaced custom password generation and verification logic with a new pkg/password.py module using Argon2 for secure hashing. Updated model field types to use PEP 604 union syntax (e.g., str | None) and improved type annotations. Refactored admin and session routes to use new password utilities and direct model methods for CRUD operations. Removed legacy tool-based password functions and cleaned up .idea project files.
2025-10-03 12:01:01 +08:00
643f19c1f1 修复数据库构建问题 2025-10-03 10:00:22 +08:00
3469ca9ab1 Merge branch 'main' into Owner-of-the-car-enhance 2025-10-03 00:09:50 +08:00
43f22de8fd 新增挪车功能 2025-10-02 21:52:52 +08:00
db77d6033b 初步迁移数据库 2025-09-28 11:49:26 +08:00
6c512805e8 重构数据库创建部分 2025-08-14 22:30:40 +08:00
7b4cef5d35 V2.0.0-alpha3 2025-07-15 2025-07-15 12:00:59 +08:00
98b03b67d1 程序启动时提示账号信息 2025-07-15 11:30:29 +08:00
d290b0f555 修复因无JWT令牌而无法正确启动 Findreve 2025-05-15 20:54:21 +08:00
39bbc94d07 V2.0.0-alpha1 2025-04-22 03:22:17 +08:00
55057185c6 V1.2.0 2025-03-29 16:13:35 +08:00
7d0d59677d V1.2.0 alpha 1
- 支持使用 api 提交物品信息
- 支持 JWT 鉴权
2025-03-28 04:53:37 +08:00